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 filDataList: this.list
} }
}, },
created() { mounted() {
this.initData() this.initData()
}, },
onHide() { onHide() {

View File

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