Commit d6f0dc82 by wufan

Merge remote-tracking branch 'origin/development-202206' into development-202206

parents 0f3a3ca4 d1ce780e
import Utils from "~/utils"
/**
* Gitadd Check规则
*/
let checkObj = {
"gidgrp.bec.pts.extkey" :null,
"gidgrp.blk.gidtxt" :null,
"gidgrp.avc.pts.extkey" :null,
"gidgrp.rec.tenref" :null,
"gidgrp.rec.giduil" :null,
"gidgrp.rec.jurlaws20" :null,
"gitp.aamp.aammod.addamtflg" :null,
"gidgrp.ben.pts.adrblk" :null,
"gidgrp.blk.atxexptxt" :null,
"gidgrp.atb.pts.adrblk" :null,
"gidgrp.con.pts.adrblk" :null,
"gitp.liatxtcmodflg" :null,
"gidgrp.rec.orcamt" :null,
"gidgrp.apc.namelc" :null,
"gidgrp.ben.adrelc" :null,
"gitp.usr.extkey" :null,
"gitp.covgodsrvcmodflg" :null,
"gidgrp.avc.pts.nam" :null,
"gidgrp.rec.exptyp" :null,
"gidgrp.ctr.pts.extkey" :null,
"gidgrp.cnr.pts.extkey" :null,
"gidgrp.rec.liadat" :null,
"gitp.gidtxtmodflgc" :null,
"gidgrp.ctc.adrelc" :null,
"gidgrp.blk.orcplcc" :null,
"gidgrp.rec.sndto" :null,
"gidgrp.con.adrelc" :null,
"gidgrp.ctc.pts.extkey" :null,
"gidgrp.blk.liatxtc" :null,
"gidgrp.blk.feetxtc" :null,
"gitp.exptxtmodflg" :null,
"gidgrp.rec.gtxinr" :null,
"gidgrp.rec.vrfdat" :null,
"gidgrp.rec.tendat" :null,
"gidgrp.rec.purpos" :null,
"gidgrp.gidcxm.cxmflg" :null,
"gidgrp.rec.autrnwflg" :null,
"gidgrp.ctc.namelc" :null,
"gidgrp.rec.legfrm" :null,
"gidgrp.rec.tenclsdatc" :null,
"gidgrp.apl.pts.extkey" :null,
"gidgrp.apl.namelc" :null,
"gidgrp.rec.accc" :null,
"gidgrp.rec.liatypc" :null,
"gidgrp.rec.autrnwflgc" :null,
"gidgrp.blk.orcplc" :null,
"gidgrp.atb.adrelc" :null,
"gidgrp.rec.revflg" :null,
"gidgrp.blk.addinf" :null,
"gidgrp.cnr.namelc" :null,
"gidgrp.iss.adrelc" :null,
"gidgrp.rec.orcrefc" :null,
"gidgrp.adv.namelc" :null,
"gidgrp.rec.partcon" :null,
"gitp.swiftflg" :null,
"gidgrp.bdb.pts.extkey" :null,
"gidgrp.iss.pts.adrblk" :null,
"gidgrp.blk.atxpreperc" :null,
"gidgrp.apc.pts.adrblk" :null,
"gidgrp.adv.pts.adrblk" :null,
"gidgrp.rec.orcref" :null,
"gidgrp.bec.pts.adrblk" :null,
"gidgrp.ctr.namelc" :null,
"gidgrp.blk.atxpreper" :null,
"gidgrp.rec.orcdatc" :null,
"gidgrp.rec.orcamtc" :null,
"gidgrp.con.pts.extkey" :null,
"gidgrp.rec.tenclsdat" :null,
"gidgrp.blk.gtxgidtxtc" :null,
"gidgrp.rec.tendatc" :null,
"gidgrp.cbs.cnf.amt" :null,
"gidgrp.blk.gtxgidtxt" :null,
"gidgrp.rec.cnfdet" :null,
"gidgrp.bdb.adrelc" :null,
"gidgrp.ctr.adrelc" :null,
"gidgrp.blk.covgodsrv" :null,
"gidgrp.blk.atxcovgodsrv" :null,
"gidgrp.cnr.adrelc" :null,
"gidgrp.con.namelc" :null,
"gitp.covgodsrvmodflg" :null,
"gidgrp.rec.orcrat" :null,
"gidgrp.rec.jurlawc" :null,
"gidgrp.ben.namelc" :null,
"gidgrp.ghd.aplnam" :null,
"gidgrp.rec.expflg" :null,
"gidgrp.bec.adrelc" :null,
"gidgrp.cnr.pts.adrblk" :null,
"gidgrp.ctr.pts.adrblk" :null,
"gidgrp.rec.jurplcc" :null,
"gidgrp.cbs.mac.amt" :null,
"gidgrp.atb.namelc" :null,
"gidgrp.rec.orddat" :null,
"gidgrp.ctc.pts.adrblk" :null,
"gidgrp.blk.covgodsrvc" :null,
"gidgrp.rec.orcdat" :null,
"gidgrp.apc.adrelc" :null,
"gidgrp.rec.stacty" :null,
"gidgrp.blk.gidtxtc" :null,
"gidgrp.blk.exptxt" :null,
"gidgrp.atb.pts.extkey" :null,
"gidgrp.blk.addamtcovc" :null,
"gidgrp.blk.atxliatxtc" :null,
"gidgrp.blk.addinfc" :null,
"gidgrp.rec.jurplc" :null,
"gidgrp.rec.mannum" :null,
"gidgrp.blk.apprul" :null,
"gidgrp.apl.pts.adrblk" :null,
"gidgrp.bec.namelc" :null,
"gidgrp.rec.orcratc" :null,
"gidgrp.rec.jurlaw" :null,
"gidgrp.rec.acc" :null,
"gidgrp.rec.inudat" :null,
"mtabut.coninf.conexedat" :null,
"gitp.prepercmodflg" :null,
"gidgrp.iss.pts.ref" :null,
"gidgrp.cbs.mac2.amt" :null,
"gitp.gidtxtmodflg" :null,
"gidgrp.blk.feetxt" :null,
"gitp.prepermodflg" :null,
"gidgrp.bdb.namelc" :null,
"gidgrp.blk.preperc" :null,
"gidgrp.rec.tenrefc" :null,
"gidgrp.rec.trmdat" :null,
"gidgrp.blk.preper" :null,
"gidgrp.blk.atxcovgodsrvc" :null,
"gidgrp.apl.adrelc" :null,
"gidgrp.rec.trmdatc" :null,
"gidgrp.adv.adrelc" :null,
"gidgrp.blk.apprultxt" :null,
"gidgrp.apc.pts.extkey" :null,
"gidgrp.iss.namelc" :null,
"gidgrp.adv.pts.extkey" :null,
"gidgrp.iss.pts.extkey" :null,
"gidgrp.ben.pts.extkey" :null,
"gidgrp.bdb.pts.adrblk" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
......@@ -158,6 +158,7 @@ import Gitsel from "./Gitsel"
import Infgid from "./Infgid"
import Gitset from "./Gitset"
import Gitcrq from "./Gitcrq"
import Gitadd from "./Gitadd"
import Infgcd from "./Infgcd"
import Getsel from "./Getsel"
import Getopn from "./Getopn"
......@@ -501,6 +502,7 @@ const BusRouter = [
{ path: 'gitopn', component: Gitopn, name: 'Gitopn', meta: { title: '进口保函开立' } },
{ path: 'gitame', component: Gitame, name: 'Gitame', meta: { title: '进口保函修改' } },
{ path: 'gitsel', component: Gitsel, name: 'Gitsel', meta: { title: '进口保函查询' } },
{ path: 'gitadd', component: Gitadd, name: 'Gitadd', meta: { title: '保函编辑参考号' } },
{ path: 'infgid', component: Infgid, name: 'Infgid', meta: { title: '保函入口交易' } },
{ path: 'gitset', component: Gitset, name: 'Gitset', meta: { title: '进口保函赔付' } },
{ path: 'gitcrq', component: Gitcrq, name: 'Gitcrq', meta: { title: '进口保函索赔登记' } },
......
<template>
<div class="eibs">
<c-row>
<c-col :span="24">
<c-col :span="12" style="padding-right: 20px;">
<c-col :span="24">
<c-col :span="12">
<el-form-item
label="附加金额"
prop="gidgrp.cbs.mac2.cur"
>
<c-input
disabled
v-model="model.gidgrp.cbs.mac2.cur"
maxlength="3"
placeholder="请输入附加金额"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label-width="5px" prop="gidgrp.cbs.opc2.amt">
<c-input
v-model="model.gidgrp.cbs.mac2.amt"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="附加金额余额" prop="gidgrp.cbs.opc2.cur">
<c-input
disabled
v-model="model.gidgrp.cbs.opc2.cur"
maxlength="3"
placeholder="请输入附加金额余额"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label-width="5px" prop="gidgrp.cbs.opc2.amt">
<c-input
disabled
v-model="model.gidgrp.cbs.opc2.amt"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
<c-col :span="12" style="padding-left: 20px;">
<c-col :span="24">
<el-form-item label="39C场" prop="gidgrp.blk.addamtcovc">
<c-input
type="textarea"
:rows="4"
v-model="model.gidgrp.blk.addamtcovc"
maxlength="780"
show-word-limit
placeholder="请输入39C场"
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
</c-row>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitadd/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eibs-tab" >
<el-collapse v-model="activeNames" @change="handleChange">
<el-collapse-item title="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitadd/Event";
import Coninfp from "~/views/Public/Coninfp";
export default {
components: {
"m-coninfp": Coninfp,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
activeNames: ["coninfp"],
};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eibs">
<c-row>
<c-col :span="24">
<c-col :span="12" style="padding-right: 20px;">
<c-col :span="24">
<el-form-item label="">
接收确认说明:
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="确认指示" prop="gidgrp.rec.reccnfdet">
<c-select
disabled
v-model="model.gidgrp.rec.reccnfdet"
style="width: 100%"
placeholder="请选择确认指示"
>
<el-option
v-for="item in codes.cnfsta"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="确认行参考号" prop="gidgrp.cnr.pts.ref">
<c-input
disabled
v-model="model.gidgrp.cnr.pts.ref"
maxlength="16"
placeholder="请输入确认行参考号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="确认行" prop="gidgrp.cnr.pts.extkey">
<c-fullbox>
<c-input
disabled
v-model="model.gidgrp.cnr.pts.extkey"
maxlength="16"
placeholder="请输入"
@keyup.enter.native="
showGridPromptDialog(`gidgrp.cnr.pts.extkey`)
"
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
>
<i class="el-icon-info"></i>
</c-button>
<c-button
disabled
size="small"
type="primary"
@click="onCnrpDet"
>
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地址名称" prop="gidgrp.cnr.pts.adrblk">
<c-input
disabled
type="textarea"
v-model="model.gidgrp.cnr.pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入地址名称"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12" style="padding-left: 20px;">
<c-col :span="24">
<el-form-item label="">
支出确认说明:
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="确认指示" prop="gidgrp.rec.cnfdet">
<c-select
v-model="model.gidgrp.rec.cnfdet"
style="width: 100%"
placeholder="请选择确认指示"
>
<el-option
v-for="item in codes.cnfdet"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="确认行参考号 " prop="gidgrp.con.pts.ref">
<c-input
disabled
v-model="model.gidgrp.con.pts.ref"
maxlength="16"
placeholder="请输入确认行参考号 "
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="确认行" prop="gidgrp.con.pts.extkey">
<c-fullbox>
<c-input
disabled
v-model="model.gidgrp.con.pts.extkey"
maxlength="16"
placeholder="请输入"
@keyup.enter.native="
showGridPromptDialog(`gidgrp.con.pts.extkey`)
"
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
>
<i class="el-icon-info"></i>
</c-button>
<c-button
disabled
size="small"
type="primary"
@click="onConpDet"
>
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地址名称" prop="gidgrp.con.dbfadrblkcn">
<c-input
disabled
type="textarea"
v-model="model.gidgrp.con.dbfadrblkcn"
maxlength="35"
show-word-limit
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
</c-row>
<c-row>
<c-col :span="24">
<c-col :span="12" style="padding-right: 20px;">
<c-col :span="24">
<el-form-item v-if="model.gidgrp.rec.purposin == 'ISSU'" label="">
我行确认详细信息:
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="model.gidgrp.rec.purposin == 'ISSU'"
label="确认状态 "
prop="gidgrp.rec.cnfsta"
>
<c-select
v-model="model.gidgrp.rec.cnfsta"
style="width: 100%"
placeholder="请选择确认状态 "
>
<el-option
v-for="item in codes.cnfsta"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="10">
<el-form-item
v-if="model.gidgrp.rec.purposin == 'ISSU'"
label="确认金额"
prop="gidgrp.cbs.cnf.cur"
>
<c-input
disabled
v-model="model.gidgrp.cbs.cnf.cur"
maxlength="3"
placeholder="请输入确认金额"
></c-input>
</el-form-item>
</c-col>
<c-col v-if="model.gidgrp.rec.purposin == 'ISSU'" :span="4">
<el-form-item label-width="5px" prop="gidgrp.cbs.cnf.amt">
<c-input
v-model="model.gidgrp.cbs.cnf.amt"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
<c-col
v-if="model.gidgrp.rec.purposin == 'ISSU'"
:span="2"
style="margin-left: 20px"
>
<span>or</span>
</c-col>
<c-col v-if="model.gidgrp.rec.purposin == 'ISSU'" :span="4">
<el-form-item label-width="5px" prop="gidgrp.rec.partcon">
<c-input
v-model="model.gidgrp.rec.partcon"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
<c-col
v-if="model.gidgrp.rec.purposin == 'ISSU'"
:span="2"
style="margin-left: 20px"
>
<span>%</span>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item
v-if="model.gidgrp.rec.purposin == 'ISSU'"
label="确认日期"
prop="gidgrp.rec.cnfdat"
>
<c-date-picker
type="date"
v-model="model.gidgrp.rec.cnfdat"
style="width: 100%"
placeholder="请选择确认日期"
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12" style="padding-left: 20px;"> </c-col>
</c-col>
</c-row>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitadd/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eibs">
<c-row>
<c-col :span="24">
<c-col :span="18">
<c-col :span="24">
<el-form-item
v-if="model.gitp.gidtxtmodflg == ''"
label="保函文本可变因素"
prop="gidgrp.blk.gidtxt"
>
<!-- <c-input-xml
:disabled="model.gitp.gidtxtmodflg == ''"
type="textarea"
:maxRows="15"
:model="model.gidgrp.blk.gidtxt"
maxlength="65"
show-word-limit
@change="setTxt1"
placeholder="请输入保函文本可变因素"
></c-input-xml> -->
<c-xml-format-editor
:model="model.gidgrp.blk.gidtxt"
:disabled="model.gitp.gidtxtmodflg == ''"
placeholder="请输入保函文本可变因素"
@blur="setTxt1"
></c-xml-format-editor>
</el-form-item>
<el-form-item
v-if="model.gitp.gidtxtmodflg == 'X'"
label="保函文本可变因素"
prop="gidgrp.blk.gtxgidtxt"
>
<!-- <c-input-xml
type="textarea"
:model="model.gidgrp.blk.gtxgidtxt"
:maxRows="15"
maxlength="65"
show-word-limit
@change="setTxt2"
placeholder="请输入保函文本可变因素"
></c-input-xml> -->
<c-xml-format-editor
:model="model.gidgrp.blk.gtxgidtxt"
placeholder="请输入保函文本可变因素"
@blur="setTxt2"
></c-xml-format-editor>
</el-form-item>
</c-col>
</c-col>
<c-col :span="6">
<c-col :span="24">
<c-checkbox
v-model="model.gitp.gidtxtmodflg"
style="margin: 0 0 0 10px"
class="checkbox-left"
@change="modflgChange"
>修改保函文本</c-checkbox
>
</c-col>
<c-col :span="24">
<c-checkbox
v-model="model.gitp.chkgidtxt"
style="margin: 0 0 0 10px"
class="checkbox-left"
>允许</c-checkbox
>
</c-col>
<c-col :span="24">
<c-button
:disabled="model.gitp.gidtxtmodflg == ''"
size="small"
type="primary"
style="margin: 5px 0 0 10px; width: 50%"
@click="onGitpButdif"
>
查看系统文本
</c-button>
</c-col>
<c-col :span="24">
<c-button
size="small"
type="primary"
style="margin: 5px 0 0 10px; width: 50%"
@click="onGitpButdifhis"
>
查看历史文本
</c-button>
</c-col>
<template v-if="model.gitp.gidtxtmodflg == 'X'">
<c-col :span="24">
<c-button
size="small"
type="primary"
style="margin: 5px 0 0 10px; width: 50%"
@click="onGitpShwgidtxt"
>
显示文本
</c-button>
</c-col>
</template>
<c-col :span="24">
<c-input
style="margin: 5px 0 0 10px; width: 50%"
v-model="model.gidgrp.rec.ownref"
maxlength="16"
placeholder="请输入"
></c-input>
</c-col>
<c-col :span="24">
<c-button
disabled
style="margin: 5px 0 0 10px"
size="small"
type="primary"
@click="onGitpButgetref"
>
获取
</c-button>
</c-col>
<c-col :span="24">
<c-button
:disabled="model.gitp.gidtxtmodflg == ''"
size="small"
type="primary"
style="margin: 5px 0 0 10px; width: 50%"
@click="onGitpGidtxtmod"
>
修改中文保函文本
</c-button>
</c-col>
</c-col>
</c-col>
</c-row>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitadd/Event";
import InputXml from "~/components/InputXml";
export default {
components: { InputXml },
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: {async setTxt1(val, fn){
// this.executeDefault("gitp.gidgrp.blk.gidtxt").then((res) => {
// if ((res.respCode == SUCCESS)) {
// Utils.copyValueFromVO(this.model, res.data);
// }
// });
this.executeRule("gitp.gidgrp.blk.gidtxt").then((res) => {
if ((res.respCode == SUCCESS)) {
this.updateModel(res.data);
this.$nextTick(() => fn())
}
});
},
async setTxt2(val, fn){
// this.executeDefault("gitp.gidgrp.blk.gtxgidtxt").then((res) => {
// if ((res.respCode == SUCCESS)) {
// Utils.copyValueFromVO(this.model, res.data);
// }
// });
this.executeRule("gitp.gidgrp.blk.gtxgidtxt").then((res) => {
if ((res.respCode == SUCCESS)) {
this.updateModel(res.data);
this.$nextTick(() => fn())
}
});
},
...Event ,
async modflgChange() {
const rtnmsg = await this.executeRule("gitp.gidtxtmodflg");
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
}
},},
created: function () {},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eibs">
<c-row>
<c-col :span="24">
<c-col :span="16">
<c-col :span="24">
<el-form-item
v-if="model.gitp.gidtxtmodflgc == ''"
label="保函文本可变因素"
prop="gidgrp.blk.gtxgidtxt"
>
<c-input-xml
:disabled="model.gitp.gidtxtmodflgc == ''"
type="textarea"
:maxRows="14"
:model="model.gidgrp.blk.gtxgidtxtc"
maxlength="32500"
show-word-limit
placeholder="请输入保函文本可变因素"
></c-input-xml>
</el-form-item>
<el-form-item
v-if="model.gitp.gidtxtmodflgc == 'X'"
label="保函文本可变因素 - 抵消保函文本"
prop="gidgrp.blk.gtxgidtxtc"
>
<c-input-xml
type="textarea"
:modle="model.gidgrp.blk.gtxgidtxtc"
:maxRows="16"
maxlength="32500"
show-word-limit
placeholder="请输入保函文本可变因素 - 抵消保函文本"
></c-input-xml>
</el-form-item>
</c-col>
</c-col>
<c-col :span="6">
<c-col :span="24">
<el-form-item label-width="0px" prop="gidgrp.rec.ownref">
<c-input
style="margin: 0 0 0 10px; width: 50%"
v-model="model.gidgrp.rec.ownref"
maxlength="16"
placeholder="请输入"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-button
style="margin: 5px 0 5px 10px"
size="small"
type="primary"
@click="onGitpButgetref"
>
获取
</c-button>
</c-col>
<c-col :span="24">
<c-checkbox
v-model="model.gitp.gidtxtmodflgc"
style="margin: 0 0 0 10px;float:left;"
>修改保函文本</c-checkbox
>
</c-col>
<c-col :span="24">
<c-checkbox
v-model="model.gitp.chkgidtxtc"
style="margin: 0 0 0 10px;float:left;"
>允许</c-checkbox
>
</c-col>
<c-col :span="24">
<c-button
disabled
size="small"
type="primary"
style="margin: 5px 0 0 10px; width: 50%"
@click="onGitpButdifc"
>
查看系统文本
</c-button>
</c-col>
<c-col :span="24">
<c-button
disabled
size="small"
type="primary"
style="margin: 5px 0 0 10px; width: 50%"
@click="onGitpButdifhisc"
>
查看历史文本
</c-button>
</c-col>
<template v-if="model.gitp.gidtxtmodflgc == 'X'">
<c-col :span="24">
<c-button
size="small"
type="primary"
style="margin: 5px 0 0 10px; width: 50%"
@click="onGitpShwgidtxtc"
>
显示文本
</c-button>
</c-col>
</template>
<c-col :span="24">
<c-button
disabled
size="small"
type="primary"
style="margin: 5px 0 0 10px; width: 50%"
@click="onGitpGidtxtmodc"
>
修改中文保函文本
</c-button>
</c-col>
</c-col>
</c-col>
</c-row>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import IStreamInput from "~/components/IStreamInput";
import Event from "~/model/Gitadd/Event";
export default {
components: { IStreamInput },
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eibs">
<c-col :span="12" style="padding-right: 20px;">
<c-col :span="24">
<el-form-item label="是否SWIFT格式" prop="gitp.swiftflg">
<c-select
v-model="model.gitp.swiftflg"
style="width: 100%"
placeholder="请选择是否SWIFT格式"
:code="codes.swiftflg"
@change="eventFunction('gitp.swiftflg')"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="model.gidgrp.cbs.max.cur == 'CNY'? 20 : 24">
<el-form-item label="对外担保类型" prop="gidgrp.rec.cfaguatyp">
<c-select
:disabled="
model.gidgrp.rec.fingua == 'N' || model.gidgrp.rec.fingua == ''
"
v-model="model.gidgrp.rec.cfaguatyp"
:style="model.gidgrp.cbs.max.cur == 'CNY'? 'width: 90%' :'width: 100%'"
placeholder="请选择对外担保类型"
:code="codes.cfaguatyp"
@change="cfaguatypChange"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="4" class="centerLable" v-if="model.gidgrp.cbs.max.cur == 'CNY'">
<c-checkbox disabled v-model="model.gidgrp.rec.cmtflg"
>跨境人民币保函</c-checkbox
>
</c-col>
</c-col>
</c-col>
<c-col :span="12" style="padding-left: 20px;">
<c-col :span="24">
<el-form-item label="是否对外担保" prop="gidgrp.rec.fingua">
<c-select
v-model="model.gidgrp.rec.fingua"
style="width: 100%"
placeholder="请选择是否对外担保"
:code="codes.fingua"
@change="eventFunction('gidgrp.rec.fingua')"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitadd/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
computed: {},
methods: { ...Event,
async cfaguatypChange(){
if(this.model.gidgrp.rec.fingua=="Y" && this.model.cfagit.cfaflg=="1"){
//选择对外担保时,且对外担保数据采集标签页数据采集标志为'新增'时,担保类型改变,td切换到对外担保-签约信息1标签页时会触发tabClick事件,影响签约信息1页面数据。
//UI合并页面后,需要手动加tabClick切换标签页事件
let rtnmsg = await this.executeRule("cfagit.recp.conp");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data);
}
}
},
},
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange">
<el-collapse-item title="基本信息" name="ovwp1">
<m-ovwp1 :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="当事人描述" name="ptyp">
<m-ptyp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="演示/交付" name="preperp" v-if="model.gitp.swiftflg == 'Y'">
<m-preperp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="详细信息" name="detp">
<m-detp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="保函文本" name="gidtxtp">
<m-gidtxtp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="Risk" name="rskpan">
<m-rskpan :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item
title="确认详细信息"
name="confp"
v-if="model.gidgrp.rec.legfrm == 'STBY'"
>
<m-confp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="Seq C : 基本信息" name="ovwpc" v-if="
model.gidgrp.rec.purpos == 'ISCO' ||
model.gidgrp.rec.purpos == 'ICCO'
">
<m-ovwpc :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="Seq C : 当事人描述" name="ptypc" v-if="
model.gidgrp.rec.purpos == 'ISCO' ||
model.gidgrp.rec.purpos == 'ICCO'
">
<m-ptypc :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="Seq C : 演示/交付" name="preperpc" v-if="
model.gidgrp.rec.purpos == 'ISCO' ||
model.gidgrp.rec.purpos == 'ICCO'
">
<m-preperpc :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="Seq C : 详情" name="detpc" v-if="
model.gidgrp.rec.purpos == 'ISCO' ||
model.gidgrp.rec.purpos == 'ICCO'
">
<m-detpc :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="Seq C : 保函文本" name="gidtxtpc" v-if="
model.gidgrp.rec.purpos == 'ISCO' ||
model.gidgrp.rec.purpos == 'ICCO'
">
<m-gidtxtpc :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="Seq C : 附加金额" name="aacp" v-if="model.gitp.aacp.aacmod.addamtflg == 'X'">
<m-aacp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="开立方式" name="opnp">
<m-opnp :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitadd/Event";
import Utils from "~/utils";
import Ovwp1 from "./Ovwp1";
import Opnp from "./Opnp";
import Ptyp from "./Ptyp";
import Preperp from "./Preperp";
import Detp from "./Detp";
import Gidtxtp from "./Gidtxtp";
import Confp from "./Confp";
import Ovwpc from "./Ovwpc";
import Ptypc from "./Ptypc";
import Preperpc from "./Preperpc";
import Detpc from "./Detpc";
import Gidtxtpc from "./Gidtxtpc";
import Aacp from "./Aacp";
import Rskpan from "./Rskpan";
const tabNameToRulePathMapping = {
"conp": "cfagit.recp.conp",
"voup": "cnybop.voup",
"cfap": "cfagit.cfap",
"gidtxtp": "gitp.gidtxtp",
"ptypc": "gitp.ptypc",
"detp": "gitp.detp",
}
export default {
name: "Opnp",
components: {
"m-opnp": Opnp,
"m-ovwp1": Ovwp1,
"m-ptyp": Ptyp,
"m-preperp": Preperp,
"m-detp": Detp,
"m-gidtxtp": Gidtxtp,
"m-confp": Confp,
"m-ovwpc": Ovwpc,
"m-ptypc": Ptypc,
"m-preperpc": Preperpc,
"m-detpc": Detpc,
"m-gidtxtpc": Gidtxtpc,
"m-aacp": Aacp,
"m-rskpan": Rskpan,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
activeNames: ["ovwp1"],
};
},
computed: {
},
methods: {
...Event,
handleChange(names){
// console.log(names);//激活的(展开的)面板的name数组集合
if (this.isInDisplay) {
return
}
const arr = []
for (let i = 0; i < names.length; i++) {
const n = names[i];
const path = tabNameToRulePathMapping[n]//取出激活/展开面板name对应的rulePath
if (path) {
arr.push(path)
}
}
// let rulePath = arr[arr.length-1]//取最后一个展开的面板的rulePath
let rulePath = arr.join(",");//把arr数组加入逗号分割,变成字符串
// if (name === "conp") {
// rulePath = "cfagit.recp.conp";
// }
// if (name === "voup") {
// rulePath = "cnybop.voup";
// }
// if (name === "cfap") {
// rulePath = "cfagit.cfap";
// }
// if (name === "dclpp") {
// rulePath = "Ebbp.dclpp";
// }
// if (name === "gidtxtp"){
// rulePath = "gitp.gidtxtp"
// }
// if (name === "ptypc"){
// rulePath = "gitp.ptypc"
// }
// if(name === "detp"){
// rulePath = "gitp.detp"
// }
if (!!rulePath) {//rulePath不为空串
this.executeRule(rulePath).then((res) => {
if (res.respCode == SUCCESS) {
this.updateModel(res.data);
}
});
}
},
},
created: function () {},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eibs">
<!-- <c-row> -->
<c-col :span="24">
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<c-col :span="16">
<c-form-item label="保函文本交付" prop="gidgrp.rec.delori">
<c-select
:disabled="
model.gidgrp.rec.purpos == 'ICCO' ||
model.gidgrp.rec.purpos == 'ISCO'
"
v-model="model.gidgrp.rec.delori"
style="width: 100%"
placeholder="请选择保函文本交付"
>
<el-option
v-for="item in codes.delori1"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</c-form-item>
</c-col>
<c-col :span="8">
<el-form-item label-width="5px" prop="gidgrp.rec.deloritxt">
<c-input
:disabled="
model.gidgrp.rec.delori != 'COUR' &&
model.gidgrp.rec.delori != 'OTHR'
"
v-model="model.gidgrp.rec.deloritxt"
maxlength="35"
placeholder="请输入保函文本交付"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="发送保函文本" prop="gidgrp.rec.sndto">
<c-select
:disabled="
model.gidgrp.rec.purpos == 'ICCO' ||
model.gidgrp.rec.purpos == 'ISCO'
"
v-model="model.gidgrp.rec.sndto"
style="width: 100%"
placeholder="请选择发送保函文本"
:code="getValues('gidgrp.rec.sndto')"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交付收款人" prop="gidgrp.rec.delto">
<c-select
:disabled="
model.gidgrp.rec.purpos == 'ICCO' ||
model.gidgrp.rec.purpos == 'ISCO'
"
v-model="model.gidgrp.rec.delto"
style="width: 100%"
placeholder="请选择交付收款人"
:code="getValues('gidgrp.rec.delto','delto1')"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交付地址" prop="gidgrp.blk.deltoadr">
<c-input
:disabled="
model.gidgrp.rec.delto == '' && model.gidgrp.rec.purpos != ''
"
rows="4"
type="textarea"
v-model="model.gidgrp.blk.deltoadr"
maxlength="210"
show-word-limit
placeholder="请输入交付地址"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="转让条件" prop="gidgrp.blk.trfcond">
<c-input
disabled
type="textarea"
rows="4"
v-model="model.gidgrp.blk.trfcond"
maxlength="6630"
show-word-limit
placeholder="请输入转让条件"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<el-form-item label="费用承担人" prop="gidgrp.rec.chato">
<c-select
v-model="model.gidgrp.rec.chato"
style="width: 100%"
placeholder="请选择费用承担人"
:code="codes.gitopn_chato"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="收费">
<c-fullbox>
<template slot="footer">
<c-checkbox v-model="model.gitp.chargi.chkast" class="checkbox-left">允许</c-checkbox>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="收费代码的附加详情" prop="gidgrp.blk.feetxt">
<c-fullbox>
<c-input
type="textarea"
v-model="model.gidgrp.blk.feetxt"
maxlength="210"
show-word-limit
placeholder="请输入收费代码的附加详情"
></c-input>
<template slot="footer">
<!-- @click="onAcctagButtxmsel" -->
<c-button
size="small"
type="primary"
icon="el-icon-more"
@click="onChargiButtxmsel"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="17">
<el-form-item
v-if="model.gitp.prepermodflg == ''"
label="演示说明"
prop="gidgrp.blk.preper"
>
<c-input
disabled
type="textarea"
:rows="7"
v-model="model.gidgrp.blk.preper"
maxlength="6500"
show-word-limit
placeholder="请输入演示说明"
></c-input>
</el-form-item>
<el-form-item
v-if="model.gitp.prepermodflg == 'X'"
label="演示说明"
prop="gidgrp.blk.atxpreper"
>
<c-input
type="textarea"
:rows="6"
v-model="model.gidgrp.blk.atxpreper"
maxlength="6500"
show-word-limit
placeholder="请输入演示说明"
@blur="atxpreperBlur"
></c-input>
</el-form-item>
</c-col>
<c-col :span="7">
<c-checkbox
v-model="model.gitp.prepermodflg"
style="margin: 0 0 0 10px"
class="checkbox-left"
@change="modflgChange"
>是否手工修改保函文本</c-checkbox
>
<c-checkbox
v-model="model.gitp.chkpreper"
class="checkbox-left"
style="margin: 0 0 0 10px"
>允许</c-checkbox
>
<c-button
disabled
size="small"
type="primary"
style="margin: 5px 0 0 10px; width: 100px;float:left;"
@click="onGitpButdifpreper"
>
查看系统文本
</c-button>
<c-button
disabled
size="small"
style="margin: 5px 0 0 10px; width: 100px;float:left;"
type="primary"
@click="onGitpButdifhispreper"
>
查看历史文本
</c-button>
</c-col>
</c-col>
</c-col>
</c-col>
<!-- </c-row> -->
</div>
</template>
<script>
import _ from "lodash";
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitadd/Event";
import Utils from "~/utils";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: {
...Event,
async atxpreperBlur() {
let rtnmsg = await this.executeRule("gidgrp.blk.atxpreper");
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
}
},
async modflgChange() {
let rtnmsg = await this.executeRule("gitp.prepermodflg");
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
}
},
},
created: function () {},
};
</script>
<style scoped>
</style>
\ No newline at end of file
<template>
<div class="eibs">
<c-row>
<c-col :span="24">
<c-col :span="12" style="padding-right: 20px;">
<c-col :span="24">
<c-col :span="12">
<el-form-item
label="保函文本交付"
prop="gidgrp.rec.deloric"
>
<c-select
v-model="model.gidgrp.rec.deloric"
style="width: 100%"
placeholder="请选择保函文本交付"
:code="codes.deloric"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label-width="5px" prop="gidgrp.rec.deloritxtc">
<c-input
:disabled="
model.gidgrp.rec.deloric != 'OTHR' &&
model.gidgrp.rec.deloric != 'COUR'
"
v-model="model.gidgrp.rec.deloritxtc"
maxlength="35"
placeholder="请输入保函文本交付"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item
label="交付收款人"
prop="gidgrp.rec.deltoc"
>
<c-select
v-model="model.gidgrp.rec.deltoc"
style="width: 100%"
placeholder="请选择交付收款人"
>
<el-option
v-for="item in codes.deltoc"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="交付地址"
prop="gidgrp.blk.deltoadrc"
>
<c-input
:disabled="model.gidgrp.rec.deltoc != 'OTHR'"
type="textarea"
rows="4"
v-model="model.gidgrp.blk.deltoadrc"
maxlength="210"
show-word-limit
placeholder="请输入交付地址"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="转让条件"
prop="gidgrp.blk.trfcondc"
>
<c-input
disabled
rows="5"
type="textarea"
v-model="model.gidgrp.blk.trfcondc"
maxlength="780"
show-word-limit
placeholder="请输入转让条件"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12" style="padding-left: 20px;">
<c-col :span="24">
<c-col :span="17">
<el-form-item
label="收费代码的附加详情"
prop="gidgrp.blk.feetxtc"
>
<c-input
rows="4"
type="textarea"
v-model="model.gidgrp.blk.feetxtc"
maxlength="210"
show-word-limit
placeholder="请输入收费代码的附加详情"
></c-input>
</el-form-item>
</c-col>
<c-col :span="7">
<c-button
style="margin: 0 0 0 10px"
size="small"
type="primary"
icon="el-icon-more"
@click="onChargicButtxmsel"
>
</c-button>
<c-checkbox
style="margin: 0 0 0 10px"
v-model="model.gitp.chargic.chkast"
>允许</c-checkbox
>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="17">
<el-form-item
label="演示说明 "
prop="gidgrp.blk.preperc"
>
<c-input
:disabled="model.gitp.prepercmodflg == ''"
rows="6"
type="textarea"
v-model="model.gidgrp.blk.preperc"
maxlength="6500"
show-word-limit
placeholder="请输入演示说明 "
></c-input>
</el-form-item>
</c-col>
<c-col :span="7">
<c-checkbox
v-model="model.gitp.prepercmodflg"
style="margin: 0 0 0 10px;float:left"
>是否手工修改保函文本</c-checkbox
>
<c-checkbox
v-model="model.gitp.chkpreperc"
style="margin: 0 0 0 10px;float:left"
>允许</c-checkbox
>
<c-button
disabled
size="small"
type="primary"
style="margin: 5px 0 0 10px; width: 98px"
@click="onGitpButdifpreperc"
>
查看系统文本
</c-button>
<c-button
disabled
size="small"
style="margin: 5px 0 0 10px; width: 98px"
type="primary"
@click="onGitpButdifhispreperc"
>
查看历史文本
</c-button>
</c-col>
</c-col>
</c-col>
</c-col>
</c-row>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitadd/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eibs">
<c-row>
<c-col :span="24">
<c-col :span="12" style="padding-right: 20px;">
<c-col :span="24">
<c-col :span="12">
<el-form-item
label="保函文本交付"
prop="gidgrp.rec.deloric"
>
<c-select
v-model="model.gidgrp.rec.deloric"
style="width: 100%"
placeholder="请选择保函文本交付"
:code="codes.deloric"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label-width="5px" prop="gidgrp.rec.deloritxtc">
<c-input
:disabled="
model.gidgrp.rec.deloric != 'OTHR' &&
model.gidgrp.rec.deloric != 'COUR'
"
v-model="model.gidgrp.rec.deloritxtc"
maxlength="35"
placeholder="请输入保函文本交付"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item
label="交付收款人"
prop="gidgrp.rec.deltoc"
>
<c-select
v-model="model.gidgrp.rec.deltoc"
style="width: 100%"
placeholder="请选择交付收款人"
>
<el-option
v-for="item in codes.deltoc"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="交付地址"
prop="gidgrp.blk.deltoadrc"
>
<c-input
:disabled="model.gidgrp.rec.deltoc != 'OTHR'"
type="textarea"
rows="4"
v-model="model.gidgrp.blk.deltoadrc"
maxlength="210"
show-word-limit
placeholder="请输入交付地址"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="转让条件"
prop="gidgrp.blk.trfcondc"
>
<c-input
disabled
rows="5"
type="textarea"
v-model="model.gidgrp.blk.trfcondc"
maxlength="780"
show-word-limit
placeholder="请输入转让条件"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12" style="padding-left: 20px;">
<c-col :span="24">
<c-col :span="17">
<el-form-item
label="收费代码的附加详情"
prop="gidgrp.blk.feetxtc"
>
<c-input
rows="4"
type="textarea"
v-model="model.gidgrp.blk.feetxtc"
maxlength="210"
show-word-limit
placeholder="请输入收费代码的附加详情"
></c-input>
</el-form-item>
</c-col>
<c-col :span="7">
<c-button
style="margin: 0 0 0 10px"
size="small"
type="primary"
icon="el-icon-more"
@click="onChargicButtxmsel"
>
</c-button>
<c-checkbox
style="margin: 0 0 0 10px"
v-model="model.gitp.chargic.chkast"
>允许</c-checkbox
>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="17">
<el-form-item
label="演示说明 "
prop="gidgrp.blk.preperc"
>
<c-input
:disabled="model.gitp.prepercmodflg == ''"
rows="6"
type="textarea"
v-model="model.gidgrp.blk.preperc"
maxlength="6500"
show-word-limit
placeholder="请输入演示说明 "
></c-input>
</el-form-item>
</c-col>
<c-col :span="7">
<c-checkbox
v-model="model.gitp.prepercmodflg"
style="margin: 0 0 0 10px;float:left"
>是否手工修改保函文本</c-checkbox
>
<c-checkbox
v-model="model.gitp.chkpreperc"
style="margin: 0 0 0 10px;float:left"
>允许</c-checkbox
>
<c-button
disabled
size="small"
type="primary"
style="margin: 5px 0 0 10px; width: 98px"
@click="onGitpButdifpreperc"
>
查看系统文本
</c-button>
<c-button
disabled
size="small"
style="margin: 5px 0 0 10px; width: 98px"
type="primary"
@click="onGitpButdifhispreperc"
>
查看历史文本
</c-button>
</c-col>
</c-col>
</c-col>
</c-col>
</c-row>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitadd/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eibs-tab">
<!-- S0000002 : 风险分类 -->
<c-col :span="12">
<el-form-item :label="$t('rskmod.S0000002')" prop="rskmod.fentyp">
<c-select v-model="model.rskmod.fentyp" style="width:100%" :placeholder="$t('other.please_enter')+$t('rskmod.S0000002')">
</c-select>
</el-form-item>
</c-col>
<!-- S0000003 : 分类说明 -->
<c-col :span="12">
<c-form-item :label="$t('rskmod.S0000003')" prop="rskmod.inftxt">
<c-input type="textarea" v-model="model.rskmod.inftxt" maxlength="30" show-word-limit :placeholder="$t('other.please_enter')+$t('rskmod.S0000003')" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.rskmod.cdaflg">{{$t('rskmod.C0000013')}}</c-checkbox>
</c-col>
<!-- S0000005 : 资金用途 -->
<c-col :span="12">
<el-form-item :label="$t('rskmod.S0000005')" prop="rskmod.cda.useofunds">
<c-select v-model="model.rskmod.cda.useofunds" style="width:100%" :placeholder="$t('other.please_enter')+$t('rskmod.S0000005')">
</c-select>
</el-form-item>
</c-col>
<!-- S0000007 : 中资企业境外担保项下 -->
<c-col :span="12">
<el-form-item :label="$t('rskmod.S0000009')" prop="rskmod.cda.cfeogudcurr">
<c-select v-model="model.rskmod.cda.cfeogudcurr" style="width:100%" :placeholder="$t('other.please_enter')+$t('rskmod.S0000009')">
</c-select>
</el-form-item>
</c-col>
<!-- S0000009 : 境内贷款额度币种 -->
<!-- S0000008 : 中资企业境外担保项下 -->
<c-col :span="12">
<c-form-item :label="$t('rskmod.S0000010')" prop="rskmod.cda.cfeogudamount">
<c-input v-model="model.rskmod.cda.cfeogudamount" :placeholder="$t('other.please_enter')+$t('rskmod.S0000010')"></c-input>
</c-form-item>
</c-col>
<!-- S0000010 : 境内贷款额度金额 -->
<!-- S0000006 : 中资企业境外担保项下 -->
<c-col :span="12">
<c-form-item :label="$t('rskmod.S0000011')" prop="rskmod.cda.cfeogudad">
<c-input type="textarea" v-model="model.rskmod.cda.cfeogudad" maxlength="32" show-word-limit :placeholder="$t('other.please_enter')+$t('rskmod.S0000011')" ></c-input>
</c-form-item>
</c-col>
<!-- S0000011 : 贷款业务批准文件号 -->
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Gitadd/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eContainer">
<c-page title="进口保函开立">
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="120px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000001 -->
<el-tab-pane label="业务信息" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="费用/账务" name="engp,setpan,glepan">
<c-content>
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<el-collapse-item title="表外记账" name="engp">
<!-- 表外记账 -->
<m-engp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="结算" name="setpan">
<!-- 结算 -->
<m-setpan :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="会计分录" name="glepan">
<!-- 会计分录 -->
<m-glepan :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</c-content>
</el-tab-pane>
<!--PD000510 -->
<el-tab-pane label="备查/附言" name="addbcb">
<c-content>
<m-addbcb :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="报文/面函" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane label="附件信息" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</c-function-btn>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty"
>
</c-grid-ety-prompt-dialog>
</c-page>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Gitadd from "~/model/Gitadd"
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Gitadd/Check"
import Default from "~/model/Gitadd/Default"
import Pattern from "~/model/Gitadd/Pattern"
import Ovwp from "./Ovwp"
import Ptyp from "./Ptyp"
import Preperp from "./Preperp"
import Detp from "./Detp"
import Gidtxtp from "./Gidtxtp"
import Rskpan from "./Rskpan"
import Ovwpc from "./Ovwpc"
import Ptypc from "./Ptypc"
import Preperpc from "./Preperpc"
import Detpc from "./Detpc"
import Gidtxtpc from "./Gidtxtpc"
import Opnp from "./Opnp"
import Addbcb from "./Addbcb";
import Engp from "~/views/Public/Engp";
import Setpan from "~/views/Public/Setpan";
import Glepan from "~/views/Public/Glepan";
import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre";
export default {
name: "Gitadd",
components:{
"m-ovwp" : Ovwp,
"m-ptyp" : Ptyp,
"m-preperp" : Preperp,
"m-detp" : Detp,
"m-gidtxtp" : Gidtxtp,
"m-docpan" : Docpan,
"m-doctre" : Doctre,
"m-rskpan" : Rskpan,
"m-ovwpc" : Ovwpc,
"m-ptypc" : Ptypc,
"m-preperpc" : Preperpc,
"m-detpc" : Detpc,
"m-gidtxtpc" : Gidtxtpc,
"m-opnp" : Opnp,
"m-addbcb": Addbcb,
"m-engp": Engp,
"m-setpan": Setpan,
"m-glepan": Glepan,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "ovwp",
trnName: "gitadd",
trnType: "",
model: new Gitadd().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {...CodeTable,},
activeNames: ["engp"],
}
},
methods: {
myTabClick(tab) {
this.tabClick(tab);
let name = tab.name;
let rulePath;
if (name === "conp") {
rulePath = "cfagit.recp.conp";
}
if (name === "setpan") {
rulePath = "setmod.setpan";
}
if (name === "cfap") {
rulePath = "cfagit.cfap";
}
if (name === "gidtxtp"){
rulePath = "gitp.gidtxtp"
}
if (name === "ptypc"){
rulePath = "gitp.ptypc"
}
if(name === "detp"){
rulePath = "gitp.detp"
}
if (name === "engp") {
rulePath = "liaall.engp"
}
if (!!rulePath) {
this.executeRule(rulePath).then((res) => {
if (res.respCode == SUCCESS) {
this.updateModel(res.data);
}
});
}
},
},
created:async function(){
console.log("进入gitadd交易");
let rtnmsg = await this.init({})
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
//TODO 处理数据逻辑
if (this.isInDisplay) {
this.restoreDisplay();
}
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
}
}
</script>
<style>
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment