Jelajahi Sumber

开立融信授信额度样式

peixh 3 tahun lalu
induk
melakukan
481ad62e83

+ 2 - 1
front-vue/src/views/service/credit/addCredit.vue

@@ -11,7 +11,7 @@
                 <el-col :span="8">
                     <el-form-item label="授信额度" prop="zfiCoreQuotaId">
                         <el-select style="width: 300px" v-model="form.zfiCoreQuotaId" filterable clearable remote @change="change">
-                            <el-option v-for="item in creditLineList" :key="item.value" :label="item.label+item.remaining" :value="item.value">
+                            <el-option v-for="item in creditLineList" :key="item.value" :label="item.label+'/'+item.remaining" :value="item.value">
                             </el-option>
                         </el-select>
                     </el-form-item>
@@ -411,6 +411,7 @@ export default {
         }),
             //获取授信额度
             listCreditLine(this.creditParams).then((response) => {
+                debugger
                 this.creditLineList = response.data.map((item) => {
                     return {
                         value: item.zfpcrId,

+ 11 - 8
front-vue/src/views/service/creditLine/creditLine.vue

@@ -9,8 +9,8 @@
                          <column-setting :checkList="checkList" :tableList="tableList" :selfDom="selfDom" :tableId="tableId" style="margin-left:5px" v-if="this.companyType != '02'"></column-setting>
          </div>
          <hr  style="margin-top: 16px;">
-    <el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="68px">
-      <el-form-item prop="rzScyName" label="资金方名称" label-width="77px">
+    <el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="68px" >
+      <el-form-item prop="rzScyName" label="资金方名称" label-width="82px" v-if="this.companyType != '02'">
         <el-input
           v-model="queryParams.rzScyName"
           placeholder="请输入资金方名称"
@@ -30,7 +30,7 @@
           style="width: 190px"
         />
       </el-form-item>
-      <el-form-item prop="AmountA"  label="授信额度范围" label-width="90px">
+      <el-form-item prop="AmountA"  label="授信额度范围" label-width="96px">
         <el-input
           v-model="queryParams.AmountA"
           placeholder="请输授信额度"
@@ -63,8 +63,8 @@
           />
         </el-select>
       </el-form-item>
-      <el-form-item label="授信类型" prop="zfpType">
-        <el-select v-model="queryParams.zfpType" placeholder="请选择类型" clearable size="small">
+      <el-form-item label="授信类型" prop="zfpType" v-if="this.companyType != '02'">
+        <el-select v-model="queryParams.zfpType" placeholder="请选择类型" clearable size="small" >
           <el-option
             v-for="dict in typeOptions"
             :key="dict.dictValue"
@@ -336,11 +336,11 @@ export default {
         },
         {
           label: "zfpcrStartDate",
-          value: "开始日期"
+          value: "生效日期"
         },
         {
           label: "zfpcrEndDate",
-          value: "结束日期"
+          value: "到期日期"
         },
         {
           label: "zfpcrStatus",
@@ -413,10 +413,13 @@ export default {
     getList() {
       this.loading = true;
       listCreditLine(this.queryParams).then(response => {
+        debugger
         this.creditLineList = response.data.records;
         if(response.data.records[0]){
-          this.companyType = response.data.records[0].companyType
+          // this.companyType = response.data.records[0].companyType
+          // this.companyType = '02'
         }
+        this.companyType = '02'
         this.total = response.data.total;
         this.loading = false
       });