Răsfoiți Sursa

华泰特约未提交到后台

lihongxiao 2 ani în urmă
părinte
comite
e12e32eb9f
2 a modificat fișierele cu 24 adăugiri și 2 ștergeri
  1. 15 1
      src/views/Letter/Letter.vue
  2. 9 1
      src/views/Letter/Orderlist.vue

+ 15 - 1
src/views/Letter/Letter.vue

@@ -3258,6 +3258,7 @@
         border
         v-loading="contributingLoading"
         @select="zijinengageChange"
+        @select-all="zijinengageChangeAll"
         ref="expandTablePro"
         highlight-current-row
         @cell-dblclick="zijincellDblclick"
@@ -3538,6 +3539,7 @@ export default {
         registerDate: "", //注册日期
         issueDate: "", //发证日期
         transferFlag: 0, //过户标志
+        transferFlagBi:false, //商业险是否过户
         transferDate: "", //过户日期
         loanStatus: 0, //贷款标志
         firstBeneMan: "", //第一受益人
@@ -5431,7 +5433,6 @@ export default {
     },
     //紫金特约选择
     zijinengageChange(select, row) {
-      console.log(select,11111111111)
       this.zijinengageList = [];
       select.map(val => {
         this.zijinengageList.push({
@@ -5443,6 +5444,15 @@ export default {
         return val;
       })
     },
+    zijinengageChangeAll( row) {
+      if(row){
+        this.zijinengageChange(row)
+      }
+      else{
+        this.$refs.expandTablePro.clearSelection();
+        this.zijinengageList = [];
+      }
+    },
     //紫金特约内容编辑
     zijincellDblclick(row,column){
       this.currentCell = row.index + ',' + column.index;
@@ -6865,16 +6875,19 @@ export default {
           });
       }
       if(data.namesimple=='华泰财险'){
+        this.zijinengageList=[]
         this.$api.letter.huataiqueryClauseData({ companyId: this.companyId }).then(res => {
             res.data.forEach(val=>{
               val.clauseCode=val.engageCode
               val.clauseName=val.engageTitle
               val.clauseContent=val.engageDetail
+              val.clauses=val.engageDetail
              });
             this.zijinengageListData = res.data;
             this.zijinengageListData.forEach(val=>{
               this.$nextTick(()=>{
                 if(val.optType=='2'){
+                    this.zijinengageList.push(val)
                     this.$refs.expandTablePro.toggleRowSelection(val,true);
                 }
               })
@@ -8384,6 +8397,7 @@ export default {
       this.imageUploaddialogVisible = false;
     },
     add() {
+      this.$router.push({ path: '/letter/letter' })
       for (let key in this.ownerInfo) {
         this.ownerInfo[key] = "";
       }

+ 9 - 1
src/views/Letter/Orderlist.vue

@@ -34,7 +34,12 @@
         <el-col :xs="24" :sm="24" :md="12" :lg="8" :xl="6">
           <el-form-item label="订单状态">
             <el-select v-model="pageRequest.orderStatus" class="widths" clearable>
-              <el-option v-for="val in optionsStatus" :key='val.dictValue' :label="val.dictTag" :value="val.dictValue" ></el-option>
+              <!-- <el-option v-for="val in optionsStatus" :key='val.dictValue' :label="val.dictTag" :value="val.dictValue" ></el-option> -->
+              <el-option label="报价中" value="0"></el-option>
+              <el-option label="待核保" value="1"></el-option>
+              <el-option label="已核保待缴费" value="2"></el-option>
+              <el-option label="已承保" value="3"></el-option>
+              <el-option label="人工核保" value="4"></el-option> 
             </el-select>
           </el-form-item>
         </el-col>
@@ -722,6 +727,9 @@
                   <div v-else-if="['MJ1', 'MJ2', 'MJ3', 'MJ4'].includes(kindinfoitem.kindCode)">
                     <span>{{ kindinfoitem.deductibleRate }}</span>
                   </div>
+                  <div v-else-if="['TY1', 'TY2', 'TY3', 'TY4'].includes(kindinfoitem.kindCode)">
+                    <span>{{ kindinfoitem.unitAmount }}/次</span>
+                  </div>
                   <div v-else>
                     <span>{{ kindinfoitem.amount }}</span>
                   </div>