|
|
@@ -5,7 +5,8 @@
|
|
5
|
5
|
<pageOne @handleNextClick="handleNextClick" :orderDetail="detail" :orderId="orderId" />
|
|
6
|
6
|
</view>
|
|
7
|
7
|
<view class="page-item" v-show="activeIndex === 1">
|
|
8
|
|
- <pageTwo @handleNextClick="handleNextClick" :orderDetail="detail" :orderId="orderId" />
|
|
|
8
|
+ <pageTwo @handleNextClick="handleNextClick" :orderDetail="detail" :orderId="orderId"
|
|
|
9
|
+ :followUpList="followUpList" />
|
|
9
|
10
|
</view>
|
|
10
|
11
|
<view class="page-item" v-show="activeIndex === 2">
|
|
11
|
12
|
<pageThree @handleNextClick="handleNextClick" :orderDetail="detail" @handleNeedSave="handleNeedSave"
|
|
|
@@ -64,6 +65,10 @@ export default {
|
|
64
|
65
|
fileIds: '',
|
|
65
|
66
|
//收件信息page4
|
|
66
|
67
|
receiptList: [],
|
|
|
68
|
+ //订单细节
|
|
|
69
|
+ orderDetail: {},
|
|
|
70
|
+ // 跟进记录
|
|
|
71
|
+ followUpList: {},
|
|
67
|
72
|
}
|
|
68
|
73
|
},
|
|
69
|
74
|
name: 'OrderDetailNewView',
|
|
|
@@ -74,7 +79,17 @@ export default {
|
|
74
|
79
|
this.fetchReceiptList();
|
|
75
|
80
|
}
|
|
76
|
81
|
}, immediate: true
|
|
|
82
|
+ },
|
|
|
83
|
+ detail: {
|
|
|
84
|
+ handler(newVal) {
|
|
|
85
|
+ if (newVal) {
|
|
|
86
|
+ this.orderDetail = newVal;
|
|
|
87
|
+ this.getFollowUpList();
|
|
|
88
|
+ }
|
|
|
89
|
+ },
|
|
|
90
|
+ deep: true,
|
|
77
|
91
|
}
|
|
|
92
|
+
|
|
78
|
93
|
},
|
|
79
|
94
|
methods: {
|
|
80
|
95
|
handleNextClick({ nowPage, form }) {
|
|
|
@@ -233,6 +248,18 @@ export default {
|
|
233
|
248
|
uni.$u.toast("获取收单列表失败");
|
|
234
|
249
|
}
|
|
235
|
250
|
},
|
|
|
251
|
+
|
|
|
252
|
+ //获取跟进记录
|
|
|
253
|
+ async getFollowUpList() {
|
|
|
254
|
+ try {
|
|
|
255
|
+ const res = await uni.$u.api.getDuplicateOrderFollowListByClueId({ clueId: this.orderDetail.clueId });
|
|
|
256
|
+ console.log('这里是跟进记录', res)
|
|
|
257
|
+ this.followUpList = res.data || [];
|
|
|
258
|
+ } catch (error) {
|
|
|
259
|
+ console.error("获取跟进记录失败:", error);
|
|
|
260
|
+ uni.$u.toast("获取跟进记录失败");
|
|
|
261
|
+ }
|
|
|
262
|
+ }
|
|
236
|
263
|
},
|
|
237
|
264
|
|
|
238
|
265
|
}
|