代课下单

This commit is contained in:
魏啾
2024-12-10 11:36:32 +08:00
parent f16d81d9bd
commit 25761ba734
2 changed files with 15 additions and 21 deletions

View File

@@ -1902,9 +1902,7 @@ export default {
},
//套餐下单
async dialogpackageconfirm(item, multipleSelection) {
console.log(item)
console.log(multipleSelection)
this.goodsClick(item, 1, true, multipleSelection)
this.goodsClick(item, 1, true, multipleSelection.flatMap(subArray => subArray.map(item => item.proId)))
},
//挂账人支付确认
guazhangPayConfirm(guazhangren, price) {
@@ -3613,7 +3611,7 @@ export default {
}
},
//根据右侧商品单规格多规格做不同处理
async goodsClick(item, number = 0, isConfirm = false, multipleSelection='') {
async goodsClick(item, number = 0, isConfirm = false, multipleSelection = '') {
// if (!this.table) {
// return this.$message.error("暂不支持无桌台下单,请先选择桌台");