This commit is contained in:
齐天大圣 2024-06-05 09:32:34 +08:00
parent 7160b12ab4
commit ebbc5dd4c9

View File

@ -3196,7 +3196,7 @@
_this.paymentActive.oilId = item.oilName _this.paymentActive.oilId = item.oilName
_this.paymentActive.storeId = item.storeId _this.paymentActive.storeId = item.storeId
getPaymentActive(_this.paymentActive).then(res => { getPaymentActive(_this.paymentActive).then(async res => {
item.activeId = res.data.activeId item.activeId = res.data.activeId
item.type = res.data.type item.type = res.data.type
let discount = { type: "", discount: 0, oilName: item.oilName, gunName: item.gunName } let discount = { type: "", discount: 0, oilName: item.oilName, gunName: item.gunName }
@ -3235,14 +3235,16 @@
} }
} }
// } // }
if(this.isOilStorageCard){ console.log(_this.oilDiscount, 111)
this.countAmountFull() this.countAmountFull()
if (this.isOilStorageCard) {
await this.countAmountFull()
} }
if (type == 1) { if (type == 1) {
this.countAmountUnBalance() await this.countAmountUnBalance()
} }
if (type == 0) { if (type == 0) {
this.countAmountFull() await this.countAmountFull()
} }
}) })
}) })