diff --git a/src/views/aftersales/aftersalesWorkOrder.vue b/src/views/aftersales/aftersalesWorkOrder.vue index 22e728bd..17871330 100644 --- a/src/views/aftersales/aftersalesWorkOrder.vue +++ b/src/views/aftersales/aftersalesWorkOrder.vue @@ -4,13 +4,8 @@
@@ -1954,13 +1949,13 @@ const tabChenge = val => { // 待处理 console.log(UserPermissions.value, '当前身份'); console.log('待处理'); - ProcessingPartyState.value = true; //开启处理方 - data.workOrderStatus = 500; - details.query.workOrderStatus = 500; - ArbitrationStatus.value = true; //可以申请仲裁 - Tableheaderswitching(columnList); - empty(); - IndexTable(data); + ProcessingPartyState.value = true; //开启处理方 + data.workOrderStatus = 500; + details.query.workOrderStatus = 500; + ArbitrationStatus.value = true; //可以申请仲裁 + Tableheaderswitching(columnList); + empty(); + IndexTable(data); } else if (val == 4) { ProcessingPartyState.value = false; //关闭处理方 // 理赔金额未出 diff --git a/src/views/aftersales/aftersalesWorkOrderAdd.vue b/src/views/aftersales/aftersalesWorkOrderAdd.vue index 57e759a8..cf0b637b 100644 --- a/src/views/aftersales/aftersalesWorkOrderAdd.vue +++ b/src/views/aftersales/aftersalesWorkOrderAdd.vue @@ -246,7 +246,7 @@ /> - + { console.log(res); Paymentmethod.value = res.data.data; }); - - Indexform.value.discoveryNode='1'//默认发现节点 - groundlineType.value =Indexform.value.discoveryNode - Indexform.value.workOrderType='1'//默认一个异常类型 - SelectType.value=Indexform.value.workOrderType + + Indexform.value.discoveryNode = '1'; //默认发现节点 + groundlineType.value = Indexform.value.discoveryNode; + Indexform.value.workOrderType = '1'; //默认一个异常类型 + SelectType.value = Indexform.value.workOrderType; }; onLoad(); //初始化程序 @@ -966,11 +966,15 @@ const TopChange = val => { }; // 公司占比计算 const CompanyProportion = () => { - let proportion = 0; //责任比例之和 - FangAddList.value.forEach(item => { - proportion += Number(item.responsibilityRatio); - }); - companyProportion.value = 100 - proportion; + setInterval(() => { + console.log(FangAddList.value, ' FangAddList.value'); + let proportion = 0; //责任比例之和 + FangAddList.value.forEach(item => { + console.log(item.responsibilityRatio); + proportion += Number(item.responsibilityRatio); + }); + companyProportion.value = 100 - proportion; + }, 0); }; // 公司占比事件 const CompanyProportionInput = () => { @@ -1480,11 +1484,10 @@ const ViewPackageDetails = val => { // 对调查经过输入框进行处理 const isShowFormItem1 = computed(() => { return !['1', '2', '5', '6', '7'].includes(groundlineType.value); - }); // 对调查经过输入框进行处理 const isShowFormItem2 = computed(() => { - return !['2', '5', '6', '7', '8'].includes(groundlineType.value); + return !['2', '5', '6', '7', '8'].includes(groundlineType.value); }); @@ -1896,5 +1899,5 @@ const isShowFormItem2 = computed(() => { color: #30316e; font-weight: normal; } -} +}