增加退款方式和叫号更改
This commit is contained in:
@@ -182,6 +182,7 @@
|
||||
if (res.queueInfo) {
|
||||
dataform.queueInfo = res.queueInfo;
|
||||
} else {
|
||||
dataform.queueInfo = null
|
||||
userorderList()
|
||||
}
|
||||
dataform.shopInfo = res.shopInfo;
|
||||
@@ -270,28 +271,28 @@
|
||||
onMounted(async () => {
|
||||
await proxy.$onLaunched;
|
||||
// 获取当前页面栈
|
||||
// const pages = getCurrentPages();
|
||||
// // 获取当前页面实例
|
||||
// const currentPage = pages[pages.length - 1];
|
||||
// // 获取页面参数
|
||||
// const options = currentPage.options;
|
||||
const pages = getCurrentPages();
|
||||
// 获取当前页面实例
|
||||
const currentPage = pages[pages.length - 1];
|
||||
// 获取页面参数
|
||||
const options = currentPage.options;
|
||||
|
||||
// // #ifdef MP-WEIXIN
|
||||
// if (options.q) {
|
||||
// dataform.shopId = getQueryString(decodeURIComponent(options.q), 'shopId')
|
||||
// dataform.queueId = getQueryString(decodeURIComponent(options.q), 'queueId')
|
||||
// }
|
||||
// // #endif
|
||||
// // #ifdef MP-ALIPAY
|
||||
// if (getApp().globalData.shopId) {
|
||||
// dataform.shopId = getApp().globalData.shopId
|
||||
// }
|
||||
// if (getApp().globalData.queueId) {
|
||||
// dataform.queueId = getApp().globalData.queueId
|
||||
// }
|
||||
//// #endif
|
||||
// #ifdef MP-WEIXIN
|
||||
if (options.q) {
|
||||
dataform.shopId = getQueryString(decodeURIComponent(options.q), 'shopId')
|
||||
dataform.queueId = getQueryString(decodeURIComponent(options.q), 'queueId')
|
||||
}
|
||||
// #endif
|
||||
// #ifdef MP-ALIPAY
|
||||
if (getApp().globalData.shopId) {
|
||||
dataform.shopId = getApp().globalData.shopId
|
||||
}
|
||||
if (getApp().globalData.queueId) {
|
||||
dataform.queueId = getApp().globalData.queueId
|
||||
}
|
||||
// #endif
|
||||
uni.cache.set('shopId', dataform.shopId, 30)
|
||||
await nextTick()
|
||||
uni.cache.set('shopId', 29, 30)
|
||||
getQueueUpTablList();
|
||||
})
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user