收银台调整

This commit is contained in:
zhaohengkun 2024-10-18 10:24:06 +08:00
parent 8746387651
commit 48e0da0a92

View File

@ -1415,11 +1415,11 @@ export default {
//
this.payForm.oilAmount = this.oilGunClearing.amount || 0
//
this.payForm.goodsAmount = this.getGoodsNum
this.payForm.goodsAmount = this.getGoodsNum || 0
//
this.payForm.oilActualPay = this.oilGunClearing.amount || 0
this.payForm.oilActualPay = this.oilGunClearing.amount ? this.oilGunClearing.getAmount-this.disOil : 0
//
this.payForm.goodsActualPay = this.getGoodsNum
this.payForm.goodsActualPay = this.getGoodsNum ? this.getGoodsNum-this.disGoods : 0
//id
this.payForm.oilGunId = this.oilGunClearing.id
//
@ -1433,9 +1433,9 @@ export default {
//
this.payForm.payUser = this.chooseVipUser.mobile
//
this.payForm.oilDiscount = 0;
this.payForm.oilDiscount = this.disOil;
//
this.payForm.goodsDiscount = 0;
this.payForm.goodsDiscount = this.disGoods;
// ()
this.payForm.consumeAmount = this.realAmount;
@ -1449,7 +1449,7 @@ export default {
//
this.payForm.goodsNum = this.getGoodsListNum
// +
this.payForm.allAmount = this.realAmount
this.payForm.allAmount = (this.oilGunClearing.getAmount-this.disOil) + (this.getGoodsNum-this.disGoods)
this.payForm.paymentType = this.payType
@ -1929,11 +1929,11 @@ export default {
//
this.payForm.oilAmount = this.oilGunClearing.amount || 0
//
this.payForm.goodsAmount = this.getGoodsNum
this.payForm.goodsAmount = this.getGoodsNum || 0
//
this.payForm.oilActualPay = this.oilGunClearing.amount || 0
this.payForm.oilActualPay = this.oilGunClearing.amount ? this.oilGunClearing.getAmount-this.disOil : 0
//
this.payForm.goodsActualPay = this.getGoodsNum
this.payForm.goodsActualPay = this.getGoodsNum ? this.getGoodsNum-this.disGoods : 0
//id
this.payForm.oilGunId = this.oilGunClearing.id
//
@ -1947,9 +1947,9 @@ export default {
//
this.payForm.payUser = this.chooseVipUser.mobile
//
this.payForm.oilDiscount = 0;
this.payForm.oilDiscount = this.disOil;
//
this.payForm.goodsDiscount = 0;
this.payForm.goodsDiscount = this.disGoods;
// ()
this.payForm.consumeAmount = this.realAmount;
@ -1963,7 +1963,8 @@ export default {
//
this.payForm.goodsNum = this.getGoodsListNum
// +
this.payForm.allAmount = this.realAmount
this.payForm.allAmount = (this.oilGunClearing.getAmount-this.disOil) + (this.getGoodsNum-this.disGoods)
this.payForm.paymentType = this.payType