优化采购入库的账户

This commit is contained in:
季圣华
2021-04-30 00:57:38 +08:00
parent abc1287b9e
commit 93a384dfdf
3 changed files with 25 additions and 6 deletions

View File

@@ -101,9 +101,9 @@
if(idList[1]) {this.model.twoAccountId = idList[1]-0}
if(idList[2]) {this.model.threeAccountId = idList[2]-0}
let moneyList = moneyStr.split(",")
if(moneyList[0]) {this.model.oneAccountPrice = moneyList[0]}
if(moneyList[1]) {this.model.twoAccountPrice = moneyList[1]}
if(moneyList[2]) {this.model.threeAccountPrice = moneyList[2]}
if(moneyList[0]) {this.model.oneAccountPrice = Math.abs(moneyList[0])}
if(moneyList[1]) {this.model.twoAccountPrice = Math.abs(moneyList[1])}
if(moneyList[2]) {this.model.threeAccountPrice = Math.abs(moneyList[2])}
}
this.visible = true;
this.$nextTick(() => {