Parcourir la source

默认承诺还款日,融信列表操作栏加宽

xuefy il y a 3 ans
Parent
commit
c3950ab6b6

+ 9 - 6
front-vue/src/views/service/credit/confirmationAudit.vue

@@ -513,6 +513,14 @@ export default {
                  this.getReTotal(this.ticketList);
                 //附件
                  this.getFile(this.ticketList);
+                //承诺还款日为空
+                if(!this.form.zfiExpireDate){
+                    if(this.ticketList.length > 0){
+                            if(new Date(this.ticketList[0].zbiPayDate) >= new Date()){
+                                this.$set(this.form, "zfiExpireDate", this.ticketList[0].zbiPayDate);
+                            }
+                    }
+                }
              }
              //查询有无确权的内部审批
              this.isOpenApproval();
@@ -522,6 +530,7 @@ export default {
         })
         //授信额度
         this.listCreditLine();
+       
     },
     methods: {
 
@@ -678,12 +687,6 @@ export default {
                     this.getFile(this.ticketList);
                     //开立方赋值
                     this.$set(this.form, "openName",this.chooseTicket[0].payName);
-                    //承诺还款日为空
-                    if(!this.form.zfiExpireDate){
-                          if(new Date(this.ticketList[0].zbiPayDate) >= new Date()){
-                                this.$set(this.form, "zfiExpireDate", this.ticketList[0].zbiPayDate);
-                            }
-                    }
                     this.open = false;
                 }
         }else{

+ 6 - 6
front-vue/src/views/service/credit/credit.vue

@@ -827,7 +827,7 @@
           <el-table-column label="内部审批状态" :formatter="supplierStatusFormat"  align="center" width="110px;" prop="zfiSupplierStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '02'"/>
           <el-table-column label="内部审批状态" :formatter="coreStatusFormat" align="center" width="100px;" prop="zfiCoreStatus" :show-overflow-tooltip="true"  v-if=" this.companyType == '01'"/>
           <el-table-column label="融信状态" :formatter="stateFormat" align="center" prop="zfiStatus" :show-overflow-tooltip="true" />
-          <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width='300' fixed="right" >
+          <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width='400' fixed="right" >
             <template slot-scope="scope">
               <el-button
                 size="mini"
@@ -996,7 +996,7 @@
           <el-table-column label="内部审批状态" :formatter="supplierStatusFormat"  align="center" width="110px;" prop="zfiSupplierStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '02'"/>
           <el-table-column label="内部审批状态" :formatter="coreStatusFormat" align="center" width="100px;" prop="zfiCoreStatus" :show-overflow-tooltip="true"  v-if=" this.companyType == '01'"/>
           <el-table-column label="融信状态" :formatter="stateFormat" align="center" prop="zfiStatus" :show-overflow-tooltip="true" />
-          <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width='300' fixed="right" >
+          <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width='400' fixed="right" >
             <template slot-scope="scope">
               <el-button
                 size="mini"
@@ -1164,7 +1164,7 @@
           <el-table-column label="内部审批状态" :formatter="supplierStatusFormat"  align="center" width="110px;" prop="zfiSupplierStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '02'"/>
           <el-table-column label="内部审批状态" :formatter="coreStatusFormat" align="center" width="100px;" prop="zfiCoreStatus" :show-overflow-tooltip="true"  v-if=" this.companyType == '01'"/>
           <el-table-column label="融信状态" :formatter="stateFormat" align="center" prop="zfiStatus" :show-overflow-tooltip="true"/>
-          <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width='300' fixed="right" >
+          <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width='400' fixed="right" >
             <template slot-scope="scope">
               <el-button
                 size="mini"
@@ -1332,7 +1332,7 @@
           <el-table-column label="内部审批状态" :formatter="supplierStatusFormat"  align="center" width="110px;" prop="zfiSupplierStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '02'"/>
           <el-table-column label="内部审批状态" :formatter="coreStatusFormat" align="center" width="100px;" prop="zfiCoreStatus" :show-overflow-tooltip="true"  v-if=" this.companyType == '01'"/>
           <el-table-column label="融信状态" :formatter="stateFormat" align="center" prop="zfiStatus" :show-overflow-tooltip="true"/>
-          <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width='300' fixed="right" >
+          <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width='400' fixed="right" >
             <template slot-scope="scope">
               <el-button
                 size="mini"
@@ -1505,7 +1505,7 @@
           <el-table-column label="内部审批状态" :formatter="supplierStatusFormat"  align="center" width="110px;" prop="zfiSupplierStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '02'"/>
           <el-table-column label="内部审批状态" :formatter="coreStatusFormat" align="center" width="100px;" prop="zfiCoreStatus" :show-overflow-tooltip="true"  v-if=" this.companyType == '01'"/>
           <el-table-column label="融信状态" :formatter="stateFormat" align="center" prop="zfiStatus" :show-overflow-tooltip="true"/>
-          <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width='300' fixed="right" >
+          <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width='400' fixed="right" >
             <template slot-scope="scope">
               <el-button
                 size="mini"
@@ -1673,7 +1673,7 @@
           <el-table-column label="内部审批状态" :formatter="supplierStatusFormat"  align="center" width="110px;" prop="zfiSupplierStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '02'"/>
           <el-table-column label="内部审批状态" :formatter="coreStatusFormat" align="center" width="100px;" prop="zfiCoreStatus" :show-overflow-tooltip="true"  v-if=" this.companyType == '01'"/>
           <el-table-column label="融信状态" :formatter="stateFormat" align="center" prop="zfiStatus" :show-overflow-tooltip="true"/>
-          <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width='300' fixed="right" >
+          <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width='400' fixed="right" >
             <template slot-scope="scope">
               <el-button
                 size="mini"