|
|
@ -635,6 +635,7 @@ const deletePackageInfo = ref([]); //被删除的包间信息 |
|
|
|
const unDecreaseImageEntityList = ref([]); //移除的货损图片 |
|
|
|
const unDecreaseImageEntityList = ref([]); //移除的货损图片 |
|
|
|
const NewImageAddress = ref([]); //旧的片地址 |
|
|
|
const NewImageAddress = ref([]); //旧的片地址 |
|
|
|
const InitialresponsibleParty = ref(); //初始的责任方 |
|
|
|
const InitialresponsibleParty = ref(); //初始的责任方 |
|
|
|
|
|
|
|
const ProcessingParty =ref();//拷贝一份处理方 |
|
|
|
const CompensationParty = ref([ |
|
|
|
const CompensationParty = ref([ |
|
|
|
{ name: '', state: 0, num: null, reason: '', cld: 1, explains: '' }, //赔款方 |
|
|
|
{ name: '', state: 0, num: null, reason: '', cld: 1, explains: '' }, //赔款方 |
|
|
|
{ name: '', state: 1, num: null, reason: '', cld: 1, explains: '' }, //收款方 |
|
|
|
{ name: '', state: 1, num: null, reason: '', cld: 1, explains: '' }, //收款方 |
|
|
@ -817,6 +818,7 @@ const onLoad = () => { |
|
|
|
Indexform.value.processor.push(item.businessId); |
|
|
|
Indexform.value.processor.push(item.businessId); |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
ProcessingParty.value = JSON.parse(JSON.stringify(Indexform.value.processor))//拷贝一份处理方 |
|
|
|
console.log(Indexform.value.processor, ' Indexform.value.processor'); |
|
|
|
console.log(Indexform.value.processor, ' Indexform.value.processor'); |
|
|
|
getDictionaryBiz('pc_work_order').then(res => { |
|
|
|
getDictionaryBiz('pc_work_order').then(res => { |
|
|
|
//处理结果字典 |
|
|
|
//处理结果字典 |
|
|
@ -1156,8 +1158,8 @@ const ConfirmForm = () => { |
|
|
|
completionRecordEntities: [], //异常工单完结赔款方 |
|
|
|
completionRecordEntities: [], //异常工单完结赔款方 |
|
|
|
aftersalesProcessingResultsDTO: {}, //处理结果 |
|
|
|
aftersalesProcessingResultsDTO: {}, //处理结果 |
|
|
|
|
|
|
|
|
|
|
|
personResponsibleDTO: [], //添加预计责任人 |
|
|
|
personResponsibleDTO: [], //添加预计责任人(完成) |
|
|
|
unPersonResponsibleDTO: [], //取消预计责任人 |
|
|
|
unPersonResponsibleDTO: [], //取消预计责任人(完成) |
|
|
|
|
|
|
|
|
|
|
|
surveyRecordDTO: {}, //调查经过 |
|
|
|
surveyRecordDTO: {}, //调查经过 |
|
|
|
}; |
|
|
|
}; |
|
|
@ -1252,6 +1254,70 @@ if(unProcessorEntityList.value.length){ |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 新增的责任方和处理方 |
|
|
|
|
|
|
|
DataSubmit['processorEntityList'].push({ |
|
|
|
|
|
|
|
businessName:'',//名称 |
|
|
|
|
|
|
|
businessId:'',//ID |
|
|
|
|
|
|
|
workOrderId:$route.query.id,//异常工单ID |
|
|
|
|
|
|
|
conditions:2,//状态 1正常 2新增 3取消 |
|
|
|
|
|
|
|
typesOf:2,// 类型 1 责任方 2 处理方 |
|
|
|
|
|
|
|
processingStatus:'',//处理状态 类型 1 待处理 2 已处理 |
|
|
|
|
|
|
|
warehouseId:$route.query.warehouseId,//仓库ID |
|
|
|
|
|
|
|
assignTime:'',//指派时间 |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
// 取消的责任方和处理方 |
|
|
|
|
|
|
|
DataSubmit['unProcessorEntityList'].push({ |
|
|
|
|
|
|
|
businessName:'',//名称 |
|
|
|
|
|
|
|
businessId:'',//ID |
|
|
|
|
|
|
|
workOrderId:$route.query.id,//异常工单ID |
|
|
|
|
|
|
|
conditions:2,//状态 1正常 2新增 3取消 |
|
|
|
|
|
|
|
typesOf:2,// 类型 1 责任方 2 处理方 |
|
|
|
|
|
|
|
processingStatus:'',//处理状态 类型 1 待处理 2 已处理 |
|
|
|
|
|
|
|
warehouseId:$route.query.warehouseId,//仓库ID |
|
|
|
|
|
|
|
assignTime:'',//指派时间 |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 新增的责任方和处理方 |
|
|
|
|
|
|
|
Indexform.value.processor.forEach(item=>{ |
|
|
|
|
|
|
|
msgData['processorEntityList'].push({ |
|
|
|
|
|
|
|
businessName: warehouseData.value.find(obj => obj.value == item).label, //名称 |
|
|
|
|
|
|
|
businessId: warehouseData.value.find(obj => obj.value == item).value, //ID |
|
|
|
|
|
|
|
workOrderId: $route.query.id, //异常工单ID |
|
|
|
|
|
|
|
conditions:2,//状态 1正常 2新增 3取消 |
|
|
|
|
|
|
|
typesOf: 2, //1 责任方 2 处理方 |
|
|
|
|
|
|
|
warehouseId: $route.query.warehouseId, //仓库ID |
|
|
|
|
|
|
|
processingStatus:'',//处理状态 类型 1 待处理 2 已处理 |
|
|
|
|
|
|
|
assignTime:'',//指派时间 |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 取消的责任方和处理方 |
|
|
|
|
|
|
|
Indexform.value.processor.forEach(item=>{ |
|
|
|
|
|
|
|
msgData['unProcessorEntityList'].push({ |
|
|
|
|
|
|
|
businessName: warehouseData.value.find(obj => obj.value == item).label, //名称 |
|
|
|
|
|
|
|
businessId: warehouseData.value.find(obj => obj.value == item).value, //ID |
|
|
|
|
|
|
|
workOrderId: $route.query.id, //异常工单ID |
|
|
|
|
|
|
|
conditions:3,//状态 1正常 2新增 3取消 |
|
|
|
|
|
|
|
typesOf: 2, //1 责任方 2 处理方 |
|
|
|
|
|
|
|
warehouseId: $route.query.warehouseId, //仓库ID |
|
|
|
|
|
|
|
processingStatus:'',//处理状态 类型 1 待处理 2 已处理 |
|
|
|
|
|
|
|
assignTime:'',//指派时间 |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//移除的货损图片 |
|
|
|
//移除的货损图片 |
|
|
|
console.log(DataSubmit, '处理好的数据'); |
|
|
|
console.log(DataSubmit, '处理好的数据'); |
|
|
|
// $_modifyData(DataSubmit).then(res => { |
|
|
|
// $_modifyData(DataSubmit).then(res => { |
|
|
|