Browse Source

修改融资管理融资页面样式

zhanglb 3 years ago
parent
commit
a03374b656
1 changed files with 180 additions and 243 deletions
  1. 180 243
      front-vue/src/views/service/financeRecord/recordSeal.vue

+ 180 - 243
front-vue/src/views/service/financeRecord/recordSeal.vue

@@ -1,23 +1,12 @@
 <template>
   <div class="app-container zap-main">
     <el-row>
-      <el-form
-        ref="form"
-        :model="form"
-        :inline="true"
-        :rules="rules"
-        label-width="95px"
-      >
+      <el-form ref="form" :model="form" :inline="true" :rules="rules" label-width="95px">
         <div class="zap-title">申请融资信息</div>
         <el-row class="zap-form" style="padding-bottom: 0">
           <el-col :span="12">
             <el-form-item label="选择融信:" prop="zfrFinanceId" size="large">
-              <el-select
-                v-model="form.zfrFinanceId"
-                clearable
-                @clear="clearBoth"
-                disabled
-              >
+              <el-select v-model="form.zfrFinanceId" clearable @clear="clearBoth" disabled>
                 <el-option
                   v-for="(item, index) in financeInfList"
                   :key="index"
@@ -101,12 +90,7 @@
         </el-row>
         <el-row class="zap-form" style="padding-bottom: 0">
           <el-col :span="12">
-            <el-form-item
-              label="承诺还款日期:"
-              prop="zfrRepaymentDate"
-              size="large"
-              label-width="101px"
-            >
+            <el-form-item label="承诺还款日期:" prop="zfrRepaymentDate" size="large" label-width="101px">
               <el-input
                 v-model="form.zfrRepaymentDate"
                 clearable
@@ -132,12 +116,7 @@
         </el-row>
         <el-row class="zap-form" style="padding-bottom: 0">
           <el-col :span="12">
-            <el-form-item
-              label="预计融资成本:"
-              prop="cost"
-              size="large"
-              label-width="101px"
-            >
+            <el-form-item label="预计融资成本:" prop="cost" size="large" label-width="101px">
               <el-input
                 v-model="form.cost"
                 clearable
@@ -150,12 +129,7 @@
             </el-form-item>
           </el-col>
           <el-col :span="12">
-            <el-form-item
-              label="预计融资期限:"
-              prop="term"
-              size="large"
-              label-width="101px"
-            >
+            <el-form-item label="预计融资期限:" prop="term" size="large" label-width="101px">
               <el-input
                 v-model="form.term"
                 clearable
@@ -170,12 +144,7 @@
         </el-row>
         <el-row class="zap-form" style="padding-bottom: 0">
           <el-col :span="12">
-            <el-form-item
-              label="预计净融资额:"
-              prop="amount"
-              size="large"
-              label-width="101px"
-            >
+            <el-form-item label="预计净融资额:" prop="amount" size="large" label-width="101px">
               <el-input
                 v-model="form.amount"
                 clearable
@@ -188,7 +157,7 @@
             </el-form-item>
           </el-col>
         </el-row>
-        <div class="contain">
+        <div class="zap-warmtips">
           <p>说明:</p>
           <p>1. 因银行结算原因,资金到账可能会在申请日期后2-5工作日;</p>
           <p>
@@ -203,53 +172,18 @@
         </div>
         <div class="zap-title">融信信息</div>
         <el-row class="zap-form">
-          <el-col>
-            <span style="font-size: 14px; color: #333333">融信凭证</span>
-          </el-col>
-          <table
-            class="gridtable"
-            style="width: 80%; text-align: center"
-            align="center"
-          >
-            <tr>
-              <td rowspan="4">开立方</td>
-              <td>全称</td>
-              <td>{{ openName }}</td>
-              <td rowspan="4">接收方</td>
-              <td>全称</td>
-              <td>{{ receiveName }}</td>
-            </tr>
-            <tr>
-              <td>社会统一码</td>
-              <td>{{ openCode }}</td>
-              <td>社会统一码</td>
-              <td>{{ receiverCode }}</td>
-            </tr>
-            <tr>
-              <td>开户银行</td>
-              <td>{{ openBank }}</td>
-              <td>开户银行</td>
-              <td>{{ receiverBank }}</td>
-            </tr>
-            <tr>
-              <td>账号</td>
-              <td>{{ openAccount }}</td>
-              <td>账号</td>
-              <td>{{ receiverAccount }}</td>
-            </tr>
-            <tr>
-              <td colspan="2">粮信金额</td>
-              <td colspan="4">
-                人民币(大写):{{ issuedAmount }}<br />人民币(小写)¥{{
-                  form.zfiAmount
-                }}
-              </td>
-            </tr>
-            <tr>
-              <td colspan="2">起止日期</td>
-              <td colspan="4">{{ stopDate }}</td>
-            </tr>
-          </table>
+          <zap-bill
+            :open="openName"
+            :openNum="openCode"
+            :recipient="receiveName"
+            :recipientNum="receiverCode"
+            :amountWord="issuedAmount"
+            :amount="form.zfiAmount"
+            :letter="zfiPaymentNumber"
+            :date="openDate"
+            :approver="coreHandleName"
+            :handler="coreFirstUser"
+          ></zap-bill>
         </el-row>
         <el-row class="zap-form">
           <el-row type="flex" align="middle" justify="end">
