宴席2.0
This commit is contained in:
parent
2ae9c80165
commit
2c7ad346df
@ -110,10 +110,10 @@
|
|||||||
"navigationStyle": "custom"
|
"navigationStyle": "custom"
|
||||||
},
|
},
|
||||||
"needLogin": true
|
"needLogin": true
|
||||||
},
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -224,13 +224,13 @@
|
|||||||
// "selectedIconPath": "static/images/tabbar/shouye_selected.png",
|
// "selectedIconPath": "static/images/tabbar/shouye_selected.png",
|
||||||
// "pagePath": "pages/tab/home/index",
|
// "pagePath": "pages/tab/home/index",
|
||||||
// "text": "菜单分类"
|
// "text": "菜单分类"
|
||||||
// },
|
// },
|
||||||
// {
|
// {
|
||||||
// "iconPath": "static/images/tabbar/bofang.png",
|
// "iconPath": "static/images/tabbar/bofang.png",
|
||||||
// "selectedIconPath": "static/images/tabbar/bofang_selected.png",
|
// "selectedIconPath": "static/images/tabbar/bofang_selected.png",
|
||||||
// "pagePath": "pages/tab/list/index",
|
// "pagePath": "pages/tab/list/index",
|
||||||
// "text": "食谱清单"
|
// "text": "食谱清单"
|
||||||
// },
|
// },
|
||||||
{
|
{
|
||||||
"iconPath": "static/images/tabbar/wode.png",
|
"iconPath": "static/images/tabbar/wode.png",
|
||||||
"selectedIconPath": "static/images/tabbar/wode_selected.png",
|
"selectedIconPath": "static/images/tabbar/wode_selected.png",
|
||||||
@ -245,4 +245,4 @@
|
|||||||
"navigationBarBackgroundColor": "#F8F8F8",
|
"navigationBarBackgroundColor": "#F8F8F8",
|
||||||
"backgroundColor": "#F8F8F8"
|
"backgroundColor": "#F8F8F8"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -293,7 +293,7 @@
|
|||||||
reservation_type: 1,
|
reservation_type: 1,
|
||||||
server_user_id: 0,
|
server_user_id: 0,
|
||||||
table_number: 1, //酒店
|
table_number: 1, //酒店
|
||||||
banquet_date: [], //酒店
|
banquet_date: '', //酒店
|
||||||
},
|
},
|
||||||
matchedItems_sp: [],
|
matchedItems_sp: [],
|
||||||
};
|
};
|
||||||
|
@ -203,8 +203,8 @@ export default defineComponent({
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
onLoad (option) {
|
onLoad (option) {
|
||||||
this.order_id = option.id;;
|
this.order_id = option.order_id;;
|
||||||
this.orderInfo.order_id = option.id;
|
this.orderInfo.order_id = option.order_id;
|
||||||
this.getOrderDetail()
|
this.getOrderDetail()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
@ -233,6 +233,8 @@ export default defineComponent({
|
|||||||
console.log('complete:' + JSON.stringify(res));
|
console.log('complete:' + JSON.stringify(res));
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
} else if (res.code == 9304) {
|
||||||
|
this.payOrder(1);
|
||||||
} else {
|
} else {
|
||||||
uni.$u.toast(res.msg);
|
uni.$u.toast(res.msg);
|
||||||
}
|
}
|
||||||
@ -245,7 +247,7 @@ export default defineComponent({
|
|||||||
} else {
|
} else {
|
||||||
uni.$u.toast(res.msg);
|
uni.$u.toast(res.msg);
|
||||||
}
|
}
|
||||||
this.goBack ()
|
this.goBack()
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -112,7 +112,7 @@ export default defineComponent({
|
|||||||
//点击详情
|
//点击详情
|
||||||
orderDetail (id: number) {
|
orderDetail (id: number) {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: `/pages/banquet/order/detail?id=${id}`
|
url: `/pages/banquet/order/detail?order_id=${id}`
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
goBackHome () {
|
goBackHome () {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user