收银台调整

This commit is contained in:
zhaohengkun 2024-10-18 10:43:49 +08:00
parent 48e0da0a92
commit a5ac9ecaa5

View File

@ -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