浏览代码

Merge branch 'dev' of http://www.baoxianzhanggui.com:8090/sxzgd/vue-insagent-pc into dev

yaoyao 2 年之前
父节点
当前提交
e6fbf4471b

+ 8 - 0
src/http/moudules/task.js

@@ -1857,4 +1857,12 @@ export const addOrUpdateAll = (data) => {
     url: '/sysUserLinkPtlAgreement/addOrUpdateAll/'+data,
     url: '/sysUserLinkPtlAgreement/addOrUpdateAll/'+data,
     method: 'post'
     method: 'post'
   })
   })
+}
+
+//任务管理查询报价的保司机构
+export const queryPartnerCompaniesList = (status) => {
+  return axios({
+    url: "/fnc/importAsync/queryPartnerCompaniesList?status="+status,
+    method: "get",
+  })
 }
 }

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

@@ -411,9 +411,11 @@
       </el-upload>
       </el-upload>
       <templateTable
       <templateTable
         ref="templateTable1"
         ref="templateTable1"
+        :formList="formListbatch"
         :tableConfig="tableConfigbatch"
         :tableConfig="tableConfigbatch"
         :data="batchData"
         :data="batchData"
         @findPage="findPagegbatch"
         @findPage="findPagegbatch"
+        @handleSearchList="handleSearchListbatch"
         :pagination="pageDataPro"
         :pagination="pageDataPro"
         @getList="getListgbatch"
         @getList="getListgbatch"
         @selectionChange="selectionChangebatch"
         @selectionChange="selectionChangebatch"
