lihongxiao 2 年 前
コミット
56a1a30997

+ 2 - 3
src/views/FinancialManagement/CarInsurance/CompanySettlement/CarInsurance/DocumentaryFeesDetail.vue

@@ -25,7 +25,7 @@
       </template>
       <template slot="riskcode">
         <el-select v-model="pageData.riskcode"  placeholder="选择险种" size="small">
-          <el-option v-for="item in riskcodeList" :key="item.dictValue" :label="item.dictTag"
+          <el-option v-for="item in productsTypeoptions" :key="item.dictValue" :label="item.dictTag"
             :value="item.dictTag"></el-option>
         </el-select>
       </template>
@@ -237,7 +237,6 @@ export default {
     return {
       process:'http://192.168.0.42:8080',
       dockingPersonOption: [],
-      riskcodeList: [],
       rulesAdd: {
         signDate: [
           { required: true, message: '请输入签单日期', trigger: 'blur' },
@@ -906,7 +905,7 @@ export default {
           if (type == 'productsType') {
             this.formList.forEach(e => {
               if (e.prop == 'riskcode') {
-                e.options = res.data.ddList
+                this[type + "options"] = res.data.ddList
               }
             })
           }

+ 2 - 3
src/views/FinancialManagement/CarInsurance/CompanySettlement/NoCarInsurance/DocumentaryFeesDetail.vue

@@ -21,7 +21,7 @@
       </template>
       <template slot="riskcode">
         <el-select v-model="pageData.riskcode"  placeholder="选择险种" size="small">
-          <el-option v-for="item in riskcodeList" :key="item.dictValue" :label="item.dictTag"
+          <el-option v-for="item in productsTypeoptions" :key="item.dictValue" :label="item.dictTag"
             :value="item.dictTag"></el-option>
         </el-select>
       </template>
@@ -598,7 +598,6 @@ export default {
       this.treedata = res.data;
     });
     this.getDicType("productsType"); //险种类型
-    this.getDicType("productsType"); //险种类型
     this.getDicType("agreementType"); //险种类型
     this.areaqueryList(1, 99, "provinceId");
     this.companyqueryList(0,'allPartnerCompaniesId');
@@ -818,7 +817,7 @@ drivinguploadBatchs(file, fileList){
           if (type == 'productsType') {
             this.formList.forEach(e => {
               if (e.prop == 'riskcode') {
-                e.options = res.data.ddList
+                this[type + "options"] = res.data.ddList
               }
             })
           }