Forráskód Böngészése

融信盖章预览,资方放款登记

peixh 3 éve
szülő
commit
1cf4b0668c

+ 21 - 3
front-vue/src/views/service/credit/confirmationAudit.vue

@@ -300,9 +300,15 @@
             width="70%"
             height = "60%"
             append-to-body>
-                <pdf-show :pdfFileList="pdfFileList" :zfiId="this.form.zfiId" :parent="parent">
+                <pdf-show :pdfFileList="pdfFileList" :zfiId="this.form.zfiId" :parent="parent" @PDFData="PDFData">
                 </pdf-show>
             </el-dialog>
+            <el-dialog
+            :visible.sync="pdfShowDialogs"
+            width="70%" height = "60%" append-to-body :show-close="false" >
+            <pdf-shows :pdfFileLists="pdfFileLists" :zfiId="this.form.zfiId" :parents="parents">
+            </pdf-shows>
+        </el-dialog>
         </el-tab-pane>
         <!-- 签署合同-->
         <el-tab-pane label="签署合同">
@@ -345,9 +351,10 @@ import {isOpenApproval} from "@/api/service/credit/approvalRelatedCredit";
 import {getToken} from "@/utils/auth";
 import {contractSigning} from "@/api/service/credit/message";
 import pdfShow from "./pdfShow";
