lihongxiao 2 лет назад
Родитель
Сommit
8276bd58b0

+ 2 - 2
config/dev.env.js

@@ -12,8 +12,8 @@ module.exports = merge(prodEnv, {
   // BASE_URL:'"https://sxzgkj.baoxianzhanggui.com/web-api"'//正式服务器
   // BASE_URL: '"http://192.168.0.115:8080/"' //凯森
   // BASE_URL: '"http:///192.168.0.106:8080/"',//屈晨
-  // BASE_URL: '"http:///192.168.0.253:8080/"',//田智
-  BASE_URL: '"http:///192.168.0.42:8080/"',//武鸿鹏
+  BASE_URL: '"http:///192.168.0.253:8080/"',//田智
+  // BASE_URL: '"http:///192.168.0.42:8080/"',//武鸿鹏
   // BASE_URL: '"http://192.168.1.101:8080/"',
   // BASE_URL: '"http:///192.168.0.22:8080/"',//郝宇
   // BASE_URL: '"http:///192.168.0.103:8、080/"',//霍续亮

+ 1 - 1
src/views/FinancialManagement/CarInsurance/CompanySettlement/CarInsurance/DocumentaryFees.vue

@@ -165,7 +165,7 @@ export default {
             type: "text"
           },
           {
-            prop: "settleMentAmount",
+            prop: "readyCommissionFeevalue",
             label: "已开票已结算跟单费",
             type: "text"
           },

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

@@ -477,6 +477,7 @@ export default {
         agreementId:this.batchData.agreementId,
         partnerCompaniesId:this.batchData.partnerCompaniesId,
         companyId:this.batchData.companyId,
+        isNotCar:'0',
       }
       this.$api.task.batchInvoicing(data)
           .then(res => {

+ 1 - 1
src/views/FinancialManagement/CarInsurance/CompanySettlement/NoCarInsurance/DocumentaryFees.vue

@@ -167,7 +167,7 @@ export default {
             type: "text"
           },
           {
-            prop: "settleMentAmount",
+            prop: "readyCommissionFeevalue",
             label: "已开票已结算跟单费",
             type: "text"
           },

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

@@ -567,6 +567,7 @@ export default {
         agreementId:this.batchData.agreementId,
         partnerCompaniesId:this.batchData.partnerCompaniesId,
         companyId:this.batchData.companyId,
+        isNotCar:'1',
       }
       // this.$api.task.batchInvoicing( {ids:this.batchData.ids,invoicId:this.invoicId})
       this.$api.task.batchInvoicing( data)

+ 12 - 9
src/views/Task/daikeComponents/KtLetter.vue

@@ -2288,6 +2288,7 @@ export default {
       guoRenaccidentDataList: [], //国任意外险
       guoRenaccidenttableData: [],
       guoRenaccidentDataListChild: [],
+      guoRenaccidentalDrivingVo: {}, //国任驾意险
       insuranceDJ: "",
       dajiaInsuranceData: [], //大家意外险
       DJInsuranceData: [],
@@ -4181,7 +4182,8 @@ export default {
         this.guoRenaccidentForm.quantity = "1";
         this.guoRenaccidentForm.prodCode = "";
         this.guoRenaccidentDataListChild =this.guoRenaccidentDataList.find(e=>e.projectCode==index).children;
-
+        this.guoRenaccidentalDrivingVo.parentName = this.guoRenaccidentDataList.find(e=>e.projectCode==index).projectName;
+        this.guoRenaccidentalDrivingVo.parentCode = this.guoRenaccidentDataList.find(e=>e.projectCode==index).projectCode;
         // let data = await this.$api.letter.syncNonAutoInsGuoren({
         //   goodsCode: index,
         //   agreementId: this.guoRenaccidentForm.agreementId
@@ -4215,6 +4217,8 @@ export default {
         // appnum:Number(list.appnum)
       };
       this.guoRenaccidenttableData = list.son;
+      this.guoRenaccidentalDrivingVo=Object.assign({...list,...this.guoRenaccidentalDrivingVo}) 
+
     },
     // 选择意外险类型
     async ywxxxchange(index) {
@@ -4447,8 +4451,9 @@ export default {
               companyCode: item.id,
               agreementId: item.agreementId,
               seatNum:item.namesimple=='永诚财险' ||item.namesimple=='中煤财险'? Number(this.carInfo.seatCount):'',
-              ruleUseNature:this.carInfo.carnature
-
+              ruleUseNature:this.carInfo.carnature,
+              ruleSeatNum: Number(this.carInfo.seatCount),
+              ruleThirdPartyInsurance: this.insureList[1].amount
             })
             .then(res => {
               if (res.code == 200) {
@@ -4709,7 +4714,9 @@ export default {
             .getDrivingInsuranceRule({
               agreementId: this.totalCompanyList[index].agreement[0].id,
               seatNum:ins=='永诚财险' || ins=='中煤财险'? Number(this.carInfo.seatCount):'',
-              ruleUseNature:this.carInfo.carnature
+              ruleUseNature:this.carInfo.carnature,
+              ruleSeatNum: Number(this.carInfo.seatCount),
+              ruleThirdPartyInsurance: this.insureList[1].amount
             })
             .then(res => {
               if (res.code == 200) {
@@ -5904,11 +5911,7 @@ export default {
       });
       let accidentalDrivingVo = {};
       if (this.guoRenaccidentForm.goodsCode) {
-        let data= this.guoRenaccidentDataList.find(val => val.projectCode == this.guoRenaccidentForm.goodsCode)
-        accidentalDrivingVo = {
-          ...data,
-          ...this.guoRenaccidentForm,
-        };
+        accidentalDrivingVo = this.guoRenaccidentalDrivingVo
       }
       let params = {
         accidentalDrivingVo,