From cf55cba2c84fbc17de0ec251c4d631afaab23357 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A5=9E=E8=AF=9D?= <752718920@qq.com> Date: Sat, 7 May 2022 18:22:44 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E8=AE=A2=E5=8D=95=E8=BD=AC?= =?UTF-8?q?=E5=87=BA=E5=85=A5=E5=BA=93=E5=8D=95=E9=81=87=E5=88=B0=E7=9A=84?= =?UTF-8?q?=E5=B0=8F=E6=95=B0=E7=82=B9=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jshERP-web/src/views/bill/modules/PurchaseInModal.vue | 10 +++++----- jshERP-web/src/views/bill/modules/SaleOutModal.vue | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) 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)