parent
ec7db7612b
commit
727d79a253
|
|
@ -371,13 +371,19 @@ export default {
|
|||
this.tbShopTableGet();
|
||||
},
|
||||
async diancanShow(item, key) {
|
||||
if(key=='isPayOrder'){
|
||||
const canShoukuan=await hasPermission('允许收款')
|
||||
if(!canShoukuan){
|
||||
return
|
||||
}
|
||||
}
|
||||
const canXiadan=await hasPermission('允许下单')
|
||||
if(!canXiadan){
|
||||
return
|
||||
}
|
||||
|
||||
//key isAddGoods 加菜
|
||||
//key isPayOrder结账
|
||||
//key isPayOrder 结账
|
||||
this.selTable = item;
|
||||
if (this.shopInfo.isTableFee) {
|
||||
//免餐位费
|
||||
|
|
|
|||
|
|
@ -1741,10 +1741,13 @@ export default {
|
|||
methods: {
|
||||
async shoukuanClick() {
|
||||
this.canShoukuan = await hasPermission("允许收款");
|
||||
return this.canShoukuan;
|
||||
},
|
||||
// 打开页面
|
||||
async xiadanClick() {
|
||||
this.canXiadan = await hasPermission("允许下单");
|
||||
return this.canXiadan;
|
||||
|
||||
},
|
||||
changeOrderExtraSel(index, canChangeNumber, placeNum) {
|
||||
// console.log(index,canChangeNumber,placeNum)
|
||||
|
|
|
|||
Loading…
Reference in New Issue