解决订单转出入库单遇到的小数点问题
This commit is contained in:
@@ -412,14 +412,14 @@
|
||||
let listEx = []
|
||||
let allTaxLastMoney = 0
|
||||
for(let j=0; j<list.length; j++){
|
||||
let info = list[j];
|
||||
if(info.preNumber) {
|
||||
let info = list[j]
|
||||
if(info.finishNumber>0) {
|
||||
info.operNumber = info.preNumber - info.finishNumber
|
||||
info.allPrice = info.operNumber * info.unitPrice-0
|
||||
}
|
||||
let taxRate = info.taxRate-0
|
||||
info.taxMoney = (info.allPrice*taxRate/100).toFixed(2)-0
|
||||
info.taxLastMoney = info.allPrice + info.taxMoney
|
||||
}
|
||||
allTaxLastMoney += info.taxLastMoney
|
||||
listEx.push(info)
|
||||
this.changeColumnShow(info)
|
||||
|
||||
@@ -418,14 +418,14 @@
|
||||
let listEx = []
|
||||
let allTaxLastMoney = 0
|
||||
for(let j=0; j<list.length; j++){
|
||||
let info = list[j];
|
||||
if(info.preNumber) {
|
||||
let info = list[j]
|
||||
if(info.finishNumber>0) {
|
||||
info.operNumber = info.preNumber - info.finishNumber
|
||||
info.allPrice = info.operNumber * info.unitPrice-0
|
||||
}
|
||||
let taxRate = info.taxRate-0
|
||||
info.taxMoney = (info.allPrice*taxRate/100).toFixed(2)-0
|
||||
info.taxLastMoney = info.allPrice + info.taxMoney
|
||||
}
|
||||
allTaxLastMoney += info.taxLastMoney
|
||||
listEx.push(info)
|
||||
this.changeColumnShow(info)
|
||||
|
||||
Reference in New Issue
Block a user