<template> <div class="eibs-tab"> <!-- 左边--> <c-col :span="doubleOcc ? 8:12" @change="spanChange"> <!-- line2 --> <c-row> <c-col :span="24"> <el-form-item label="额度主体" style="width: 100%"> <c-fullbox> <c-input disabled maxlength="16" placeholder="请输入地址编码" style="width: 100%" v-model="model.limmod.limpts.wrk.extkey"></c-input> <template slot="footer"> <c-button @click="onSeainf" icon="el-icon-search" size="small" style="" type="primary" /> <c-button @click="onWrkpDet" icon="el-icon-info" size="small" style="" type="primary"> </c-button> </template> </c-fullbox> </el-form-item> </c-col> </c-row> <!-- line3 --> <c-row v-if="queryGiduil == 'CN'"> <c-col :span="24"> <el-form-item label="主体名称"> <c-input :disabled="true" maxlength="16" placeholder="" style="width: 100%" v-model="model.limmod.limpts.wrk.nam"></c-input> </el-form-item> </c-col> </c-row> <c-row v-if="queryGiduil == 'EN'"> <c-col :span="24"> <el-form-item label="主体名称"> <c-input :disabled="true" maxlength="16" placeholder="" style="width: 100%" v-model="showlimnam"></c-input> </el-form-item> </c-col> </c-row> <!-- line4 --> <c-row> <c-col :span="24"> <el-form-item label="额度类型" prop="limmod.limpts.nonrevflg1"> <c-fullbox> <c-select @change="nonrevflg1Change" customModifykey="limmod.limpts.nonrevflg1" dbCode="LIMTYP" placeholder="请选择额度类型" style="width: 100%" v-model="model.limmod.limpts.nonrevflg1" :disabled="model.limmod.codeDisable || queryHndTyp == true || setEnFlg1 == true || this.model.limmod.limpts.dothflg === 'Y'" clearable></c-select> </c-fullbox> </el-form-item> </c-col> </c-row> <!-- line5 --> <c-row> <c-col :span="24"> <el-form-item label="合同流水号"> <c-input :disabled="pfcod" @change="customAddModify(model.limmod.limpts, 'pfcod1')" customModifykey="limmod.limpts.pfcod1" maxlength="20" placeholder="请输入合同流水号" style="width: 100%" v-model="model.limmod.limpts.pfcod1"></c-input> </el-form-item> </c-col> </c-row> <c-row> <c-col :span="24"> <el-form-item label="是否转授权业务"> <c-fullbox> <c-select v-model="model.limmod.limpts.sfzsqyw" customModifykey="limmod.limpts.sfzsqyw" :filterKey="['0','1']" :code="transfer" placeholder="请选择是否转授权业务" @change="changeSfzsqyw" style="width: 100%" :clearable="false" :disabled="model.limmod.codeDisable || queryHndTyp == true || judgeSfOth == true"> </c-select> </c-fullbox> </el-form-item> </c-col> </c-row> <c-row> <c-col :span="24"> <el-form-item label="转授权客户编号" prop="limmod.limpts.zsqkhbh"> <c-fullbox> <c-input v-model="model.limmod.limpts.zsqkhbh" :disabled="model.limmod.codeDisable || queryHndTyp || model.limmod.limpts.sfzsqyw == '0' || ['GITAME','GITPAM','NITAME','NITPAM','GITPPL'].includes(root.trnName.toUpperCase())" maxlength="14" placeholder="请输入转授权客户编号" style="width: 100%"></c-input> <template slot="footer"> <c-button @click="transferNum" icon="el-icon-search" size="small" style="padding: 0 12px" type="primary" :disabled="model.limmod.codeDisable || queryHndTyp || model.limmod.limpts.sfzsqyw == '0'||['GITAME','GITPAM','NITAME','NITPAM'].includes(this.root.trnName.toUpperCase())"></c-button> </template> </c-fullbox> </el-form-item> </c-col> </c-row> <c-row> <c-col :span="24"> <el-form-item label="是否分公司业务"> <c-fullbox> <c-select v-model="model.limmod.limpts.sffgsyw" :filterKey="model.limmod.limpts.sfzsqyw == '1'?['0']:['0','1']" customModifykey="limmod.limpts.sffgsyw" :code="transfer" placeholder="请选择是否分公司业务" @change="changeSfzsqyw" style="width: 100%" :clearable="false" :disabled="model.limmod.codeDisable || queryHndTyp == true || judgeSfOth == true"> </c-select> </c-fullbox> </el-form-item> </c-col> </c-row> <c-row> <c-col :span="24"> <el-form-item label="总公司客户编号"> <c-fullbox> <c-input v-model="model.limmod.limpts.zgskhbh" :disabled="model.limmod.limpts.sffgsyw == '0'|| (model.limmod.limpts.queryFlg != '1' && model.limmod.limpts.queryFlg != '3')" maxlength="14" placeholder="请输入总公司客户编号" style="width: 100%"></c-input> <template slot="footer"> <c-button @click="transferNum" icon="el-icon-search" size="small" style="padding: 0 12px" type="primary" :disabled="model.limmod.limpts.sffgsyw == '0'"> </c-button> </template> </c-fullbox> </el-form-item> </c-col> </c-row> </c-col> <!-- 中间 --> <!-- 随event方法改变 --> <c-col :span="8" v-show=" doubleOcc "> <!-- line2 --> <c-row> <c-col :span="24"> <el-form-item label="对公账户" style="width: 100%"> <c-fullbox> <c-input :disabled="true" maxlength="16" placeholder="请输入地址编码" style="width: 100%" v-model="model.limmod.limpts.oth.extkey"></c-input> <template slot="footer"> <c-button @click="onSeainf" icon="el-icon-search" size="small" style="" type="primary" /> <c-button @click="onWrkpDet" icon="el-icon-info" size="small" style="" type="primary"> </c-button> </template> </c-fullbox> </el-form-item> </c-col> </c-row> <!-- line3 --> <c-row> <c-col :span="24" v-show="false"> <el-form-item label="主体名称"> <c-input :disabled="true" maxlength="16" placeholder="" style="width: 100%" v-model="model.limmod.limpts.oth.nam"></c-input> </el-form-item> </c-col> </c-row> <!-- line4 --> <c-row> <c-col :span="24" style="text-align: right"> <el-form-item label="额度类型"> <c-fullbox> <c-select @change="nonrevflg2Change" :disabled="model.limmod.limpts.dothflg == 'Y' || (model.limmod.limpts.queryFlg != '1' && model.limmod.limpts.queryFlg != '3')" customModifykey="limmod.limpts.nonrevflg2" dbCode="limtyp" placeholder="请选择额度类型" style="width: 100%" v-model="model.limmod.limpts.nonrevflg2"> </c-select> </c-fullbox> </el-form-item> </c-col> </c-row> <!-- line5 --> <c-row> <c-col :span="24"> <el-form-item label="合同流水号"> <c-input :disabled="model.limmod.limpts.nonrevflg2 !== '2'||(model.limmod.limpts.queryFlg != '1' && model.limmod.limpts.queryFlg != '3')" @change="customAddModify(model.limmod.limpts, 'pfcod2')" customModifykey="pfcod2" maxlength="20" placeholder="请输入合同流水号" style="width: 100%" v-model="model.limmod.limpts.pfcod2"></c-input> </el-form-item> </c-col> </c-row> <c-row> <c-col :span="24"> <el-form-item label="是否转授权业务"> <c-fullbox> <c-select v-model="model.limmod.limpts.othmflg" customModifykey="limmod.limpts.othmflg" :filterKey="['0','1']" :code="transfer" placeholder="请选择是否转授权业务" @change="changeSfzsqyw" style="width: 100%" :clearable="false" :disabled="model.limmod.codeDisable || queryHndTyp == true"> </c-select> </c-fullbox> </el-form-item> </c-col> </c-row> <c-row> <c-col :span="24"> <el-form-item label="转授权客户编号" prop="limmod.limpts.othmgs"> <c-fullbox> <c-input v-model="model.limmod.limpts.othmgs" :disabled="model.limmod.limpts.othmflg == '0' || (model.limmod.limpts.queryFlg != '1' && model.limmod.limpts.queryFlg != '3') " maxlength="14" placeholder="请输入转授权客户编号" style="width: 100%"></c-input> <template slot="footer"> <c-button @click="transferNum" icon="el-icon-search" size="small" style="padding: 0 12px" type="primary" :disabled="model.limmod.codeDisable || queryHndTyp || model.limmod.limpts.othmflg == '0' ||['GITAME','GITPAM','NITAME','NITPAM'].includes(this.root.trnName.toUpperCase())"></c-button> </template> </c-fullbox> </el-form-item> </c-col> </c-row> <c-row> <c-col :span="24"> <el-form-item label="是否分公司业务"> <c-fullbox> <c-select v-model="model.limmod.limpts.othfflg" :filterKey="model.limmod.limpts.othmflg == '1'?['0']:['0','1']" customModifykey="limmod.limpts.othfflg" :code="transfer" placeholder="请选择是否分公司业务" @change="changeSfzsqyw" style="width: 100%" :clearable="false" :disabled="model.limmod.codeDisable || queryHndTyp == true"> </c-select> </c-fullbox> </el-form-item> </c-col> </c-row> <c-row> <c-col :span="24"> <el-form-item label="总公司客户编号"> <c-fullbox> <c-input v-model="model.limmod.limpts.othzgs" :disabled="model.limmod.limpts.othfflg == '0' || (model.limmod.limpts.queryFlg != '1' && model.limmod.limpts.queryFlg != '3')" maxlength="14" placeholder="请输入总公司客户编号" style="width: 100%"></c-input> <template slot="footer"> <c-button @click="transferNum" icon="el-icon-search" size="small" style="padding: 0 12px" type="primary" :disabled="model.limmod.limpts.othfflg == '0'"> </c-button> </template> </c-fullbox> </el-form-item> </c-col> </c-row> </c-col> <!-- 右边--> <c-col :span="doubleOcc ? 8 : 12" @change="spanChange"> <!-- line1 --> <c-row> <c-col :span="24"> <el-form-item label="业务编号" prop="limmod.ownref"> <c-input :disabled="true" maxlength="16" placeholder="请输入国结业务编号" style="width: 100%" v-model="model.limmod.ownref"></c-input> </el-form-item> </c-col> <c-col :span="24"> <!-- <el-form-item label="业务余额" prop="limmod.comamt"> <c-input-currency :disabled="true" placeholder="请输入业务余额" style="width: 100%" v-model="model.limmod.comamt"></c-input-currency> </el-form-item> --> <div class="custom-box-wrap"> <div> <el-form-item :label="$t('业务余额')"> <c-select disabled v-model="model.liaall.concur" style="width: 115px" placeholder="请输入业务余额"> <el-option v-for="item in codes.curtxtList" :key="item.id" :label="item.cod+' '+item.txt" :value="item.cod"></el-option> </c-select> </el-form-item> </div> <div style="flex: 1;"> <el-form-item label-width="5px" prop="limmod.comamt"> <c-input-currency disabled v-model="model.limmod.comamt" style="width:100%;" placeholder="请输入" :currency="model.liaall.concur"></c-input-currency> </el-form-item> </div> </div> </c-col> </c-row> <!-- line1 --> <c-row> <c-col :span="24"> <!-- <el-form-item label="保证金余额"> <c-input-currency :disabled="true" placeholder="请输入保证金余额" v-model="model.limmod.ccvamt"></c-input-currency> </el-form-item> --> <div class="custom-box-wrap"> <div> <el-form-item :label="$t('保证金余额')"> <c-select disabled v-model="model.liaall.concur" style="width: 115px" placeholder="请输入保证金余额"> <el-option v-for="item in codes.curtxtList" :key="item.id" :label="item.cod+' '+item.txt" :value="item.cod"></el-option> </c-select> </el-form-item> </div> <div style="flex: 1;"> <el-form-item label-width="5px"> <c-input-currency disabled v-model="model.limmod.ccvamt" style="width:100%;" placeholder="请输入" :currency="model.liaall.concur"></c-input-currency> </el-form-item> </div> </div> </c-col> <c-col :span="24" style="text-align: right"> <c-button @click="onLimmodQuery" size="small" type="primary" :disabled="model.limmod.isDisable"> 查询 </c-button> <c-button @click="onLimmodQuery2" size="small" type="primary" :disabled="model.limmod.isDisable" v-show=" doubleOcc "> 对客查询 </c-button> <el-button @click="onLimmodTrycal" size="small" type="primary" :disabled="codes.judgeFlag || isInDisplay"> 试算 </el-button> </c-col> </c-row> </c-col> <c-col :span="24" style="margin: 0px 0;"> <el-form-item prop="limmod.limQueryVo.limgrdVoList"></el-form-item> <c-table :border="true" :list="model.limmod.limQueryVo.limgrdVoList"> <el-table-column label="可否串用" prop="flg" width="110px" sortable> <template slot-scope="scope"> <c-checkbox v-model="scope.row.flg" true-label="X" false-label="" :disabled="model.limmod.limpts.queryFlg=='2'" @change="change1(scope.row,scope.$index)"> </c-checkbox> </template> </el-table-column> <el-table-column label="序号" prop="shxh" width="80px" sortable> </el-table-column> <el-table-column label="额度明细编号" prop="infref" width="130px" sortable> </el-table-column> <el-table-column label="品种代码描述" prop="limcod" width="130px" sortable> </el-table-column> <el-table-column label="额度明细币种" prop="cur" width="130px" sortable> </el-table-column> <el-table-column label="额度编号" prop="limref" width="110px" sortable> </el-table-column> <el-table-column label="保证金比例" prop="ccvpct" width="120px" sortable> </el-table-column> <el-table-column label="产品授信额度" prop="cpsxed" width="140px" sortable> <template slot-scope="scope"> <span>{{moneyFormat(scope.row.cpsxed, scope.row.cur||scope.row.limcur)}}</span> </template> </el-table-column> <el-table-column label="产品可用额度" prop="balamt" width="140px" sortable> <template slot-scope="scope"> <span>{{moneyFormat(scope.row.balamt, scope.row.cur||scope.row.limcur)}}</span> </template> </el-table-column> <el-table-column label="产品已用额度" prop="useamt" width="140px" sortable> <template slot-scope="scope"> <span>{{moneyFormat(scope.row.useamt, scope.row.cur||scope.row.limcur)}}</span> </template> </el-table-column> <el-table-column label="产品授信敞口" prop="cpsxck" width="140px" sortable> <template slot-scope="scope"> <span>{{moneyFormat(scope.row.cpsxck, scope.row.cur||scope.row.limcur)}}</span> </template> </el-table-column> <el-table-column label="产品可用敞口" prop="cpkyck" width="140px" sortable> <template slot-scope="scope"> <span>{{moneyFormat(scope.row.cpkyck, scope.row.cur||scope.row.limcur)}}</span> </template> </el-table-column> <el-table-column label="产品已用敞口" prop="cpyyck" width="140px" sortable> <template slot-scope="scope"> <span>{{moneyFormat(scope.row.cpyyck, scope.row.cur||scope.row.limcur)}}</span> </template> </el-table-column> <el-table-column label="是否可循环" prop="bxh" width="120px" sortable> <template slot-scope="scope"> <c-select :isFixed="true" v-model="scope.row.bxh" :code="transfer1" disabled> </c-select> </template> </el-table-column> <el-table-column label="是否可串用" prop="bcy" width="120px" sortable> <template slot-scope="scope"> <c-select :isFixed="true" v-model="scope.row.bcy" :code="transfer2" disabled> </c-select> </template> </el-table-column> <el-table-column label="串用说明" prop="cyremark" width="110px" sortable> </el-table-column> <el-table-column label="产品额度生效日期" prop="credat" width="160px" sortable> </el-table-column> <el-table-column label="产品额度到期日" prop="matdat" width="150px" sortable> </el-table-column> <el-table-column label="额度产品状态" prop="lcpsta" width="140px" sortable> <template slot-scope="scope"> <span v-if="scope.row.lcpsta == '00'">待生效</span> <span v-if="scope.row.lcpsta == '01'">正常</span> <span v-if="scope.row.lcpsta == '02'">冻结</span> <span v-if="scope.row.lcpsta == '03'">解冻</span> <span v-if="scope.row.lcpsta == '04'">失效</span> </template> </el-table-column> <el-table-column label="额度品种代码" prop="limcodsave" width="130px" sortable> </el-table-column> <el-table-column label="额度类型" prop="limtyp" width="110px" sortable> <template slot-scope="scope"> <span v-if="scope.row.limtyp == '1'">综合授信</span> <span v-else>单笔单批</span> </template> </el-table-column> <el-table-column label="额度币种" prop="limcur" width="110px" sortable> </el-table-column> <el-table-column label="是否低风险" prop="bfx" width="120px" sortable> <template slot-scope="scope"> <c-select :isFixed="true" v-model="scope.row.bfx" :code="transfer3" disabled> </c-select> </template> </el-table-column> <el-table-column label="入账机构" prop="ruzhjg" width="110px" sortable> </el-table-column> <el-table-column label="暴露分类" prop="fentyp" width="110px" sortable> </el-table-column> <el-table-column label="暴露分类说明" prop="fentxt" width="140px" sortable> </el-table-column> </c-table> </c-col> <c-col :span="24" v-show=" doubleOcc "> <c-table :border="true" :list="model.limmod.limQueryVo.lmegrdVos"> <el-table-column label="可否串用" prop="flg" width="110px" sortable> <template slot-scope="scope"> <c-checkbox v-model="scope.row.flg" true-label="X" false-label="" :disabled="model.limmod.limpts.queryFlg=='2'||(model.limmod.limpts.queryFlg=='3'&&model.limmod.tryflg)" @change="change1(scope.row,scope.$index)"> </c-checkbox> </template> </el-table-column> <el-table-column label="序号" prop="shxh" width="80px" sortable> </el-table-column> <el-table-column label="额度明细编号" prop="infref" width="130px" sortable> </el-table-column> <el-table-column label="品种代码描述" prop="limcod" width="130px" sortable> </el-table-column> <el-table-column label="额度明细币种" prop="cur" width="130px" sortable> </el-table-column> <el-table-column label="保证金比例" prop="ccvpct" width="120px" sortable> </el-table-column> <el-table-column label="产品授信额度" prop="cpsxed" width="140px" sortable> <template slot-scope="scope"> <span>{{moneyFormat(scope.row.cpsxed, scope.row.cur||scope.row.limcur)}}</span> </template> </el-table-column> <el-table-column label="产品可用额度" prop="balamt" width="140px" sortable> <template slot-scope="scope"> <span>{{moneyFormat(scope.row.balamt, scope.row.cur||scope.row.limcur)}}</span> </template> </el-table-column> <el-table-column label="产品已用额度" prop="useamt" width="140px" sortable> <template slot-scope="scope"> <span>{{moneyFormat(scope.row.useamt, scope.row.cur||scope.row.limcur)}}</span> </template> </el-table-column> <el-table-column label="产品授信敞口" prop="cpsxck" width="140px" sortable> <template slot-scope="scope"> <span>{{moneyFormat(scope.row.cpsxck, scope.row.cur||scope.row.limcur)}}</span> </template> </el-table-column> <el-table-column label="产品可用敞口" prop="cpkyck" width="140px" sortable> <template slot-scope="scope"> <span>{{moneyFormat(scope.row.cpkyck, scope.row.cur||scope.row.limcur)}}</span> </template> </el-table-column> <el-table-column label="产品已用敞口" prop="cpyyck" width="140px" sortable> <template slot-scope="scope"> <span>{{moneyFormat(scope.row.cpyyck, scope.row.cur||scope.row.limcur)}}</span> </template> </el-table-column> <el-table-column label="是否可循环" prop="bxh" width="120px" sortable> <template slot-scope="scope"> <c-select :isFixed="true" v-model="scope.row.bxh" :code="transfer1" disabled> </c-select> </template> </el-table-column> <el-table-column label="是否可串用" prop="bcy" width="120px" sortable> <template slot-scope="scope"> <c-select :isFixed="true" v-model="scope.row.bcy" :code="transfer2" disabled> </c-select> </template> </el-table-column> <el-table-column label="串用说明" prop="cyremark" width="110px" sortable> </el-table-column> <el-table-column label="产品额度生效日期" prop="credat" width="160px" sortable> </el-table-column> <el-table-column label="产品额度到期日" prop="matdat" width="150px" sortable> </el-table-column> <el-table-column label="额度产品状态" prop="lcpsta" width="140px" sortable> <template slot-scope="scope"> <span v-if="scope.row.lcpsta == '00'">待生效</span> <span v-if="scope.row.lcpsta == '01'">正常</span> <span v-if="scope.row.lcpsta == '02'">冻结</span> <span v-if="scope.row.lcpsta == '03'">解冻</span> <span v-if="scope.row.lcpsta == '04'">失效</span> </template> </el-table-column> <el-table-column label="额度编号" prop="limref" width="110px" sortable> </el-table-column> <el-table-column label="额度品种代码" prop="limcodsave" width="130px" sortable> </el-table-column> <el-table-column label="额度类型" prop="limtyp" width="110px" sortable> <template slot-scope="scope"> <span v-if="scope.row.limtyp == '1'">综合授信</span> <span v-else>单笔单批</span> </template> </el-table-column> <el-table-column label="额度币种" prop="limcur" width="110px" sortable> </el-table-column> <el-table-column label="是否低风险" prop="bfx" width="120px" sortable> <template slot-scope="scope"> <c-select :isFixed="true" v-model="scope.row.bfx" :code="transfer3" disabled> </c-select> </template> </el-table-column> <el-table-column label="入账机构" prop="ruzhjg" width="110px" sortable> </el-table-column> <el-table-column label="暴露分类" prop="fentyp" width="110px" sortable> </el-table-column> <el-table-column label="暴露分类说明" prop="fentxt" width="140px" sortable> </el-table-column> </c-table> </c-col> <trial-dialog ref="trialDialog" :model="model" :codes="codes"></trial-dialog> <el-dialog v-dialogDrag width="80%" title="查询列表" :visible.sync="model.limmod.isTransfer" v-if="model.limmod.isTransfer"> <div v-if="model.limmod.tableList.length === 0">暂无数据</div> <div v-else style="width: 100%;"> <el-table id='tableRef' style="width: 100%;" max-height="300px" :data="model.limmod.tableList" @row-dblclick="chooseTransfer"> <el-table-column v-for="(item,key) in tableColumn" :key="key" :prop="item.prop" :label="item.label"> </el-table-column> </el-table> </div> </el-dialog> </div> </template> <script> import commonDepend from "../../../../mixin/commonDepend.js"; import event from "../event"; import trialDialog from "./trialDialog.vue"; import { now } from "moment"; export default { inject: ["root"], mixins: [commonDepend, event], props: ["model", "codes"], components: { trialDialog }, computed: { queryGiduil() { let giduil = ""; if (this.model.nidgrp && this.model.nidgrp.rec.giduil) { giduil = this.model.nidgrp.rec.giduil; } if (this.model.gidgrp && this.model.gidgrp.rec.giduil) { giduil = this.model.gidgrp.rec.giduil; } return giduil; }, queryHndTyp() { let judgeFlag = false; if (this.model.nidgrp && this.model.nidgrp.rec.hndtyp) { if (this.model.nidgrp.rec.hndtyp == "OT") { judgeFlag = true; } return judgeFlag; } }, judgeSfOth() { let exBus2 = ["bptopn"]; let trnName = this.model.limmod.buildParams.transName; if ( exBus2.includes(trnName) && this.model.limmod.limpts.wrk.ptytyp == "B" ) { return true; } if ( exBus2.includes(trnName) && this.model.bpdgrp && this.model.bpdgrp.rec.fortyp && this.model.bpdgrp.rec.fortyp == "2" ) { return true; } return false; }, setEnFlg1() { let trnName = this.model.limmod.buildParams.transName; let exBus2 = ["bptopn"]; //设定额度类型可编辑 当前只处理BPTOPN交易,后续有优化再统一处理 // 同业客户的额度类型只能选择“综合授,除代开证以外 if ( exBus2.includes(trnName) && this.model.limmod.limpts.wrk.ptytyp == "B" ) { return true; } return false; }, //合同流水号在开立且单笔单批时可编辑 pfcod() { let pfcodFlg = true; if ( this.model.limmod.limpts.queryFlg == "3" || this.model.limmod.limpts.queryFlg == "1" ) { if (this.model.limmod.limpts.nonrevflg1 == "2") { pfcodFlg = false; } } return pfcodFlg; }, // 判断是否是快照 isInDisplay() { return this.$route.path.startsWith("/display"); }, // 去除换行 showlimnam() { let limnam = this.model.limmod.limpts.wrk.pts.ennam; limnam = limnam.replace("\n", " "); return limnam; }, doubleOcc() { return this.model.limmod.limpts.dothflg === "Y"; } }, data() { return { tableData: {}, transfer: [{ label: "是", value: "1" }, { label: "否", value: "0" }], transfer1: [{ label: "是", value: "1" }, { label: "否", value: "0" }], transfer2: [{ label: "是", value: "1" }, { label: "否", value: "0" }], transfer3: [{ label: "是", value: "1" }, { label: "否", value: "0" }], tableColumn: [ { prop: "hxkehh", label: "核心企业客户号" }, { prop: "hxkemc", label: "核心企业名称" } ], isCheckboxDisabled: false }; }, methods: { onSeainf() {}, transferZgs() {}, async onPreperButtxmsel() { let rtnmsg = await this.executeRule("preper_buttxmsel"); if (rtnmsg.respCode === SUCCESS) { //TODO 处理数据逻辑 } else { this.$notify.error({ title: "错误", message: "服务请求失败!" }); } }, async onLimptsGet1() { let rtnmsg = await this.executeRule("limpts_get1"); if (rtnmsg.respCode === SUCCESS) { //TODO 处理数据逻辑 } else { this.$notify.error({ title: "错误", message: "服务请求失败!" }); } }, nonrevflg1Change(val) { this.model.limmod.limpts.pfcod1 = ""; if (this.model.limmod.limpts.queryFlg == "1") { this.model.limmod.limQueryVo.limgrdVoList = []; this.queryLimitbody(); } // 增加modifySet // this.customAddModify(this.model.limmod.limpts, 'nonrevflg1') }, nonrevflg2Change(val) { if (val === "1") { this.model.limmod.limpts.pfcod2 = ""; } // 增加modifySet // this.customAddModify(this.model.limmod.limpts.nonrevflg2, 'nonrevflg2') }, changeSfzsqyw(val) { if (this.model.limmod.limpts.sfzsqyw == "0") { if (this.model.limmod.limpts.dothflg == "Y") { this.model.limmod.limpts.othmgs = ""; } else { this.model.limmod.limpts.zsqkhbh = ""; } } if (this.model.limmod.limpts.sffgsyw == "0") { if (this.model.limmod.limpts.dothflg == "Y") { this.model.limmod.limpts.othzgs = ""; } else { this.model.limmod.limpts.zgskhbh = ""; } } // 增加modifySet // this.customAddModify(this.model.limmod.limpts.nonrevflg2, 'nonrevflg2') }, async onWrkpDet() { let rtnmsg = await this.executeRule("limmod.wrkp.det"); if (rtnmsg.respCode === SUCCESS) { //TODO 处理数据逻辑 console.log(rtnmsg.data); } else { this.$notify.error({ title: "错误", message: "服务请求失败!" }); } }, async onOthpDet() { let rtnmsg = await this.executeRule("limmod.othp.det"); if (rtnmsg.respCode === SUCCESS) { //TODO 处理数据逻辑 console.log(rtnmsg.data); } else { this.$notify.error({ title: "错误", message: "服务请求失败!" }); } }, onLimmodQuery() { this.model.limmod.limQueryVo.type = "1"; this.queryLimitbody(); }, onLimmodQuery2() { this.model.limmod.limQueryVo.type = "2"; this.queryLimitbody(); }, async onLimmodTrycal() { this.isCheckboxDisabled = true; if (this.$store.state.Status.mode === "display") { this.reviewLimitbody(); } else { this.trialLimitByButton(); } }, show() {}, spanChange() {}, handlerChange(e, type) { let curval; let yes = this.transfer.find(i => i.label == "是").value; let no = this.transfer.find(i => i.label == "否").value; if (type == "2") { curval = this.model.limmod.limpts.sfzsqyw; } else { curval = this.model.limmod.limpts.sffgsyw; } if (curval == yes) { this.$message({ type: "warning", message: "是否转授权和是否分公司业务不能够同时为是" }); if (type == "2") this.model.limmod.limpts.sffgsyw = no; else this.model.limmod.limpts.sfzsqyw = no; } } }, created() {} }; </script> <style scoped lang="less"> .el-select { border: none; } </style>