@@ -269,29 +203,22 @@
           </el-row>
           <el-row class="zap-margin-top">
             <el-table :data="billInfList" border stripe>
-              <el-table-column
-                label="序号"
-                type="index"
-                width="50"
-                align="center"
-              >
+              <el-table-column label="序号" type="index" width="50" align="center">
                 <template slot-scope="scope">
-                  <span>{{
+                  <span>
+                    {{
                     (queryParams.pageNum - 1) * queryParams.pageSize +
                     scope.$index +
                     1
-                  }}</span>
+                    }}
+                  </span>
                 </template>
               </el-table-column>
               <el-table-column label="编号" align="center" prop="zbiNumber" />
               <el-table-column label="账款名称" align="center" prop="zbiName" />
               <el-table-column label="应收企业" align="center" prop="payee" />
               <el-table-column label="应付企业" align="center" prop="payer" />
-              <el-table-column
-                label="还款时间"
-                align="center"
-                prop="zbiPayDate"
-              />
+              <el-table-column label="还款时间" align="center" prop="zbiPayDate" />
               <el-table-column label="金额" align="center" prop="zbiAmount" />
               <el-table-column
                 label="操作"
@@ -306,8 +233,7 @@
                     type="text"
                     icon="el-icon-view"
                     @click="handleDetail(scope.$index, billInfList)"
-                    >详情</el-button
-                  >
+                  >详情</el-button>
                 </template>
               </el-table-column>
             </el-table>
@@ -318,53 +244,47 @@
       <el-row class="zap-margin-top zap-form">
         <div class="zap-title">签署合同</div>
         <el-row class="zap-form" type="flex">
-            <attachments v-for="(item, index) in creditSealList" :key="index" :fileName="item.pfiFileName">
-                <img class="" src="../../../assets/images/pdf.png" />
-                <div class="attachements__marker" slot="marker">
-                    <el-button class="zap-button-primary" size="mini" @click="handleDownload(item)">下载</el-button>
-                    <el-button class="zap-button-primary" size="mini" @click="handlePreview(item)">预览</el-button>
-                </div>
-            </attachments>
+          <attachments
+            v-for="(item, index) in creditSealList"
+            :key="index"
+            :fileName="item.pfiFileName"
+          >
+            <img class src="../../../assets/images/pdf.png" />
+            <div class="attachements__marker" slot="marker">
+              <el-button class="zap-button-primary" size="mini" @click="handleDownload(item)">下载</el-button>
+              <el-button class="zap-button-primary" size="mini" @click="handlePreview(item)">预览</el-button>
+            </div>
+          </attachments>
         </el-row>
       </el-row>
       <el-row type="flex" align="middle" justify="center" style="height: 77px">
         <el-button type="primary" @click="selectPayment">合同签署</el-button>
-        <el-button type="primary" plain="" @click="cancel">取消</el-button>
+        <el-button type="primary" plain @click="cancel">取消</el-button>
       </el-row>
     </el-row>
     <!-- 附件详情 -->
-    <el-dialog
-      title="详情"
-      :visible.sync="openDetailBill"
-      width="1120px"
-      append-to-body
-    >
+    <el-dialog title="详情" :visible.sync="openDetailBill" width="1120px" append-to-body>
       <detail-bill :zbiId="this.zbiId" v-if="openDetailBill"></detail-bill>
     </el-dialog>
     <!--预览-->
     <el-dialog :visible.sync="openFile" width="1000px" append-to-body>
       <img :src="wordUrl" v-if="show" width="700px" height="500px" />
