收银台
This commit is contained in:
parent
d1e5ca4140
commit
8ed145b436
@ -733,7 +733,7 @@
|
|||||||
this.balance = this.member.cardBalance;
|
this.balance = this.member.cardBalance;
|
||||||
if (this.balance>=(this.oilAmount - this.oilDiscount)){
|
if (this.balance>=(this.oilAmount - this.oilDiscount)){
|
||||||
this.consumeAmount = this.oilAmount - this.oilDiscount;
|
this.consumeAmount = this.oilAmount - this.oilDiscount;
|
||||||
this.oilActualPay = 0;
|
this.oilActualPay = this.oilAmount;
|
||||||
}else {
|
}else {
|
||||||
this.consumeAmount = this.balance;
|
this.consumeAmount = this.balance;
|
||||||
this.oilActualPay = this.oilAmount - this.oilDiscount - this.balance;
|
this.oilActualPay = this.oilAmount - this.oilDiscount - this.balance;
|
||||||
@ -837,7 +837,7 @@
|
|||||||
if (this.balance!=0){
|
if (this.balance!=0){
|
||||||
if (this.balance>=(this.oilAmount - this.oilDiscount)){
|
if (this.balance>=(this.oilAmount - this.oilDiscount)){
|
||||||
this.consumeAmount = this.oilAmount - this.oilDiscount;
|
this.consumeAmount = this.oilAmount - this.oilDiscount;
|
||||||
this.oilActualPay = 0;
|
this.oilActualPay = this.oilAmount;
|
||||||
}else {
|
}else {
|
||||||
this.consumeAmount = this.balance;
|
this.consumeAmount = this.balance;
|
||||||
this.oilActualPay = this.oilAmount - this.oilDiscount - this.balance;
|
this.oilActualPay = this.oilAmount - this.oilDiscount - this.balance;
|
||||||
|
Loading…
Reference in New Issue
Block a user