修复餐位费问题
This commit is contained in:
@@ -105,6 +105,9 @@ export const useCartsStore = defineStore('cart',
|
|||||||
})
|
})
|
||||||
watch(() => shopInfo.value.isTableFee, (newval) => {
|
watch(() => shopInfo.value.isTableFee, (newval) => {
|
||||||
seatFeeConfig.value.isEnabled = !shopInfo.value.isTableFee
|
seatFeeConfig.value.isEnabled = !shopInfo.value.isTableFee
|
||||||
|
seatFeeConfig.value.pricePerPerson = shopInfo.value.tableFee||0
|
||||||
|
},{
|
||||||
|
deep:true
|
||||||
})
|
})
|
||||||
|
|
||||||
function setSeatFeeConfig(key, val) {
|
function setSeatFeeConfig(key, val) {
|
||||||
|
|||||||
Reference in New Issue
Block a user