Merge branch 'main' of http://jialcheerful.club:3000/xd/JNBusiness
This commit is contained in:
commit
0b18a6f546
|
@ -691,10 +691,12 @@ export default {
|
||||||
/**-------------获取红本信息,包括红本版本、铜价和铝价---------------**/
|
/**-------------获取红本信息,包括红本版本、铜价和铝价---------------**/
|
||||||
getRedBookInfo() {
|
getRedBookInfo() {
|
||||||
queryRedBookInfo().then(response => {
|
queryRedBookInfo().then(response => {
|
||||||
|
|
||||||
redBookVer = response.data.uid;
|
redBookVer = response.data.uid;
|
||||||
this.totalForm.currAdjDate = response.data.currAdjDate.substring(0, 10);
|
this.totalForm.currAdjDate = response.data.currAdjDate.substring(0, 10);
|
||||||
this.totalForm.currCopperPrice = response.data.currCopperPrice;
|
this.totalForm.currCopperPrice = response.data.currCopperPrice;
|
||||||
this.totalForm.currAlumPrice = response.data.currAlumPrice
|
this.totalForm.currAlumPrice = response.data.currAlumPrice;
|
||||||
|
console.log("redBookVer:" + redBookVer)
|
||||||
});
|
});
|
||||||
queryRedBookLocalVer().then(response => {
|
queryRedBookLocalVer().then(response => {
|
||||||
redBookLocalVer = response.msg
|
redBookLocalVer = response.msg
|
||||||
|
@ -891,7 +893,7 @@ export default {
|
||||||
},
|
},
|
||||||
/**----------------计算数据--------------------**/
|
/**----------------计算数据--------------------**/
|
||||||
calculatedData() {
|
calculatedData() {
|
||||||
if(redBookVer !== redBookLocalVer) {
|
if(Number(redBookVer) !== Number(redBookLocalVer)) {
|
||||||
this.$message({
|
this.$message({
|
||||||
type: 'warning',
|
type: 'warning',
|
||||||
message: "调价结果未同步,请联系管理员进行同步再进行价格计算。"
|
message: "调价结果未同步,请联系管理员进行同步再进行价格计算。"
|
||||||
|
|
Loading…
Reference in New Issue