This commit is contained in:
aihe 2024-09-20 19:01:33 +08:00
parent 979ed2f315
commit bf76ac361a
2 changed files with 9 additions and 7 deletions

View File

@ -37,9 +37,11 @@
<u-text :text="(modelInfo.dispatchUnderlingSiteName)||'-'" size="30" :bold="true" align="center"></u-text> <u-text :text="(modelInfo.dispatchUnderlingSiteName)||'-'" size="30" :bold="true" align="center"></u-text>
</u-col> </u-col>
</u-row> </u-row>
<u-text :text="`预计送达时间:${modelInfo.estimateDate || '-'}`" color="#B12D29" size="26" bold <view class="mt-30 clr-prm font-weight">
margin="30rpx 0 0 0"></u-text> <text>预计送达时间:</text>
<text>{{modelInfo.estimateDate || '-'}}</text>
</view>
</view> </view>
</template> </template>

View File

@ -155,10 +155,10 @@
} }
// 更新缓存 // 更新缓存
setSessionSystemInfo({ postQueryHistory: this.historyList }) setSessionSystemInfo({ postQueryHistory: this.historyList })
let estimateDate = resData.estimateDate
if(resData.estimateDate){ // 已签收取 签收时间
resData.estimateDate = dayjs(resData.estimateDate).format('YYYY-MM-DD') resData.waybillStatus == 50 && (estimateDate = resData.signDate)
} estimateDate && (resData.estimateDate = dayjs(estimateDate).format('YYYY-MM-DD'))
// 通过对象合并才能修改父级 数据 // 通过对象合并才能修改父级 数据
Object.assign(this.modelInfo, resData || {}) Object.assign(this.modelInfo, resData || {})
// 判断是否有权限查看图片 // 判断是否有权限查看图片