台桌列表增加清台弹窗
This commit is contained in:
@@ -1407,6 +1407,9 @@ export default {
|
||||
}
|
||||
},
|
||||
"vipUser.id": async function (val) {
|
||||
if(!this.table.tableId){
|
||||
return
|
||||
}
|
||||
let masterId = this.order.masterId;
|
||||
if (!masterId) {
|
||||
const res = await this.getMasterId();
|
||||
@@ -1822,6 +1825,9 @@ export default {
|
||||
|
||||
// 获取取餐号
|
||||
getMasterId() {
|
||||
// if(!this.table.tableId){
|
||||
// return this.$message.error("请选择桌台");
|
||||
// }
|
||||
return $getMasterId({
|
||||
tableId: this.table.tableId,
|
||||
vipUserId: this.vipUser.id,
|
||||
@@ -2417,7 +2423,6 @@ export default {
|
||||
// this.goods.list = [];
|
||||
this.loading = false;
|
||||
this.table = "";
|
||||
this.order.masterId = "";
|
||||
this.order.list = [];
|
||||
this.order.query.page = 1;
|
||||
this.goods.total = 0;
|
||||
@@ -2435,6 +2440,7 @@ export default {
|
||||
this.createOrder.code = "";
|
||||
this.note.content = "";
|
||||
this.vipUser = { id: "" };
|
||||
this.order.masterId = "";
|
||||
this.allPack = false;
|
||||
this.note.content = "";
|
||||
this.isPrverOrder = false;
|
||||
|
||||
Reference in New Issue
Block a user