diff --git a/jshERP-web/src/views/bill/modules/PurchaseInModal.vue b/jshERP-web/src/views/bill/modules/PurchaseInModal.vue index 85cef745..b5c2cbda 100644 --- a/jshERP-web/src/views/bill/modules/PurchaseInModal.vue +++ b/jshERP-web/src/views/bill/modules/PurchaseInModal.vue @@ -412,14 +412,14 @@ let listEx = [] let allTaxLastMoney = 0 for(let j=0; j0) { 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 } - 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) diff --git a/jshERP-web/src/views/bill/modules/SaleOutModal.vue b/jshERP-web/src/views/bill/modules/SaleOutModal.vue index 1c90128e..73dfd379 100644 --- a/jshERP-web/src/views/bill/modules/SaleOutModal.vue +++ b/jshERP-web/src/views/bill/modules/SaleOutModal.vue @@ -418,14 +418,14 @@ let listEx = [] let allTaxLastMoney = 0 for(let j=0; j0) { 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 } - 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)