This commit is contained in:
aihe 2024-09-19 12:33:43 +08:00
parent 012191c521
commit e54575c20f
2 changed files with 41 additions and 39 deletions

View File

@ -52,7 +52,7 @@
filDataList: this.list
}
},
created() {
mounted() {
this.initData()
},
onHide() {

View File

@ -1,5 +1,5 @@
<template>
<tpx-page>
<tpx-page v-if="!pageLoading">
<view class="dt-block" style="margin-top: 0;">
<!-- <tpx-text-dic :value="modelInfo.waybillStatus" :list="dicData.emis_waybill_status" ></tpx-text-dic> -->
@ -212,43 +212,43 @@
<view v-if="modelInfo.pickupMethod == 2" class="dt-item">
<u-row>
<text class="clr-sub pr-10">预约上门</text>
<view>
<text class=""> {{modelInfo.pickStartDate || '-'}}</text>
<view>
<text class=""> {{modelInfo.pickStartDate || '-'}}</text>
</view>
</u-row>
</view>
<view v-if="modelInfo.pickupMethod == 1">
<view class="dt-item">
<u-row>
<text class="clr-sub pr-10">预计入仓时间</text>
<text class=""> {{modelInfo.pickStartDate || '-'}}</text>
</u-row>
</view>
<view class="dt-item">
<view>
<text class="clr-sub pr-10">仓库名称</text>
<text class=""> {{modelInfo.intoWarehouseName || '-'}}</text>
</view>
</view>
<view class="dt-item">
<u-row>
<text class="clr-sub pr-10">仓库联系人</text>
<view class="">
<tpx-text-dic :value="modelInfo.intoWarehouseContact"></tpx-text-dic>
</view>
</u-row>
<u-row>
<text class="clr-sub pr-10">仓库电话</text>
<text>{{modelInfo.intoWarehousePhone || '-'}}</text>
</u-row>
</view>
<view class="dt-item">
<view>
<text class="clr-sub pr-10">仓库地址</text>
<text class=""> {{modelInfo.intoWarehouseAddress || '-'}}</text>
</view>
</view>
</view>
</view>
<view v-if="modelInfo.pickupMethod == 1">
<view class="dt-item">
<u-row>
<text class="clr-sub pr-10">预计入仓时间</text>
<text class=""> {{modelInfo.pickStartDate || '-'}}</text>
</u-row>
</view>
<view class="dt-item">
<view>
<text class="clr-sub pr-10">仓库名称</text>
<text class=""> {{modelInfo.intoWarehouseName || '-'}}</text>
</view>
</view>
<view class="dt-item">
<u-row>
<text class="clr-sub pr-10">仓库联系人</text>
<view class="">
<tpx-text-dic :value="modelInfo.intoWarehouseContact"></tpx-text-dic>
</view>
</u-row>
<u-row>
<text class="clr-sub pr-10">仓库电话</text>
<text>{{modelInfo.intoWarehousePhone || '-'}}</text>
</u-row>
</view>
<view class="dt-item">
<view>
<text class="clr-sub pr-10">仓库地址</text>
<text class=""> {{modelInfo.intoWarehouseAddress || '-'}}</text>
</view>
</view>
</view>
<view class="dt-item">
<view>
@ -413,7 +413,8 @@
}
},
data() {
return {
return {
pageLoading: true
}
},
created() {
@ -434,7 +435,8 @@
let res = await apiService.getOrderDetail({billCode: this.billCode, _loading: true})
// 通过对象合并才能修改父级 数据
Object.assign(this.modelInfo, res.data || {})
}
}
this.pageLoading = false
}
}
}