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-col>
</u-row>
<u-text :text="`预计送达时间:${modelInfo.estimateDate || '-'}`" color="#B12D29" size="26" bold
margin="30rpx 0 0 0"></u-text>
<view class="mt-30 clr-prm font-weight">
<text>预计送达时间:</text>
<text>{{modelInfo.estimateDate || '-'}}</text>
</view>
</view>
</template>

View File

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