parent
ca919a04c3
commit
0ad3080e71
|
|
@ -613,6 +613,9 @@
|
||||||
uni.setStorageSync("useType", useType);
|
uni.setStorageSync("useType", useType);
|
||||||
}
|
}
|
||||||
const tableId = useType == 'takeout' ? undefined : table.value.tableId;
|
const tableId = useType == 'takeout' ? undefined : table.value.tableId;
|
||||||
|
if(!goods.list.length){
|
||||||
|
return
|
||||||
|
}
|
||||||
const res = await Api.$changeUseType({
|
const res = await Api.$changeUseType({
|
||||||
useType,
|
useType,
|
||||||
tableId,
|
tableId,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue