Commit dcb7559d by huangxin

brtset的bug修改,getame的UI改造

parent 482aef16
......@@ -149,5 +149,6 @@ export default {
"trtcre.trtmod.finmod.dinmod.jzllgz" :Utils.defaultFunction,
"dftcre.dfdgrp.rec.matdat" :Utils.defaultFunction,
"dftcre.dfdgrp.rec.stttendat" :Utils.defaultFunction,
"brtp.prechkdat" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -169,7 +169,7 @@ export default {
"brtp.prechkdat":[
{type: "date", required: false, message: "输入正确的日期"}
//{type: "date", required: false, message: "输入正确的日期"}
],
"brdgrp.prb.namelc":[
{type: "string", required: true, message: "必输项"},
......
......@@ -497,6 +497,7 @@
v-model="model.brdgrp.rec.docprbrol"
style="width: 100%"
placeholder="请选择交单行"
@change="selectOrCheckboxRule('brdgrp.rec.docprbrol')"
:code="codes.docprbrol"
>
</c-select>
......
......@@ -654,7 +654,8 @@
v-model="model.brdgrp.rec.docprbrol"
style="width: 100%"
placeholder="请选择交单人"
:code="codes.docprbrol"
@change="selectOrCheckboxRule('brdgrp.rec.docprbrol')"
:code="codes.docprbrol1"
>
</c-select>
</el-form-item>
......@@ -664,6 +665,7 @@
<el-form-item label="交单人地址编码" prop="brdgrp.prb.pts.extkey">
<c-fullbox>
<c-input
:disabled="this.flag4"
v-model="model.brdgrp.prb.pts.extkey"
maxlength="16"
placeholder="请输入地址编码"
......@@ -704,7 +706,7 @@
maxlength="140"
show-word-limit
placeholder="请输入名称地址"
disabled
:disabled="model.brdgrp.prb.pts.extkey!=''"
></c-input>
</el-form-item>
</c-col>
......@@ -738,6 +740,7 @@ export default {
mixins: [commonProcess],
data() {
return {
flag4:true,
flag3: true,
cmtflg: [
{ label: "代理行模式", value: "C" },
......@@ -804,6 +807,26 @@ export default {
}
},
},
"model.brtp.ischktyp": {
immediate: true,
handler(val, oldVal) {
if (this.model.brtp.ischktyp == "N"||this.model.brtp.ischktyp == "") {
this.model.brtp.prechkdat = "";
}
},
},
"model.brdgrp.rec.docprbrol":function(){
if(this.model.brdgrp.rec.docprbrol=='ADV'){
this.flag4=true;
}
else if(this.model.brdgrp.rec.docprbrol=='BEN'){
this.flag4=true;
}
else if(this.model.brdgrp.rec.docprbrol=='PRB'){
this.flag4=false;
}
},
},
};
</script>
......
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange">
<!--el-collapse-item title="备查表" name="addbcb1">
<m-addbcb1 :model="model" :codes="codes" />
</el-collapse-item-->
<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 Utils from "~/utils";
import Event from "~/model/Litcan/Event";
//import Addbcb1 from "~/views/Public/Addbcb1";
import Coninfp from "~/views/Public/Coninfp";
export default {
components: {
"m-coninfp": Coninfp,
//"m-addbcb1": Addbcb1,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
activeNames: ["coninfp"],
};
},
methods: {
...Event,
handleChange(val) {
console.log(val);
},
},
created: function () {},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-row>
<c-col :span="24">
<!-- ==================左边================ -->
<c-col :span="12">
<!-- -->
<c-col :span="24">
<el-form-item label="保函编号" prop="gidgrp.rec.ownref">
<c-fullbox>
<c-input
disabled
v-model="model.gidgrp.rec.ownref"
maxlength="16"
placeholder="请输入保函编号"
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
>
<span
style="
font-size: 15px;
font-family: '宋体';
font-weight: bold;
"
>i</span
>
</c-button>
<el-collapse v-model="activeNames">
<c-button
style="margin: 0 0"
disabled
size="small"
type="primary"
@click="onGitpButgetref"
>
获取
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<el-collapse-item title="开立方式" name="opnp">
<m-opnp :model="model" :codes="codes" />
</el-collapse-item>
<!-- -->
<c-col :span="24">
<el-form-item label="客户经理" prop="gitp.usr.extkey">
<c-fullbox>
<c-input
disabled
v-model="model.gitp.usr.extkey"
maxlength="8"
placeholder="请输入客户经理"
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
>
<span
style="
font-size: 15px;
font-family: '宋体';
font-weight: bold;
"
>i</span
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<el-collapse-item title="保函修改" name="ameps20">
<m-ameps20 :model="model" :codes="codes" />
</el-collapse-item>
<!-- -->
<c-col :span="24">
<c-col :span="12">
<el-form-item label="保函币种和金额" prop="gidgrp.cbs.max.cur">
<c-select
disabled
v-model="model.gidgrp.cbs.max.cur"
style="width: 100%"
placeholder="请选择保函币种"
>
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<el-collapse-item title="修改日期" name="amedat20">
<m-amedat20 :model="model" :codes="codes" />
</el-collapse-item>
<!-- -->
<c-col :span="8">
<c-input
disabled
v-model="model.gidgrp.cbs.max.amt"
style="margin: 0 0 0 10px; width: 80%"
placeholder="请选择保函金额"
></c-input>
</c-col>
<c-col
:span="4"
v-if="model.gitp.swiftflg != 'Y'"
class="centerLable"
>
<c-checkbox v-model="model.gitp.dzbhflg">电子保函标志</c-checkbox>
</c-col>
</c-col>
<el-collapse-item title="概要" name="ovwp1">
<m-ovwp1 :model="model" :codes="codes" />
</el-collapse-item>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="保函余额" prop="gidgrp.cbs.opn1.cur">
<c-input
disabled
v-model="model.gidgrp.cbs.opn1.cur"
style="width: 100%"
placeholder="请输入保函余额"
></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<!-- <el-form-item label="" prop="gidgrp.cbs.opn1.amt"> -->
<c-input
disabled
v-model="model.gidgrp.cbs.opn1.amt"
style="margin: 0 0 0 10px; width: 80%"
placeholder="请输入"
></c-input>
<!-- </el-form-item> -->
</c-col>
<c-col
:span="4"
v-if="model.gitp.swiftflg == 'Y'"
class="centerLable"
>
<c-checkbox v-model="model.gitp.inc760">传入损失</c-checkbox>
</c-col>
</c-col>
<el-collapse-item title="当事人描述" name="ptyp">
<m-ptyp :model="model" :codes="codes" />
</el-collapse-item>
<!-- -->
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg == 'Y'"
label="接收目的 "
prop="gidgrp.rec.purposin"
>
<c-select
disabled
v-model="model.gidgrp.rec.purposin"
style="width: 100%"
:code="codes.purposin"
placeholder="请选择接收目的 "
>
</c-select>
</el-form-item>
</c-col>
<el-collapse-item title="演示/交付" name="preperp" v-if="false">
<m-preperp :model="model" :codes="codes" />
</el-collapse-item>
<!-- -->
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg == 'Y'"
label="支出目的"
prop="gidgrp.rec.purpos"
>
<c-select
disabled
v-model="model.gidgrp.rec.purpos"
:code="codes.purpos"
style="width: 100%"
placeholder="请选择支出目的"
>
</c-select>
</el-form-item>
</c-col>
<el-collapse-item title="详细信息" name="detp">
<m-detp :model="model" :codes="codes" />
</el-collapse-item>
<!-- -->
<c-col :span="24">
<el-form-item label="保函开立类型" prop="gidgrp.rec.hndtyp">
<c-select
disabled
v-model="model.gidgrp.rec.hndtyp"
:code="codes.hndtyp"
style="width: 100%"
placeholder="请选择保函开立类型"
>
</c-select>
</el-form-item>
</c-col>
<el-collapse-item title="保函文本" name="gidtxtp" v-if="model.gitp.swiftflg == 'Y' && model.gitamep.prtflg == 'X'">
<m-gidtxtp :model="model" :codes="codes"/>
</el-collapse-item>
<!-- -->
<c-col :span="24">
<el-form-item label="保函种类" prop="gidgrp.rec.gartyp">
<c-select
v-model="model.gidgrp.rec.gartyp"
style="width: 100%"
placeholder="请选择保函种类"
:code="codes.seagtyp"
>
</c-select>
</el-form-item>
</c-col>
<el-collapse-item title="确认详细信息" name="confp" v-if=" model.gitp.swiftflg == 'Y' && (model.gidgrp.rec.legfrm == 'STBY' || model.gidgrp.rec.purpos == 'ACNF')">
<m-confp :model="model" :codes="codes"/>
</el-collapse-item>
<!-- -->
<c-col :span="24">
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg == 'Y'"
label="保函形式"
prop="gidgrp.rec.legfrm"
>
<c-select
v-model="model.gidgrp.rec.legfrm"
:code="codes.legfrm2"
style="width: 100%"
placeholder="请选择保函形式"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<el-collapse-item title="历史信息" name="amephis">
<m-amephis :model="model" :codes="codes" />
</el-collapse-item>
<!-- -->
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg == 'Y'"
label="需求指示"
prop="gidgrp.rec.demand"
>
<c-select
:code="codes.demand"
v-model="model.gidgrp.rec.demand"
style="width: 100%"
placeholder="请选择需求指示"
>
</c-select>
</el-form-item>
</c-col>
<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>
<!-- -->
<c-col :span="24">
<c-col :span="12">
<el-form-item label="申请条款" prop="gidgrp.blk.apprul">
<c-select
v-model="model.gidgrp.blk.apprul"
style="width: 100%"
placeholder="请选择申请条款"
:code="codes.apprulc1"
>
</c-select>
<!-- -->
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label-width="5px" prop="gidgrp.blk.apprultxt">
<c-input
:disabled="
model.gidgrp.blk.apprul == 'URDG' ||
model.gidgrp.blk.apprul == 'NONE' ||
model.gidgrp.blk.apprul == 'UCPR'
"
v-model="model.gidgrp.blk.apprultxt"
maxlength="35"
placeholder="请输入申请条款"
></c-input>
</el-form-item>
</c-col>
</c-col>
<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>
<!-- -->
<c-col :span="24">
<c-col :span="12">
<el-form-item
label="保函文本语言种类"
prop="gidgrp.rec.giduil"
>
<c-select
disabled
v-model="model.gidgrp.rec.giduil"
style="width: 100%"
placeholder="请选择保函文本语言种类"
:code="codes.uiltxt1"
>
</c-select>
</el-form-item>
</c-col>
<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>
<!-- -->
<c-col :span="12">
<el-form-item label="核销日期" prop="gidgrp.rec.vrfdat">
<c-date-picker
disabled
type="date"
v-model="model.gidgrp.rec.vrfdat"
style="width: 100%"
placeholder="请选择核销日期"
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<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>
<!-- -->
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg == 'N'"
label="特殊保函类型"
prop="gidgrp.ghd.segtyp"
>
<c-select
v-model="model.gidgrp.ghd.segtyp"
style="width: 100%"
placeholder="请选择特殊保函类型"
:code="codes.segtyp"
>
</c-select>
</el-form-item>
</c-col>
<!-- -->
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg == 'N'"
label="是否分离式保函"
prop="gidgrp.rec.fenlishi"
>
<c-select
disabled
v-model="model.gidgrp.rec.fenlishi"
style="width: 100%"
placeholder="请选择是否分离式保函"
:code="codes.fenlishi2"
>
</c-select>
</el-form-item>
</c-col>
<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>
<!-- -->
<c-col :span="24">
<el-form-item label="保函文本格式" prop="gidgrp.rec.gtxinr">
<c-select
v-model="model.gidgrp.rec.gtxinr"
style="width: 100%"
placeholder="请选择保函文本格式"
:code="codes.gtxinr4"
>
</c-select>
</el-form-item>
</c-col>
<el-collapse-item title="Seq C : 附加金额" name="aacp" v-if="model.gitp.swiftflg == 'Y' && (model.trnmod.swiadd.purposame == 'ISCA' || model.trnmod.swiadd.purposame == 'ICCA') && model.trnmod.swiadd.addamtflgc == 'X'">
<m-aacp :model="model" :codes="codes"/>
</el-collapse-item>
<!-- -->
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg == 'N'"
label="客户委托我行日期"
prop="gidgrp.rec.orddat"
>
<c-date-picker
disabled
type="date"
v-model="model.gidgrp.rec.orddat"
style="width: 100%"
placeholder="请选择客户委托我行日期"
></c-date-picker>
</el-form-item>
</c-col>
<el-collapse-item title="Seq C : 附加金额" name="aamp20" v-if="model.gitp.swiftflg == 'Y' && model.trnmod.swiadd.purposame == 'ISUA' && model.trnmod.swiadd.addamtflg == 'X' && model.gidgrp.rec.purpos != 'ISSU' || model.trnmod.swiadd.addamt!=''">
<m-aamp20 :model="model" :codes="codes"/>
</el-collapse-item>
<!-- -->
<c-col :span="24">
<c-col :span="14">
<el-form-item
v-if="model.gitp.swiftflg == 'N'"
label="保函效期"
prop="gidgrp.rec.expdat"
>
<c-date-picker
disabled
type="date"
v-model="model.gidgrp.rec.expdat"
style="width: 90%"
placeholder="请选择保函效期"
></c-date-picker>
</el-form-item>
</c-col>
<!-- -->
<c-col
:span="7"
v-if="model.gitp.swiftflg == 'N'"
class="centerLable"
>
<c-checkbox disabled v-model="model.gidgrp.rec.expflg"
>无限额保函</c-checkbox
>
</c-col>
<c-col
:span="3"
v-if="model.gitp.swiftflg != 'Y'"
class="centerLable"
>
<c-button
size="small"
type="primary"
@click="onGitpWbxs"
disabled
style="color: white"
>
显示文本
</c-button>
</c-col>
</c-col>
<!-- -->
<c-col :span="24">
<c-col :span="14">
<el-form-item
v-if="model.gitp.swiftflg == 'N'"
label="我行责任截至日"
prop="gidgrp.rec.liadat"
>
<c-date-picker
disabled
type="date"
v-model="model.gidgrp.rec.liadat"
style="width: 90%"
placeholder="请选择我行责任截至日"
></c-date-picker>
</el-form-item>
</c-col>
<!-- -->
<c-col
:span="7"
v-if="model.gitp.swiftflg == 'N'"
class="centerLable"
>
<c-checkbox v-model="model.gidgrp.rec.liaflg" disabled
>我行责任敞口</c-checkbox
>
</c-col>
<c-col
:span="3"
v-if="model.gitp.swiftflg != 'Y'"
class="centerLable"
>
<c-button
size="small"
type="primary"
@click="onGitpYptxy"
disabled
>
协议签署
</c-button>
</c-col>
</c-col>
<!-- -->
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg == 'N'"
label="保函生效日"
prop="gidgrp.rec.inudat"
>
<c-date-picker
type="date"
v-model="model.gidgrp.rec.inudat"
style="width: 100%"
placeholder="请选择保函生效日"
></c-date-picker>
</el-form-item>
</c-col>
<!-- -->
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg == 'N'"
label="抵押标志"
prop="gidgrp.rec.guaflg"
>
<c-select
v-model="model.gidgrp.rec.guaflg"
style="width: 100%"
placeholder="请选择抵押标志"
:code="codes.guaflg"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg != 'Y'"
label="是否显示查询码"
prop="gidgrp.gidcxm.cxmflg"
>
<c-select
v-model="model.gidgrp.gidcxm.cxmflg"
style="width: 100%"
placeholder="请选择是否显示查询码"
>
<el-option
v-for="item in codes.cxmflg"
: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="20">
<el-form-item
v-if="model.gitp.swiftflg == 'N'"
label="对外担保类型"
prop="gidgrp.rec.cfaguatyp"
>
<c-select
disabled
v-model="model.gidgrp.rec.cfaguatyp"
style="width: 90%"
placeholder="请选择对外担保类型"
:code="codes.cfaguatyp"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span="4"
v-if="
model.gidgrp.cbs.max.cur == 'CNY' && model.gitp.swiftflg == 'N'
"
class="centerLable"
>
<c-checkbox
label="跨境人民币保函"
disabled
v-model="model.gidgrp.rec.cmtflg"
>跨境人民币保函</c-checkbox
>
</c-col>
</c-col>
</c-col>
<!-- ============右边================= -->
<!-- -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg == 'N'"
label="简略信息"
prop="gidgrp.rec.nam"
>
<c-input
disabled
v-model="model.gidgrp.rec.nam"
maxlength="40"
placeholder="请输入简略信息"
></c-input>
</el-form-item>
</c-col>
<!-- -->
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg == 'N'"
label="申请人参考号"
prop="gidgrp.apl.pts.ref"
>
<c-input
:disabled="model.gidgrp.ghd.segtyp == '02'"
v-model="model.gidgrp.apl.pts.ref"
maxlength="16"
placeholder="请输入申请人参考号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg == 'N'"
label="申请人"
prop="gidgrp.apl.pts.extkey"
>
<c-fullbox>
<c-input
v-model="model.gidgrp.apl.pts.extkey"
disabled
maxlength="16"
placeholder="请输入"
@keyup.enter.native="
showGridPromptDialog(`gidgrp.apl.pts.extkey`)
"
>
</c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
>
<span style="font-family: '宋体'; font-weight: bold"
>i</span
>
</c-button>
<c-button
:disabled="model.gidgrp.rec.hndtyp != 'OT'"
size="small"
type="primary"
@click="onAplpDet"
>
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<!-- -->
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg == 'N'"
label="地址名称"
prop="gidgrp.apl.pts.adrblk"
>
<c-input
:disabled="model.gidgrp.rec.hndtyp != 'OT'"
rows="4"
type="textarea"
v-model="model.gidgrp.apl.pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入地址名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptap
v-if="
(model.gidgrp.rec.hndtyp == 'OL' ||
model.gidgrp.rec.hndtyp == '') &&
model.gitp.swiftflg != 'Y'
"
:model="model"
:argadr="{
title: '通知行或收报行',
grp: 'gidgrp',
rol: 'adv',
}"
@onAplpDet="onAdvpDet"
>
</c-ptap>
</c-col>
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg != 'Y'"
label="开证行"
prop="gidgrp.iss.pts.ref"
>
<c-input
v-model="model.gidgrp.iss.pts.ref"
maxlength="16"
placeholder="请输入开证行"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg != 'Y'"
label="开证行"
prop="gidgrp.iss.pts.extkey"
>
<c-fullbox>
<c-input
v-model="model.gidgrp.iss.pts.extkey"
maxlength="16"
placeholder="请输入"
@keyup.enter.native="
showGridPromptDialog(`gidgrp.iss.pts.extkey`)
"
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
>
<span style="font-family: '宋体'; font-weight: bold"
>i</span
>
</c-button>
<c-button
disabled
size="small"
type="primary"
@click="onIsspDet"
>
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg != 'Y'"
label="地址名称"
prop="gidgrp.iss.pts.adrblk"
>
<c-input
disabled
rows="4"
type="textarea"
v-model="model.gidgrp.iss.pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入地址名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg != 'Y'"
label="受益人参考号"
prop="gidgrp.ben.pts.ref"
>
<c-input
v-model="model.gidgrp.ben.pts.ref"
maxlength="16"
placeholder="请输入受益人参考号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg != 'Y'"
label="受益人"
prop="gidgrp.ben.pts.extkey"
>
<c-fullbox>
<c-input
v-model="model.gidgrp.ben.pts.extkey"
maxlength="16"
placeholder="请输入"
@keyup.enter.native="
showGridPromptDialog(`gidgrp.ben.pts.extkey`)
"
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
>
<span style="font-family: '宋体'; font-weight: bold"
>i</span
>
</c-button>
<c-button
:disabled="model.gidgrp.rec.hndtyp == 'OT'"
size="small"
type="primary"
@click="onBenpDet"
>
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg != 'Y'"
label="地址名称"
prop="gidgrp.ben.pts.adrblk"
>
<c-input
:disabled="model.gidgrp.rec.hndtyp == 'OT'"
rows="4"
type="textarea"
v-model="model.gidgrp.ben.pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入地址名称"
></c-input>
</el-form-item>
</c-col>
<!-- -->
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg == 'N'"
label="被保证人"
prop="gidgrp.gidcxm.warran"
>
<c-input
v-model="model.gidgrp.gidcxm.warran"
maxlength="40"
placeholder="请输入被保证人"
></c-input>
</el-form-item>
</c-col>
<!-- -->
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg == 'N'"
label="生效日期"
prop="gidgrp.rec.opndat"
>
<c-date-picker
disabled
type="date"
v-model="model.gidgrp.rec.opndat"
style="width: 100%"
placeholder="请选择生效日期"
></c-date-picker>
</el-form-item>
</c-col>
<!-- -->
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg == 'N'"
label="是否对外担保"
prop="gidgrp.rec.fingua"
>
<c-select
disabled
v-model="model.gidgrp.rec.fingua"
style="width: 100%"
placeholder="请选择是否对外担保"
:code="codes.fingua"
>
</c-select>
</el-form-item>
</c-col>
<!-- -->
<!-- -->
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg == 'Y'"
label="客户委托我行日期"
prop="gidgrp.rec.orddat"
>
<c-date-picker
disabled
type="date"
v-model="model.gidgrp.rec.orddat"
style="width: 100%"
placeholder="请选择客户委托我行日期"
></c-date-picker>
</el-form-item>
</c-col>
<!-- -->
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg == 'Y'"
label="生效日期"
prop="gidgrp.rec.opndat"
>
<c-date-picker
type="date"
disabled
v-model="model.gidgrp.rec.opndat"
style="width: 100%"
placeholder="请选择生效日期"
></c-date-picker>
</el-form-item>
</c-col>
<!-- -->
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg == 'Y'"
label="到期类型"
prop="gidgrp.rec.exptyp"
>
<c-select
disabled
:code="codes.exptyp"
v-model="model.gidgrp.rec.exptyp"
style="width: 100%"
placeholder="请选择到期类型"
>
</c-select>
</el-form-item>
</c-col>
<!-- -->
<c-col :span="24">
<c-col :span="20">
<el-form-item
v-if="model.gitp.swiftflg == 'Y'"
label="保函效期"
prop="gidgrp.rec.expdat"
>
<c-date-picker
disabled
type="date"
v-model="model.gidgrp.rec.expdat"
style="width: 90%"
placeholder="请选择保函效期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col
:span="4"
v-if="model.gitp.swiftflg == 'Y'"
class="centerLable"
>
<c-checkbox disabled v-model="model.gidgrp.rec.expflg"
>保函效期敞口</c-checkbox
>
</c-col>
</c-col>
<!-- -->
<c-col :span="24">
<c-col :span="20">
<el-form-item
v-if="model.gitp.swiftflg == 'Y'"
label="到期条件"
prop="gidgrp.blk.exptxt"
>
<c-input
type="textarea"
rows="4"
disabled
v-model="model.gidgrp.blk.exptxt"
maxlength="65"
show-word-limit
placeholder="请输入到期条件"
></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<c-checkbox
v-if="model.gitp.swiftflg == 'Y'"
v-model="model.gitp.exptxtmodflg"
disabled
style="margin: 0 0 0 10px"
>修改文本</c-checkbox
>
<c-button
v-if="model.gitp.swiftflg == 'Y'"
disabled
size="small"
type="primary"
style="margin: 5px 0 0 10px"
@click="onGitpButdifexptxt"
>
查看系统文本
</c-button>
<c-button
v-if="model.gitp.swiftflg == 'Y'"
disabled
size="small"
type="primary"
style="margin: 5px 0 0 10px"
@click="onGitpButdifhisexptxt"
>
查看历史文本
</c-button>
</c-col>
</c-col>
<!-- -->
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg == 'Y'"
label="责任类型 "
prop="gidgrp.rec.liatypc"
>
<c-select
disabled
:code="codes.liatypc"
v-model="model.gidgrp.rec.liatypc"
style="width: 100%"
placeholder="请选择责任类型 "
>
</c-select>
</el-form-item>
</c-col>
<!-- -->
<c-col :span="24">
<c-col :span="20">
<el-form-item
v-if="model.gitp.swiftflg == 'Y'"
label="我行责任截至日"
prop="gidgrp.rec.liadat"
>
<c-date-picker
disabled
type="date"
v-model="model.gidgrp.rec.liadat"
style="width: 90%"
placeholder="请选择我行责任截至日"
></c-date-picker>
</el-form-item>
</c-col>
<c-col
:span="4"
v-if="model.gitp.swiftflg == 'Y'"
class="centerLable"
>
<c-checkbox disabled v-model="model.gidgrp.rec.liaflg"
>我行责任敞口</c-checkbox
>
</c-col>
</c-col>
<!-- -->
<c-col :span="24">
<c-col :span="20">
<el-form-item
v-if="model.gitp.swiftflg == 'Y'"
label="责任条件"
prop="gidgrp.blk.liatxtc"
>
<c-input
type="textarea"
disabled
rows="4"
v-model="model.gidgrp.blk.liatxtc"
maxlength="65"
show-word-limit
placeholder="请输入责任条件"
></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<c-checkbox
v-if="model.gitp.swiftflg == 'Y'"
disabled
v-model="model.gitp.liatxtcmodflg"
style="margin: 0 0 0 10px"
>修改文本</c-checkbox
>
<c-button
v-if="model.gitp.swiftflg == 'Y'"
disabled
size="small"
type="primary"
style="margin: 5px 0 0 10px"
@click="onGitpButdifliatxtc"
>
查看系统文本
</c-button>
<c-button
v-if="model.gitp.swiftflg == 'Y'"
disabled
size="small"
type="primary"
style="margin: 5px 0 0 10px"
@click="onGitpButdifhisliatxtc"
>
查看历史文本
</c-button>
</c-col>
</c-col>
</c-col>
</c-col>
</c-row>
</el-collapse>
</div>
</template>
<script>
......@@ -1077,19 +78,75 @@ import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Getame/Event";
import Ptap from "~/views/Public/Ptap";
import Opnp from "./Opnp";
import Ameps20 from "./Ameps20";
import Amedat20 from "./Amedat20";
import Ovwp1 from "./Ovwp1";
import Ptyp from "./Ptyp";
import Preperp from "./Preperp";
import Detp from "./Detp";
import Amephis from "./Amephis";
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 Aamp20 from "./Aamp20";
export default {
components: { "c-ptap": Ptap },
components: {
"m-opnp": Opnp,
"m-ameps20": Ameps20,
"m-amedat20": Amedat20,
"m-ovwp1": Ovwp1,
"m-ptyp": Ptyp,
"m-preperp": Preperp,
"m-detp": Detp,
"m-amephis": Amephis,
"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-aamp20": Aamp20,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
return {
activeNames: ["opnp"],
};
},
methods: {
...Event,
},
created: async function () {
console.log("进入getame交易");
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: "服务请求失败!" });
}
},
computed: {
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
.marginLable {
padding-left: 160px;
}
</style>
<template>
<div class="eibs-tab">
<c-row>
<c-col :span="24">
<!-- ==================左边================ -->
<c-col :span="12">
<!-- -->
<c-col :span="24">
<el-form-item label="保函编号" prop="gidgrp.rec.ownref">
<c-fullbox>
<c-input
disabled
v-model="model.gidgrp.rec.ownref"
maxlength="16"
placeholder="请输入保函编号"
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
>
<span
style="
font-size: 15px;
font-family: '宋体';
font-weight: bold;
"
>i</span
>
</c-button>
<c-button
style="margin: 0 0"
disabled
size="small"
type="primary"
@click="onGitpButgetref"
>
获取
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<!-- -->
<c-col :span="24">
<el-form-item label="客户经理" prop="gitp.usr.extkey">
<c-fullbox>
<c-input
disabled
v-model="model.gitp.usr.extkey"
maxlength="8"
placeholder="请输入客户经理"
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
>
<span
style="
font-size: 15px;
font-family: '宋体';
font-weight: bold;
"
>i</span
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<!-- -->
<c-col :span="24">
<c-col :span="12">
<el-form-item label="保函币种和金额" prop="gidgrp.cbs.max.cur">
<c-select
disabled
v-model="model.gidgrp.cbs.max.cur"
style="width: 100%"
placeholder="请选择保函币种"
>
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<!-- -->
<c-col :span="8">
<c-input
disabled
v-model="model.gidgrp.cbs.max.amt"
style="margin: 0 0 0 10px; width: 80%"
placeholder="请选择保函金额"
></c-input>
</c-col>
<c-col
:span="4"
v-if="model.gitp.swiftflg != 'Y'"
class="centerLable"
>
<c-checkbox v-model="model.gitp.dzbhflg">电子保函标志</c-checkbox>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="保函余额" prop="gidgrp.cbs.opn1.cur">
<c-input
disabled
v-model="model.gidgrp.cbs.opn1.cur"
style="width: 100%"
placeholder="请输入保函余额"
></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<!-- <el-form-item label="" prop="gidgrp.cbs.opn1.amt"> -->
<c-input
disabled
v-model="model.gidgrp.cbs.opn1.amt"
style="margin: 0 0 0 10px; width: 80%"
placeholder="请输入"
></c-input>
<!-- </el-form-item> -->
</c-col>
<c-col
:span="4"
v-if="model.gitp.swiftflg == 'Y'"
class="centerLable"
>
<c-checkbox v-model="model.gitp.inc760">传入损失</c-checkbox>
</c-col>
</c-col>
<!-- -->
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg == 'Y'"
label="接收目的 "
prop="gidgrp.rec.purposin"
>
<c-select
disabled
v-model="model.gidgrp.rec.purposin"
style="width: 100%"
:code="codes.purposin"
placeholder="请选择接收目的 "
>
</c-select>
</el-form-item>
</c-col>
<!-- -->
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg == 'Y'"
label="支出目的"
prop="gidgrp.rec.purpos"
>
<c-select
disabled
v-model="model.gidgrp.rec.purpos"
:code="codes.purpos"
style="width: 100%"
placeholder="请选择支出目的"
>
</c-select>
</el-form-item>
</c-col>
<!-- -->
<c-col :span="24">
<el-form-item label="保函开立类型" prop="gidgrp.rec.hndtyp">
<c-select
disabled
v-model="model.gidgrp.rec.hndtyp"
:code="codes.hndtyp"
style="width: 100%"
placeholder="请选择保函开立类型"
>
</c-select>
</el-form-item>
</c-col>
<!-- -->
<c-col :span="24">
<el-form-item label="保函种类" prop="gidgrp.rec.gartyp">
<c-select
v-model="model.gidgrp.rec.gartyp"
style="width: 100%"
placeholder="请选择保函种类"
:code="codes.seagtyp"
>
</c-select>
</el-form-item>
</c-col>
<!-- -->
<c-col :span="24">
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg == 'Y'"
label="保函形式"
prop="gidgrp.rec.legfrm"
>
<c-select
v-model="model.gidgrp.rec.legfrm"
:code="codes.legfrm2"
style="width: 100%"
placeholder="请选择保函形式"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<!-- -->
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg == 'Y'"
label="需求指示"
prop="gidgrp.rec.demand"
>
<c-select
:code="codes.demand"
v-model="model.gidgrp.rec.demand"
style="width: 100%"
placeholder="请选择需求指示"
>
</c-select>
</el-form-item>
</c-col>
<!-- -->
<c-col :span="24">
<c-col :span="12">
<el-form-item label="申请条款" prop="gidgrp.blk.apprul">
<c-select
v-model="model.gidgrp.blk.apprul"
style="width: 100%"
placeholder="请选择申请条款"
:code="codes.apprulc1"
>
</c-select>
<!-- -->
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label-width="5px" prop="gidgrp.blk.apprultxt">
<c-input
:disabled="
model.gidgrp.blk.apprul == 'URDG' ||
model.gidgrp.blk.apprul == 'NONE' ||
model.gidgrp.blk.apprul == 'UCPR'
"
v-model="model.gidgrp.blk.apprultxt"
maxlength="35"
placeholder="请输入申请条款"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- -->
<c-col :span="24">
<c-col :span="12">
<el-form-item
label="保函文本语言种类"
prop="gidgrp.rec.giduil"
>
<c-select
disabled
v-model="model.gidgrp.rec.giduil"
style="width: 100%"
placeholder="请选择保函文本语言种类"
:code="codes.uiltxt1"
>
</c-select>
</el-form-item>
</c-col>
<!-- -->
<c-col :span="12">
<el-form-item label="核销日期" prop="gidgrp.rec.vrfdat">
<c-date-picker
disabled
type="date"
v-model="model.gidgrp.rec.vrfdat"
style="width: 100%"
placeholder="请选择核销日期"
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<!-- -->
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg == 'N'"
label="特殊保函类型"
prop="gidgrp.ghd.segtyp"
>
<c-select
v-model="model.gidgrp.ghd.segtyp"
style="width: 100%"
placeholder="请选择特殊保函类型"
:code="codes.segtyp"
>
</c-select>
</el-form-item>
</c-col>
<!-- -->
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg == 'N'"
label="是否分离式保函"
prop="gidgrp.rec.fenlishi"
>
<c-select
disabled
v-model="model.gidgrp.rec.fenlishi"
style="width: 100%"
placeholder="请选择是否分离式保函"
:code="codes.fenlishi2"
>
</c-select>
</el-form-item>
</c-col>
<!-- -->
<c-col :span="24">
<el-form-item label="保函文本格式" prop="gidgrp.rec.gtxinr">
<c-select
v-model="model.gidgrp.rec.gtxinr"
style="width: 100%"
placeholder="请选择保函文本格式"
:code="codes.gtxinr4"
>
</c-select>
</el-form-item>
</c-col>
<!-- -->
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg == 'N'"
label="客户委托我行日期"
prop="gidgrp.rec.orddat"
>
<c-date-picker
disabled
type="date"
v-model="model.gidgrp.rec.orddat"
style="width: 100%"
placeholder="请选择客户委托我行日期"
></c-date-picker>
</el-form-item>
</c-col>
<!-- -->
<c-col :span="24">
<c-col :span="14">
<el-form-item
v-if="model.gitp.swiftflg == 'N'"
label="保函效期"
prop="gidgrp.rec.expdat"
>
<c-date-picker
disabled
type="date"
v-model="model.gidgrp.rec.expdat"
style="width: 90%"
placeholder="请选择保函效期"
></c-date-picker>
</el-form-item>
</c-col>
<!-- -->
<c-col
:span="7"
v-if="model.gitp.swiftflg == 'N'"
class="centerLable"
>
<c-checkbox disabled v-model="model.gidgrp.rec.expflg"
>无限额保函</c-checkbox
>
</c-col>
<c-col
:span="3"
v-if="model.gitp.swiftflg != 'Y'"
class="centerLable"
>
<c-button
size="small"
type="primary"
@click="onGitpWbxs"
disabled
style="color: white"
>
显示文本
</c-button>
</c-col>
</c-col>
<!-- -->
<c-col :span="24">
<c-col :span="14">
<el-form-item
v-if="model.gitp.swiftflg == 'N'"
label="我行责任截至日"
prop="gidgrp.rec.liadat"
>
<c-date-picker
disabled
type="date"
v-model="model.gidgrp.rec.liadat"
style="width: 90%"
placeholder="请选择我行责任截至日"
></c-date-picker>
</el-form-item>
</c-col>
<!-- -->
<c-col
:span="7"
v-if="model.gitp.swiftflg == 'N'"
class="centerLable"
>
<c-checkbox v-model="model.gidgrp.rec.liaflg" disabled
>我行责任敞口</c-checkbox
>
</c-col>
<c-col
:span="3"
v-if="model.gitp.swiftflg != 'Y'"
class="centerLable"
>
<c-button
size="small"
type="primary"
@click="onGitpYptxy"
disabled
>
协议签署
</c-button>
</c-col>
</c-col>
<!-- -->
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg == 'N'"
label="保函生效日"
prop="gidgrp.rec.inudat"
>
<c-date-picker
type="date"
v-model="model.gidgrp.rec.inudat"
style="width: 100%"
placeholder="请选择保函生效日"
></c-date-picker>
</el-form-item>
</c-col>
<!-- -->
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg == 'N'"
label="抵押标志"
prop="gidgrp.rec.guaflg"
>
<c-select
v-model="model.gidgrp.rec.guaflg"
style="width: 100%"
placeholder="请选择抵押标志"
:code="codes.guaflg"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg != 'Y'"
label="是否显示查询码"
prop="gidgrp.gidcxm.cxmflg"
>
<c-select
v-model="model.gidgrp.gidcxm.cxmflg"
style="width: 100%"
placeholder="请选择是否显示查询码"
>
<el-option
v-for="item in codes.cxmflg"
: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="20">
<el-form-item
v-if="model.gitp.swiftflg == 'N'"
label="对外担保类型"
prop="gidgrp.rec.cfaguatyp"
>
<c-select
disabled
v-model="model.gidgrp.rec.cfaguatyp"
style="width: 90%"
placeholder="请选择对外担保类型"
:code="codes.cfaguatyp"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span="4"
v-if="
model.gidgrp.cbs.max.cur == 'CNY' && model.gitp.swiftflg == 'N'
"
class="centerLable"
>
<c-checkbox
label="跨境人民币保函"
disabled
v-model="model.gidgrp.rec.cmtflg"
>跨境人民币保函</c-checkbox
>
</c-col>
</c-col>
</c-col>
<!-- ============右边================= -->
<!-- -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg == 'N'"
label="简略信息"
prop="gidgrp.rec.nam"
>
<c-input
disabled
v-model="model.gidgrp.rec.nam"
maxlength="40"
placeholder="请输入简略信息"
></c-input>
</el-form-item>
</c-col>
<!-- -->
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg == 'N'"
label="申请人参考号"
prop="gidgrp.apl.pts.ref"
>
<c-input
:disabled="model.gidgrp.ghd.segtyp == '02'"
v-model="model.gidgrp.apl.pts.ref"
maxlength="16"
placeholder="请输入申请人参考号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg == 'N'"
label="申请人"
prop="gidgrp.apl.pts.extkey"
>
<c-fullbox>
<c-input
v-model="model.gidgrp.apl.pts.extkey"
disabled
maxlength="16"
placeholder="请输入"
@keyup.enter.native="
showGridPromptDialog(`gidgrp.apl.pts.extkey`)
"
>
</c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
>
<span style="font-family: '宋体'; font-weight: bold"
>i</span
>
</c-button>
<c-button
:disabled="model.gidgrp.rec.hndtyp != 'OT'"
size="small"
type="primary"
@click="onAplpDet"
>
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<!-- -->
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg == 'N'"
label="地址名称"
prop="gidgrp.apl.pts.adrblk"
>
<c-input
:disabled="model.gidgrp.rec.hndtyp != 'OT'"
rows="4"
type="textarea"
v-model="model.gidgrp.apl.pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入地址名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptap
v-if="
(model.gidgrp.rec.hndtyp == 'OL' ||
model.gidgrp.rec.hndtyp == '') &&
model.gitp.swiftflg != 'Y'
"
:model="model"
:argadr="{
title: '通知行或收报行',
grp: 'gidgrp',
rol: 'adv',
}"
@onAplpDet="onAdvpDet"
>
</c-ptap>
</c-col>
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg != 'Y'"
label="开证行"
prop="gidgrp.iss.pts.ref"
>
<c-input
v-model="model.gidgrp.iss.pts.ref"
maxlength="16"
placeholder="请输入开证行"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg != 'Y'"
label="开证行"
prop="gidgrp.iss.pts.extkey"
>
<c-fullbox>
<c-input
v-model="model.gidgrp.iss.pts.extkey"
maxlength="16"
placeholder="请输入"
@keyup.enter.native="
showGridPromptDialog(`gidgrp.iss.pts.extkey`)
"
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
>
<span style="font-family: '宋体'; font-weight: bold"
>i</span
>
</c-button>
<c-button
disabled
size="small"
type="primary"
@click="onIsspDet"
>
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg != 'Y'"
label="地址名称"
prop="gidgrp.iss.pts.adrblk"
>
<c-input
disabled
rows="4"
type="textarea"
v-model="model.gidgrp.iss.pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入地址名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg != 'Y'"
label="受益人参考号"
prop="gidgrp.ben.pts.ref"
>
<c-input
v-model="model.gidgrp.ben.pts.ref"
maxlength="16"
placeholder="请输入受益人参考号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg != 'Y'"
label="受益人"
prop="gidgrp.ben.pts.extkey"
>
<c-fullbox>
<c-input
v-model="model.gidgrp.ben.pts.extkey"
maxlength="16"
placeholder="请输入"
@keyup.enter.native="
showGridPromptDialog(`gidgrp.ben.pts.extkey`)
"
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
>
<span style="font-family: '宋体'; font-weight: bold"
>i</span
>
</c-button>
<c-button
:disabled="model.gidgrp.rec.hndtyp == 'OT'"
size="small"
type="primary"
@click="onBenpDet"
>
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg != 'Y'"
label="地址名称"
prop="gidgrp.ben.pts.adrblk"
>
<c-input
:disabled="model.gidgrp.rec.hndtyp == 'OT'"
rows="4"
type="textarea"
v-model="model.gidgrp.ben.pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入地址名称"
></c-input>
</el-form-item>
</c-col>
<!-- -->
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg == 'N'"
label="被保证人"
prop="gidgrp.gidcxm.warran"
>
<c-input
v-model="model.gidgrp.gidcxm.warran"
maxlength="40"
placeholder="请输入被保证人"
></c-input>
</el-form-item>
</c-col>
<!-- -->
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg == 'N'"
label="生效日期"
prop="gidgrp.rec.opndat"
>
<c-date-picker
disabled
type="date"
v-model="model.gidgrp.rec.opndat"
style="width: 100%"
placeholder="请选择生效日期"
></c-date-picker>
</el-form-item>
</c-col>
<!-- -->
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg == 'N'"
label="是否对外担保"
prop="gidgrp.rec.fingua"
>
<c-select
disabled
v-model="model.gidgrp.rec.fingua"
style="width: 100%"
placeholder="请选择是否对外担保"
:code="codes.fingua"
>
</c-select>
</el-form-item>
</c-col>
<!-- -->
<!-- -->
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg == 'Y'"
label="客户委托我行日期"
prop="gidgrp.rec.orddat"
>
<c-date-picker
disabled
type="date"
v-model="model.gidgrp.rec.orddat"
style="width: 100%"
placeholder="请选择客户委托我行日期"
></c-date-picker>
</el-form-item>
</c-col>
<!-- -->
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg == 'Y'"
label="生效日期"
prop="gidgrp.rec.opndat"
>
<c-date-picker
type="date"
disabled
v-model="model.gidgrp.rec.opndat"
style="width: 100%"
placeholder="请选择生效日期"
></c-date-picker>
</el-form-item>
</c-col>
<!-- -->
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg == 'Y'"
label="到期类型"
prop="gidgrp.rec.exptyp"
>
<c-select
disabled
:code="codes.exptyp"
v-model="model.gidgrp.rec.exptyp"
style="width: 100%"
placeholder="请选择到期类型"
>
</c-select>
</el-form-item>
</c-col>
<!-- -->
<c-col :span="24">
<c-col :span="20">
<el-form-item
v-if="model.gitp.swiftflg == 'Y'"
label="保函效期"
prop="gidgrp.rec.expdat"
>
<c-date-picker
disabled
type="date"
v-model="model.gidgrp.rec.expdat"
style="width: 90%"
placeholder="请选择保函效期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col
:span="4"
v-if="model.gitp.swiftflg == 'Y'"
class="centerLable"
>
<c-checkbox disabled v-model="model.gidgrp.rec.expflg"
>保函效期敞口</c-checkbox
>
</c-col>
</c-col>
<!-- -->
<c-col :span="24">
<c-col :span="20">
<el-form-item
v-if="model.gitp.swiftflg == 'Y'"
label="到期条件"
prop="gidgrp.blk.exptxt"
>
<c-input
type="textarea"
rows="4"
disabled
v-model="model.gidgrp.blk.exptxt"
maxlength="65"
show-word-limit
placeholder="请输入到期条件"
></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<c-checkbox
v-if="model.gitp.swiftflg == 'Y'"
v-model="model.gitp.exptxtmodflg"
disabled
style="margin: 0 0 0 10px"
>修改文本</c-checkbox
>
<c-button
v-if="model.gitp.swiftflg == 'Y'"
disabled
size="small"
type="primary"
style="margin: 5px 0 0 10px"
@click="onGitpButdifexptxt"
>
查看系统文本
</c-button>
<c-button
v-if="model.gitp.swiftflg == 'Y'"
disabled
size="small"
type="primary"
style="margin: 5px 0 0 10px"
@click="onGitpButdifhisexptxt"
>
查看历史文本
</c-button>
</c-col>
</c-col>
<!-- -->
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg == 'Y'"
label="责任类型 "
prop="gidgrp.rec.liatypc"
>
<c-select
disabled
:code="codes.liatypc"
v-model="model.gidgrp.rec.liatypc"
style="width: 100%"
placeholder="请选择责任类型 "
>
</c-select>
</el-form-item>
</c-col>
<!-- -->
<c-col :span="24">
<c-col :span="20">
<el-form-item
v-if="model.gitp.swiftflg == 'Y'"
label="我行责任截至日"
prop="gidgrp.rec.liadat"
>
<c-date-picker
disabled
type="date"
v-model="model.gidgrp.rec.liadat"
style="width: 90%"
placeholder="请选择我行责任截至日"
></c-date-picker>
</el-form-item>
</c-col>
<c-col
:span="4"
v-if="model.gitp.swiftflg == 'Y'"
class="centerLable"
>
<c-checkbox disabled v-model="model.gidgrp.rec.liaflg"
>我行责任敞口</c-checkbox
>
</c-col>
</c-col>
<!-- -->
<c-col :span="24">
<c-col :span="20">
<el-form-item
v-if="model.gitp.swiftflg == 'Y'"
label="责任条件"
prop="gidgrp.blk.liatxtc"
>
<c-input
type="textarea"
disabled
rows="4"
v-model="model.gidgrp.blk.liatxtc"
maxlength="65"
show-word-limit
placeholder="请输入责任条件"
></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<c-checkbox
v-if="model.gitp.swiftflg == 'Y'"
disabled
v-model="model.gitp.liatxtcmodflg"
style="margin: 0 0 0 10px"
>修改文本</c-checkbox
>
<c-button
v-if="model.gitp.swiftflg == 'Y'"
disabled
size="small"
type="primary"
style="margin: 5px 0 0 10px"
@click="onGitpButdifliatxtc"
>
查看系统文本
</c-button>
<c-button
v-if="model.gitp.swiftflg == 'Y'"
disabled
size="small"
type="primary"
style="margin: 5px 0 0 10px"
@click="onGitpButdifhisliatxtc"
>
查看历史文本
</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/Getame/Event";
import Ptap from "~/views/Public/Ptap";
export default {
components: { "c-ptap": Ptap },
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eContainer">
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
<el-button size="small">流程附言</el-button>
<el-button size="small">交易历史</el-button>
<el-button size="small">备忘录</el-button>
<el-button size="small">影像信息</el-button>
<!-- <el-button size="small">保存模板</el-button> -->
<!-- <el-button size="small">使用模板</el-button> -->
<el-button size="small">制裁信息</el-button>
<!-- <el-button size="small">拆分报文</el-button> -->
<el-button size="small">智能提示</el-button>
</c-function-btn>
<c-page title="出口保函修改">
<el-form
:model="model"
:rules="rules"
......@@ -25,38 +11,89 @@
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<el-tab-pane label="业务信息" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="统一授信" name="limitbody">
<c-content>
<m-limitbody :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<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 v-if="this.flag" title="会计分录" name="glepan">
<!-- 会计分录 -->
<m-glepan :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</c-content>
</el-tab-pane>
<el-tab-pane label="备查/附言" name="addbcb">
<c-content>
<m-addbcb :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="报文/面函" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="附件信息" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--gitp PD001291 开立方式 -->
<el-tab-pane label="开立方式" name="opnp">
<!-- <el-tab-pane label="开立方式" name="opnp">
<m-opnp :model="model" :codes="codes" />
</el-tab-pane>
</el-tab-pane> -->
<!--gitamep PD002031 Amendment -->
<el-tab-pane label="保函修改" name="ameps20">
<!-- <el-tab-pane label="保函修改" name="ameps20">
<m-ameps20 :model="model" :codes="codes" />
</el-tab-pane>
</el-tab-pane> -->
<!--gitamep PD002100 修改日期 -->
<el-tab-pane label="修改日期" name="amedat20">
<!-- <el-tab-pane label="修改日期" name="amedat20">
<m-amedat20 :model="model" :codes="codes" />
</el-tab-pane>
</el-tab-pane> -->
<!--gitp PD000002 Overview -->
<el-tab-pane label="概要" name="ovwp">
<!-- <el-tab-pane label="概要" name="ovwp1">
<c-content>
<m-ovwp :model="model" :codes="codes" />
<m-ovwp1 :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</el-tab-pane> -->
<!--gitp PD000043 Parties -->
<el-tab-pane label="当事人描述" name="ptyp">
<!-- <el-tab-pane label="当事人描述" name="ptyp">
<m-ptyp :model="model" :codes="codes" />
</el-tab-pane>
</el-tab-pane> -->
<!--gitp PD000727 Presentation/ Delivery -->
<el-tab-pane
<!-- <el-tab-pane
v-if="false"
label="演示/交付"
name="preperp"
>
<m-preperp :model="model" :codes="codes" />
</el-tab-pane>
</el-tab-pane> -->
<!--gitp PD000389 Details -->
<el-tab-pane label="详细信息" name="detp">
<!-- <el-tab-pane label="详细信息" name="detp">
<c-content>
<m-detp :model="model" :codes="codes" />
</c-content>
......@@ -68,9 +105,9 @@
name="gidtxtp"
>
<m-gidtxtp :model="model" :codes="codes" />
</el-tab-pane>
</el-tab-pane> -->
<el-tab-pane
<!-- <el-tab-pane
v-if="
model.gitp.swiftflg == 'Y' &&
(model.gidgrp.rec.legfrm == 'STBY' ||
......@@ -80,25 +117,25 @@
name="confp"
>
<m-confp :model="model" :codes="codes" />
</el-tab-pane>
</el-tab-pane> -->
<!--getame PD050035 History -->
<el-tab-pane label="历史信息" name="amephis">
<!-- <el-tab-pane label="历史信息" name="amephis">
<m-amephis :model="model" :codes="codes" />
</el-tab-pane>
</el-tab-pane> -->
<el-tab-pane label="表外" name="liability">
<!-- <el-tab-pane label="表外" name="liability">
<m-engp :model="model" :codes="codes" />
</el-tab-pane>
</el-tab-pane> -->
<el-tab-pane label="费用及账务" name="setpan">
<!-- <el-tab-pane label="费用及账务" name="setpan">
<m-setpan :model="model" :codes="codes" />
</el-tab-pane>
</el-tab-pane> -->
<el-tab-pane v-if="this.flag" label="分录" name="glepan">
<!-- <el-tab-pane v-if="this.flag" label="分录" name="glepan">
<m-glepan :model="model" :codes="codes" />
</el-tab-pane>
</el-tab-pane> -->
<el-tab-pane label="附言" name="Completion">
<!-- <el-tab-pane label="附言" name="Completion">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
......@@ -108,9 +145,9 @@
<el-tab-pane label="交易附件" name="Attachments">
<m-doctre :model="model" :codes="codes" />
</el-tab-pane>
</el-tab-pane> -->
<el-tab-pane
<!-- <el-tab-pane
v-if="
model.gidgrp.rec.purpos == 'ISCO' ||
model.gidgrp.rec.purpos == 'ICCO'
......@@ -199,11 +236,11 @@
name="aamp20"
>
<m-aamp20 :model="model" :codes="codes" />
</el-tab-pane>
</el-tab-pane> -->
<el-tab-pane label="统一授信" name="limitbody">
<!-- <el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes" />
</el-tab-pane>
</el-tab-pane> -->
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog
......@@ -212,6 +249,13 @@
v-on:select-ety="selectEty"
>
</c-grid-ety-prompt-dialog>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</c-function-btn>
</c-page>
</div>
</template>
<script>
......@@ -233,6 +277,7 @@ import Detp from "./Detp";
import Amephis from "./Amephis";
import Gidtxtp from "./Gidtxtp";
import Confp from "./Confp";
import Addbcb from "./Addbcb";
import Ovwpc from "./Ovwpc";
import Ptypc from "./Ptypc";
......@@ -254,6 +299,7 @@ import Limitbody from "~/views/Public/Limitbody";
export default {
name: "Getame",
components: {
"m-addbcb": Addbcb,
"m-opnp": Opnp,
"m-ameps20": Ameps20,
"m-amedat20": Amedat20,
......@@ -289,7 +335,7 @@ export default {
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "opnp",
tabVal: "ovwp",
trnName: "getame",
trnType: "",
model: new Getame().data,
......@@ -300,6 +346,7 @@ export default {
codes: {
...CodeTable,
},
activeNames: ["engp"],
flag: false,
};
},
......
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