对关闭中的桌台增加部分处理
This commit is contained in:
parent
de6320ef6e
commit
e0f0d90bae
|
|
@ -137,6 +137,12 @@
|
||||||
onMounted(() => {})
|
onMounted(() => {})
|
||||||
|
|
||||||
function more() {
|
function more() {
|
||||||
|
if(props.data.status=='closed'){
|
||||||
|
return uni.showToast({
|
||||||
|
icon:'none',
|
||||||
|
title:'桌台关闭中!'
|
||||||
|
})
|
||||||
|
}
|
||||||
emits('more')
|
emits('more')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -151,16 +151,17 @@
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
if (index == 2) {
|
if (index == 2) {
|
||||||
return
|
return infoBox.showToast('待开放,请敬请期待!')
|
||||||
}
|
}
|
||||||
if (index == 3) {
|
if (index == 3) {
|
||||||
return
|
return infoBox.showToast('待开放,请敬请期待!')
|
||||||
}
|
}
|
||||||
if (index == 4) {
|
if (index == 4) {
|
||||||
//打印订单
|
//打印订单
|
||||||
const res = await $fun.printOrder(actionSheet.selTable.tableId)
|
const res = await $fun.printOrder(actionSheet.selTable.tableId)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
infoBox.showToast('待开放,请敬请期待!')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue