-
-
- {{ item.name }}
-
-
+
+ {{ item.name }}
+
+
支付方式
@@ -421,7 +439,7 @@
@@ -433,6 +451,7 @@
format="YYYY-MM-DD"
value-format="YYYY-MM-DD HH:mm:ss"
placeholder="理赔支付时间"
+ disabled
/>
@@ -440,9 +459,88 @@
- 总金额:{{ TotalClaimAmount }}
+ 总金额:{{ TotalClaimAmount }}元
+
+
+
+
+
+
+
+
+
+
+
+ 完结信息
+
+
+
+
+
+ {{ item.state == 0 ? '赔款方' : '受款方' }}{{ item.cld }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 赔款金额总和:{{ TotalamountCompensation }}
+
+ 受款金额总和:{{ TotalamountReceived }}
+
@@ -666,6 +764,31 @@ const msgHight = ref(100); //聊天框消息高度
const msgTop = ref(0); //调查记录距离页面吸顶记录
const msgState = ref(0);
const Msgloading = ref(false);
+const TotalamountCompensation = ref(0); //赔款总金额
+const TotalamountReceived = ref(0); //受款总金额
+const CompensationParty = ref([
+ {
+ name: '',
+ state: 0,
+ num: null,
+ reason: '',
+ cld: 1,
+ warehouseId: null,
+ compensationPersonnel: '',
+ }, //赔款方
+ // explains: ''
+ {
+ name: '',
+ state: 1,
+ num: null,
+ reason: '',
+ cld: 1,
+ warehouseId: null,
+ compensationPersonnel: '',
+ }, //受款方
+ // explains: ''
+]); //收/赔
+
// =======
const PackageInfo = ref([
@@ -946,7 +1069,7 @@ const onLoad = () => {
item => {
Indexform.value.result.push(item.resultType);
return {
- input: item.money,
+ input: item.money + '元',
min: 0,
max: 9999999999999999999999999999,
state: item.resultType,
@@ -994,6 +1117,8 @@ const onLoad = () => {
cld: index + 1,
id: item.id,
accounting: item.accounting ? item.accounting : '',
+ warehouseId: item.warehouseId, //仓库
+ compensationPersonnel: item.compensationPersonnel, //责任人
});
});
}
@@ -1392,18 +1517,19 @@ const isShowFormItem2 = computed(() => {
:deep(.el-input) {
height: 100% !important;
}
- :deep(.money){
+ :deep(.money) {
width: 100px;
}
}
span {
- display: block;
- color: #606266;
+ color: #000000;
font-size: 16px;
margin-right: 8px;
display: flex;
align-items: center;
- width: max-content;
+ justify-content: flex-end;
+ width: 80px;
+ margin-left: 10px;
}
.el_titleName {
display: flex;
@@ -1475,8 +1601,8 @@ const isShowFormItem2 = computed(() => {
font-size: 14px;
border: 1px solid #ccc;
padding: 4px 20px;
- color: #30316e;
- font-weight: normal;
+ color: #000000;
+ font-weight: 600;
}
}
.el_nint {
@@ -1673,4 +1799,50 @@ const isShowFormItem2 = computed(() => {
border-bottom: 1px solid #d5d5d563 !important;
border-right: 1px solid #d5d5d563 !important;
}
+.el-endtabs {
+ margin-top: 10px;
+}
+:deep(.custom-tabs-label) {
+ font-weight: bold;
+ display: flex;
+ align-items: center;
+ .el-icon{
+ margin-right: 4px;
+ }
+}
+.payanindemnity {
+ display: flex;
+ align-items: center;
+ margin-top: 20px;
+ justify-content: space-between;
+ .title {
+ width: max-content;
+ height: 100%;
+ display: flex;
+ display: block;
+ align-items: center;
+ }
+ .sk_input {
+ margin: 0 5px;
+ margin-left: 20px;
+ width: 20%;
+ }
+ .el-button {
+ border: none;
+ }
+ .el_pkLi {
+ display: flex;
+ width: 100%;
+ }
+}
+.paySum {
+ margin-top: 36px;
+ font-size: 14px;
+ display: flex;
+ span {
+ margin-right: 30px;
+ display: flex;
+ align-items: center;
+ }
+}
diff --git a/src/views/aftersales/aftersalesWorkOrderend.vue b/src/views/aftersales/aftersalesWorkOrderend.vue
index 6da9ba1a..98d8034b 100644
--- a/src/views/aftersales/aftersalesWorkOrderend.vue
+++ b/src/views/aftersales/aftersalesWorkOrderend.vue
@@ -1,13 +1,13 @@
-
+
+
-
+ -->
@@ -587,7 +587,7 @@
>客服仲裁完结
{
}
console.log(UserPermissions.value, '当前角色权限');
Chathistory(); //聊天的历史记录
- });
- // 获取页面参数
- if ($route.query.id) {
- console.log($route.query);
- routerState.value = $route.query.RouterState; //当前是新增记录
- console.log(routerState.value, '当前状态');
- $_getInfo({ id: $route.query.id }).then(res => {
- console.log(res, '回显返回值参数');
- endFrom.value = res.data.data;
- endFrom.value.result = [];
- endFrom.value.processor = [];
- endFrom.value.packageImage = [];
- //图片处理回显
- if(res.data.data.discoveryNode=='1'){
- groundlineType.value = '1'
- }else{
- groundlineType.value = 'null'
- }
- res.data.data.decreaseImageVOList.forEach(res => {
- amplifysrcList.value.push(res.imagePath);
- endFrom.value['packageImage'].push({
- name: res.imageName,
- url: res.imagePath,
+ // 获取页面参数
+ if ($route.query.id) {
+ console.log($route.query);
+ routerState.value = $route.query.RouterState; //当前是新增记录
+ console.log(routerState.value, '当前状态');
+ $_getInfo({ id: $route.query.id }).then(res => {
+ console.log(res, '回显返回值参数');
+ endFrom.value = res.data.data;
+ endFrom.value.result = [];
+ endFrom.value.processor = [];
+ endFrom.value.packageImage = [];
+ //图片处理回显
+ if (res.data.data.discoveryNode == '1') {
+ groundlineType.value = '1';
+ } else {
+ groundlineType.value = 'null';
+ }
+ res.data.data.decreaseImageVOList.forEach(res => {
+ amplifysrcList.value.push(res.imagePath);
+ endFrom.value['packageImage'].push({
+ name: res.imageName,
+ url: res.imagePath,
+ });
});
- });
- // 包件回显
- PackageInfo.value = res.data.data.abnormalPackageVOList;
- // 要修改
- // 责任方回显
- FangAddList.value = res.data.data.processorVOList
- .filter(item => item && item.typesOf && item.typesOf === '1')
- .map(item => {
- return { businessName: item.businessId };
+ // 包件回显
+ PackageInfo.value = res.data.data.abnormalPackageVOList;
+ // 要修改
+ // 责任方回显
+ FangAddList.value = res.data.data.processorVOList
+ .filter(item => item && item.typesOf && item.typesOf === '1')
+ .map(item => {
+ return { businessName: item.businessId };
+ });
+ let factorydata = res.data.data.personResponsibleVOS.find(item => item.typesOf);
+ if (factorydata.typesOf) {
+ groundlineType.value = true; //切换处理方模式
+ }
+ FangAddList.value = res.data.data.personResponsibleVOS.map(res => {
+ console.log(groundlineType.value, '当前责任方状态');
+ return {
+ businessName: res.businessName, //责任方ID
+ personResponsibleName: res.personResponsibleName, //责任人名称
+ responsibilityRatio: res.responsibilityRatio, //占比
+ description: res.description, //说明
+ };
});
- let factorydata = res.data.data.personResponsibleVOS.find(item => item.typesOf);
- if (factorydata.typesOf) {
- groundlineType.value = true; //切换处理方模式
- }
- FangAddList.value = res.data.data.personResponsibleVOS.map(res => {
- console.log(groundlineType.value, '当前责任方状态');
- return {
- businessName: res.businessName, //责任方ID
- personResponsibleName: res.personResponsibleName, //责任人名称
- responsibilityRatio: res.responsibilityRatio, //占比
- description: res.description, //说明
- };
- });
- // 要修改
- res.data.data.processorVOList.forEach(item => {
- if (item) {
- if (item.typesOf == 2) {
- // 处理方
- endFrom.value.processor.push(item.businessId);
- MessageResponsibility.value.push(item.businessId);
- Replycopy.value.push(item.businessId); //拷贝一份要回复的
+ // 要修改
+ res.data.data.processorVOList.forEach(item => {
+ if (item) {
+ if (item.typesOf == 2) {
+ // 处理方
+ endFrom.value.processor.push(item.businessId);
+ MessageResponsibility.value.push(item.businessId);
+ Replycopy.value.push(item.businessId); //拷贝一份要回复的
+ }
}
+ });
+ console.log(JSON.parse(localStorage.getItem('my_data')).id);
+ if (UserPermissions.value == '仓库客服') {
+ MessageResponsibility.value.push(JSON.parse(localStorage.getItem('my_data')).id);
+ MessageResponsibility.value = [...new Set(MessageResponsibility.value)]; //对回复方去重
+ MessageResponsibility.value = MessageResponsibility.value.filter(
+ item => item !== JSON.parse(localStorage.getItem('my_data')).id
+ ); //过滤掉当前登录人的仓库
}
- });
- console.log(JSON.parse(localStorage.getItem('my_data')).id);
- MessageResponsibility.value.push(JSON.parse(localStorage.getItem('my_data')).id);
- MessageResponsibility.value = [...new Set(MessageResponsibility.value)]; //对回复方去重
- MessageResponsibility.value = MessageResponsibility.value.filter(
- item => item !== JSON.parse(localStorage.getItem('my_data')).id
- ); //过滤掉当前登录人的仓库
- console.log(endFrom.value.processor, ' endFrom.value.processor');
- getDictionaryBiz('pc_work_order').then(res => {
- //处理结果字典
- console.log(res, '环节字典');
- endFrom.value.workOrderType = res.data.data.find(
- res => res.dictKey == endFrom.value.workOrderType
- ).dictValue; //异常类型回显
- });
- //发现环节回显
- getDictionaryBiz('pc_discovery_node').then(res => {
- console.log(res, '发现环节');
- TransportlossList.value = res.data.data;
- console.log(TransportlossList.value, '处理好的发现环节');
- });
+ console.log(endFrom.value.processor, ' endFrom.value.processor');
+ getDictionaryBiz('pc_work_order').then(res => {
+ //处理结果字典
+ console.log(res, '环节字典');
+ endFrom.value.workOrderType = res.data.data.find(
+ res => res.dictKey == endFrom.value.workOrderType
+ ).dictValue; //异常类型回显
+ });
- // 公司占比回显计算
- let sum = 0;
- FangAddList.value.forEach(item => {
- if (item.responsibilityRatio) {
- item.responsibilityRatio = item.responsibilityRatio.replace(/%/g, '');
- sum = Number(item.responsibilityRatio) + sum;
- }
- });
- FangAddList.value.forEach(item => {
- item.responsibilityRatio = item.responsibilityRatio + '%';
- });
- companyProportion.value = 100 - sum;
- if (res.data.data.processingResultsVO.processingMoneyEntityList) {
- ProcessingList.value = res.data.data.processingResultsVO.processingMoneyEntityList.map(
- item => {
- endFrom.value.result.push(item.resultType);
- return {
- input: item.money,
- min: 0,
- max: 9999999999999999999999999999,
- state: item.resultType,
- payment: item.compensationMethod,
- name: item.resultTypeName,
- text: item.compensationMethodName,
- compensationTime: item.compensationTime,
- paymentUnit: item.paymentUnit,
- };
+ //发现环节回显
+ getDictionaryBiz('pc_discovery_node').then(res => {
+ console.log(res, '发现环节');
+ TransportlossList.value = res.data.data;
+ console.log(TransportlossList.value, '处理好的发现环节');
+ });
+
+ // 公司占比回显计算
+ let sum = 0;
+ FangAddList.value.forEach(item => {
+ if (item.responsibilityRatio) {
+ item.responsibilityRatio = item.responsibilityRatio.replace(/%/g, '');
+ sum = Number(item.responsibilityRatio) + sum;
}
- );
- }
+ });
+ FangAddList.value.forEach(item => {
+ item.responsibilityRatio = item.responsibilityRatio + '%';
+ });
+ companyProportion.value = 100 - sum;
+ if (res.data.data.processingResultsVO.processingMoneyEntityList) {
+ ProcessingList.value = res.data.data.processingResultsVO.processingMoneyEntityList.map(
+ item => {
+ endFrom.value.result.push(item.resultType);
+ return {
+ input: item.money,
+ min: 0,
+ max: 9999999999999999999999999999,
+ state: item.resultType,
+ payment: item.compensationMethod,
+ name: item.resultTypeName,
+ text: item.compensationMethodName,
+ compensationTime: item.compensationTime,
+ paymentUnit: item.paymentUnit,
+ };
+ }
+ );
+ }
+
+ // 总金额回显
+ TotalClaimAmount.value = res.data.data.processingResultsVO.money;
+ // 理赔支付时间
+ // endFrom.value.compensationTime = res.data.data.processingResultsVO.compensationTime;
+ // 处理结果说明回显
+ endFrom.value.resultDescription = res.data.data.processingResultsVO.resultDescription;
+
+ // 完结信息回显
+ // 受款方
- // 总金额回显
- TotalClaimAmount.value = res.data.data.processingResultsVO.money;
- // 理赔支付时间
- // endFrom.value.compensationTime = res.data.data.processingResultsVO.compensationTime;
- // 处理结果说明回显
- endFrom.value.resultDescription = res.data.data.processingResultsVO.resultDescription;
-
- // 完结信息回显
- // 受款方
-
- if (res.data.data.completionRecipientEntityList.length > 0) {
- CompensationParty.value = [];
- res.data.data.completionRecipientEntityList.forEach((item, index) => {
- TotalamountReceived.value += Number(item.money);
- CompensationParty.value.push({
- state: 1, //状态
- num: item.money, //金额
- name: item.recipient, //受款方名字
- reason: item.reasonReceivingPayment, //受款方原因
- // explains: item.explains, //受款方说明
- cld: index + 1,
- id: item.id,
+ if (res.data.data.completionRecipientEntityList.length > 0) {
+ CompensationParty.value = [];
+ res.data.data.completionRecipientEntityList.forEach((item, index) => {
+ TotalamountReceived.value += Number(item.money);
+ CompensationParty.value.push({
+ state: 1, //状态
+ num: item.money, //金额
+ name: item.recipient, //受款方名字
+ reason: item.reasonReceivingPayment, //受款方原因
+ // explains: item.explains, //受款方说明
+ cld: index + 1,
+ id: item.id,
+ });
});
- });
- }
- // 赔款方
- if (res.data.data.completionRecordEntities.length) {
- res.data.data.completionRecordEntities.forEach((item, index) => {
- TotalamountCompensation.value += Number(item.money);
- CompensationParty.value.push({
- state: 0, //状态
- num: item.money, //金额
- name: item.indemnitor, //受款方名字
- reason: item.reason, //受款方原因
- // explains: item.explains, //受款方说明
- cld: index + 1,
- id: item.id,
- accounting: item.accounting ? item.accounting : '',
- warehouseId:item.warehouseId,//仓库
- compensationPersonnel:item.compensationPersonnel,//赔款人员
+ }
+ // 赔款方
+ if (res.data.data.completionRecordEntities.length) {
+ res.data.data.completionRecordEntities.forEach((item, index) => {
+ TotalamountCompensation.value += Number(item.money);
+ CompensationParty.value.push({
+ state: 0, //状态
+ num: item.money, //金额
+ name: item.indemnitor, //受款方名字
+ reason: item.reason, //受款方原因
+ // explains: item.explains, //受款方说明
+ cld: index + 1,
+ id: item.id,
+ accounting: item.accounting ? item.accounting : '',
+ warehouseId: item.warehouseId, //仓库
+ compensationPersonnel: item.compensationPersonnel, //赔款人员
+ });
});
- });
- }
- endFrom.value.arbitrate = res.data.data.reasonArbitration; //仲裁原因
- });
+ }
+ endFrom.value.arbitrate = res.data.data.reasonArbitration; //仲裁原因
+ });
- getDictionaryBiz('result_handling').then(res => {
- console.log(res, '处理结果');
- ProcessingResults.value = res.data.data;
- });
- }
+ getDictionaryBiz('result_handling').then(res => {
+ console.log(res, '处理结果');
+ ProcessingResults.value = res.data.data;
+ });
+ }
- // 异常类型业务字典
- getDictionaryBiz('work_order_status').then(res => {
- //处理结果字典
- endFrom.value.workOrderStatus = res.data.data.filter(
- obj => obj.dictKey == endFrom.value.workOrderStatus
- ).dictValue; //异常类型处理
- });
+ // 异常类型业务字典
+ getDictionaryBiz('work_order_status').then(res => {
+ //处理结果字典
+ endFrom.value.workOrderStatus = res.data.data.filter(
+ obj => obj.dictKey == endFrom.value.workOrderStatus
+ ).dictValue; //异常类型处理
+ });
- // 支付方式字典
- getDictionaryBiz('payment_method').then(res => {
- //处理结果字典
- console.log(res);
- Paymentmethod.value = res.data.data;
- });
+ // 支付方式字典
+ getDictionaryBiz('payment_method').then(res => {
+ //处理结果字典
+ console.log(res);
+ Paymentmethod.value = res.data.data;
+ });
- getDeptWarehouse({}).then(res => {
- // 验证本地仓库用于回复选择,自己不能选择自己仓库
- console.log(res, '处理方');
- localStorage.getItem('WarehouseName');
- console.log(localStorage.getItem('WarehouseName'), '当前本地仓库');
- res.data.data.forEach(item => {
- warehouseData.value.push({
- value: item.id,
- label: item.name,
- disabled: item.name == localStorage.getItem('WarehouseName'),
+ getDeptWarehouse({}).then(res => {
+ // 验证本地仓库用于回复选择,自己不能选择自己仓库
+ console.log(res, '处理方');
+ localStorage.getItem('WarehouseName');
+ console.log(localStorage.getItem('WarehouseName'), '当前本地仓库');
+ res.data.data.forEach(item => {
+ warehouseData.value.push({
+ value: item.id,
+ label: item.name,
+ disabled: item.name == localStorage.getItem('WarehouseName'),
+ });
});
});
});
@@ -1895,7 +1898,6 @@ const submit = () => {
let data = {
aftersalesProcessingResultsDTO: {
// ...info,
-
},
// processingMoneyEntityList: [], //赔付方式
};
@@ -1908,7 +1910,7 @@ const submit = () => {
}
data.aftersalesProcessingResultsDTO.money = sum; //金额汇总
// data.resultDescription=endFrom.value.resultDescription;//处理结果说明
- data.aftersalesProcessingResultsDTO.resultDescription=endFrom.value.resultDescription;//处理结果说明
+ data.aftersalesProcessingResultsDTO.resultDescription = endFrom.value.resultDescription; //处理结果说明
// data['compensationMethod'] = Paymentmethod.value.filter(
// item => item.dictKey == endFrom.value.compensationMethod
// )[0].dictValue; //目前是单选
@@ -1919,7 +1921,7 @@ const submit = () => {
data.aftersalesProcessingResultsDTO['compensationMethod'] = ProcessingList.value
.map(item => item.text)
.join(',');
- data.aftersalesProcessingResultsDTO.processingMoneyEntityList = ProcessingList.value
+ data.aftersalesProcessingResultsDTO.processingMoneyEntityList = ProcessingList.value
.map(item => {
console.log(item);
let match = ProcessingResults.value.find(element => element.dictValue == item.name);
diff --git a/src/views/aftersales/aftersalesWorkOrdermodify.vue b/src/views/aftersales/aftersalesWorkOrdermodify.vue
index b9b330de..f27b0d0b 100644
--- a/src/views/aftersales/aftersalesWorkOrdermodify.vue
+++ b/src/views/aftersales/aftersalesWorkOrdermodify.vue
@@ -418,7 +418,7 @@
- 总金额:{{ TotalClaimAmount }}
+ 总金额:{{ TotalClaimAmount }}元
@@ -793,6 +793,7 @@ const dialogImgList = ref(false); //图片预览弹窗
const amplifyurl = ref(''); //当前点击的图片
const amplifysrcList = ref([]); //图片循环列表
const Processingresults = ref(false); //理赔是否可以编辑
+const ProcessedId=ref(null);//处理完毕里面编辑的iD
// ref 用于跟踪哪些字段被修改过
// 当字段改变时标记它为已修改
@@ -1100,7 +1101,10 @@ const onLoad = () => {
}
);
}
-
+ // 保存处理完毕的编辑ID
+ if(res.data.data.processingResultsVO.id){
+ ProcessedId.value = res.data.data.processingResultsVO.id;
+ }
// 总金额回显
TotalClaimAmount.value = res.data.data.processingResultsVO.money;
// 理赔支付时间
@@ -1342,58 +1346,37 @@ const TopChange = val => {
};
const changeProcessingResults = val => {
- console.log(val,'当前点击的参数');
- console.log(ProcessingList.value,'当前的列表');
- // 首先删除取消的项目
- console.log(val[val.length-1]);
- ProcessingList.value = ProcessingList.value.filter(item => val.includes(item.state - 1));
- // 然后添加或保持新的项目
-console.log(val,'当前状态');
- console.log(num,'当前参数');
- newItem = {
- input: 0,
- min: 0,
- max: 9999999999999,
- state: num,
- payment: '',
- text: '',
- compensationTime: '',
- paymentUnit: '',
- };
- // 根据num为newItem的name字段赋值
- switch (num) {
- case '1':
- newItem.name = '下补单';
- break;
- case '2':
- newItem.name = '维修/补漆';
- break;
- case '3':
- newItem.name = '客户未要求理赔';
- break;
- case '4':
- newItem.name = '用库存';
- break;
- case '5':
- newItem.name = '赔商家';
- break;
- case '6':
- newItem.name = '赔付运费';
- break;
- case '7':
- newItem.name = '工厂考核';
- break;
- default:
- return;
- }
-
- // 如果列表中不存在则加入新项目
- if (!ProcessingList.value.some(item => item.state === newItem.state)) {
- ProcessingList.value.push(newItem);
- console.log(`添加:${newItem.name}`);
- }
-
+ProcessingList.value = ProcessingList.value.filter(item => val.includes(item.state));
+ const nameMapping = {
+ '1': '下补单',
+ '2': '维修/补漆',
+ '3': '客户未要求理赔',
+ '4': '用库存',
+ '5': '赔商家',
+ '6': '赔付运费',
+ '7': '工厂考核'
+};
+
+val.forEach(value => {
+ let existingItem = ProcessingList.value.find(item => item.state === value);
+ // 如果s中不存在state为当前值的对象,则创建一个空对象并添加到s中
+ if (!existingItem) {
+ ProcessingList.value.push({
+ "input": 0,
+ "min": 0,
+ "state": value,
+ "payment": "",
+ "name": nameMapping[value] || "",
+ "text": "",
+ "compensationTime": "",
+ "paymentUnit": "",
+ "id": ""
+ });
+ } else {
+ existingItem.name = nameMapping[value] || "";
+ }
+});
};
// 支付方式选择
@@ -1875,12 +1858,15 @@ const Arbitrationcompleted = () => {
// 理赔金额未出编辑
// 处理结果编辑
let data = {
- id: $route.query.id,
+ id:$route.query.id,
// workOrderId: $route.query.id, //异常工单ID
resultDescription:Indexform.value.resultDescription,//处理结果说明
aftersalesProcessingResultsDTO: {
+ assignList:[],//删除的处理结果ID
resultDescription:Indexform.value.resultDescription,//处理结果说明
- id:$route.query.subId,
+ id:$route.query.Processed?ProcessedId.value:$route.query.subId,
+ // $route.query.Processed?
+ // ProcessedId.value
},
};
data.aftersalesProcessingResultsDTO['processingMoneyEntityList'] = ProcessingList.value
diff --git a/src/views/distribution/deliverylist/distributionDeliveryListedt.vue b/src/views/distribution/deliverylist/distributionDeliveryListedt.vue
index a6683fe9..908ada46 100644
--- a/src/views/distribution/deliverylist/distributionDeliveryListedt.vue
+++ b/src/views/distribution/deliverylist/distributionDeliveryListedt.vue
@@ -3621,9 +3621,6 @@ export default {
this.SignForPhotos = [];
this.signBox = true;
this.reservationId = row.id;
-
-
-
},
beforeOpen(done, type) {
if (['edit', 'view'].includes(type)) {
@@ -3799,7 +3796,7 @@ export default {
handlePrint(row) {
console.log('this.deliverydata.type :>> ', this.deliverydata.type);
const submitData = {
- ids: row.id,
+ ids: row.deliveryId,
type: this.deliverydata.type,
};
printBatch(submitData);
@@ -4089,6 +4086,27 @@ export default {
},
// 复核签收确认弹窗
submitForm() {
+ if(!this.DoorstepPhoto.length){
+ ElMessage({
+ message: '至少上传一张上门照片',
+ type: 'warning',
+ })
+ return
+ }
+ if(!this.StackingPhoto.length){
+ ElMessage({
+ message: '至少上传一张对码照片',
+ type: 'warning',
+ })
+ return
+ }
+ if(!this.SignForPhotos.length){
+ ElMessage({
+ message: '至少上传一张签收照片',
+ type: 'warning',
+ })
+ return
+ }
console.log(this.reservationId);
console.log(this.CheckStore, '要处理的值');
this.checkloading = true; //开启复核签收加载效果