From a5ac9ecaa57ce6c3df026ffb796282452ac46e86 Mon Sep 17 00:00:00 2001 From: zhaohengkun Date: Fri, 18 Oct 2024 10:43:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B6=E9=93=B6=E5=8F=B0=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/cashier/NewComponents/newHome.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/fuintCashierWeb/src/views/cashier/NewComponents/newHome.vue b/fuintCashierWeb/src/views/cashier/NewComponents/newHome.vue index 8f680951f..867dad5ed 100644 --- a/fuintCashierWeb/src/views/cashier/NewComponents/newHome.vue +++ b/fuintCashierWeb/src/views/cashier/NewComponents/newHome.vue @@ -1417,9 +1417,9 @@ export default { //商品订单金额 this.payForm.goodsAmount = this.getGoodsNum || 0 //油品实付金额 - this.payForm.oilActualPay = this.oilGunClearing.amount ? this.oilGunClearing.getAmount-this.disOil : 0 + this.payForm.oilActualPay = (this.oilGunClearing.getAmount || 0)-(this.disOil || 0) //商品实付金额 - this.payForm.goodsActualPay = this.getGoodsNum ? this.getGoodsNum-this.disGoods : 0 + this.payForm.goodsActualPay = (this.getGoodsNum || 0) - (this.disGoods || 0) //油枪id this.payForm.oilGunId = this.oilGunClearing.id //活动营销优惠金额 @@ -1449,7 +1449,7 @@ export default { //购买商品的总数量 计算属性 this.payForm.goodsNum = this.getGoodsListNum //油品 + 商品 的实付总额 - this.payForm.allAmount = (this.oilGunClearing.getAmount-this.disOil) + (this.getGoodsNum-this.disGoods) + this.payForm.allAmount = this.realAmount this.payForm.paymentType = this.payType @@ -1963,7 +1963,7 @@ export default { //购买商品的总数量 计算属性 this.payForm.goodsNum = this.getGoodsListNum //油品 + 商品 的实付总额 - this.payForm.allAmount = (this.oilGunClearing.getAmount-this.disOil) + (this.getGoodsNum-this.disGoods) + this.payForm.allAmount = this.realAmount