添加绑定码牌
This commit is contained in:
@@ -39,6 +39,11 @@
|
||||
<template v-else>
|
||||
<view class="u-flex u-row-center u-m-t-16">
|
||||
<template v-if="data.tableId">
|
||||
<template v-if="data.status =='unbind' ">
|
||||
<my-button color="#333" :width="200" :height="56" type="default" @click="bind">
|
||||
绑定码牌
|
||||
</my-button>
|
||||
</template>
|
||||
<template v-if="data.status=='idle'||(data.status=='using'&&!data.orderId) ">
|
||||
<my-button color="#333" :width="150" :height="56" type="default" @click="diancan">
|
||||
选择
|
||||
@@ -80,7 +85,7 @@
|
||||
} from '@/http/yskApi/table.js'
|
||||
import infoBox from '@/commons/utils/infoBox.js'
|
||||
const status = $status
|
||||
const emits = defineEmits(['more', 'update'])
|
||||
const emits = defineEmits(['more', 'update', 'bind'])
|
||||
|
||||
function returnStutasText(key) {
|
||||
key = returnIsUseing(key)
|
||||
@@ -146,6 +151,10 @@
|
||||
}
|
||||
emits('more')
|
||||
}
|
||||
|
||||
function bind() {
|
||||
emits('bind',props.data)
|
||||
}
|
||||
|
||||
|
||||
async function diancan() {
|
||||
|
||||
Reference in New Issue
Block a user