商品券处理

This commit is contained in:
GaoHao
2024-11-19 13:52:56 +08:00
parent 69151ca3f4
commit d2dbfd5163
6 changed files with 88 additions and 58 deletions

View File

@@ -403,7 +403,8 @@
},
setPayAmount ( cartLists ) {
let tableFee;
if ( this.is_type == 0 ) {
// this.storeInfo.registerType == 'munchies'
if ( this.is_type == 0 && this.storeInfo.registerType == 'munchies') {
tableFee = this.shopTableInfo?(this.shopTableInfo.seatNum*this.storeInfo.tableFee):0
} else{
tableFee = 0