-      <iframe
-        :src="wordUrl"
-        width="800px"
-        height="600px"
-        frameborder="1"
-        v-if="heid"
-      />
+      <iframe :src="wordUrl" width="800px" height="600px" frameborder="1" v-if="heid" />
     </el-dialog>
 
     <!-- 合同预览 -->
-    <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>
+    <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">
         <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>
+        <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>
 
@@ -417,11 +337,7 @@
         @submit.native.prevent
       >
         <el-form-item label="验证码" prop="validCode">
-          <el-input
-            v-model="messageForm.validCode"
-            style="width: 200px"
-            maxlength="6"
-          />
+          <el-input v-model="messageForm.validCode" style="width: 200px" maxlength="6" />
         </el-form-item>
         <el-form-item>
           <el-button :disabled="!showCode" type="success" @click="send">
@@ -456,11 +372,7 @@
         @submit.native.prevent
       >
         <el-form-item label="验证码" prop="validCode">
-          <el-input
-            v-model="messagesForm.validCode"
-            style="width: 200px"
-            maxlength="6"
-          />
+          <el-input v-model="messagesForm.validCode" style="width: 200px" maxlength="6" />
         </el-form-item>
         <el-form-item>
           <el-button :disabled="!showCodes" type="success" @click="proSend">
@@ -518,18 +430,19 @@ import {
   sendMessage,
   checkCode,
   faceAuth,
-  checkFaceAuth,
+  checkFaceAuth
 } from "@/api/service/credit/message";
 import {
   cfcaProjectNo,
   projectSendMessage,
-  checkProCode,
+  checkProCode
 } from "@/api/service/credit/cfcaProject";
 import { balance, transfer } from "@/api/bank/bankInterface";
 import pdfShow from "@/views/service/financeRecord/pdfShow";
+import ZapBill from "@/components/ZapBill/index.vue"
 export default {
   name: "financeRecord",
-  components: { DetailBill, pdfShow },
+  components: { DetailBill, pdfShow, ZapBill},
   data() {
     return {
       pdfIsShow: true,
@@ -589,9 +502,9 @@ export default {
       open: false,
       openDetailBill: false,
       //人脸验证结果
-      faceResult:"",
+      faceResult: "",
       //人脸识别结果传参
-      authForm:{},
+      authForm: {},
       // 查询参数
       queryParams: {
         pageNum: 1,
@@ -609,10 +522,10 @@ export default {
         zfrStatus: null,
         zfrApproveStt: null,
         zfpcrLoanType: null,
-        zfiProductId: null,
+        zfiProductId: null
       },
       queryParamsDown: {
-        pfiFileUrl: null,
+        pfiFileUrl: null
       },
       // 表单参数
       form: {},
@@ -623,16 +536,16 @@ export default {
           {
             required: true,
             message: "融信编号不能为空",
-            trigger: "blur",
-          },
+            trigger: "blur"
+          }
         ],
         zfrAmount: [
           {
             required: true,
             message: "融资金额不能为空",
-            trigger: "blur",
-          },
-        ],
+            trigger: "blur"
+          }
+        ]
       },
       openFile: false,
       wordUrl: "",
@@ -661,18 +574,30 @@ export default {
       countCode: "",
       timerCode: null,
       zfrId: null,
+      //承诺函编号
+      zfiPaymentNumber: "",
+      //电子签章日期
+      openDate: "",
+      //开立方审批人
+      coreHandleName: "",
+      //开立方经办人
+      coreFirstUser: ""
     };
   },
   created() {
     this.zfrId = this.$route.params && this.$route.params.zfrId;
-    getRecord(this.zfrId).then((response) => {
+    getRecord(this.zfrId).then(response => {
       this.zcFinanceInf = response.data.zcFinanceInf;
       this.needPay = response.data.needPay;
       //意愿类型
       this.zfpAuthType = response.data.zfpAuthType;
       const zfiId = response.data.zcFinanceInf.zfiId;
       this.$set(this.form, "zfrFinanceId", zfiId);
-      this.$set(this.form,"zfrCollectionAccount",response.data.zfrCollectionAccount);
+      this.$set(
+        this.form,
+        "zfrCollectionAccount",
+        response.data.zfrCollectionAccount
+      );
       this.getFinanceInf(zfiId);
     });
     this.getUserProfile();
@@ -681,7 +606,7 @@ export default {
     /** 查询融信编号 */
     getFinanceInf(zfrFinanceId) {
       this.loading = true;
-      listFinanceInf(zfrFinanceId).then((response) => {
+      listFinanceInf(zfrFinanceId).then(response => {
         if (response.data) {
           this.financeInfList = response.data;
           for (let item of this.financeInfList) {
@@ -694,7 +619,7 @@ export default {
       });
     },
     getUserProfile() {
-      getUserProfile().then((response) => {
+      getUserProfile().then(response => {
         if (response.company) {
           this.$set(this.form, "companyName", response.company.scyName);
         }
@@ -702,7 +627,7 @@ export default {
     },
     //获取盖章文件
     getCreditSealFile() {
-      getCreditSealFile(this.forms).then((response) => {
+      getCreditSealFile(this.forms).then(response => {
         if (response.data.list) {
           this.creditSealList = response.data.list;
         }
@@ -741,7 +666,7 @@ export default {
         createBy: null,
         createTime: null,
         updateBy: null,
-        updateTime: null,
+        updateTime: null
       };
       this.resetForm("form");
     },
@@ -757,7 +682,7 @@ export default {
     },
     //全部 多选框选中数据
     handleSelectionChange(selection) {
-      this.ids = selection.map((item) => item.zfrId);
+      this.ids = selection.map(item => item.zfrId);
       this.single = selection.length !== 1;
       this.multiple = !selection.length;
     },
@@ -776,14 +701,14 @@ export default {
       if (item.zfiId) {
         this.loading = true;
         listBillInf(item.zfiId)
-          .then((response) => {
+          .then(response => {
             this.billInfList = response.data;
             this.loading = false;
           })
           .then(() => {
             var queryParamsFile = {};
             queryParamsFile.ticketList = this.billInfList;
-            getFile(queryParamsFile).then((response) => {
+            getFile(queryParamsFile).then(response => {
               if (response.data) {
                 //获取发票文件
                 this.invoiceFileList = response.data.invoiceFileList;
@@ -794,13 +719,13 @@ export default {
               }
             });
             if (item.zfpcrLoanType == "0") {
-              listAccInf(item.zfiProductId).then((response) => {
+              listAccInf(item.zfiProductId).then(response => {
                 this.$set(this.form, "zfrCollectionAccount", response.msg);
                 this.onlyRead = true;
               });
             }
           });
-        getCreditDetail(item.zfiId).then((response) => {
+        getCreditDetail(item.zfiId).then(response => {
           if (response.data) {
             this.forms = response.data.financeInf;
             //签发金额大写
@@ -816,6 +741,14 @@ export default {
             this.receiverAccount = response.data.receiverAccount;
             this.stopDate = response.data.stopDate;
             this.zfiRate = response.data.financeInf.zfiRate;
+            //付款承诺函编号
+            this.zfiPaymentNumber = response.data.financeInf.zfiPaymentNumber;
+            //电子签章日期
+            this.openDate = response.data.openDate;
+            //开立方审批人
+            this.coreHandleName = response.data.coreHandleName;
+            //开立方经办人
+            this.coreFirstUser = response.data.coreFirstUser;
           }
           //盖章合同
           this.getCreditSealFile();
@@ -829,16 +762,16 @@ export default {
     },
     /** 提交按钮 */
     submitForm() {
-      this.$refs["form"].validate((valid) => {
+      this.$refs["form"].validate(valid => {
         if (valid) {
           const loading = this.$loading({
             lock: true,
             text: "Loading",
             spinner: "el-icon-loading",
-            background: "rgba(0, 0, 0, 0.7)",
+            background: "rgba(0, 0, 0, 0.7)"
           });
           addRecord(this.form)
-            .then((response) => {
+            .then(response => {
               loading.close();
               this.zfrId = response.data.zfrId;
               this.isOpenApproval();
@@ -846,7 +779,7 @@ export default {
               // this.$store.dispatch("tagsView/delView", this.$route);
               // this.$router.go(-1);
             })
-            .catch((response) => {
+            .catch(response => {
               loading.close();
             });
         }
@@ -873,7 +806,7 @@ export default {
         this.download(
           "sc-service/creditLine/jpgAuthorization",
           {
-            ...this.queryParamsDown,
+            ...this.queryParamsDown
           },
           pfiFileName
         );
@@ -881,7 +814,7 @@ export default {
       } else {
         this.$message({
           message: "该附件不存在!",
-          type: "warning",
+          type: "warning"
         });
         return;
       }
@@ -927,7 +860,7 @@ export default {
         } else {
           this.$message({
             message: "暂不支持该类型文件预览",
-            type: "warning",
+            type: "warning"
           });
           return;
         }
@@ -1032,7 +965,7 @@ export default {
       this.download(
         "sc-service/record/export",
         {
-          ...this.queryParams,
+          ...this.queryParams
         },
         `sc-service_record.xlsx`
       );
@@ -1041,7 +974,7 @@ export default {
     cancelFtp() {
       let form = {};
       form.zfrId = this.zfrId;
-      cancelContract(form).then((response) => {
+      cancelContract(form).then(response => {
         this.cancel();
       });
       this.pdfShowDialog = false;
@@ -1050,7 +983,7 @@ export default {
     isOpenApproval() {
       var confirmParam = {};
       confirmParam.menuId = "1000000006";
-      isOpenApproval(confirmParam).then((response) => {
+      isOpenApproval(confirmParam).then(response => {
         var result = response.data.isOpen;
         //有融资内部审批
         if (true == result) {
@@ -1059,7 +992,7 @@ export default {
         } else {
           //无融资内部审批,显示融资合同预览页面
           // this.zfrId = '2c83a92dc238468aabd9cd3261748ae0'
-          getRecord(this.zfrId).then((response) => {
+          getRecord(this.zfrId).then(response => {
             this.zcFinanceInf = response.data.zcFinanceInf;
             this.needPay = response.data.needPay;
             //意愿类型
@@ -1093,7 +1026,7 @@ export default {
     },
     resetUpdate() {
       this.updateForm = {
-        radio: "",
+        radio: ""
       };
       //意愿类型还原为全部
       this.zfpAuthType = "00";
@@ -1101,13 +1034,13 @@ export default {
     },
     resetMessage() {
       this.messageForm = {
-        validCode: "",
+        validCode: ""
       };
       this.resetForm("messageForm");
     },
     resetMessages() {
       this.messagesForm = {
-        validCode: "",
+        validCode: ""
       };
       this.resetForm("messagesForm");
     },
@@ -1116,41 +1049,41 @@ export default {
       const loading = this.$loading({
         lock: true,
         text: "Loading",
-        background: "rgba(0, 0, 0,0)",
+        background: "rgba(0, 0, 0,0)"
       });
       getContractFile(this.zcFinanceInf)
-        .then((response) => {
+        .then(response => {
           loading.close();
           if (response.data.list) {
             this.pdfFileList = response.data.list;
           }
           //文件存在
           if (this.pdfFileList.length > 0) {
-            this.pdfIsShow = true
+            this.pdfIsShow = true;
             this.pdfShowDialog = true;
           } else {
             this.$message({
               message: "文件不存在!",
-              type: "warning",
+              type: "warning"
             });
           }
         })
-        .catch((response) => {
+        .catch(response => {
           loading.close();
         });
     },
     //缴费查询
     selectPayment() {
-      listCompanyHandler().then((response) => {
+      listCompanyHandler().then(response => {
         var self = this;
         //self.paiAccno = '3115730025233104147';
         if (response.data == true) {
-          cfcaProjectNo().then((response) => {
+          cfcaProjectNo().then(response => {
             if (response.data.scyCfcaAuthNumber == null) {
               this.messageIfShow = true;
             } else {
               var zfrId = self.zfrId;
-              listChargeStatus(zfrId).then((response) => {
+              listChargeStatus(zfrId).then(response => {
                 if (response.data.accInfList[0]) {
                   self.paiAccno = response.data.accInfList[0].paiAccno;
                 }
@@ -1161,18 +1094,18 @@ export default {
                       .$confirm("请缴纳手续费" + self.needPay + "元", "警告", {
                         confirmButtonText: "去缴费",
                         cancelButtonText: "取消",
-                        type: "warning",
+                        type: "warning"
                       })
-                      .then(function () {
+                      .then(function() {
                         const loading = self.$loading({
                           lock: true,
                           text: "Loading",
                           spinner: "el-icon-loading",
-                          background: "rgba(0, 0, 0, 0.7)",
+                          background: "rgba(0, 0, 0, 0.7)"
                         });
                         if (self.paiAccno) {
                           balance(self.paiAccno)
-                            .then((response) => {
+                            .then(response => {
                               if (
                                 eval(self.needPay) > eval(response.data.kyAmt)
                               ) {
@@ -1181,7 +1114,7 @@ export default {
                                     "余额为" +
                                     response.data.kyAmt +
                                     "不足以抵扣本次缴费费用,请及时充值",
-                                  type: "warning",
+                                  type: "warning"
                                 });
                                 loading.close();
                               } else {
@@ -1191,32 +1124,34 @@ export default {
                                   recvAccNm: "",
                                   tranAmt: self.needPay,
                                   businessId: self.zciId,
-                                  type: "00",
+                                  type: "00"
                                 };
                                 transfer(map)
-                                  .then((response) => {
+                                  .then(response => {
                                     debugger;
                                     loading.close();
                                     setTimeout(() => {
                                       if (response.data.status == "1") {
                                         self.msgSuccess("缴费成功");
                                         updateChargeStatus(zfrId, "02").then(
-                                          (res) => {
+                                          res => {
                                             self.getContractFile();
                                           }
                                         );
                                       } else if (response.data.status == "0") {
                                         self.message("正在缴费中,请稍后再试");
-                                        updateChargeStatus(zfrId, "01").then(
-                                          (res) => {}
-                                        );
+                                        updateChargeStatus(
+                                          zfrId,
+                                          "01"
+                                        ).then(res => {});
                                       } else if (response.data.status == "2") {
                                         self.msgError(
                                           "缴费失败,前去费用管理再次缴费"
                                         );
-                                        updateChargeStatus(zfrId, "05").then(
-                                          (res) => {}
-                                        );
+                                        updateChargeStatus(
+                                          zfrId,
+                                          "05"
+                                        ).then(res => {});
                                       }
                                     }, 1000);
                                   })
@@ -1231,7 +1166,7 @@ export default {
                         } else {
                           self.$message({
                             message: "您还没有电子账户,请联系平台开通电子账户",
-                            type: "warning",
+                            type: "warning"
                           });
                           loading.close();
                         }
@@ -1246,10 +1181,10 @@ export default {
             }
           });
         } else {
-              this.$message({
-                        message: "此操作需经办人权限,请确认您是否是经办人",
-                        type: 'warning'
-                    });
+          this.$message({
+            message: "此操作需经办人权限,请确认您是否是经办人",
+            type: "warning"
+          });
         }
       });
     },
@@ -1267,7 +1202,7 @@ export default {
       if (!this.updateForm.radio) {
         this.$message({
           message: "请选择签署意愿类型",
-          type: "warning",
+          type: "warning"
         });
         return;
       }
@@ -1282,7 +1217,7 @@ export default {
       //人脸
       if (this.zfpAuthType == "01") {
         //调用人脸识别生成二维码
-        faceAuth().then((response) => {
+        faceAuth().then(response => {
           console.log(response);
           if (response.data) {
             //获取二维码
@@ -1297,10 +1232,10 @@ export default {
                 if (originalTxSN && !this.faceResult) {
                   this.authForm.originalTxSN = originalTxSN;
                   //调用查证方法
-                  checkFaceAuth(this.authForm).then((res) => {
+                  checkFaceAuth(this.authForm).then(res => {
                     //认证结果
                     this.faceResult = res.data.Verification;
-                    console.log("result:"+res.data.Verification);
+                    console.log("result:" + res.data.Verification);
                     //成功
                     if (this.faceResult == "20") {
                       this.msgSuccess("验证成功");
@@ -1313,7 +1248,7 @@ export default {
                     } else if (this.faceResult == "30") {
                       this.$message({
                         message: "验证失败",
-                        type: "warning",
+                        type: "warning"
                       });
                       //关闭验证码
                       this.faceIsShow = false;
@@ -1333,7 +1268,7 @@ export default {
     //发送短信验证码
     send() {
       //发送
-      sendMessage().then((response) => {
+      sendMessage().then(response => {
         if (response.data) {
           //手机号
           var newIphone = response.data.newIphone;
@@ -1359,13 +1294,13 @@ export default {
             this.$message({
               message:
                 "已向经办人手机号为" + newIphone + "发送短信验证码,请注意查收",
-              type: "warning",
+              type: "warning"
             });
           } else if ("10" == result) {
             //失败
             this.$message({
               message: "短信发送失败",
-              type: "warning",
+              type: "warning"
             });
           }
         }
@@ -1376,12 +1311,12 @@ export default {
       if (!this.messageForm.validCode) {
         this.$message({
           message: "请输入验证码",
-          type: "warning",
+          type: "warning"
         });
         return;
       }
       //校验验证码
-      checkCode(this.messageForm).then((response) => {
+      checkCode(this.messageForm).then(response => {
         if (response.data) {
           //结果
           var verification = response.data.verification;
@@ -1393,7 +1328,7 @@ export default {
             //不匹配
             this.$message({
               message: "验证有误,请重新输入",
-              type: "warning",
+              type: "warning"
             });
           }
         }
@@ -1402,7 +1337,7 @@ export default {
     //生成项目授权编号发送短信
     proSend() {
       //发送
-      projectSendMessage().then((response) => {
+      projectSendMessage().then(response => {
         if (response.data) {
           //手机号
           var newIphone = response.data.newIphone;
@@ -1430,13 +1365,13 @@ export default {
             this.$message({
               message:
                 "已向经办人手机号为" + newIphone + "发送短信验证码,请注意查收",
-              type: "warning",
+              type: "warning"
             });
           } else {
             //失败
             this.$message({
               message: "短信发送失败",
-              type: "warning",
+              type: "warning"
             });
           }
         }
@@ -1447,29 +1382,29 @@ export default {
       if (!this.projectForm.code) {
         this.$message({
           message: "请输入验证码",
-          type: "warning",
+          type: "warning"
         });
         return;
       }
       //项目编号
       this.projectForm.projectCode = this.projectCode;
       //校验验证码
-      checkProCode(this.projectForm).then((response) => {
+      checkProCode(this.projectForm).then(response => {
         if (response.data) {
           //结果
           var verification = response.data.verification;
           //匹配
           if ("60000000" == verification) {
             var zfrId = this.zfrId;
-            listChargeStatus(zfrId).then((response) => {
+            listChargeStatus(zfrId).then(response => {
               if (response.data[0]) {
                 if (response.data[0].zciStatus == "00") {
                   this.$confirm("请缴纳手续费" + this.needPay + "元", "警告", {
                     confirmButtonText: "去缴费",
                     cancelButtonText: "取消",
-                    type: "warning",
+                    type: "warning"
                   })
-                    .then(function () {
+                    .then(function() {
                       return updateChargeStatus(zfrId);
                     })
                     .then(() => {
@@ -1486,7 +1421,7 @@ export default {
             //不匹配
             this.$message({
               message: "验证有误,请重新输入",
-              type: "warning",
+              type: "warning"
             });
           }
         }
@@ -1498,11 +1433,11 @@ export default {
       const loading = this.$loading({
         lock: true,
         text: "Loading",
-        background: "rgba(0, 0, 0,0)",
+        background: "rgba(0, 0, 0,0)"
       });
       self.zcFinanceInf.zfrId = self.zfrId;
       contractSigning(self.zcFinanceInf)
-        .then((response) => {
+        .then(response => {
           loading.close();
           self.msgSuccess("盖章成功");
           if (self.zfpAuthType == "02") {
@@ -1516,33 +1451,35 @@ export default {
           //关闭预览合同
           //self.closePdfShow();
           let queryStamped = {};
-          queryStamped.zfrId = self.zfrId
+          queryStamped.zfrId = self.zfrId;
           const load = self.$loading({
             lock: true,
             text: "Loading",
-            background: "rgba(0, 0, 0,0)",
-          });
-          listStamped(queryStamped).then((response) =>{
-            if(response.data){
-              self.pdfFileList = response.data.list;
-            }
-            self.pdfShowDialog = true;
-            self.pdfIsShow = false;
-            load.close()
-          }).catch((response) => {
-             load.close();
+            background: "rgba(0, 0, 0,0)"
           });
+          listStamped(queryStamped)
+            .then(response => {
+              if (response.data) {
+                self.pdfFileList = response.data.list;
+              }
+              self.pdfShowDialog = true;
+              self.pdfIsShow = false;
+              load.close();
+            })
+            .catch(response => {
+              load.close();
+            });
         })
-        .catch((response) => {
+        .catch(response => {
           loading.close();
         });
     },
-    closePDF(){
+    closePDF() {
       this.cancel();
-          //关闭预览合同
-          this.closePdfShow();
+      //关闭预览合同
+      this.closePdfShow();
     }
-  },
+  }
 };
 </script>