Просмотр исходного кода

fix:财务管理筛选项及列表增加类型筛选

刘恒 2 лет назад
Родитель
Сommit
bfb0044e4b

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

@@ -633,6 +633,12 @@ export default {
             },
           ],
         },
+        {
+          label: "增加类型",
+          prop: "addType",
+          type: "select",
+          options: [],
+        },
       ],
       btnGroup: [
         {
@@ -682,6 +688,12 @@ export default {
       },
       tableConfig: {
         columns: [
+          {
+            prop: "addType",
+            label: "增加类型",
+            type: "statMap",
+            options: [],
+          },
           {
             prop: "orderno",
             label: "子订单号",
@@ -961,6 +973,16 @@ export default {
     });
     this.$api.dict.findByLableName("add_type").then((res) => {
       if (res.code === 200) {
+        this.formList.forEach((e) => {
+          if (e.prop == "addType") {
+            e.options = res.data;
+          }
+        });
+        this.tableConfig.columns.forEach((e) => {
+          if (e.prop == "addType") {
+            e.options = res.data;
+          }
+        });
         this.addTypeList = res.data;
       }
     });

+ 22 - 0
src/views/FinancialManagement/CarInsurance/CompanySettlement/CarInsurance/HandlingFees.vue

@@ -710,9 +710,21 @@ export default {
           prop: "syDate",
           type: "datePicker",
         },
+        {
+          label: "增加类型",
+          prop: "addType",
+          type: "select",
+          options: [],
+        },
       ],
       tableConfig: {
         columns: [
+          {
+            prop: "addType",
+            label: "增加类型",
+            type: "statMap",
+            options: [],
+          },
           {
             prop: "orderno",
             label: "子订单号",
@@ -1020,6 +1032,16 @@ export default {
     });
     this.$api.dict.findByLableName("add_type").then((res) => {
       if (res.code === 200) {
+        this.formList.forEach((e) => {
+          if (e.prop == "addType") {
+            e.options = res.data;
+          }
+        });
+        this.tableConfig.columns.forEach((e) => {
+          if (e.prop == "addType") {
+            e.options = res.data;
+          }
+        });
         this.addTypeList = res.data;
       }
     });

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

@@ -595,6 +595,12 @@ export default {
             },
           ],
         },
+        {
+          label: "增加类型",
+          prop: "addType",
+          type: "select",
+          options: [],
+        },
       ],
       btnGroup: [
         {
@@ -644,6 +650,12 @@ export default {
       },
       tableConfig: {
         columns: [
+          {
+            prop: "addType",
+            label: "增加类型",
+            type: "statMap",
+            options: [],
+          },
           {
             prop: "orderno",
             label: "子订单号",
@@ -876,6 +888,16 @@ export default {
     });
     this.$api.dict.findByLableName("add_type").then((res) => {
       if (res.code === 200) {
+        this.formList.forEach((e) => {
+          if (e.prop == "addType") {
+            e.options = res.data;
+          }
+        });
+        this.tableConfig.columns.forEach((e) => {
+          if (e.prop == "addType") {
+            e.options = res.data;
+          }
+        });
         this.addTypeList = res.data;
       }
     });

+ 22 - 0
src/views/FinancialManagement/CarInsurance/CompanySettlement/NoCarInsurance/HandlingFees.vue

@@ -650,6 +650,12 @@ export default {
             },
           ],
         },
+        {
+          label: "增加类型",
+          prop: "addType",
+          type: "select",
+          options: [],
+        },
       ],
       tableConfigbatch: {
         columns: [
@@ -700,6 +706,12 @@ export default {
       },
       tableConfig: {
         columns: [
+          {
+            prop: "addType",
+            label: "增加类型",
+            type: "statMap",
+            options: [],
+          },
           {
             prop: "orderno",
             label: "子订单号",
@@ -935,6 +947,16 @@ export default {
     });
     this.$api.dict.findByLableName("add_type").then((res) => {
       if (res.code === 200) {
+        this.formList.forEach((e) => {
+          if (e.prop == "addType") {
+            e.options = res.data;
+          }
+        });
+        this.tableConfig.columns.forEach((e) => {
+          if (e.prop == "addType") {
+            e.options = res.data;
+          }
+        });
         this.addTypeList = res.data;
       }
     });

+ 22 - 1
src/views/FinancialManagement/CarInsurance/PlatformSettlement/NonVehicleBalance.vue

@@ -1015,6 +1015,12 @@ export default {
           prop: "createTimeQuery",
           type: "datePicker",
         },
+        {
+          label: "增加类型",
+          prop: "addType",
+          type: "select",
+          options: [],
+        },
       ],
       btnGroup: [
         {
@@ -1063,6 +1069,12 @@ export default {
       ],
       tableConfig: {
         columns: [
+          {
+            prop: "addType",
+            label: "增加类型",
+            type: "statMap",
+            options: [],
+          },
           {
             prop: "orderno",
             label: "子订单号",
@@ -1453,6 +1465,16 @@ export default {
     });
     this.$api.dict.findByLableName("add_type").then((res) => {
       if (res.code === 200) {
+        this.formList.forEach((e) => {
+          if (e.prop == "addType") {
+            e.options = res.data;
+          }
+        });
+        this.tableConfig.columns.forEach((e) => {
+          if (e.prop == "addType") {
+            e.options = res.data;
+          }
+        });
         this.addTypeList = res.data;
       }
     });
@@ -1478,7 +1500,6 @@ export default {
     };
     this.$api.insCompany.findLeftInsTree(params).then((res) => {
       this.ztreeNodes = res.data;
-      console.log(this.ztreeNodes);
     });
     this.agrmentlist();
   },