宴席2.0

This commit is contained in:
sjeam 2025-08-17 09:07:32 +08:00
parent 2ae9c80165
commit 2c7ad346df
4 changed files with 13 additions and 11 deletions

View File

@ -110,10 +110,10 @@
"navigationStyle": "custom"
},
"needLogin": true
},
}
]
},
{
@ -224,13 +224,13 @@
// "selectedIconPath": "static/images/tabbar/shouye_selected.png",
// "pagePath": "pages/tab/home/index",
// "text": "菜单分类"
// },
// },
// {
// "iconPath": "static/images/tabbar/bofang.png",
// "selectedIconPath": "static/images/tabbar/bofang_selected.png",
// "pagePath": "pages/tab/list/index",
// "text": "食谱清单"
// },
// },
{
"iconPath": "static/images/tabbar/wode.png",
"selectedIconPath": "static/images/tabbar/wode_selected.png",
@ -245,4 +245,4 @@
"navigationBarBackgroundColor": "#F8F8F8",
"backgroundColor": "#F8F8F8"
}
}
}

View File

@ -293,7 +293,7 @@
reservation_type: 1,
server_user_id: 0,
table_number: 1, //
banquet_date: [], //
banquet_date: '', //
},
matchedItems_sp: [],
};

View File

@ -203,8 +203,8 @@ export default defineComponent({
};
},
onLoad (option) {
this.order_id = option.id;;
this.orderInfo.order_id = option.id;
this.order_id = option.order_id;;
this.orderInfo.order_id = option.order_id;
this.getOrderDetail()
},
methods: {
@ -233,6 +233,8 @@ export default defineComponent({
console.log('complete:' + JSON.stringify(res));
}
})
} else if (res.code == 9304) {
this.payOrder(1);
} else {
uni.$u.toast(res.msg);
}
@ -245,7 +247,7 @@ export default defineComponent({
} else {
uni.$u.toast(res.msg);
}
this.goBack ()
this.goBack()
});
}
},

View File

@ -112,7 +112,7 @@ export default defineComponent({
//
orderDetail (id: number) {
uni.navigateTo({
url: `/pages/banquet/order/detail?id=${id}`
url: `/pages/banquet/order/detail?order_id=${id}`
});
},
goBackHome () {