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