|
@@ -413,7 +413,13 @@ const confirmOrder = async () => {
|
|
|
proxy?.$modal.msgSuccess('订单确认成功');
|
|
proxy?.$modal.msgSuccess('订单确认成功');
|
|
|
|
|
|
|
|
// 返回订单列表
|
|
// 返回订单列表
|
|
|
- router.push('/order-manage/order-list');
|
|
|
|
|
|
|
+ // 根据来源返回对应列表页
|
|
|
|
|
+ const source = route.query.source;
|
|
|
|
|
+ if (source === 'project') {
|
|
|
|
|
+ router.push('/order-manage/order-delivet-project');
|
|
|
|
|
+ } else {
|
|
|
|
|
+ router.push('/order-manage/order-deliver-list');
|
|
|
|
|
+ }
|
|
|
} catch (error) {
|
|
} catch (error) {
|
|
|
console.error('确认订单失败:', error);
|
|
console.error('确认订单失败:', error);
|
|
|
proxy?.$modal.msgError('确认订单失败,请重试');
|
|
proxy?.$modal.msgError('确认订单失败,请重试');
|