代客下单更新
确认订单时购物车数据为空时不请求修改就餐模式
This commit is contained in:
@@ -613,6 +613,9 @@
|
||||
uni.setStorageSync("useType", useType);
|
||||
}
|
||||
const tableId = useType == 'takeout' ? undefined : table.value.tableId;
|
||||
if(!goods.list.length){
|
||||
return
|
||||
}
|
||||
const res = await Api.$changeUseType({
|
||||
useType,
|
||||
tableId,
|
||||
|
||||
Reference in New Issue
Block a user