@@ -468,6 +470,19 @@ export default {
   },
   },
   data() {
   data() {
     return {
     return {
+      formListbatch: [
+        {
+          label: "上传时间",
+          prop: "createTime",
+          type: "date",
+        },
+        {
+          label: "保司机构",
+          prop: "partnerCompaniesId",
+          type: "select",
+          options: [],
+        },
+      ],
       process: process.env.BASE_URL,
       process: process.env.BASE_URL,
       dockingPersonOption: [],
       dockingPersonOption: [],
       rulesAdd: {
       rulesAdd: {
@@ -1016,7 +1031,7 @@ export default {
     this.areaqueryList(1, 99, "provinceId");
     this.areaqueryList(1, 99, "provinceId");
     this.companyqueryList(0, "allPartnerCompaniesId");
     this.companyqueryList(0, "allPartnerCompaniesId");
     this.agrmentlist();
     this.agrmentlist();
-
+    this.getCompanyList();
     this.findPage();
     this.findPage();
     let params = {
     let params = {
       classname: "",
       classname: "",
@@ -1048,6 +1063,12 @@ export default {
     });
     });
   },
   },
   methods: {
   methods: {
+    getCompanyList() {
+      this.$api.task.queryPartnerCompaniesList("2").then((res) => {
+        this.companyList = res.data;
+        this.formListbatch[1].options = res.data;
+      });
+    },
     drivinguploadExcel(file, fileList) {
     drivinguploadExcel(file, fileList) {
       this.progressPercent = 0;
       this.progressPercent = 0;
       const params = new FormData(); // 声明formData数据类型
       const params = new FormData(); // 声明formData数据类型
@@ -1224,10 +1245,13 @@ export default {
       this.dialogVisibleBatch = true;
       this.dialogVisibleBatch = true;
       this.findPagegbatch();
       this.findPagegbatch();
     },
     },
-    findPagegbatch() {
+    handleSearchListbatch(data) {
+      this.findPagegbatch(data);
+    },
+    findPagegbatch(data) {
       this.tableConfigbatch.loading = true;
       this.tableConfigbatch.loading = true;
       this.$api.task
       this.$api.task
-        .importAsyncQuery({ ...this.pageDataPro, handStatus: 2 })
+        .importAsyncQuery({ ...this.pageDataPro, handStatus: 2, ...data})
         .then((res) => {
         .then((res) => {
           if (res.code == 200) {
           if (res.code == 200) {
             this.tableConfigbatch.loading = false;
             this.tableConfigbatch.loading = false;

+ 18 - 7
src/views/FinancialManagement/CarInsurance/CompanySettlement/CarInsurance/HandlingFees.vue

@@ -180,7 +180,7 @@
     </el-dialog>
     </el-dialog>
     <el-dialog
     <el-dialog
       :visible.sync="dialogVisibleBatch"
       :visible.sync="dialogVisibleBatch"
-      width="45%"
+      width="50%"
       :before-close="handleCloseBatch"
       :before-close="handleCloseBatch"
     >
     >
       <el-form
       <el-form
@@ -212,7 +212,9 @@
               <el-input v-model="InvoicingData.taxPoints"></el-input>
               <el-input v-model="InvoicingData.taxPoints"></el-input>
             </el-form-item>
             </el-form-item>
           </el-col>
           </el-col>
-          <el-col :span="8" v-if="InvoicingData.invoicingMethod == '1'">
+          </el-row> 
+          <el-row>
+          <el-col :span="10" v-if="InvoicingData.invoicingMethod == '1'">
             <el-form-item label="开票号:" prop="invoicId">
             <el-form-item label="开票号:" prop="invoicId">
               <el-input v-model="InvoicingData.invoicId"></el-input>
               <el-input v-model="InvoicingData.invoicId"></el-input>
             </el-form-item>
             </el-form-item>
@@ -502,6 +504,7 @@ export default {
   },
   },
   data() {
   data() {
     return {
     return {
+      companyList : [], //保司机构列表
       excelFileList: [],
       excelFileList: [],
       confirmDisabled: false,
       confirmDisabled: false,
       riskcodeList: [],
       riskcodeList: [],
@@ -511,6 +514,12 @@ export default {
           prop: "createTime",
           prop: "createTime",
           type: "date",
           type: "date",
         },
         },
+        {
+          label: "保司机构",
+          prop: "partnerCompaniesId",
+          type: "select",
+          options: [],
+        },
       ],
       ],
       rulesAdd: {
       rulesAdd: {
         agreeId: [
         agreeId: [
@@ -944,11 +953,6 @@ export default {
             label: "任务id",
             label: "任务id",
             type: "text",
             type: "text",
           },
           },
-          {
-            prop: "partnerCompaniesName",
-            label: "保司名称",
-            type: "text",
-          },
           {
           {
             prop: "partnerCompaniesName",
             prop: "partnerCompaniesName",
             label: "保司名称 ",
             label: "保司名称 ",
@@ -1107,6 +1111,12 @@ export default {
     });
     });
   },
   },
   methods: {
   methods: {
+    getCompanyList() {
+      this.$api.task.queryPartnerCompaniesList("0").then((res) => {
+        this.companyList = res.data;
+        this.formListbatch[1].options = res.data;
+      });
+    },
     drivinguploadExcel(file, fileList) {
     drivinguploadExcel(file, fileList) {
       this.progressPercent = 0;
       this.progressPercent = 0;
       const params = new FormData(); // 声明formData数据类型
       const params = new FormData(); // 声明formData数据类型
@@ -1529,6 +1539,7 @@ export default {
       }
       }
     },
     },
     balanceFunPro() {
     balanceFunPro() {
+      this.getCompanyList();
       // this.assembly('batchInvoicing',2)
       // this.assembly('batchInvoicing',2)
       this.batchData = [];
       this.batchData = [];
       this.InvoicingData = {};
       this.InvoicingData = {};

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

@@ -375,9 +375,11 @@
       </el-upload>
       </el-upload>
       <templateTable
       <templateTable
         ref="templateTable1"
         ref="templateTable1"
+        :formList="formListbatch"
         :tableConfig="tableConfigbatch"
         :tableConfig="tableConfigbatch"
         :data="batchData"
         :data="batchData"
         @findPage="findPagegbatch"
         @findPage="findPagegbatch"
+        @handleSearchList="handleSearchListbatch"
         :pagination="pageDataPro"
         :pagination="pageDataPro"
         @getList="getListgbatch"
         @getList="getListgbatch"
         @selectionChange="selectionChangebatch"
         @selectionChange="selectionChangebatch"
@@ -432,6 +434,19 @@ export default {
   },
   },
   data() {
   data() {
     return {
     return {
+      formListbatch: [
+        {
+          label: "上传时间",
+          prop: "createTime",
+          type: "date",
+        },
+        {
+          label: "保司机构",
+          prop: "partnerCompaniesId",
+          type: "select",
+          options: [],
+        },
+      ],
       process: process.env.BASE_URL,
       process: process.env.BASE_URL,
       dockingPersonOption: [],
       dockingPersonOption: [],
       riskcodeList: [],
       riskcodeList: [],
@@ -952,8 +967,15 @@ export default {
         this.InsCompanyList = res.data;
         this.InsCompanyList = res.data;
       }
       }
     });
     });
+    this.getCompanyList();
   },
   },
   methods: {
   methods: {
+    getCompanyList() {
+      this.$api.task.queryPartnerCompaniesList("3").then((res) => {
+        this.companyList = res.data;
+        this.formListbatch[1].options = res.data;
+      });
+    },
     drivinguploadExcel(file, fileList) {
     drivinguploadExcel(file, fileList) {
       this.progressPercent = 0;
       this.progressPercent = 0;
       const params = new FormData(); // 声明formData数据类型
       const params = new FormData(); // 声明formData数据类型
@@ -1126,10 +1148,13 @@ export default {
       this.dialogVisibleBatch = true;
       this.dialogVisibleBatch = true;
       this.findPagegbatch();
       this.findPagegbatch();
     },
     },
-    findPagegbatch() {
+    handleSearchListbatch(data) {
+      this.findPagegbatch(data);
+    },
+    findPagegbatch(data) {
       this.tableConfigbatch.loading = true;
       this.tableConfigbatch.loading = true;
       this.$api.task
       this.$api.task
-        .importAsyncQuery({ ...this.pageDataPro, handStatus: 3 })
+        .importAsyncQuery({ ...this.pageDataPro, handStatus: 3,...data })
         .then((res) => {
         .then((res) => {
           if (res.code == 200) {
           if (res.code == 200) {
             this.tableConfigbatch.loading = false;
             this.tableConfigbatch.loading = false;

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

@@ -510,6 +510,12 @@ export default {
           prop: "createTime",
           prop: "createTime",
           type: "date",
           type: "date",
         },
         },
+        {
+          label: "保司机构",
+          prop: "partnerCompaniesId",
+          type: "select",
+          options: [],
+        },
       ],
       ],
       ztreeNodes: [],
       ztreeNodes: [],
       productsTypeoptions: [],
       productsTypeoptions: [],
@@ -968,6 +974,7 @@ export default {
     };
     };
   },
   },
   created() {
   created() {
+    
     this.$api.dept.findDeptTree("9", "").then((res) => {
     this.$api.dept.findDeptTree("9", "").then((res) => {
       this.treedata = res.data;
       this.treedata = res.data;
     });
     });
@@ -1012,8 +1019,15 @@ export default {
       }
       }
     });
     });
     this.agrmentlist();
     this.agrmentlist();
+    this.getCompanyList();
   },
   },
   methods: {
   methods: {
+    getCompanyList() {
+      this.$api.task.queryPartnerCompaniesList("1").then((res) => {
+        this.companyList = res.data;
+        this.formListbatch[1].options = res.data;
+      });
+    },
     drivinguploadExcel(file, fileList) {
     drivinguploadExcel(file, fileList) {
       this.progressPercent = 0;
       this.progressPercent = 0;
       const params = new FormData(); // 声明formData数据类型
       const params = new FormData(); // 声明formData数据类型