Преглед на файлове

诚泰修改折扣加子订单id

@dongkboy преди 1 година
родител
ревизия
6b801d31ff
променени са 1 файла, в които са добавени 4 реда и са изтрити 1 реда
  1. 4 1
      src/views/Task/daikeComponents/KtLetter1.vue

+ 4 - 1
src/views/Task/daikeComponents/KtLetter1.vue

@@ -10859,6 +10859,9 @@ export default {
       if (namesimple == "诚泰财险" && this.totalCompanyList[num].result.initialProposalDiscount) {
         params.discount = this.totalCompanyList[num].result.expectedDiscount;
         params.coefficient = this.totalCompanyList[num].result.pricingCoefficient;
+        if (this.lastCompanyId) {
+          params.lastCompanyId = this.lastCompanyId
+        }
       }
       if (namesimple == '人保财险') {
           params.priceCoefficient = this.totalCompanyList[num].result.priceCoefficient
@@ -10896,7 +10899,7 @@ export default {
               this.vehicleInspectionUrl = this.totalCompanyList[
                 num
               ].result.vehicleInspectionUrl;
-              if (namesimple == "中国人寿" && res.data.companyId) {
+              if (res.data.companyId) {
                 this.lastCompanyId = res.data.companyId;
               }