diff --git a/fuintCashierWeb/src/views/cashier/NewComponents/homeindex.vue b/fuintCashierWeb/src/views/cashier/NewComponents/homeindex.vue index 75ad4dd35..b9eeab76a 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 = 0; + this.oilActualPay = this.oilAmount; }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 = 0; + this.oilActualPay = this.oilAmount; }else { this.consumeAmount = this.balance; this.oilActualPay = this.oilAmount - this.oilDiscount - this.balance;