|
|
@@ -164,6 +164,12 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
+ <view style="border:1upx solid green;width:97%;margin-left:6upx;color:green;padding:2upx;border-radius: 8upx;">
|
|
|
+ <view v-for="(name, tIndex) in trackList" :key="tIndex">
|
|
|
+ {{ tIndex+1 }}、{{ name }}
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+
|
|
|
<view v-if="detailInfo.status==1" class="order-info_box">
|
|
|
<view>过期时间:</view>
|
|
|
<view>{{detailInfo.deadline?detailInfo.deadline.substr(5,11):''}}</view>
|
|
|
@@ -489,6 +495,7 @@ import { delItem,updateRemarkItemFn } from "@/api/order-item";
|
|
|
import { getAllStaff } from "@/api/shop-admin"
|
|
|
import ModalModule from "@/components/plugin/modal"
|
|
|
import MxDatePicker from '@/components/mx-datepicker/mx-datepicker.vue';
|
|
|
+import { getCgExpressTrack } from "@/api/express"
|
|
|
export default {
|
|
|
name: "orderDetail",
|
|
|
components: {
|
|
|
@@ -529,7 +536,8 @@ export default {
|
|
|
fhLabelShow:false,
|
|
|
payDate:'',
|
|
|
currentItem:[],
|
|
|
- staffListData:[]
|
|
|
+ staffListData:[],
|
|
|
+ trackList:[]
|
|
|
};
|
|
|
},
|
|
|
onPullDownRefresh() {
|
|
|
@@ -1179,6 +1187,21 @@ export default {
|
|
|
selectJobId:this.selectJobId
|
|
|
});
|
|
|
}
|
|
|
+
|
|
|
+ let that = this
|
|
|
+ if (!this.$util.isEmpty(this.detailInfo.fhWlSn)){
|
|
|
+ //获取运单轨迹
|
|
|
+ getCgExpressTrack({id:this.option.id}).then(result=>{
|
|
|
+ that.trackList = []
|
|
|
+ if(!that.$util.isEmpty(result.data.path_item_list) && this.$util.isArray(result.data.path_item_list)){
|
|
|
+ result.data.path_item_list.forEach(function(item){
|
|
|
+ that.trackList.push(item.action_msg)
|
|
|
+ })
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
} catch {
|
|
|
} finally {
|
|
|
this.loading = false;
|