diff --git a/src/views/aftersales/aftersalesWorkOrderAdd.vue b/src/views/aftersales/aftersalesWorkOrderAdd.vue index 191fac6b..0b09108f 100644 --- a/src/views/aftersales/aftersalesWorkOrderAdd.vue +++ b/src/views/aftersales/aftersalesWorkOrderAdd.vue @@ -1525,7 +1525,7 @@ const ConfirmForm = () => { delete DataSubmit.processor; //移除多余字段 console.log(DataSubmit, '处理好的数据'); // 提交表单信息stringify - return + Addloading.value = true; //开启页面加载 $_submit(DataSubmit) .then(res => { diff --git a/src/views/aftersales/aftersalesWorkOrderAddTemp.vue b/src/views/aftersales/aftersalesWorkOrderAddTemp.vue index bee29f6a..68f4d967 100644 --- a/src/views/aftersales/aftersalesWorkOrderAddTemp.vue +++ b/src/views/aftersales/aftersalesWorkOrderAddTemp.vue @@ -717,16 +717,16 @@ const PageState = () => { //理赔金额 - form.value.Claimamount = [ - { - title: '', //标题 - money: 0, //金额 - paymentUnit: '', //支付单位 - compensationTime: '', //理赔支付时间 - compensationMethod: '', //支付方式 - Paymentmethod: [...Paymentmethodoptions.value], - }, - ]; + // form.value.Claimamount = [ + // { + // title: '', //标题 + // money: 0, //金额 + // paymentUnit: '', //支付单位 + // compensationTime: '', //理赔支付时间 + // compensationMethod: '', //支付方式 + // Paymentmethod: [...Paymentmethodoptions.value], + // }, + // ]; }; // 页面必要初始化请求 const onLoad = async () => { @@ -893,8 +893,16 @@ const Claimssettlement = value => { }); console.log(data, '筛选出来的值'); if (data && data.length) { + form.value.Claimamount = []; data.forEach(item => { - + form.value.Claimamount.push({ + title: item.label, //标题 + money: 0, //金额 + paymentUnit: '', //支付单位 + compensationTime: '', //理赔支付时间 + compensationMethod: '', //支付方式 + Paymentmethod: [...JSON.parse(JSON.stringify(Paymentmethodoptions.value))], + }); }); } }; @@ -1159,6 +1167,9 @@ const TabactiveClick = (a, b) => { } .el_Processingresults_box_list { display: flex; + justify-content: space-between; + align-items: center; + margin-right: 11px; .el-form-item { .el-form-item__label { margin-bottom: 0;