宴席2.0
This commit is contained in:
parent
2ae9c80165
commit
2c7ad346df
@ -110,7 +110,7 @@
|
|||||||
"navigationStyle": "custom"
|
"navigationStyle": "custom"
|
||||||
},
|
},
|
||||||
"needLogin": true
|
"needLogin": true
|
||||||
},
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -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