修复转桌问题,餐位费问题,台桌增加显示更多信息,修复添加耗材第二单位
This commit is contained in:
@@ -83,7 +83,7 @@ import { getShopTable, shopTableBind, shopTableClear } from '@/http/api/table.js
|
||||
import { getShopArea } from '@/http/api/area.js';
|
||||
import { printOrder } from '@/http/api/order.js';
|
||||
import { getHistoryOrder } from '@/http/api/order.js';
|
||||
|
||||
import tableStatus from './tableStatus'
|
||||
const pageData = reactive({
|
||||
statusShow: false,
|
||||
hasAjax: false,
|
||||
@@ -102,7 +102,8 @@ const pageData = reactive({
|
||||
key: '',
|
||||
label: '全部'
|
||||
},
|
||||
...uni.$utils.objToArrary(uni.$dict.tableStatus)
|
||||
// ...uni.$utils.objToArrary(uni.$dict.tableStatus)
|
||||
...tableStatus
|
||||
]
|
||||
],
|
||||
statusName: '全部',
|
||||
@@ -164,8 +165,9 @@ async function getArea() {
|
||||
* @param {Object} e
|
||||
*/
|
||||
function confirmStatus(e) {
|
||||
console.log('---',e);
|
||||
pageData.statusShow = false;
|
||||
pageData.query.status = e.value[0].key;
|
||||
pageData.query.status = e.value[0].type;
|
||||
pageData.statusName = e.value[0].label;
|
||||
getTable();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user