+import pdfShows from "./showStampedPdf";
 export default {
     name: "addCredit",
-    components: {pdfShow},
+    components: {pdfShow,pdfShows},
     data() {
         return {
             // 总条数
@@ -476,6 +483,9 @@ export default {
             pdfFileList : [],
             pdfShowDialog : false,
             parent : this,
+            pdfShowDialogs : false,
+            pdfFileLists : [],
+            parents : this,
         };
     },
     watch:{
@@ -532,7 +542,12 @@ export default {
        
     },
     methods: {
-
+        PDFData(val){
+            console.log(val,"子传父")
+            this.pdfFileLists = val;
+            this.pdfShowDialogs = true;
+            
+        },
         // 取消按钮
         cancel() {
             this.$store.dispatch("tagsView/delView", this.$route);
@@ -1179,6 +1194,9 @@ export default {
     closePdfShow(){
         this.pdfShowDialog = false;
     },
+    closePdfShows(){
+        this.pdfShowDialogs = false;
+    },
     //盖章
     contractSigning(){
             const loading = this.$loading({

+ 24 - 2
front-vue/src/views/service/credit/creditSeal.vue

@@ -191,12 +191,20 @@
             <el-button type="success" @click="getContractFile(false)">签署</el-button>
             <el-button @click="cancel">取消</el-button>
         </div>
+        <!-- pdf -->
         <el-dialog
             :visible.sync="pdfShowDialog"
             width="70%" height = "60%" append-to-body  >
-            <pdf-show :pdfFileList="pdfFileList" :zfiId="this.form.zfiId" :parent="parent">
+            <pdf-show :pdfFileList="pdfFileList" :zfiId="this.form.zfiId" :parent="parent" @PDFData="PDFData">
             </pdf-show>
         </el-dialog>
+        <!-- pdf -->
+        <el-dialog
+            :visible.sync="pdfShowDialogs"
+            width="70%" height = "60%" append-to-body :show-close="false" >
+            <pdf-shows :pdfFileLists="pdfFileLists" :zfiId="this.form.zfiId" :parents="parents">
+            </pdf-shows>
+        </el-dialog>
          <!--选择签署意愿类型-->
         <el-dialog  :visible.sync="confirmIsShow" width="600px"  append-to-body :before-close = "cancelUpdate" center>
             <el-form ref="updateForm"  :disabled="false" :model="updateForm"  v-if="confirmIsShow" label-width="150px"  class="demo-form-inline" :inline="true">
@@ -263,10 +271,11 @@ import {getContractFile,sealRefuse,getCreditSealFile} from "@/api/service/credit
 import {sendMessage,checkCode,faceAuth,checkFaceAuth,contractSigning} from "@/api/service/credit/message";
 import {cfcaProjectNo,projectSendMessage,checkProCode} from "@/api/service/credit/cfcaProject";
 import pdfShow from "./pdfShow";
+import pdfShows from "./showStampedPdf";
 import {getToken} from "@/utils/auth";
 export default {
     name: "CreditSeal",
-    components: {pdfShow},
+    components: {pdfShow,pdfShows},
     data() {
         return {
             // 总条数
@@ -304,6 +313,8 @@ export default {
             otherFileList:[],
             pdfShowDialog : false,
             pdfFileList : [],
+            pdfShowDialogs : false,
+            pdfFileLists : [],
             //展示选择意愿
             confirmIsShow:false,
             //意愿
@@ -352,6 +363,7 @@ export default {
             //项目编号
             projectCode:"",
             parent : this,
+            parents : this,
         };
     },
     activated() {
@@ -412,6 +424,12 @@ export default {
         })
     },
     methods: {
+        PDFData(val){
+            console.log(val,"子传父")
+            this.pdfFileLists = val;
+            this.pdfShowDialogs = true;
+            
+        },
         //列表格式化金额
         moneyFormat(row, column, cellValue) {
         if (cellValue == null || cellValue == undefined || cellValue == "") {
@@ -998,6 +1016,10 @@ export default {
     },
     closePdfShow(){
         this.pdfShowDialog = false;
+        
+    },
+    closePdfShows(){
+        this.pdfShowDialogs = false;
     },
     //返回到列表页
      goParent(){

+ 29 - 7
front-vue/src/views/service/credit/goFinance.vue

@@ -461,17 +461,16 @@
     </el-dialog>
 
     <!-- 合同预览 -->
-    <el-dialog title="预览" :visible.sync="pdfShowDialog" width="60%" append-to-body>
+    <el-dialog title="预览" :visible.sync="pdfShowDialog" width="60%" append-to-body :show-close="pdfIsShow">
       <pdf-show
         :pdfFileList="pdfFileList"
         :zfiId="this.form.zfiId"
         :parent="parent"
       ></pdf-show>
       <span slot="footer" class="dialog-footer" style="float: right">
-        <el-button type="primary" @click="selectType">签署</el-button>
-        <el-button type="primary" plain="" @click="pdfShowDialog = false"
-          >取消</el-button
-        >
+        <el-button type="primary" @click="selectType" v-if="pdfIsShow">签署</el-button>
+        <el-button type="primary" plain="" @click="pdfShowDialog = false" v-if="pdfIsShow">取消</el-button>
+        <el-button type="primary" @click="closePDF" v-if="!pdfIsShow">确定</el-button>
       </span>
     </el-dialog>
 
@@ -635,6 +634,7 @@ export default {
   components: { DetailBill, pdfShow },
   data() {
     return {
+      pdfIsShow: true,
       //往来账款id
       zbiId: "",
       //融资账户是够编辑
@@ -1605,14 +1605,36 @@ export default {
             //关闭人脸二维码
             self.faceIsShow = false;
           }
-          self.closePdfShow();
-          self.$router.push({ path: "/Bill/financeRecord"});
+          //self.closePdfShow();
+          //self.$router.push({ path: "/Bill/financeRecord"});
           //self.cancel();
+          let queryStamped = {};
+          queryStamped.zfrId = this.zfrId
+          const load = self.$loading({
+            lock: true,
+            text: "Loading",
+            background: "rgba(0, 0, 0,0)",
+          });
+          listStamped(queryStamped).then((response) =>{
+            if(response.data){
+              this.pdfFileList = response.data.list;
+            }
+            this.pdfShowDialog = true;
+            this.pdfIsShow = false;
+            load.close()
+          }).catch((response) => {
+             load.close();
+          });
         })
         .catch((response) => {
           loading.close();
         });
     },
+    closePDF(){
+      //关闭预览合同
+      this.closePdfShow();
+      this.$router.push({ path: "/Bill/financeRecord"});
+    }
   },
 };
 </script>

+ 106 - 70
front-vue/src/views/service/credit/pdfShow.vue

@@ -127,21 +127,24 @@
                     </div>    
             </el-dialog>
         </div>
+        
     </div>
     
 </template>
 
 
 <script>
-import {sendMessage,checkCode,faceAuth,checkFaceAuth,contractSigning} from "@/api/service/credit/message";
+import {sendMessage,checkCode,faceAuth,checkFaceAuth,contractSigning,listStamped} from "@/api/service/credit/message";
 import {cfcaProjectNo,projectSendMessage,checkProCode} from "@/api/service/credit/cfcaProject";
 import {getCreditDetail,getFinanceSign} from "@/api/service/credit/credit";
 import { amtformat } from "@/utils/amtCommon";
 import Cookies from 'js-cookie';
 export default {
     props : ['pdfFileList','zfiId', 'parent'],
+    components: {},
     data() {
         return {
+            
             activeName: "first",
             dialogVisible: false,
             dialogTableVisible: false,
@@ -214,8 +217,8 @@ export default {
             //显示去融资框
             goShow:false,
             //融信类型
-            zfiCreateType:""
-
+            zfiCreateType:"",
+            parents: this
         };
     },
     created() {
@@ -536,73 +539,91 @@ export default {
                     //关闭人脸二维码
                     this.faceIsShow = false;
                 }
-                //关闭文件弹框
-                this.closePdfShow();
-                //确权:状态为待确权
-                if(this.zfiStatus == '00'){
-                    if(this.zfiCreateType == '0'){//申请
-                         this.msgSuccess("确权成功,融信已提交,"+this.receiveName+"签收");
-                         this.goParent();
-                    }else if(this.zfiCreateType == '2'){//供应商开立
-                        this.msgSuccess("确权成功,融信已生效");
-                        this.goParent();
+                
+                let queryStamped = {};
+                queryStamped.zfiId = this.zfiId
+                console.log(this.zfiId,"ooooooooooo")
+                console.log(queryStamped.zfiId,"kkkkkkkkkkk")
+                listStamped(queryStamped).then((response) =>{
+                    debugger
+                    if(response.data){
+                        this.pdfFileLists = response.data.list;
                     }
-                }else if(this.zfiStatus == '01' && this.zfiCreateType == '0'){//签收
-                    getFinanceSign(this.zfiId).then((response) => {
-                        //融信编号
-                        this.financeSignForm.zfiNumber = response.data.zfiNumber;
-                        //融信金额
-                        if(response.data.zfiAmount){
-                            this.financeSignForm.zfiAmount = response.data.zfiAmount;
-                        }else{
-                            this.financeSignForm.zfiAmount = "0.00";
-                        }
-                        //利率
-                        if(response.data.zfiRate){
-                            this.financeSignForm.zfiRate = response.data.zfiRate;
-                        }else{
-                            this.financeSignForm.zfiRate = "0";
-                        }
-                        //最长融信期限
-                        this.financeSignForm.intervalTime = response.data.intervalTime;
-                        //融信有效期
-                        if(response.data.validity){
-                        this.financeSignForm.validity = response.data.validity;
-                        }
-                        this.goShow = true;
-                    });
-                }else if(this.zfiCreateType == '1' && this.zfiCoreStatus == '01' && !this.zfiStatus){//核心开立
-                    this.msgSuccess("开立成功,融信已提交"+this.receiveName+"签收");
-                    this.goParent();
-                }else if(this.zfiCreateType == '2' && this.zfiPlatformStatus == '01' && this.zfiSupplierStatus == '01' && !this.zfiStatus){
-                    //融资开立盖章
-                    this.msgSuccess("开立成功,待:"+this.openName+"确权;确权结果请留意待办事项与站内消息");
-                    this.goParent();
-                }else if(this.zfiCreateType == '1' && this.zfiSupplierStatus == '01' && this.zfiPlatformStatus == '01'){//补充资料
-                    getFinanceSign(this.zfiId).then((response) => {
-                        //融信编号
-                        this.financeSignForm.zfiNumber = response.data.zfiNumber;
-                        //融信金额
-                        if(response.data.zfiAmount){
-                            this.financeSignForm.zfiAmount = response.data.zfiAmount;
-                        }else{
-                            this.financeSignForm.zfiAmount = "0.00";
-                        }
-                        //利率
-                        if(response.data.zfiRate){
-                            this.financeSignForm.zfiRate = response.data.zfiRate;
-                        }else{
-                            this.financeSignForm.zfiRate = "0";
-                        }
-                        //最长融信期限
-                        this.financeSignForm.intervalTime = response.data.intervalTime;
-                        //融信有效期
-                        if(response.data.validity){
-                        this.financeSignForm.validity = response.data.validity;
-                        }
-                        this.goShow = true;
-                    });
-                }
+                    
+                    this.$emit("PDFData",this.pdfFileLists)
+                    //关闭文件弹框
+                this.closePdfShow()
+                    // if(this.pdfFileLists.length > 0){
+                        //this.pdfShowDialogs = true;
+                    // }else{
+                    //     //确权:状态为待确权
+                    //     if(this.zfiStatus == '00'){
+                    //         if(this.zfiCreateType == '0'){//申请
+                    //             this.msgSuccess("确权成功,融信已提交,"+this.receiveName+"签收");
+                    //             this.goParent();
+                    //         }else if(this.zfiCreateType == '2'){//供应商开立
+                    //             this.msgSuccess("确权成功,融信已生效");
+                    //             this.goParent();
+                    //         }
+                    //     }else if(this.zfiStatus == '01' && this.zfiCreateType == '0'){//签收
+                    //         getFinanceSign(this.zfiId).then((response) => {
+                    //             //融信编号
+                    //             this.financeSignForm.zfiNumber = response.data.zfiNumber;
+                    //             //融信金额
+                    //             if(response.data.zfiAmount){
+                    //                 this.financeSignForm.zfiAmount = response.data.zfiAmount;
+                    //             }else{
+                    //                 this.financeSignForm.zfiAmount = "0.00";
+                    //             }
+                    //             //利率
+                    //             if(response.data.zfiRate){
+                    //                 this.financeSignForm.zfiRate = response.data.zfiRate;
+                    //             }else{
+                    //                 this.financeSignForm.zfiRate = "0";
+                    //             }
+                    //             //最长融信期限
+                    //             this.financeSignForm.intervalTime = response.data.intervalTime;
+                    //             //融信有效期
+                    //             if(response.data.validity){
+                    //             this.financeSignForm.validity = response.data.validity;
+                    //             }
+                    //             this.goShow = true;
+                    //         });
+                    //     }else if(this.zfiCreateType == '1' && this.zfiCoreStatus == '01' && !this.zfiStatus){//核心开立
+                    //         this.msgSuccess("开立成功,融信已提交"+this.receiveName+"签收");
+                    //         this.goParent();
+                    //     }else if(this.zfiCreateType == '2' && this.zfiPlatformStatus == '01' && this.zfiSupplierStatus == '01' && !this.zfiStatus){
+                    //         //融资开立盖章
+                    //         this.msgSuccess("开立成功,待:"+this.openName+"确权;确权结果请留意待办事项与站内消息");
+                    //         this.goParent();
+                    //     }else if(this.zfiCreateType == '1' && this.zfiSupplierStatus == '01' && this.zfiPlatformStatus == '01'){//补充资料
+                    //         getFinanceSign(this.zfiId).then((response) => {
+                    //             //融信编号
+                    //             this.financeSignForm.zfiNumber = response.data.zfiNumber;
+                    //             //融信金额
+                    //             if(response.data.zfiAmount){
+                    //                 this.financeSignForm.zfiAmount = response.data.zfiAmount;
+                    //             }else{
+                    //                 this.financeSignForm.zfiAmount = "0.00";
+                    //             }
+                    //             //利率
+                    //             if(response.data.zfiRate){
+                    //                 this.financeSignForm.zfiRate = response.data.zfiRate;
+                    //             }else{
+                    //                 this.financeSignForm.zfiRate = "0";
+                    //             }
+                    //             //最长融信期限
+                    //             this.financeSignForm.intervalTime = response.data.intervalTime;
+                    //             //融信有效期
+                    //             if(response.data.validity){
+                    //             this.financeSignForm.validity = response.data.validity;
+                    //             }
+                    //             this.goShow = true;
+                    //         });
+                    //     }
+                    // }
+                })
+                
                 
             }).catch((response) => {
                 loading.close();
@@ -661,12 +682,27 @@ export default {
         });
     },
     closePdfShow(){
-        this.parent.closePdfShow();
+         this.parent.closePdfShow();
     },
+    
     //返回到列表页
     goParent(){
        this.parent.goParent();
     },
+    // closePdfShows(){
+    //     this.pdfShowDialogs = false;
+    // },
+    // //返回到列表页
+    //  goParents(){
+    //      var self = this
+    //     this.pdfShowDialogs = false;
+    //     self.$store.dispatch(
+    //         "tagsView/delView",
+    //         self.$route
+    //         );
+    //      //self.$router.push("/Bill/credit")
+    //      self.$router.push("/Bill/pdfShow")
+    // },
     //去融资
     goFinance(){
         //关闭弹框

+ 18 - 16
front-vue/src/views/service/financeRecord/financeRecord.vue

@@ -114,9 +114,9 @@
                                 <span>{{ (queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1 }}</span>
                             </template>
                         </el-table-column>
-                        <el-table-column label="融信编号" align="center" prop="zfiNumner" width="180" :show-overflow-tooltip="true" v-if="uncheckList.zfiNumner  && (this.companyType == '00' || this.companyType == '02')" />
+                        <el-table-column label="融信编号" align="center" prop="zfiNumner" width="180" :show-overflow-tooltip="true" v-if="uncheckList.zfiNumner  && (companyType == '00' || companyType == '02')" />
                         <el-table-column label="融资编号" align="center" prop="zfrNumber" width="180" :show-overflow-tooltip="true" v-if="uncheckList.zfrNumber" />
-                        <el-table-column label="融资方" align="center" prop="supplierScyName" width="180" :show-overflow-tooltip="true" v-if="uncheckList.supplierScyName && (this.companyType == '01' || this.companyType == '00')" />
+                        <el-table-column label="融资方" align="center" prop="supplierScyName" width="180" :show-overflow-tooltip="true" v-if="uncheckList.supplierScyName && (companyType == '01' || companyType == '00')" />
                         <el-table-column label="开立方" align="center" prop="coreScyName" width="100" :show-overflow-tooltip="true" v-if="uncheckList.coreScyName" />
                         <el-table-column label="融资金额" :formatter="moneyFormat" align="center" prop="zfrAmount" :show-overflow-tooltip="true" v-if="uncheckList.zfrAmount" />
                         <el-table-column label="融资利率(%)" align="center" prop="zfrRate" width="100" :show-overflow-tooltip="true" v-if="uncheckList.zfrRate" />
@@ -125,12 +125,12 @@
                         <el-table-column label="融资申请日期" align="center" prop="zfrApplyDate" width="180" :show-overflow-tooltip="true" v-if="uncheckList.zfrApplyDate" />
                         <el-table-column label="实际放款金额" :formatter="moneyFormat" align="center" prop="zfrLoanAmount" width="180" :show-overflow-tooltip="true" v-if="uncheckList.zfrLoanAmount" />
                         <el-table-column label="融资放款日期" align="center" prop="zfrLoanDate" width="180" :show-overflow-tooltip="true" v-if="uncheckList.zfrLoanDate" />
-                        <el-table-column label="内部审核" :formatter="approveFormat" align="center" prop="zfrApproveStt" :show-overflow-tooltip="true" v-if="uncheckList.zfrApproveStt && this.companyType == '02'" />
+                        <el-table-column label="内部审核" :formatter="approveFormat" align="center" prop="zfrApproveStt" :show-overflow-tooltip="true" v-if="uncheckList.zfrApproveStt && companyType == '02'" />
                         <el-table-column label="融资状态" :formatter="statusFormat" align="center" prop="zfrStatus" :show-overflow-tooltip="true" v-if="uncheckList.zfrStatus" />
                         <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="200">
                             <template slot-scope="scope">
                                 <el-button class="zap-button-plain" size="mini" @click="handleDetail(scope.row)" v-hasPermi="['finance:record:query']">详情</el-button>
-                                <el-button class="zap-button-parimary" size="mini" type="primary" @click="handleLoan(scope.row)" v-hasPermi="['finance:record:edit']" v-if="scope.row.zfrStatus == '00' && scope.row.companyType ==('00' || '03')">放款登记</el-button>
+                                <el-button class="zap-button-parimary" size="mini" type="primary" @click="handleLoan(scope.row)" v-hasPermi="['finance:record:edit']" v-if="scope.row.zfrStatus == '00' && (companyType =='00' || companyType =='03')">放款登记</el-button>
                                 <el-button class="zap-button-waring" size="mini" type="warning" @click="handleExport(scope.row)" v-hasPermi="['finance:record:export']">导出</el-button>
                                 <el-button class="zap-button-parimary" size="mini" type="primary" @click="seal(scope.row)" v-hasPermi="['finance:record:seal']" v-if="scope.row.zfrApproveStt == '01' && scope.row.zfrStatus == '04'">融资</el-button>
                                 <el-button class="zap-button-info" size="mini" @click="cancelFtp(scope.row)" v-if="scope.row.zfrApproveStt == '01' && scope.row.zfrStatus == '04'">作废</el-button>
@@ -150,9 +150,9 @@
                                 <span>{{(queryParamsIng.pageNum - 1) * queryParamsIng.pageSize +scope.$index + 1}}</span>
                             </template>
                         </el-table-column>
-                        <el-table-column label="融信编号" align="center" prop="zfiNumner" width="180" :show-overflow-tooltip="true" v-if="uncheckList.zfiNumner  && (this.companyType == '00' || this.companyType == '02')" />
+                        <el-table-column label="融信编号" align="center" prop="zfiNumner" width="180" :show-overflow-tooltip="true" v-if="uncheckList.zfiNumner  && (companyType == '00' || companyType == '02')" />
                         <el-table-column label="融资编号" align="center" prop="zfrNumber" width="180" :show-overflow-tooltip="true" v-if="uncheckList.zfrNumber" />
-                        <el-table-column label="融资方" align="center" prop="supplierScyName" width="180" :show-overflow-tooltip="true" v-if="uncheckList.supplierScyName && (this.companyType == '01' || this.companyType == '00')" />
+                        <el-table-column label="融资方" align="center" prop="supplierScyName" width="180" :show-overflow-tooltip="true" v-if="uncheckList.supplierScyName && (companyType == '01' || companyType == '00')" />
                         <el-table-column label="开立方" align="center" prop="coreScyName" width="100" :show-overflow-tooltip="true" v-if="uncheckList.coreScyName" />
                         <el-table-column label="融资金额" :formatter="moneyFormat" align="center" prop="zfrAmount" :show-overflow-tooltip="true" v-if="uncheckList.zfrAmount" />
                         <el-table-column label="融资利率(%)" align="center" prop="zfrRate" width="100" :show-overflow-tooltip="true" v-if="uncheckList.zfrRate" />
@@ -161,12 +161,12 @@
                         <el-table-column label="融资申请日期" align="center" prop="zfrApplyDate" width="180" :show-overflow-tooltip="true" v-if="uncheckList.zfrApplyDate" />
                         <el-table-column label="实际放款金额" :formatter="moneyFormat" align="center" prop="zfrLoanAmount" width="180" :show-overflow-tooltip="true" v-if="uncheckList.zfrLoanAmount" />
                         <el-table-column label="融资放款日期" align="center" prop="zfrLoanDate" width="180" :show-overflow-tooltip="true" v-if="uncheckList.zfrLoanDate" />
-                        <el-table-column label="内部审核" :formatter="approveFormat" align="center" prop="zfrApproveStt" :show-overflow-tooltip="true" v-if="uncheckList.zfrApproveStt && this.companyType == '02'" />
+                        <el-table-column label="内部审核" :formatter="approveFormat" align="center" prop="zfrApproveStt" :show-overflow-tooltip="true" v-if="uncheckList.zfrApproveStt && companyType == '02'" />
                         <el-table-column label="融资状态" :formatter="statusFormat" align="center" prop="zfrStatus" :show-overflow-tooltip="true" v-if="uncheckList.zfrStatus" />
                         <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="200">
                             <template slot-scope="scope">
                                 <el-button size="mini" type="text" icon="el-icon-edit" @click="handleDetail(scope.row)" v-hasPermi="['finance:record:query']">详情</el-button>
-                                <el-button size="mini" type="text" icon="el-icon-delete" @click="handleLoan(scope.row)" v-hasPermi="['finance:record:edit']" v-if="scope.row.zfrStatus == '00' && scope.row.companyType ==('00' || '03')">放款登记</el-button>
+                                <el-button size="mini" type="text" icon="el-icon-delete" @click="handleLoan(scope.row)" v-hasPermi="['finance:record:edit']" v-if="scope.row.zfrStatus == '00' &&(companyType =='00' || companyType =='03')">放款登记</el-button>
                                 <el-button size="mini" type="text" icon="el-icon-delete" @click="handleExport(scope.row)" v-hasPermi="['finance:record:export']">导出</el-button>
                                 <el-button size="mini" type="text" icon="el-icon-info" @click="handleFlowable(scope.row)" v-if="scope.row.zfrApproveStt == '00' || scope.row.zfrApproveStt == '02'">查看流程</el-button>
                             </template>
@@ -184,9 +184,9 @@
                                 <span>{{ (queryParamsEnd.pageNum - 1) * queryParamsEnd.pageSize + scope.$index + 1 }}</span>
                             </template>
                         </el-table-column>
-                        <el-table-column label="融信编号" align="center" prop="zfiNumner" width="180" :show-overflow-tooltip="true" v-if="uncheckList.zfiNumner  && (this.companyType == '00' || this.companyType == '02')" />
+                        <el-table-column label="融信编号" align="center" prop="zfiNumner" width="180" :show-overflow-tooltip="true" v-if="uncheckList.zfiNumner  && (companyType == '00' || companyType == '02')" />
                         <el-table-column label="融资编号" align="center" prop="zfrNumber" width="180" :show-overflow-tooltip="true" v-if="uncheckList.zfrNumber" />
-                        <el-table-column label="融资方" align="center" prop="supplierScyName" width="180" :show-overflow-tooltip="true" v-if="uncheckList.supplierScyName && (this.companyType == '01'|| this.companyType == '00')" />
+                        <el-table-column label="融资方" align="center" prop="supplierScyName" width="180" :show-overflow-tooltip="true" v-if="uncheckList.supplierScyName && (companyType == '01'|| companyType == '00')" />
                         <el-table-column label="开立方" align="center" prop="coreScyName" width="100" :show-overflow-tooltip="true" v-if="uncheckList.coreScyName" />
                         <el-table-column label="融资金额" :formatter="moneyFormat" align="center" prop="zfrAmount" :show-overflow-tooltip="true" v-if="uncheckList.zfrAmount" />
                         <el-table-column label="融资利率(%)" align="center" prop="zfrRate" width="100" :show-overflow-tooltip="true" v-if="uncheckList.zfrRate" />
@@ -195,7 +195,7 @@
                         <el-table-column label="融资申请日期" align="center" prop="zfrApplyDate" width="180" :show-overflow-tooltip="true" v-if="uncheckList.zfrApplyDate" />
                         <el-table-column label="实际放款金额" :formatter="moneyFormat" align="center" prop="zfrLoanAmount" width="180" :show-overflow-tooltip="true" v-if="uncheckList.zfrLoanAmount" />
                         <el-table-column label="融资放款日期" align="center" prop="zfrLoanDate" width="180" :show-overflow-tooltip="true" v-if="uncheckList.zfrLoanDate" />
-                        <el-table-column label="内部审核" :formatter="approveFormat" align="center" prop="zfrApproveStt" :show-overflow-tooltip="true" v-if="uncheckList.zfrApproveStt && this.companyType == '02'" />
+                        <el-table-column label="内部审核" :formatter="approveFormat" align="center" prop="zfrApproveStt" :show-overflow-tooltip="true" v-if="uncheckList.zfrApproveStt && companyType == '02'" />
                         <el-table-column label="融资状态" :formatter="statusFormat" align="center" prop="zfrStatus" :show-overflow-tooltip="true" v-if="uncheckList.zfrStatus" />
                         <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="200">
                             <template slot-scope="scope">
@@ -216,9 +216,9 @@
                                 <span>{{ (queryParamsLose.pageNum - 1) * queryParamsLose.pageSize + scope.$index + 1}}</span>
                             </template>
                         </el-table-column>
-                        <el-table-column label="融信编号" align="center" prop="zfiNumner" width="180" :show-overflow-tooltip="true" v-if="uncheckList.zfiNumner  && (this.companyType == '00' || this.companyType == '02')" />
+                        <el-table-column label="融信编号" align="center" prop="zfiNumner" width="180" :show-overflow-tooltip="true" v-if="uncheckList.zfiNumner  && (companyType == '00' || companyType == '02')" />
                         <el-table-column label="融资编号" align="center" prop="zfrNumber" width="180" :show-overflow-tooltip="true" v-if="uncheckList.zfrNumber" />
-                        <el-table-column label="融资方" align="center" prop="supplierScyName" width="180" :show-overflow-tooltip="true" v-if="uncheckList.supplierScyName && (this.companyType == '01'|| this.companyType == '00')" />
+                        <el-table-column label="融资方" align="center" prop="supplierScyName" width="180" :show-overflow-tooltip="true" v-if="uncheckList.supplierScyName && (companyType == '01'|| companyType == '00')" />
                         <el-table-column label="开立方" align="center" prop="coreScyName" width="100" :show-overflow-tooltip="true" v-if="uncheckList.coreScyName" />
                         <el-table-column label="融资金额" :formatter="moneyFormat" align="center" prop="zfrAmount" :show-overflow-tooltip="true" v-if="uncheckList.zfrAmount" />
                         <el-table-column label="融资利率(%)" align="center" prop="zfrRate" width="100" :show-overflow-tooltip="true" v-if="uncheckList.zfrRate" />
@@ -227,7 +227,7 @@
                         <el-table-column label="融资申请日期" align="center" prop="zfrApplyDate" width="180" :show-overflow-tooltip="true" v-if="uncheckList.zfrApplyDate" />
                         <el-table-column label="实际放款金额" :formatter="moneyFormat" align="center" prop="zfrLoanAmount" width="180" :show-overflow-tooltip="true" v-if="uncheckList.zfrLoanAmount" />
                         <el-table-column label="融资放款日期" align="center" prop="zfrLoanDate" width="180" :show-overflow-tooltip="true" v-if="uncheckList.zfrLoanDate" />
-                        <el-table-column label="内部审批" :formatter="approveFormat" align="center" prop="zfrApproveStt" :show-overflow-tooltip="true" v-if="uncheckList.zfrApproveStt && this.companyType == '02'" />
+                        <el-table-column label="内部审批" :formatter="approveFormat" align="center" prop="zfrApproveStt" :show-overflow-tooltip="true" v-if="uncheckList.zfrApproveStt && companyType == '02'" />
                         <el-table-column label="融资状态" :formatter="statusFormat" align="center" prop="zfrStatus" :show-overflow-tooltip="true" v-if="uncheckList.zfrStatus" />
                         <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="200">
                             <template slot-scope="scope">
@@ -345,9 +345,9 @@ export default {
     data() {
         return {
             //企业Id
-            companyId: "",
+            companyId: null,
             //企业类型
-            companyType: "",
+            companyType: null,
             //上传使用
             dialogImageUrl: "",
             dialogVisible: false,
@@ -762,6 +762,7 @@ export default {
         });
         this.getList().then(() => {
             getUserProfile().then(response => {
+                console.log(this.companyType)
                 if ("00" == response.data.companyType) {
                     this.queryParams.zfrQuery = "02";
                 } else if ("01" == response.data.companyType) {
@@ -772,6 +773,7 @@ export default {
             });
         });
         this.getIngList().then(() => {
+            
             getUserProfile().then(response => {
                 if ("00" == response.data.companyType) {
                     this.queryParamsIng.zfrQuery = "02";