Selaa lähdekoodia

Merge branch 'dev' of http://39.101.143.165:8090/dong_k/tenant-Platform into dev

@dongkboy 1 kuukausi sitten
vanhempi
commit
a4cb11ac37
1 muutettua tiedostoa jossa 13 lisäystä ja 9 poistoa
  1. 13 9
      src/views/insurancePolicy/index.vue

+ 13 - 9
src/views/insurancePolicy/index.vue

@@ -973,7 +973,7 @@
                                     :value="item.value"></el-option>
                                 </el-select>
                                 <span v-if="props.row.kindName == '乘客责任险'">*{{ insurancePolicyForm.seatCount - 1
-                                }}/座</span>
+                                  }}/座</span>
                               </div>
                             </template>
                           </el-table-column>
@@ -1045,7 +1045,7 @@
                           <el-table-column label="产品名称" prop="productName" align="center">
                             <template #default="props">
                               <el-button link type="primary" @click="getJYXDetail(props.row)">{{ props.row.productName
-                              }}</el-button>
+                                }}</el-button>
                             </template>
                           </el-table-column>
                           <el-table-column label="数量" align="center">
@@ -1098,12 +1098,12 @@
                             <div class="Factor-item flex a-c f-c ">
                               <span class="item-header flex a-c ">交强续保</span>
                               <span>{{ ['', '新保', '续保', '转保'][Number(scope.row.quoteResult?.scoreVo?.jqRenewal)] || '--'
-                                }}</span>
+                              }}</span>
                             </div>
                             <div class="Factor-item flex a-c f-c ">
                               <span class="item-header flex a-c ">商业续保</span>
                               <span>{{ ['', '新保', '续保', '转保'][Number(scope.row.quoteResult?.scoreVo?.syRenewal)] || '--'
-                                }}</span>
+                              }}</span>
                             </div>
                             <div class="Factor-item flex a-c f-c ">
                               <span class="item-header flex a-c ">总折扣率</span>
@@ -1137,8 +1137,8 @@
                         <p style="text-align: center">优惠信息</p>
                         <el-table class="factorTable" :data="scope.row.discounts">
                           <el-table-column label="险种" prop="name"></el-table-column>
-                          <el-table-column label="比例" prop="commissionRatio"></el-table-column>
-                          <el-table-column label="优惠金额" prop="commissionPremium"></el-table-column>
+                          <!-- <el-table-column label="比例" prop="commissionRatio"></el-table-column>
+                          <el-table-column label="优惠金额" prop="commissionPremium"></el-table-column> -->
                           <el-table-column label="返还结算比例" prop="exportRatio"></el-table-column>
                           <el-table-column label="返还金额" prop="exportPremium"></el-table-column>
                         </el-table>
@@ -3785,7 +3785,7 @@ const quoteInsurance = async (companyId: any, companyIndex: any, val: any) => {
             commissionPremium: feeOrders.jqCommissionPremium ?? 0,
             commissionRatio: feeOrders.jqCommissionRatio ?? 0,
             exportPremium: feeOrders.jqExportPremium ?? 0,
-            exportRatio: feeOrders.jqExportRatio ?? 0,
+            exportRatio: (feeOrders.jqExportRatio ?? 0) * 100 + '%',
           }, {
             name: '商业',  // 商业险费用明细
             additionalPremium: feeOrders.syAdditionalPremium ?? 0,
@@ -3793,7 +3793,7 @@ const quoteInsurance = async (companyId: any, companyIndex: any, val: any) => {
             commissionPremium: feeOrders.syCommissionPremium ?? 0,
             commissionRatio: feeOrders.syCommissionRatio ?? 0,
             exportPremium: feeOrders.syExportPremium ?? 0,
-            exportRatio: feeOrders.syExportRatio ?? 0,
+            exportRatio: (feeOrders.syExportRatio ?? 0) * 100 + '%',
           }, {
             name: '驾意险',  // 驾意险费用明细
             additionalPremium: feeOrders.jyAdditionalPremium ?? 0,
@@ -3801,7 +3801,11 @@ const quoteInsurance = async (companyId: any, companyIndex: any, val: any) => {
             commissionPremium: feeOrders.jyCommissionPremium ?? 0,
             commissionRatio: feeOrders.jyCommissionRatio ?? 0,
             exportPremium: feeOrders.jyExportPremium ?? 0,
-            exportRatio: feeOrders.jyExportRatio ?? 0,
+            exportRatio: (feeOrders.jyExportRatio ?? 0) * 100 + '%',
+          }, {
+            name: '总计',  // 总计
+            exportPremium: (feeOrders.jyExportPremium ?? 0) + (feeOrders.syExportPremium ?? 0) + (feeOrders.jqExportPremium ?? 0),
+            exportRatio: '--',
           },
         ]
         // 保存报价结果