lihongxiao 2 anni fa
parent
commit
28d6a13c12

+ 1 - 1
src/components/TemplateTable/index.vue

@@ -13,7 +13,7 @@
             <el-select size="small" clearable v-model="searchDataClone[f.prop]" :placeholder="'请输入' + f.label" filterable >
               <el-option label="不限" value v-if="f.selectAuto"></el-option>
               <el-option v-for="(s, i) in InsCompanyList" :key="i" :label="s.name" :value="s.id"></el-option>
-            </el-select>
+            </el-select>          
           </template>
           <template v-else-if="f.type === 'companyCheck'">
             <el-select class="selectLength" multiple collapse-tags size="small" v-model="searchDataClone[f.prop]"

+ 7 - 0
src/views/FinancialManagement/CarInsurance/CompanySettlement/CarInsurance/DocumentaryFeesDetail.vue

@@ -880,6 +880,13 @@ export default {
       this.$api.insCompany.dicType(type).then((res) => {
         if (res.code == 200) {
           this[type + "options"] = res.data.ddList;
+          if (type == 'InsInsuranceKind') {
+            this.formList.forEach(e => {
+              if (e.prop == 'riskcode') {
+                e.options = res.data.ddList
+              }
+            })
+          }
         }
       });
     },

+ 7 - 0
src/views/FinancialManagement/CarInsurance/CompanySettlement/NoCarInsurance/DocumentaryFeesDetail.vue

@@ -790,6 +790,13 @@ drivinguploadBatchs(file, fileList){
       this.$api.insCompany.dicType(type).then((res) => {
         if (res.code == 200) {
           this[type + "options"] = res.data.ddList;
+          if (type == 'InsInsuranceKind') {
+            this.formList.forEach(e => {
+              if (e.prop == 'riskcode') {
+                e.options = res.data.ddList
+              }
+            })
+          }
         }
       });
     },