fix: 修复桌台统计跳转订单功能
This commit is contained in:
parent
c67424fe2c
commit
c1e4fb9875
|
|
@ -143,6 +143,7 @@ export default {
|
|||
this.$router.push({
|
||||
path: "/order/index",
|
||||
query: {
|
||||
tableCode: data.tableCode,
|
||||
tableName: data.tableName,
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -42,9 +42,9 @@ const searchConfig: ISearchConfig = {
|
|||
{
|
||||
type: "input",
|
||||
label: "台桌名称",
|
||||
prop: "tableName",
|
||||
prop: "tableCode",
|
||||
attrs: {
|
||||
placeholder: "请输入台桌名称",
|
||||
placeholder: "请输入台桌编码",
|
||||
clearable: true,
|
||||
style: {
|
||||
width: "200px",
|
||||
|
|
|
|||
|
|
@ -153,10 +153,10 @@ function returnOriginAmount(order: OrderInfoVo) {
|
|||
}
|
||||
const route = useRoute();
|
||||
onMounted(() => {
|
||||
const { orderNo, tableName } = route.query;
|
||||
const { orderNo, tableName, tableCode } = route.query;
|
||||
handleQueryClick({ orderNo, tableName });
|
||||
searchRef.value?.setQueryValue("orderNo", orderNo);
|
||||
searchRef.value?.setQueryValue("tableName", tableName);
|
||||
searchRef.value?.setQueryValue("tableCode", tableCode);
|
||||
});
|
||||
|
||||
// 新增
|
||||
|
|
|
|||
Loading…
Reference in New Issue