From a1138b726dfc78f13a6f34a9f31e810f05d33590 Mon Sep 17 00:00:00 2001 From: cun-nan <19819293608@163.com> Date: Thu, 9 Nov 2023 13:59:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B6=E9=93=B6=E5=8F=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fuintCashierWeb/src/views/cashier/NewComponents/homeindex.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fuintCashierWeb/src/views/cashier/NewComponents/homeindex.vue b/fuintCashierWeb/src/views/cashier/NewComponents/homeindex.vue index b9eeab76a..75ad4dd35 100644 --- a/fuintCashierWeb/src/views/cashier/NewComponents/homeindex.vue +++ b/fuintCashierWeb/src/views/cashier/NewComponents/homeindex.vue @@ -733,7 +733,7 @@ this.balance = this.member.cardBalance; if (this.balance>=(this.oilAmount - this.oilDiscount)){ this.consumeAmount = this.oilAmount - this.oilDiscount; - this.oilActualPay = this.oilAmount; + this.oilActualPay = 0; }else { this.consumeAmount = this.balance; this.oilActualPay = this.oilAmount - this.oilDiscount - this.balance; @@ -837,7 +837,7 @@ if (this.balance!=0){ if (this.balance>=(this.oilAmount - this.oilDiscount)){ this.consumeAmount = this.oilAmount - this.oilDiscount; - this.oilActualPay = this.oilAmount; + this.oilActualPay = 0; }else { this.consumeAmount = this.balance; this.oilActualPay = this.oilAmount - this.oilDiscount - this.balance;