فهرست منبع

融资详情查询融信盖章

peixh 3 سال پیش
والد
کامیت
7ca3bbf434
1فایلهای تغییر یافته به همراه36 افزوده شده و 8 حذف شده
  1. 36 8
      front-vue/src/views/service/financeRecord/detailFinanceRecord.vue

+ 36 - 8
front-vue/src/views/service/financeRecord/detailFinanceRecord.vue

@@ -345,7 +345,8 @@
         </el-table-column>
       </el-table>
     </el-row> -->
-    <div class="zap-title zap-margin-top">盖章附件</div>
+    <el-row class="zap-margin-top zap-form">
+    <div class="zap-title">业务合同</div>
     <el-row>
       <img
         style="width:50px;height:50px;"
@@ -356,6 +357,16 @@
         :title="dict.pfiFileName"
       />
     </el-row>
+    <!-- <el-row> -->
+      <img style="width:50px;height:50px;"
+        :key="dict.pfiFileId"
+        src="../../../assets/images/pdf.png"
+        v-for="dict in creditSealList"
+        @click="handlePreview(dict)"
+        :title="dict.pfiFileName"
+      >
+    <!-- </el-row> -->
+    </el-row>
     <el-row type="flex" align="middle" justify="center" style="height: 77px;">
       <el-button type="primary" plain @click="cancel">取消</el-button>
       <!-- <el-button type="success" @click="submitForm"
@@ -381,10 +392,10 @@ import {
   getRecordSealFile
 } from "@/api/service/financeRecord/record";
 import { listFinanceInf } from "@/api/common/financeInf";
-import { getFile } from "@/api/service/credit/credit";
+import { getFile, getCreditDetail} from "@/api/service/credit/credit";
 import { getToken } from "@/utils/auth";
 import { getUserProfile } from "@/api/system/user";
-import {getCreditDetail} from "@/api/service/credit/credit";
+import {getCreditSealFile} from "@/api/service/credit/creditHandle";
 import DetailBill from "@/views/service/credit/billDetail";
 export default {
   name: "financeRecord",
@@ -425,8 +436,10 @@ export default {
       invoiceFileList: [],
       //其他文件
       otherFileList: [],
-      //盖章文件
+      //融资盖章文件
       recordSealList: [],
+      //融信盖章文件
+      creditSealList:[],
       //开立方
       openName:"",
       //开立社会码
@@ -477,7 +490,10 @@ export default {
       },
       // 表单参数
       form: {},
+      //融资盖章
       formIng:{},
+      //融信盖章
+      formIngs:{},
       // 表单校验
       rules: {
         zfrFinanceId: [
@@ -499,7 +515,6 @@ export default {
     });
     const zfrId = this.$route.params && this.$route.params.zfrId;
     getRecord(zfrId).then(response => {
-      debugger
       this.number = response.data.zfrNumber;
       this.status = response.data.zfrStatus;
       this.reason = response.data.zfrReason;
@@ -543,6 +558,11 @@ export default {
         })
         .then(() => {
           this.formIng = response.data;
+          this.formIngs = response.data.zcFinanceInf;
+          setTimeout(() => {
+            this.getRecordSealFile();
+          this.getCreditSealFile();
+            }, 500);
           //this.form = response.data;
           // this.$set(
           //   this.form,
@@ -552,7 +572,7 @@ export default {
           //     "{y}-{m}-{d}"
           //   )
           // );
-          this.getRecordSealFile();
+          
         });
     });
     getUserProfile().then(response => {
@@ -669,7 +689,6 @@ export default {
             }
           });
           getCreditDetail(item.zfiId).then((response) => {
-            debugger
             if(response.data){
                 //签发金额大写
                 this.issuedAmount = this.smallToBig(response.data.financeInf.zfiAmount);
@@ -776,7 +795,7 @@ export default {
       }
       this.openFile = true;
     },
-    //获取盖章文件
+    //获取融资盖章文件
     getRecordSealFile() {
       var self = this
       getRecordSealFile(self.formIng).then(response => {
@@ -786,6 +805,15 @@ export default {
         }
       });
     },
+    //获取融信盖章文件
+    getCreditSealFile(){
+        getCreditSealFile(this.formIngs).then((response) => {
+                if(response.data.list){
+                  debugger
+                    this.creditSealList = response.data.list;
+                }
+            });
+    },
     //应收账款合计
     allAmount() {
       var strarr = [0.0];