Kaynağa Gözat

渤海非车

lihongxiao 2 yıl önce
ebeveyn
işleme
953c4769a1
1 değiştirilmiş dosya ile 4 ekleme ve 18 silme
  1. 4 18
      src/views/Letter/Letter.vue

+ 4 - 18
src/views/Letter/Letter.vue

@@ -1992,21 +1992,6 @@
                       ></el-option>
                     </el-select>
                   </el-form-item>
-                  <!-- <el-form-item label=" ">
-                    <el-select
-                      clearable
-                      v-model="boHaiaccidentForm.productCode"
-                      v-loading="accidentLoadingbh"
-                      @change="bhcxchangeChild"
-                    >
-                      <el-option
-                        v-for="(item, index) in boHaiaccidentDataListChild"
-                        :key="index"
-                        :label="item.coverageName"
-                        :value="item.insuredAmount"
-                      ></el-option>
-                    </el-select>
-                  </el-form-item> -->
                   <el-form-item label="选择份数" style="margin-right:30px;">
                     <el-input-number
                       v-model="boHaiaccidentForm.copies"
@@ -5417,6 +5402,7 @@ else{
           break;
           case '渤海财险':
           this.boHaiaccidentForm.agreementId = item.agreementId
+          let policyHolderInfo=this.tbczcarShow?this.ownerInfo:this.policyHolderInfo
           let productQueryVo={
             agreementId:item.agreementId,
             carnature:this.carInfo.carnature,
@@ -5426,10 +5412,10 @@ else{
             powerScale:this.carInfo.powerScale,
             seatCount:this.carInfo.seatCount,
             vehicleUse:this.carInfo.vehicleUse,
-            insuredPersonInfo:this.insuredPersonInfo,
-            policyHolderInfo:this.policyHolderInfo,
-
+            policyHolderInfo,
+            insuredPersonInfo:this.bbczcarShow?this.ownerInfo:this.bbtbcarShow?policyHolderInfo:this.insuredPersonInfo,
           }
+          console.log(productQueryVo.insuredPersonInfo,this.bbczcarShow,this.bbtbcarShow,1111111111)
           this.$api.letter.productQueryboHai(productQueryVo).then(res => {
             if (res.code == 200) {
               this.boHaiaccidentDataList = res.data;