diff --git a/src/views/aftersales/aftersalesWorkOrderInfo.vue b/src/views/aftersales/aftersalesWorkOrderInfo.vue index 4710e129..e6b1526d 100644 --- a/src/views/aftersales/aftersalesWorkOrderInfo.vue +++ b/src/views/aftersales/aftersalesWorkOrderInfo.vue @@ -682,13 +682,13 @@ const onLoad = () => { $_getInfo({ id: $route.query.id }).then(res => { console.log(res, '回显返回值参数'); - endFrom.value = res.data.data; - endFrom.value.result = []; - endFrom.value.processor = []; - endFrom.value.packageImage = []; + Indexform.value = res.data.data; + Indexform.value.result = []; + Indexform.value.processor = []; + Indexform.value.packageImage = []; //图片处理回显 res.data.data.decreaseImageVOList.forEach(res => { - endFrom.value['packageImage'].push({ + Indexform.value['packageImage'].push({ name: res.imageName, url: res.imagePath, }); @@ -727,15 +727,15 @@ const onLoad = () => { res.data.data.processorVOList.forEach(item => { if (item.typesOf == 2) { // 处理方 - endFrom.value.processor.push(item.businessId); + Indexform.value.processor.push(item.businessId); } }); - console.log(endFrom.value.processor, ' endFrom.value.processor'); + console.log(Indexform.value.processor, ' Indexform.value.processor'); getDictionaryBiz('pc_work_order').then(res => { //处理结果字典 console.log(res, '环节字典'); - endFrom.value.workOrderType = res.data.data.find( - res => res.dictKey == endFrom.value.workOrderType + Indexform.value.workOrderType = res.data.data.find( + res => res.dictKey == Indexform.value.workOrderType ).dictValue; //异常类型回显 }); @@ -745,7 +745,7 @@ const onLoad = () => { // ProcessingResults.value = res.data.data; TransportlossList.value = res.data.data; console.log(TransportlossList.value, '处理好的发现环节'); - // endFrom.discoveryNode + // Indexform.discoveryNode }); getDictionaryBiz('result_handling').then(res => { console.log(res, '发现环节'); @@ -773,7 +773,7 @@ const onLoad = () => { // name: item.resultTypeName, // text: '', // }); - // endFrom.value.result.push(item.resultType); + // Indexform.value.result.push(item.resultType); // }); }); };