wuguojie 1 год назад
Родитель
Сommit
a640a88c0f

+ 11 - 11
src/views/insurancePolicy/index.vue

@@ -1018,7 +1018,7 @@
               </template>
             </el-table-column>
             <el-table-column type="selection" width="55" />
-            <el-table-column label="保险公司" prop="" align="center" width="150">
+            <el-table-column label="保险公司" prop="" align="center" width="200">
               <template #default="scope">
                 <div class="company">
                   <img :src="scope.row.logo"/>
@@ -1026,7 +1026,7 @@
                 </div>
               </template>
             </el-table-column>
-            <el-table-column label="报价协议" prop="" align="center">
+            <el-table-column label="报价协议" prop="" align="center" width="260">
               <template #default="scope">
                 <el-select v-if="currentRow.some(a => a.id === scope.row.id)">
                   <el-option v-for="item in scope.row.aggrements" :value="item.value" :label="item.label"></el-option>
@@ -1048,14 +1048,14 @@
                       <el-icon style="color: #FF4545; font-size: 14px"><Warning /></el-icon>&nbsp;&nbsp;未匹配到销管费用,不建议投保
                     </span>-->
                   </span>
-                  <el-row class="resultItem">
-                    <el-col v-if="scope.row.quoteResult?.costs?.ciPremium" :span="6" style="text-align: left">交强:{{ `¥${scope.row.quoteResult?.costs?.ciPremium}` }}</el-col>
-                    <el-col v-if="scope.row.quoteResult?.costs?.vvTax" :span="6" style="text-align: left">车船税:{{ `¥${scope.row.quoteResult?.costs?.vvTax}` }}</el-col>
-                  </el-row>
-                  <el-row class="resultItem">
-                    <el-col v-if="scope.row.quoteResult?.costs?.biPremium" :span="6" style="text-align: left">商业险:{{ `¥${scope.row.quoteResult.costs?.biPremium}` }}</el-col>
-                    <el-col v-if="scope.row.quoteResult?.costs?.niPremium" :span="6" style="text-align: left">驾意险:{{ `¥${scope.row.quoteResult?.costs?.niPremium}` }}</el-col>
-                  </el-row>
+                  <div class="resultItem">
+                    <span v-if="scope.row.quoteResult?.costs?.ciPremium" style="text-align: left; margin-right: 10px">交强:{{ `¥${scope.row.quoteResult?.costs?.ciPremium}` }}</span>
+                    <span v-if="scope.row.quoteResult?.costs?.vvTax" style="text-align: left; margin-right: 10px">车船税:{{ `¥${scope.row.quoteResult?.costs?.vvTax}` }}</span>
+                  </div>
+                  <div class="resultItem">
+                    <span v-if="scope.row.quoteResult?.costs?.biPremium" style="text-align: left; margin-right: 10px">商业险:{{ `¥${scope.row.quoteResult.costs?.biPremium}` }}</span>
+                    <span v-if="scope.row.quoteResult?.costs?.niPremium" style="text-align: left; margin-right: 10px">驾意险:{{ `¥${scope.row.quoteResult?.costs?.niPremium}` }}</span>
+                  </div>
                   <span class="resultItem" v-if="scope.row.quoteResult?.ciRiskInfoVo?.startDate || scope.row.quoteResult?.ciRiskInfoVo?.endDate ">
                     <span>交强险保险期:{{ `${scope.row.quoteResult?.ciRiskInfoVo?.startDate} 至 ${scope.row.quoteResult?.ciRiskInfoVo?.endDate}` }}</span>
                   </span>
@@ -1087,7 +1087,7 @@
                 </div>
               </template>
             </el-table-column>
-            <el-table-column label="操作" align="center">
+            <el-table-column label="操作" align="center" width="360">
               <template #default="scope">
                 <div v-if="currentRow.some(a => a.id === scope.row.id)">
                   <el-button link type="primary" @click="handleCount(scope)">优惠测算</el-button>

+ 1 - 0
src/views/quoteConfig/project/modules/projectAdd.vue

@@ -222,6 +222,7 @@ const numberChange = (e, row) => {
 
 // 新增的时候初始化已有的方案
 const initProduct = (e) => {
+  initAttr()
   if(e == '034002') {
     let obj = insuranceTypeList.value.find(item => item.id == '2')
     obj.insuranceId = obj.id