parent
9aaeb7f0d6
commit
c887f48035
|
|
@ -55,8 +55,8 @@ export default {
|
|||
{value:'idle',name:'空闲'},
|
||||
{value:'subscribe',name:'预定'},
|
||||
{value:'closed',name:'关台'},
|
||||
{value:'opening ',name:'开台中'},
|
||||
{value:'cleaning ',name:'台桌清理中'},
|
||||
{value:'opening',name:'开台中'},
|
||||
{value:'cleaning',name:'台桌清理中'},
|
||||
],
|
||||
form: {
|
||||
id: '',
|
||||
|
|
@ -91,6 +91,7 @@ export default {
|
|||
try {
|
||||
let res = await tbShopTable({
|
||||
...this.form,
|
||||
qrcode:this.form.tableId,
|
||||
shopId: localStorage.getItem('shopId')
|
||||
}, this.form.id ? 'put' : 'post')
|
||||
this.$emit('success', res)
|
||||
|
|
|
|||
|
|
@ -50,9 +50,9 @@
|
|||
<div class="state">
|
||||
<span
|
||||
class="dot"
|
||||
:style="{ backgroundColor: status[item.status].type }"
|
||||
:style="{ backgroundColor: status[item.status]?status[item.status].type:'' }"
|
||||
></span>
|
||||
{{ status[item.status].label }}
|
||||
{{ status[item.status]?status[item.status].label:'' }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
|
|
|
|||
Loading…
Reference in New Issue