Commit 5ade95da by liangjianmin

feat(三方送检状态): 添加未填写寄回物流的提示信息

在详情页和批量操作页添加提示,当业务未填写寄回物流时提醒用户确认收货
parent f4e35121
Showing with 10 additions and 0 deletions
......@@ -148,6 +148,7 @@
<text class="tt" style="color: #1969f9;">{{ detail.inspection_qty }}</text>
</view>
</view>
<view v-if="!detail.back_shipment_number" style="color: #fb7400e8;margin-bottom: 5px;font-size: 22rpx;">业务存在还未填写寄回物流,确认已收到货物吗?</view>
<view class="input-wrap column" style="margin-top: 20rpx;">
<view class="label-title"><text style="color: red;">*</text>收货时间:</view>
<view class="select-box row">
......@@ -176,6 +177,7 @@
<text class="ed">{{ filter_id.length }}</text>
<text class="tt">个三方送检单</text>
</view>
<view v-if="hasEmptyBackShipmentNumber" style="color: #fb7400e8;margin-bottom: 5px;font-size: 22rpx;">业务存在还未填写寄回物流,确认已收到货物吗?</view>
<view class="input-wrap column" style="margin-top: 20rpx;">
<view class="label-title"><text style="color: red;">*</text>收货时间:</view>
<view class="select-box row">
......@@ -201,6 +203,14 @@
import debounce from 'lodash/debounce';
export default {
computed: {
hasEmptyBackShipmentNumber() {
// 检查选中的项目中是否存在back_shipment_number为空的情况
return this.list.some(item =>
this.filter_id.includes(item.inspection_order_id) && !item.back_shipment_number
);
}
},
data() {
return {
img_upload_url: uni.getStorageSync('img_upload_url') || 'http://image.liexindev.net', //oss系统
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment