Pārlūkot izejas kodu

开立融信顶部表单样式调整

zhanglb 4 gadi atpakaļ
vecāks
revīzija
f7cd1212b8

+ 1 - 0
front-vue/src/components/Attachments/index.vue

@@ -29,6 +29,7 @@ export default {
     width: 270px;
     height: 270px;
     margin-right: 22px;
+    margin-bottom: 22px;
     padding-bottom: 40px;
     border-radius: 4px;
     background-color: #F7F7F7;

+ 248 - 218
front-vue/src/views/service/credit/addCredit.vue

@@ -3,69 +3,89 @@
     <el-row>
         <el-form ref="form" :model="form" :rules="rules" :inline="true" label-width="auto">
             <div class="zap-title">开立融信</div>
-            <el-row class="zap-form zap-form--clear">
-                <el-col :xs="24" :sm="12" :md="12" :lg="8" :xl="6">
+            <el-row class="zap-form">
+                <el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="8">
                     <el-form-item size="medium" label="开立方" prop="openName">
-                        <el-input v-model="form.openName" disabled />
+                        <el-input class="zap-form-input" v-model="form.openName" disabled />
                     </el-form-item>
                 </el-col>
-                <el-col :xs="24" :sm="12" :md="12" :lg="8" :xl="6">
+                <el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="8">
                     <el-form-item size="medium" label="授信额度" prop="zfiCoreQuotaId">
-                        <el-select v-model="form.zfiCoreQuotaId" filterable clearable remote @change="change">
+                        <el-select
+                            class="zap-form-input"
+                            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>
                         </el-select>
                     </el-form-item>
                 </el-col>
-                <el-col :xs="24" :sm="12" :md="12" :lg="8" :xl="6">
-                    <el-row class="zap-available-credit" type="flex" align="middle">
-                        <span style="display:none">可用额度:</span>
-                        <span style="display:none">{{availableAmt}}</span>
-                        <span>有效期:</span>
-                        <span style="margin-right: 40px;">{{validityDate}}</span>
-                        <span>最小融资金额:</span>
-                        <span>{{zfpMinimumAmount}}</span>
-                    </el-row>
+                <el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="8">
+                    <el-form-item>
+                        <el-row class="zap-available-credit" type="flex" align="middle">
+                            <span style="display:none">可用额度:</span>
+                            <span style="display:none">{{availableAmt}}</span>
+                            <span>有效期:</span>
+                            <span style="margin-right: 40px;">{{validityDate}}</span>
+                            <span>最小融资金额:</span>
+                            <span>{{zfpMinimumAmount}}</span>
+                        </el-row>
+                    </el-form-item>
                 </el-col>
-                <el-col :xs="24" :sm="12" :md="12" :lg="8" :xl="6">
+                <el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="8">
                     <el-form-item size="medium" label="接收方" prop="zfiSupplierId">
-                        <el-select v-model="form.zfiSupplierId" filterable clearable remote>
+                        <el-select class="zap-form-input" v-model="form.zfiSupplierId" filterable clearable remote>
                             <el-option v-for="item in supplierList" :key="item.value" :label="item.label" :value="item.value">
                             </el-option>
                         </el-select>
                     </el-form-item>
                 </el-col>
-                <el-col :xs="24" :sm="12" :md="12" :lg="8" :xl="6">
+                <el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="8">
                     <el-form-item size="medium" label="签发有效期" prop="zfiEffectiveDate">
                         <el-row type="flex" align="middle">
-                            <el-date-picker clearable v-model="form.zfiEffectiveDate" type="date" value-format="yyyy-MM-dd" placeholder="选择签发有效期" :picker-options="pickerOptions">
+                            <el-date-picker
+                                class="zap-form-input"
+                                clearable
+                                v-model="form.zfiEffectiveDate"
+                                type="date"
+                                value-format="yyyy-MM-dd"
+                                placeholder="选择签发有效期"
+                                :picker-options="pickerOptions">
                             </el-date-picker>
                             <el-tooltip class="item" effect="light" content="签发有效期:即指定签发截止日期,对方企业在签发截止日内未处理该笔融信,本次融信操作将自动失效" placement="top">
-                                <el-row  type="flex" align="middle">
+                                <el-row type="flex" align="middle">
                                     <img style="width: 20px;height: 20px;margin-left: 8px;" src="../../../assets/images/icon_tip.png" alt="">
                                 </el-row>
                             </el-tooltip>
                         </el-row>
                     </el-form-item>
                 </el-col>
-                <el-col :xs="24" :sm="12" :md="12" :lg="8" :xl="6">
-                        <el-form-item label="承诺还款日" prop="zfiExpireDate" size="medium">
-                            <el-date-picker clearable size="small" v-model="form.zfiExpireDate" type="date" value-format="yyyy-MM-dd" placeholder="选择承诺还款日" :picker-options="pickerOptions">
-                            </el-date-picker>
-                        </el-form-item>
+                <el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="8">
+                    <el-form-item label="承诺还款日" prop="zfiExpireDate" size="medium">
+                        <el-date-picker
+                            class="zap-form-input"
+                            clearable
+                            v-model="form.zfiExpireDate"
+                            type="date"
+                            value-format="yyyy-MM-dd"
+                            placeholder="选择承诺还款日"
+                            :picker-options="pickerOptions">
+                        </el-date-picker>
+                    </el-form-item>
+                </el-col>
+                <el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="8">
+                    <el-form-item label="签发金额" prop="zfiAmount">
+                        <el-input class="zap-form-input" v-model="form.zfiAmount" @input="getBigSmall"  @input.native="changeRate($event,form.zfiAmount)" />
+                    </el-form-item>
+                </el-col>
+                <el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="8">
+                    <el-form-item label="金额大写:" prop="issuedAmount">
+                        {{issuedAmount}}
+                    </el-form-item>
                 </el-col>
-            </el-row>
-            <el-row class="zap-form zap-form--clear">
-                <el-row>
-                    <el-col :span="14">
-                        <el-form-item label="签发金额" prop="zfiAmount">
-                            <el-input v-model="form.zfiAmount" @input="getBigSmall"  @input.native="changeRate($event,form.zfiAmount)" />
-                        </el-form-item>
-                        <el-form-item label="金额大写:" prop="issuedAmount">
-                            {{issuedAmount}}
-                        </el-form-item>
-                    </el-col>
-                </el-row>
             </el-row>
             <div class="zap-title zap-margin-top">资产信息</div>
             <el-row class="zap-form">
@@ -128,10 +148,10 @@
     <el-dialog :title="payTitle" :visible.sync="open" width="1120px" append-to-body destroy-on-close>
         <el-form :model="queryParamsPay" ref="formQuery" :inline="true" label-width="68px" style="margin-bottom: -21px">
             <el-form-item label="账款名称" prop="zbiName">
-                <el-input v-model="queryParamsPay.zbiName" placeholder="请输入账款名称" clearable size="small" maxlength="11" @keyup.enter.native="handleQuerys" />
+                <el-input v-model="queryParamsPay.zbiName" placeholder="请输入账款名称" clearable maxlength="11" @keyup.enter.native="handleQuerys" />
             </el-form-item>
             <el-form-item label="应收企业" prop="receiveName">
-                <el-input v-model="queryParamsPay.receiveName" placeholder="请输入应收企业" clearable size="small" maxlength="11" @keyup.enter.native="handleQuerys" />
+                <el-input v-model="queryParamsPay.receiveName" placeholder="请输入应收企业" clearable maxlength="11" @keyup.enter.native="handleQuerys" />
             </el-form-item>
             <el-form-item>
                 <el-button type="cyan" icon="el-icon-search" size="mini" @click="handleQuerys">搜索</el-button>
@@ -204,12 +224,18 @@ import pdfShow from "./pdfShow";
 import {
     getToken
 } from "@/utils/auth";
-import { getBill} from "@/api/service/bill/bill";
+import {
+    getBill
+} from "@/api/service/bill/bill";
 import AddBill from "@/views/service/bill/addBill";
 import EditBill from "@/views/service/bill/editBill";
 import DetailBill from "@/views/service/credit/billDetail";
-import {listCompanyHandler} from "@/api/common/companyHandler";
-import {isOpenApproval} from "@/api/service/credit/approvalRelatedCredit";
+import {
+    listCompanyHandler
+} from "@/api/common/companyHandler";
+import {
+    isOpenApproval
+} from "@/api/service/credit/approvalRelatedCredit";
 import Cookies from 'js-cookie'
 export default {
     name: "addCredit",
@@ -344,7 +370,7 @@ export default {
             chooseTicket: [],
             payDate: null,
             //控制内部审批,合同签署按钮展示或隐藏
-            isHas:true,
+            isHas: true,
         };
     },
     created() {
@@ -487,7 +513,7 @@ export default {
                 this.$refs.tablePay.clearSelection();
                 changeSelectionTemp.forEach((item) => {
                     var f = true;
-                    for (var i=0; i < this.payList.length; i++) {
+                    for (var i = 0; i < this.payList.length; i++) {
                         var row = this.payList[i];
                         if (row.zbiId == item.zbiId) {
                             this.$refs.tablePay && this.$refs.tablePay.toggleRowSelection(row, true);
@@ -558,9 +584,9 @@ export default {
                     this.ticketList = this.chooseTicket;
                     //更新附件信息
                     this.getFile(this.ticketList);
-                    if(new Date(this.ticketList[0].zbiPayDate) >= new Date()){
+                    if (new Date(this.ticketList[0].zbiPayDate) >= new Date()) {
                         // this.form.zfiExpireDate = this.ticketList[0].zbiPayDate
-                        if(!this.form.zfiExpireDate){
+                        if (!this.form.zfiExpireDate) {
                             this.$set(this.form, "zfiExpireDate", this.ticketList[0].zbiPayDate);
                         }
                     }
@@ -816,19 +842,19 @@ export default {
         //新增
         submitForm() {
             this.$refs["form"].validate((valid) => {
-               if(parseFloat(this.form.zfiAmount) > parseFloat(this.moneyDelete(this.availableAmt))){
+                if (parseFloat(this.form.zfiAmount) > parseFloat(this.moneyDelete(this.availableAmt))) {
                     this.$message({
-                            message: '签发金额不可大于可用金额',
-                            type: 'warning'
-                        });
-                        return;
+                        message: '签发金额不可大于可用金额',
+                        type: 'warning'
+                    });
+                    return;
                 }
-               if(parseFloat(this.form.zfiAmount) < parseFloat(this.zfpMinimumAmount)){
+                if (parseFloat(this.form.zfiAmount) < parseFloat(this.zfpMinimumAmount)) {
                     this.$message({
-                            message: '签发金额不可小于产品的最小融资金额',
-                            type: 'warning'
-                        });
-                        return;
+                        message: '签发金额不可小于产品的最小融资金额',
+                        type: 'warning'
+                    });
+                    return;
                 }
                 if (valid) {
                     const loading = this.$loading({
@@ -838,177 +864,114 @@ export default {
                     });
                     //选择了应付款,如果申请金额小于合计金额增加提示
                     debugger;
-                    if(this.ticketList.length > 0){
-                        if((parseFloat(this.form.zfiAmount)) < (parseFloat(this.moneyDelete(this.checkTotalAmt)))){
-                                var _this = this;
-                                 this.$confirm('签发金额小于应付金额合计,是否确认提交', "警告", {
-                                    confirmButtonText: "确定",
-                                    cancelButtonText: "取消",
-                                    type: "warning"
-                                    }).then(function() {
-                                       //产品是否可拆分
-                                        _this.form.zfpSplit = _this.zfpSplit;
-                                        //放款方式
-                                        _this.form.zfpcrLoanType = _this.zfpcrLoanType;
-                                        //融信类型
-                                        _this.form.type = "1";
-                                        //利率
-                                        _this.form.zfiRate = _this.zfpcrRate;
-                                        //产品
-                                        _this.form.zfpId = _this.zfpId;
-                                        //应付账款
-                                        _this.form.ticketList = _this.ticketList;
-                                        //可用额度
-                                        _this.form.availableAmt = _this.moneyDelete(_this.availableAmt);
-                                         //最小融资金额
-                                        _this.form.zfpMinimumAmount = _this.zfpMinimumAmount;
-                                        addCredit(_this.form).then((response) => {
-                                                //获取融信编号
-                                                var zfiId = response.data.zfiId;
-                                                loading.close();
-                                                //查询当前用户是否为经办人
-                                                listCompanyHandler().then((response) => {
-                                                    if(false == response.data){
-                                                    //当前用户不是经办人,返回到列表页
-                                                        _this.msgSuccess("融信资料已提交企业内部审批");
-                                                        _this.$store.dispatch(
-                                                            "tagsView/delView",
-                                                            _this.$route
-                                                        );
-                                                        _this.$router.go(-1);
-                                                    }else{
-                                                        //当前用户是经办人,判断有无核心开立融信的内部审批
-                                                        //查询有无核心开立内部审批
-                                                        var confirmParam = {};
-                                                        confirmParam.menuId = "1000000000";
-                                                        isOpenApproval(confirmParam).then((response) => {
-                                                            var result = response.data.isOpen;
-                                                            //有核心开立内部审批
-                                                            if(true == result){
-                                                                _this.msgSuccess("融信资料已提交企业内部审批");
-                                                                _this.$store.dispatch(
-                                                                    "tagsView/delView",
-                                                                     _this.$route
-                                                                );
-                                                                _this.$router.go(-1);
-                                                            }else{//无核心开立内部审批
-                                                                //关闭当前页面
-                                                                _this.$store.dispatch(
-                                                                    "tagsView/delView",
-                                                                    _this.$route
-                                                                );
-                                                                //跳转盖章页面
-                                                                Cookies.set("/credit/creditSeal/"+zfiId + "/", _this.$route.fullPath)
-                                                                _this.$router.push({ path: "/credit/creditSeal/"+zfiId + "/" });
-                                                            }
-                                                        });
-
-                                                    }
-                                                });
-
-
-                                            }).catch((e) => {
-                                                loading.close();
-                                            });
-                                    }).catch((e) => {
-                                                loading.close();
-                                      });
-                        }else{
-                               //产品是否可拆分
-                                this.form.zfpSplit = this.zfpSplit;
+                    if (this.ticketList.length > 0) {
+                        if ((parseFloat(this.form.zfiAmount)) < (parseFloat(this.moneyDelete(this.checkTotalAmt)))) {
+                            var _this = this;
+                            this.$confirm('签发金额小于应付金额合计,是否确认提交', "警告", {
+                                confirmButtonText: "确定",
+                                cancelButtonText: "取消",
+                                type: "warning"
+                            }).then(function () {
+                                //产品是否可拆分
+                                _this.form.zfpSplit = _this.zfpSplit;
                                 //放款方式
-                                this.form.zfpcrLoanType = this.zfpcrLoanType;
+                                _this.form.zfpcrLoanType = _this.zfpcrLoanType;
                                 //融信类型
-                                this.form.type = "1";
+                                _this.form.type = "1";
                                 //利率
-                                this.form.zfiRate = this.zfpcrRate;
+                                _this.form.zfiRate = _this.zfpcrRate;
                                 //产品
-                                this.form.zfpId = this.zfpId;
+                                _this.form.zfpId = _this.zfpId;
                                 //应付账款
-                                this.form.ticketList = this.ticketList;
+                                _this.form.ticketList = _this.ticketList;
                                 //可用额度
-                                this.form.availableAmt = this.moneyDelete(this.availableAmt);
+                                _this.form.availableAmt = _this.moneyDelete(_this.availableAmt);
                                 //最小融资金额
-                                this.form.zfpMinimumAmount = this.zfpMinimumAmount;
-                                addCredit(this.form).then((response) => {
-                                        loading.close();
-                                         //获取融信编号
-                                        var zfiId = response.data.zfiId;
-                                        //查询当前用户是否为经办人
-                                        listCompanyHandler().then((response) => {
-                                            if(false == response.data){
+                                _this.form.zfpMinimumAmount = _this.zfpMinimumAmount;
+                                addCredit(_this.form).then((response) => {
+                                    //获取融信编号
+                                    var zfiId = response.data.zfiId;
+                                    loading.close();
+                                    //查询当前用户是否为经办人
+                                    listCompanyHandler().then((response) => {
+                                        if (false == response.data) {
                                             //当前用户不是经办人,返回到列表页
-                                                this.msgSuccess("融信资料已提交企业内部审批");
-                                                this.$store.dispatch(
-                                                    "tagsView/delView",
-                                                     this.$route
-                                                );
-                                                this.$router.go(-1);
-                                            }else{
-                                                //当前用户是经办人,判断有无核心开立融信的内部审批
-                                                //查询有无核心开立内部审批
-                                                var confirmParam = {};
-                                                confirmParam.menuId = "1000000000";
-                                                isOpenApproval(confirmParam).then((response) => {
-                                                    var result = response.data.isOpen;
-                                                    //有核心开立内部审批
-                                                    if(true == result){
-                                                        this.msgSuccess("融信资料已提交企业内部审批");
-                                                        this.$store.dispatch(
-                                                            "tagsView/delView",
-                                                            this.$route
-                                                        );
-                                                        this.$router.go(-1);
-                                                    }else{//无核心开立内部审批
-                                                        //关闭当前页面
-                                                        this.$store.dispatch(
-                                                            "tagsView/delView",
-                                                             this.$route
-                                                        );
-                                                        //跳转盖章页面
-                                                        Cookies.set("/credit/creditSeal/"+zfiId + "/", this.$route.fullPath)
-                                                        this.$router.push({ path: "/credit/creditSeal/"+zfiId + "/" });
-                                                    }
-                                                });
+                                            _this.msgSuccess("融信资料已提交企业内部审批");
+                                            _this.$store.dispatch(
+                                                "tagsView/delView",
+                                                _this.$route
+                                            );
+                                            _this.$router.go(-1);
+                                        } else {
+                                            //当前用户是经办人,判断有无核心开立融信的内部审批
+                                            //查询有无核心开立内部审批
+                                            var confirmParam = {};
+                                            confirmParam.menuId = "1000000000";
+                                            isOpenApproval(confirmParam).then((response) => {
+                                                var result = response.data.isOpen;
+                                                //有核心开立内部审批
+                                                if (true == result) {
+                                                    _this.msgSuccess("融信资料已提交企业内部审批");
+                                                    _this.$store.dispatch(
+                                                        "tagsView/delView",
+                                                        _this.$route
+                                                    );
+                                                    _this.$router.go(-1);
+                                                } else { //无核心开立内部审批
+                                                    //关闭当前页面
+                                                    _this.$store.dispatch(
+                                                        "tagsView/delView",
+                                                        _this.$route
+                                                    );
+                                                    //跳转盖章页面
+                                                    Cookies.set("/credit/creditSeal/" + zfiId + "/", _this.$route.fullPath)
+                                                    _this.$router.push({
+                                                        path: "/credit/creditSeal/" + zfiId + "/"
+                                                    });
+                                                }
+                                            });
 
-                                            }
-                                        });
-                                    }).catch((response) => {
-                                        loading.close();
+                                        }
                                     });
-                        }
-                    }else{
-                         //产品是否可拆分
-                        this.form.zfpSplit = this.zfpSplit;
-                        //放款方式
-                        this.form.zfpcrLoanType = this.zfpcrLoanType;
-                        //融信类型
-                        this.form.type = "1";
-                        //利率
-                        this.form.zfiRate = this.zfpcrRate;
-                        //产品
-                        this.form.zfpId = this.zfpId;
-                        //应付账款
-                        this.form.ticketList = this.ticketList;
-                        //可用额度
-                        this.form.availableAmt = this.moneyDelete(this.availableAmt);
-                         //最小融资金额
-                        this.form.zfpMinimumAmount = this.zfpMinimumAmount;
-                        addCredit(this.form).then((response) => {
-                                //融信编号
-                                var zfiId = response.data.zfiId;
+
+                                }).catch((e) => {
+                                    loading.close();
+                                });
+                            }).catch((e) => {
+                                loading.close();
+                            });
+                        } else {
+                            //产品是否可拆分
+                            this.form.zfpSplit = this.zfpSplit;
+                            //放款方式
+                            this.form.zfpcrLoanType = this.zfpcrLoanType;
+                            //融信类型
+                            this.form.type = "1";
+                            //利率
+                            this.form.zfiRate = this.zfpcrRate;
+                            //产品
+                            this.form.zfpId = this.zfpId;
+                            //应付账款
+                            this.form.ticketList = this.ticketList;
+                            //可用额度
+                            this.form.availableAmt = this.moneyDelete(this.availableAmt);
+                            //最小融资金额
+                            this.form.zfpMinimumAmount = this.zfpMinimumAmount;
+                            addCredit(this.form).then((response) => {
                                 loading.close();
+                                //获取融信编号
+                                var zfiId = response.data.zfiId;
                                 //查询当前用户是否为经办人
                                 listCompanyHandler().then((response) => {
-                                    if(false == response.data){
-                                    //当前用户不是经办人,返回到列表页
+                                    if (false == response.data) {
+                                        //当前用户不是经办人,返回到列表页
                                         this.msgSuccess("融信资料已提交企业内部审批");
                                         this.$store.dispatch(
                                             "tagsView/delView",
-                                                this.$route
+                                            this.$route
                                         );
                                         this.$router.go(-1);
-                                    }else{
+                                    } else {
                                         //当前用户是经办人,判断有无核心开立融信的内部审批
                                         //查询有无核心开立内部审批
                                         var confirmParam = {};
@@ -1016,22 +979,24 @@ export default {
                                         isOpenApproval(confirmParam).then((response) => {
                                             var result = response.data.isOpen;
                                             //有核心开立内部审批
-                                            if(true == result){
+                                            if (true == result) {
                                                 this.msgSuccess("融信资料已提交企业内部审批");
                                                 this.$store.dispatch(
                                                     "tagsView/delView",
                                                     this.$route
                                                 );
                                                 this.$router.go(-1);
-                                            }else{//无核心开立内部审批
+                                            } else { //无核心开立内部审批
                                                 //关闭当前页面
                                                 this.$store.dispatch(
                                                     "tagsView/delView",
-                                                        this.$route
+                                                    this.$route
                                                 );
                                                 //跳转盖章页面
-                                                Cookies.set("/credit/creditSeal/"+zfiId + "/", this.$route.fullPath)
-                                                this.$router.push({ path: "/credit/creditSeal/"+zfiId + "/" });
+                                                Cookies.set("/credit/creditSeal/" + zfiId + "/", this.$route.fullPath)
+                                                this.$router.push({
+                                                    path: "/credit/creditSeal/" + zfiId + "/"
+                                                });
                                             }
                                         });
 
@@ -1040,6 +1005,72 @@ export default {
                             }).catch((response) => {
                                 loading.close();
                             });
+                        }
+                    } else {
+                        //产品是否可拆分
+                        this.form.zfpSplit = this.zfpSplit;
+                        //放款方式
+                        this.form.zfpcrLoanType = this.zfpcrLoanType;
+                        //融信类型
+                        this.form.type = "1";
+                        //利率
+                        this.form.zfiRate = this.zfpcrRate;
+                        //产品
+                        this.form.zfpId = this.zfpId;
+                        //应付账款
+                        this.form.ticketList = this.ticketList;
+                        //可用额度
+                        this.form.availableAmt = this.moneyDelete(this.availableAmt);
+                        //最小融资金额
+                        this.form.zfpMinimumAmount = this.zfpMinimumAmount;
+                        addCredit(this.form).then((response) => {
+                            //融信编号
+                            var zfiId = response.data.zfiId;
+                            loading.close();
+                            //查询当前用户是否为经办人
+                            listCompanyHandler().then((response) => {
+                                if (false == response.data) {
+                                    //当前用户不是经办人,返回到列表页
+                                    this.msgSuccess("融信资料已提交企业内部审批");
+                                    this.$store.dispatch(
+                                        "tagsView/delView",
+                                        this.$route
+                                    );
+                                    this.$router.go(-1);
+                                } else {
+                                    //当前用户是经办人,判断有无核心开立融信的内部审批
+                                    //查询有无核心开立内部审批
+                                    var confirmParam = {};
+                                    confirmParam.menuId = "1000000000";
+                                    isOpenApproval(confirmParam).then((response) => {
+                                        var result = response.data.isOpen;
+                                        //有核心开立内部审批
+                                        if (true == result) {
+                                            this.msgSuccess("融信资料已提交企业内部审批");
+                                            this.$store.dispatch(
+                                                "tagsView/delView",
+                                                this.$route
+                                            );
+                                            this.$router.go(-1);
+                                        } else { //无核心开立内部审批
+                                            //关闭当前页面
+                                            this.$store.dispatch(
+                                                "tagsView/delView",
+                                                this.$route
+                                            );
+                                            //跳转盖章页面
+                                            Cookies.set("/credit/creditSeal/" + zfiId + "/", this.$route.fullPath)
+                                            this.$router.push({
+                                                path: "/credit/creditSeal/" + zfiId + "/"
+                                            });
+                                        }
+                                    });
+
+                                }
+                            });
+                        }).catch((response) => {
+                            loading.close();
+                        });
                     }
 
                 }
@@ -1149,13 +1180,13 @@ export default {
         emitEditClick(val) {
             var self = this
             getBill(val).then((response) => {
-                for (var i = 0; i < this.ticketList.length; i ++) {
+                for (var i = 0; i < this.ticketList.length; i++) {
                     if (response.data.zbiId == this.ticketList[i].zbiId) {
                         this.$set(this.ticketList, i, response.data)
                         break;
                     }
                 }
-                for (var i = 0; i < this.ticketList.length; i ++) {
+                for (var i = 0; i < this.ticketList.length; i++) {
                     if (response.data.zbiId == this.ticketList[i].zbiId) {
                         this.$set(this.chooseTicket, i, response.data)
                         break;
@@ -1204,8 +1235,6 @@ table th.star div::before {
 }
 </style><style lang="scss" scoped>
 .zap-available-credit {
-    height: 40px;
-    margin-bottom: 22px;
     font-size: 14px;
     color: #FF2F2F;
 }
@@ -1221,7 +1250,8 @@ table th.star div::before {
     padding: 10px 25px 8px;
     background-color: #ffffff;
 }
-.zap-form--clear{
+
+.zap-form--clear {
     padding-left: 0;
     padding-right: 0;
 }