Commit 48bad2f7 by wangna

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs…

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs into development-202206
parents 974720f7 76b286ec
......@@ -6688,6 +6688,11 @@ const CodeTable = {
{ label: "BEN 受益人", value: "BEN" },
{ label: "CON 保兑行", value: "CON" },
],
setfelRol2: [
{ label: "DRE Drawee", value: "DRE" },
{ label: "DRR Drawer", value: "DRR" },
{ label: "RMI Remitting Bank", value: "RMI" }
],
ptydbt: [
{ label: "OWN Ourselves", value: "OWN" },
{ label: "ISS 开证行", value: "ISS" },
......
......@@ -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: "必输项"},
......
......@@ -9,13 +9,10 @@
<m-cnyp1 :model="model" :codes="codes" />
</el-collapse-item>
<!--cnybop PD000001 2101跨境收入信息 -->
<el-tab-pane label="2101跨境收入信息" name="incp" v-if="model.cnybop.cnyflg=='1'">
<el-collapse-item title="2101跨境收入信息" name="incp" v-if="model.cnybop.cnyflg=='1'">
<m-incp :model="model" :codes="codes"/>
</el-tab-pane>
</el-collapse-item>
......@@ -31,7 +28,7 @@
import Event from "~/model/Brtset/Event";
import Wg from "./Wg";
import Cnyp1 from "./Cnyp1";
//import Cfactlp from "./Cfactlp";
import Incp from "./Incp";
export default {
......@@ -39,7 +36,7 @@
components: {
"m-wg": Wg,
"m-cnyp1": Cnyp1,
// "m-cfactlp": Cfactlp,
"m-incp": Incp,
},
props: ["model", "codes"],
mixins: [commonProcess],
......
......@@ -95,7 +95,7 @@
</el-form-item>
</c-col>
</c-col>
<m-incp v-show="model.cnybop.cnyflg == '1'" :model="model" :codes="codes" />
<!-- <m-incp v-show="model.cnybop.cnyflg == '1'" :model="model" :codes="codes" /> -->
</div>
</template>
<script>
......
......@@ -497,6 +497,7 @@
v-model="model.brdgrp.rec.docprbrol"
style="width: 100%"
placeholder="请选择交单行"
@change="selectOrCheckboxRule('brdgrp.rec.docprbrol')"
:code="codes.docprbrol"
>
</c-select>
......
......@@ -69,7 +69,7 @@
<c-col :span="24">
<el-form-item label="开立日期" prop="trtcre.trdgrp.rec.issdat">
<c-date-picker type="date" v-model="model.trtcre.trdgrp.rec.issdat" style="width: 100%" placeholder="请选择开立日期" :disable="true">
<c-date-picker disabled type="date" v-model="model.trtcre.trdgrp.rec.issdat" style="width: 100%" placeholder="请选择开立日期" :disable="true">
</c-date-picker>
</el-form-item>
</c-col>
......
......@@ -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>
......@@ -724,6 +726,7 @@ export default {
mixins: [commonProcess],
data() {
return {
flag4:true,
flag3: true,
cmtflg: [
{ label: "代理行模式", value: "C" },
......@@ -790,6 +793,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,
};
},
......
<template>
<div class="eibs-tab">
<div class="eibs">
<!-- ====================左边======================= -->
<c-col :span="11">
<c-col :span="24">
......
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange">
<el-collapse-item title="收费详情" name="gitsetp1">
<m-gitsetp1 :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/Gitcrj/Event";
import Gitsetp1 from "./Gitsetp1"
export default {
components:{
"m-gitsetp1" : Gitsetp1,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
activeNames: ["gitsetp1"],
};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eContainer">
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
<el-button size="small">流程附言</el-button>
<c-page title="进口保函定期收费">
<!-- <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>
<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">
<!--PD000019 -->
<el-tab-pane label="收费" name="gitsetp1">
<m-gitsetp1 :model="model" :codes="codes" />
</el-tab-pane>
</c-function-btn> -->
<!--PD000027 -->
<el-tab-pane label="表外" name="engp">
<m-engp :model="model" :codes="codes" />
</el-tab-pane>
<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">
<!--PD000019 -->
<!-- <el-tab-pane label="收费" name="gitsetp1">
<m-gitsetp1 :model="model" :codes="codes" />
</el-tab-pane> -->
<!--PD000000 -->
<el-tab-pane label="费用及账务" name="setpan">
<m-setpan :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="业务信息" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody">
<c-content>
<m-limitbody :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="费用/账务" name="setpann">
<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>
</div>
</c-content>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="备查/附言" name="coninfp">
<c-content>
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<el-collapse-item title="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</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>
<!--PD000529 -->
<el-tab-pane label="面函" name="docpan">
<m-docpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane label="交易附件" name="doctre">
<m-doctre :model="model" :codes="codes" />
</el-tab-pane>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash">
</c-function-btn>
<!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form>
</c-page>
</div>
</template>
<script>
......@@ -73,7 +103,7 @@ import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Gitcom/Check";
import Default from "~/model/Gitcom/Default";
import Pattern from "~/model/Gitcom/Pattern";
import Gitsetp1 from "./Gitsetp1";
import Ovwp from "./Ovwp";
import Engp from "~/views/Public/Engp";
import Setpan from "~/views/Public/Setpan";
......@@ -85,7 +115,7 @@ import Limitbody from "~/views/Public/Limitbody";
export default {
name: "Gitcom",
components: {
"m-gitsetp1": Gitsetp1,
"m-ovwp": Ovwp,
"m-engp": Engp,
"m-setpan": Setpan,
"m-coninfp": Coninfp,
......@@ -101,7 +131,7 @@ export default {
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "gitsetp1",
tabVal: "ovwp",
trnName: "gitcom",
model: new Gitcom().data,
checkRules: Check,
......@@ -111,6 +141,7 @@ export default {
codes: {
...CodeTable,
},
activeNames: ["engp","coninfp"],
};
},
methods: {
......
......@@ -17,6 +17,7 @@
maxlength="65"
show-word-limit
placeholder="请输入保函文本可变因素"
@change="setTxt1"
></i-stream-input>
</el-form-item>
<el-form-item
......@@ -31,6 +32,7 @@
maxlength="65"
show-word-limit
placeholder="请输入保函文本可变因素"
@change="setTxt2"
></i-stream-input>
</el-form-item>
</c-col>
......@@ -40,6 +42,7 @@
<c-checkbox
v-model="model.gitp.gidtxtmodflg"
style="margin: 0 0 0 10px"
@change="modflgChange"
>修改保函文本</c-checkbox
>
</c-col>
......@@ -128,6 +131,8 @@ import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Getame/Event";
import IStreamInput from "~/components/IStreamInput";
import InputXml from "~/components/InputXml";
import Utils from "~/utils";
export default {
components: { IStreamInput },
......@@ -137,7 +142,40 @@ export default {
data() {
return {};
},
methods: { ...Event },
methods: {
async setTxt1(){
// 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)) {
Utils.copyValueFromVO(this.model, res.data);
}
});
},
async setTxt2(){
// 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)) {
Utils.copyValueFromVO(this.model, res.data);
}
});
},
...Event ,
async modflgChange() {
const rtnmsg = await this.executeRule("gitp.gidtxtmodflg");
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
}
},
},
created: function () {},
};
</script>
......
......@@ -74,7 +74,6 @@
</el-collapse>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
......
<template>
<div class="eibs-tab">
<!-- 顶部 -->
<c-col :span="24">
<c-col :span="11">
<el-form-item
label="信用证编号"
prop="ledgrp.rec.ownref"
style="width: 100%"
>
<c-fullbox>
<c-input
v-model="model.ledgrp.rec.ownref"
maxlength="16"
placeholder="请输入Reference"
style="width: 95%"
:disabled="true"
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 0; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf"
>
<span
style="
font-size: 15px;
font-family: '宋体';
font-weight: bold;
"
>i</span
>
</c-button>
<c-button
style="margin: 0 0"
size="small"
type="primary"
:disabled="
model.ledgrp.ben.pts.adrblk && !model.ledgrp.rec.ownref
? false
: true
"
@click="onLetpButgetref"
>
获取
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="简略信息" prop="ledgrp.rec.nam">
<c-input
v-model="model.ledgrp.rec.nam"
maxlength="40"
placeholder="请输入内容"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- left -->
<c-col :span="11">
<c-col :span="24">
<el-form-item label="信用证类型" prop="ledgrp.rec.lcrtyp">
<c-select
v-model="model.ledgrp.rec.lcrtyp"
style="width: 100%"
placeholder="请选择信用证类型"
:code="codes.lcrtyp1"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="19">
<el-form-item
label="客户经理"
prop="letp.usr.extkey"
style="width: 100%"
>
<c-fullbox>
<c-input
v-model="model.letp.usr.extkey"
maxlength="8"
placeholder="请输入客户经理"
disabled
></c-input>
<template slot="footer">
<c-button
style="margin-left: 10px; padding: 0 10px"
size="small"
icon="el-icon-search"
type="primary"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="5">
<c-checkbox
:disabled="true"
v-model="model.ledgrp.rec.collflg"
style="margin-left: 10px"
>担保信用证</c-checkbox
>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="信用证金额" prop="ledgrp.cbs.nom1.cur">
<c-select
v-model="model.ledgrp.cbs.nom1.cur"
style="width: 100%"
placeholder="请选择币种"
@keyup.enter.native="nom1CurEvent"
:code="codes.curtxt1"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="7">
<el-form-item label="" label-width="20px" prop="ledgrp.cbs.nom1.amt">
<c-input-currency
v-model="model.ledgrp.cbs.nom1.amt"
style="text-align: left; width: 100%"
placeholder="请输入金额"
@keyup.enter.native="$event.target.blur()"
></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="5">
<c-checkbox
v-model="model.letp.aamp.aammod.addamtflg"
style="margin-left: 10px"
@change="openAddDetails"
>附加金额</c-checkbox
>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="溢短装" prop="ledgrp.rec.nomtop">
<c-input
v-model.number="model.ledgrp.rec.nomtop"
maxlength="2"
style="width: 100%"
placeholder="请输入金额上浮"
@keyup.enter.native="$event.target.blur()"
class="m-input-currency"
></c-input>
</el-form-item>
</c-col>
<c-col :span="7">
<el-form-item label="" label-width="20px" prop="ledgrp.rec.nomton">
<c-input
v-model.number="model.ledgrp.rec.nomton"
maxlength="2"
style="width: 100%"
placeholder="请输入金额下浮"
@keyup.enter.native="$event.target.blur()"
class="m-input-currency"
></c-input>
</el-form-item>
</c-col>
<c-col :span="5">
<c-checkbox
v-model="model.ledgrp.rec.inctrf"
disabled
style="margin-left: 10px"
>Incoming Transfer</c-checkbox
>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="19">
<el-form-item label="金额限额表述" prop="ledgrp.rec.nomspc">
<c-select
v-model="model.ledgrp.rec.nomspc"
style="width: 100%"
placeholder="请输入金额限额表述"
:code="codes.nomspc"
:disabled="true"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="5">
<c-checkbox v-model="resflg" style="margin-left: 10px"
>保留合同</c-checkbox
>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="最大金额" prop="ledgrp.cbs.max.cur">
<c-select
v-model="model.ledgrp.cbs.max.cur"
style="width: 100%"
placeholder="请选择币种"
disabled
:code="codes.curtxt1"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="20px" prop="ledgrp.cbs.max.amt">
<c-input
v-model="model.ledgrp.cbs.max.amt"
placeholder="请输入金额"
class="m-input-currency"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="开证日期" prop="ledgrp.rec.opndat">
<c-date-picker
type="date"
v-model="model.ledgrp.rec.opndat"
style="width: 100%"
placeholder="请选择日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="预通知日期"
label-width="130px"
prop="ledgrp.rec.preadvdt"
>
<c-date-picker
type="date"
v-model="model.ledgrp.rec.preadvdt"
style="width: 100%"
placeholder="请选择日期"
disabled
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="装运日期" prop="ledgrp.rec.shpdat">
<c-date-picker
type="date"
v-model="model.ledgrp.rec.shpdat"
style="width: 100%"
placeholder="请选择日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="复核日期"
label-width="130px"
prop="ledgrp.rec.advdat"
>
<c-date-picker
type="date"
v-model="model.ledgrp.rec.advdat"
style="width: 100%"
placeholder="请选择日期"
disabled
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="生效日期" prop="ledgrp.rec.expdat">
<c-date-picker
type="date"
v-model="model.ledgrp.rec.expdat"
style="width: 100%"
placeholder="请选择日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="生效地点" prop="ledgrp.rec.expplc">
<c-input
v-model="model.ledgrp.rec.expplc"
maxlength="29"
placeholder="请选择地点"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="收到的承兑指示"
prop="ledgrp.rec.cnfdet"
>
<c-select
v-model="model.ledgrp.rec.cnfdet"
style="width: 100%"
placeholder="请选择内容"
:code="codes.cnfflg1"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="适用规则" prop="ledgrp.rec.apprul">
<c-select
v-model="model.ledgrp.rec.apprul"
style="width: 100%"
placeholder="请选择适用规则"
:code="codes.apprul1"
@change="apprulChange"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="其他适用规则"
prop="ledgrp.rec.apprultxt"
>
<c-input
v-model="model.ledgrp.rec.apprultxt"
maxlength="35"
placeholder="请选择适用规则"
:disabled="model.ledgrp.rec.apprul === 'OTHR' ? false : true"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="分批装运" prop="ledgrp.rec.shppar">
<c-select
v-model="model.ledgrp.rec.shppar"
style="width: 100%"
placeholder="请选择"
:code="codes.shptrss18"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="转运" prop="ledgrp.rec.shptrss18">
<c-select
v-model="model.ledgrp.rec.shptrss18"
style="width: 100%"
placeholder="请选择"
:code="codes.shptrss18"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<!-- right -->
<c-col :span="11" :offset="1">
<c-ptap
:model="model"
:argadr="{
title: '受益人',
grp: 'ledgrp',
rol: 'ben',
}"
:disabled="true"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
<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="revp"
v-if="model.ledgrp.rec.revflg"
>
</c-ptap>
<c-ptap
:model="model"
:argadr="{
title: '开证行',
grp: 'ledgrp',
rol: 'iss',
}"
:disabled="true"
@onSeainf="onSeainf"
@onAplpDet="onIsspDet"
<m-revp :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="aamp"
v-if="model.letp.aamp.aammod.addamtflg"
>
</c-ptap>
<c-ptap
:model="model"
:argadr="{
title: '申请人',
grp: 'ledgrp',
rol: 'apl',
}"
:disabled="true"
@onSeainf="onSeainf"
@onAplpDet="onAplpDet"
<!-- 附加金额 -->
<m-aamp :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="dogp">
<!-- 货物 -->
<m-doxp :model="model" :codes="codes" :dtyp="'dogp'" :rec="'led'" />
</el-collapse-item>
<el-collapse-item title="单据" name="dorp">
<!-- 单据 -->
<m-doxp :model="model" :codes="codes" :dtyp="'dorp'" :rec="'led'" />
</el-collapse-item>
<el-collapse-item title="附加条款" name="adcp">
<!-- 附加条款 -->
<m-doxp :model="model" :codes="codes" :dtyp="'adcp'" :rec="'led'" />
</el-collapse-item>
<el-collapse-item
title="仅适用于指定银行的特殊付款条款"
name="spcrcvp"
v-if="model.ledgrp.rec.spcrcbflg"
>
</c-ptap>
<c-col :span="12" class="centerLable marginLable">
<c-checkbox v-model="model.ledgrp.rec.revflg">循环信用证</c-checkbox>
</c-col>
<!-- Authorization to Debit -->
<c-col :span="12" class="centerLable marginLable">
<c-checkbox v-model="dbtflg">Authorization to Debit</c-checkbox>
</c-col>
<c-col :span="24" class="centerLable marginLable">
<c-checkbox v-model="nonban">非银行开证</c-checkbox>
</c-col>
<m-doxp :model="model" :codes="codes" :dtyp="'spcrcvp'" :rec="'led'" />
</el-collapse-item>
<!-- Test Key Unconfirmity -->
<c-col :span="24" class="centerLable marginLable">
<c-checkbox v-model="teskeyunc">Test Key Unconfirmity</c-checkbox>
</c-col>
</c-col>
<el-collapse-item
title="存在受益人的特殊付款条款"
name="spcbenp"
v-if="model.ledgrp.rec.spcbenflg"
>
<m-doxp :model="model" :codes="codes" :dtyp="'spcbenp'" :rec="'led'" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Letopn/Event";
import Ptap from "~/views/Public/Ptap";
import Utils from "~/utils";
// import Amtpanl from "~/views/Public/Amtpanl";
import Event from "~/model/Litdla/Event";
import Revp from "./Revp";
import Detp from "./Detp";
import Ptyp from "./Ptyp";
import Ovwp1 from "./Ovwp1";
import Aamp from "./Aamp";
import Doxp from "~/views/Public/Doxp";
export default {
components: { "c-ptap": Ptap },
components: {
"m-revp": Revp,
"m-detp": Detp,
"m-ptyp": Ptyp,
"m-doxp": Doxp,
"m-ovwp1": Ovwp1,
"m-aamp": Aamp,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
computed: {
flag() {
return this.model.mtabut.coninf.usr.extkey == "";
},
resflg: {
get() {
return this.model.ledgrp.rec.resflg != "";
},
set(val) {
this.model.ledgrp.rec.resflg = val ? "X" : "";
},
},
dbtflg: {
get() {
return this.model.ledgrp.rec.dbtflg != "";
},
set(val) {
this.model.ledgrp.rec.dbtflg = val ? "X" : "";
},
},
nonban: {
get() {
return this.model.ledgrp.rec.nonban != "";
},
set(val) {
this.model.ledgrp.rec.nonban = val ? "X" : "";
},
},
teskeyunc: {
get() {
return this.model.ledgrp.rec.teskeyunc != "";
},
set(val) {
this.model.ledgrp.rec.teskeyunc = val ? "X" : "";
},
},
return {
activeNames: ["ovwp1"],
};
},
methods: {
...Event,
nom1CurEvent() {
this.executeDefault("ledgrp.cbs.nom1.cur").then((res) => {
if (res.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, res.data);
}
});
},
apprulChange(v) {
if (v !== "OTHR") {
this.model.ledgrp.rec.apprultxt = "";
}
},
openAddDetails(val){
if(val ==='' && !( this.model.ledgrp.cbs.max2.amt == '0' && this.model.ledgrp.cbs.opn2.amt == '0'
&&this.model.ledgrp.blk.addamtcov ==='') ){
this.$confirm('是否确定要删除此合同的附加金额?','提示',{
confirmButtonText: '是',
cancelButtonText: '否',
type: 'warning',
showClose:false
}).then(() => {//yes的执行在这里写
this.executeRule('letp.aamp.aammod.addamtflg').then(res => {
if (res.respCode == SUCCESS) {
this.model.ledgrp.cbs.max2.amt = '0';
this.model.ledgrp.cbs.opn2.amt == '0'
this.model.ledgrp.blk.addamtcov ='';
this.updateModel(res.data)
}
})
openAddDetails(val) {
if (
val === "" &&
!(
this.model.ledgrp.cbs.max2.amt == "0" &&
this.model.ledgrp.cbs.opn2.amt == "0" &&
this.model.ledgrp.blk.addamtcov === ""
)
) {
this.$confirm("是否确定要删除此合同的附加金额?", "提示", {
confirmButtonText: "是",
cancelButtonText: "否",
type: "warning",
showClose: false,
})
.then(() => {
//yes的执行在这里写
this.executeRule("letp.aamp.aammod.addamtflg").then((res) => {
if (res.respCode == SUCCESS) {
this.model.ledgrp.cbs.max2.amt = "0";
this.model.ledgrp.cbs.opn2.amt == "0";
this.model.ledgrp.blk.addamtcov = "";
this.updateModel(res.data);
}
});
// this.model.ledgrp.rec.revtyp ='';
// this.model.ledgrp.rec.revtimes = '0';
// this.model.ledgrp.rec.revdat ='';
......@@ -528,21 +131,21 @@ export default {
// type: 'success',
// message: '删除成功!'
// });
}).catch(() => {//No的功能在这里写
this.model.letp.aamp.aammod.addamtflg ='X'
// this.$message({
// type: 'info',
// message: '已取消'
// });
});
}
}
})
.catch(() => {
//No的功能在这里写
this.model.letp.aamp.aammod.addamtflg = "X";
// this.$message({
// type: 'info',
// message: '已取消'
// });
});
}
},
},
created: function () {},
};
</script>
<style>
.marginLable {
padding-left: 160px;
}
<style>
</style>
\ No newline at end of file
<template>
<div class="eibs-tab">
<!-- 顶部 -->
<c-col :span="24">
<c-col :span="11">
<el-form-item
label="信用证编号"
prop="ledgrp.rec.ownref"
style="width: 100%"
>
<c-fullbox>
<c-input
v-model="model.ledgrp.rec.ownref"
maxlength="16"
placeholder="请输入Reference"
style="width: 95%"
:disabled="true"
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 0; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf"
>
<span
style="
font-size: 15px;
font-family: '宋体';
font-weight: bold;
"
>i</span
>
</c-button>
<c-button
style="margin: 0 0"
size="small"
type="primary"
:disabled="
model.ledgrp.ben.pts.adrblk && !model.ledgrp.rec.ownref
? false
: true
"
@click="onLetpButgetref"
>
获取
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="简略信息" prop="ledgrp.rec.nam">
<c-input
v-model="model.ledgrp.rec.nam"
maxlength="40"
placeholder="请输入内容"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- left -->
<c-col :span="11">
<c-col :span="24">
<el-form-item label="信用证类型" prop="ledgrp.rec.lcrtyp">
<c-select
v-model="model.ledgrp.rec.lcrtyp"
style="width: 100%"
placeholder="请选择信用证类型"
:code="codes.lcrtyp1"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="19">
<el-form-item
label="客户经理"
prop="letp.usr.extkey"
style="width: 100%"
>
<c-fullbox>
<c-input
v-model="model.letp.usr.extkey"
maxlength="8"
placeholder="请输入客户经理"
disabled
></c-input>
<template slot="footer">
<c-button
style="margin-left: 10px; padding: 0 10px"
size="small"
icon="el-icon-search"
type="primary"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="5">
<c-checkbox
:disabled="true"
v-model="model.ledgrp.rec.collflg"
style="margin-left: 10px"
>担保信用证</c-checkbox
>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="信用证金额" prop="ledgrp.cbs.nom1.cur">
<c-select
v-model="model.ledgrp.cbs.nom1.cur"
style="width: 100%"
placeholder="请选择币种"
@keyup.enter.native="nom1CurEvent"
:code="codes.curtxt1"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="7">
<el-form-item label="" label-width="20px" prop="ledgrp.cbs.nom1.amt">
<c-input-currency
v-model="model.ledgrp.cbs.nom1.amt"
style="text-align: left; width: 100%"
placeholder="请输入金额"
@keyup.enter.native="$event.target.blur()"
></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="5">
<c-checkbox
v-model="model.letp.aamp.aammod.addamtflg"
style="margin-left: 10px"
@change="openAddDetails"
>附加金额</c-checkbox
>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="溢短装" prop="ledgrp.rec.nomtop">
<c-input
v-model.number="model.ledgrp.rec.nomtop"
maxlength="2"
style="width: 100%"
placeholder="请输入金额上浮"
@keyup.enter.native="$event.target.blur()"
class="m-input-currency"
></c-input>
</el-form-item>
</c-col>
<c-col :span="7">
<el-form-item label="" label-width="20px" prop="ledgrp.rec.nomton">
<c-input
v-model.number="model.ledgrp.rec.nomton"
maxlength="2"
style="width: 100%"
placeholder="请输入金额下浮"
@keyup.enter.native="$event.target.blur()"
class="m-input-currency"
></c-input>
</el-form-item>
</c-col>
<c-col :span="5">
<c-checkbox
v-model="model.ledgrp.rec.inctrf"
disabled
style="margin-left: 10px"
>Incoming Transfer</c-checkbox
>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="19">
<el-form-item label="金额限额表述" prop="ledgrp.rec.nomspc">
<c-select
v-model="model.ledgrp.rec.nomspc"
style="width: 100%"
placeholder="请输入金额限额表述"
:code="codes.nomspc"
:disabled="true"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="5">
<c-checkbox v-model="resflg" style="margin-left: 10px"
>保留合同</c-checkbox
>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="最大金额" prop="ledgrp.cbs.max.cur">
<c-select
v-model="model.ledgrp.cbs.max.cur"
style="width: 100%"
placeholder="请选择币种"
disabled
:code="codes.curtxt1"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="20px" prop="ledgrp.cbs.max.amt">
<c-input
v-model="model.ledgrp.cbs.max.amt"
placeholder="请输入金额"
class="m-input-currency"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="开证日期" prop="ledgrp.rec.opndat">
<c-date-picker
type="date"
v-model="model.ledgrp.rec.opndat"
style="width: 100%"
placeholder="请选择日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="预通知日期"
label-width="130px"
prop="ledgrp.rec.preadvdt"
>
<c-date-picker
type="date"
v-model="model.ledgrp.rec.preadvdt"
style="width: 100%"
placeholder="请选择日期"
disabled
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="装运日期" prop="ledgrp.rec.shpdat">
<c-date-picker
type="date"
v-model="model.ledgrp.rec.shpdat"
style="width: 100%"
placeholder="请选择日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="复核日期"
label-width="130px"
prop="ledgrp.rec.advdat"
>
<c-date-picker
type="date"
v-model="model.ledgrp.rec.advdat"
style="width: 100%"
placeholder="请选择日期"
disabled
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="生效日期" prop="ledgrp.rec.expdat">
<c-date-picker
type="date"
v-model="model.ledgrp.rec.expdat"
style="width: 100%"
placeholder="请选择日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="生效地点" prop="ledgrp.rec.expplc">
<c-input
v-model="model.ledgrp.rec.expplc"
maxlength="29"
placeholder="请选择地点"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="收到的承兑指示"
prop="ledgrp.rec.cnfdet"
>
<c-select
v-model="model.ledgrp.rec.cnfdet"
style="width: 100%"
placeholder="请选择内容"
:code="codes.cnfflg1"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="适用规则" prop="ledgrp.rec.apprul">
<c-select
v-model="model.ledgrp.rec.apprul"
style="width: 100%"
placeholder="请选择适用规则"
:code="codes.apprul1"
@change="apprulChange"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="其他适用规则"
prop="ledgrp.rec.apprultxt"
>
<c-input
v-model="model.ledgrp.rec.apprultxt"
maxlength="35"
placeholder="请选择适用规则"
:disabled="model.ledgrp.rec.apprul === 'OTHR' ? false : true"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="分批装运" prop="ledgrp.rec.shppar">
<c-select
v-model="model.ledgrp.rec.shppar"
style="width: 100%"
placeholder="请选择"
:code="codes.shptrss18"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="转运" prop="ledgrp.rec.shptrss18">
<c-select
v-model="model.ledgrp.rec.shptrss18"
style="width: 100%"
placeholder="请选择"
:code="codes.shptrss18"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<!-- right -->
<c-col :span="11" :offset="1">
<c-ptap
:model="model"
:argadr="{
title: '受益人',
grp: 'ledgrp',
rol: 'ben',
}"
:disabled="true"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
>
</c-ptap>
<c-ptap
:model="model"
:argadr="{
title: '开证行',
grp: 'ledgrp',
rol: 'iss',
}"
:disabled="true"
@onSeainf="onSeainf"
@onAplpDet="onIsspDet"
>
</c-ptap>
<c-ptap
:model="model"
:argadr="{
title: '申请人',
grp: 'ledgrp',
rol: 'apl',
}"
:disabled="true"
@onSeainf="onSeainf"
@onAplpDet="onAplpDet"
>
</c-ptap>
<c-col :span="12" class="centerLable marginLable">
<c-checkbox v-model="model.ledgrp.rec.revflg">循环信用证</c-checkbox>
</c-col>
<!-- Authorization to Debit -->
<c-col :span="12" class="centerLable marginLable">
<c-checkbox v-model="dbtflg">Authorization to Debit</c-checkbox>
</c-col>
<c-col :span="24" class="centerLable marginLable">
<c-checkbox v-model="nonban">非银行开证</c-checkbox>
</c-col>
<!-- Test Key Unconfirmity -->
<c-col :span="24" class="centerLable marginLable">
<c-checkbox v-model="teskeyunc">Test Key Unconfirmity</c-checkbox>
</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/Letopn/Event";
import Ptap from "~/views/Public/Ptap";
import Utils from "~/utils";
// import Amtpanl from "~/views/Public/Amtpanl";
export default {
components: { "c-ptap": Ptap },
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
computed: {
flag() {
return this.model.mtabut.coninf.usr.extkey == "";
},
resflg: {
get() {
return this.model.ledgrp.rec.resflg != "";
},
set(val) {
this.model.ledgrp.rec.resflg = val ? "X" : "";
},
},
dbtflg: {
get() {
return this.model.ledgrp.rec.dbtflg != "";
},
set(val) {
this.model.ledgrp.rec.dbtflg = val ? "X" : "";
},
},
nonban: {
get() {
return this.model.ledgrp.rec.nonban != "";
},
set(val) {
this.model.ledgrp.rec.nonban = val ? "X" : "";
},
},
teskeyunc: {
get() {
return this.model.ledgrp.rec.teskeyunc != "";
},
set(val) {
this.model.ledgrp.rec.teskeyunc = val ? "X" : "";
},
},
},
methods: {
...Event,
nom1CurEvent() {
this.executeDefault("ledgrp.cbs.nom1.cur").then((res) => {
if (res.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, res.data);
}
});
},
apprulChange(v) {
if (v !== "OTHR") {
this.model.ledgrp.rec.apprultxt = "";
}
},
openAddDetails(val){
if(val ==='' && !( this.model.ledgrp.cbs.max2.amt == '0' && this.model.ledgrp.cbs.opn2.amt == '0'
&&this.model.ledgrp.blk.addamtcov ==='') ){
this.$confirm('Do you really want to delete the additional amount of this contract?','提示',{
confirmButtonText: 'Yes',
cancelButtonText: 'No',
type: 'warning',
showClose:false
}).then(() => {//yes的执行在这里写
this.executeRule('letp.aamp.aammod.addamtflg').then(res => {
if (res.respCode == SUCCESS) {
this.model.ledgrp.cbs.max2.amt = '0';
this.model.ledgrp.cbs.opn2.amt == '0'
this.model.ledgrp.blk.addamtcov ='';
this.updateModel(res.data)
}
})
// this.model.ledgrp.rec.revtyp ='';
// this.model.ledgrp.rec.revtimes = '0';
// this.model.ledgrp.rec.revdat ='';
// this.model.ledgrp.rec.revcum ='';
// this.model.ledgrp.blk.revcls ='';
// this.model.ledgrp.blk.revnotes ='';
// this.$message({
// type: 'success',
// message: '删除成功!'
// });
}).catch(() => {//No的功能在这里写
this.model.letp.aamp.aammod.addamtflg ='X'
// this.$message({
// type: 'info',
// message: '已取消'
// });
});
}
}
},
created: function () {},
};
</script>
<style>
.marginLable {
padding-left: 160px;
}
</style>
<template>
<div class="eContainer">
<c-page title="除口信用证补通知">
<!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<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>
<el-button size="small">制裁信息</el-button>
<!-- <el-button size="small">拆分报文</el-button> -->
<el-button size="small">智能提示</el-button>
</c-function-btn>
// <el-button size="small">拆分报文</el-button>
<el-button size="small">智能提示</el-button> -->
<!-- </c-function-btn> -->
<el-form
:model="model"
......@@ -28,84 +24,106 @@
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000017 -->
<el-tab-pane label="概览信息" name="ovwp">
<el-tab-pane label="业务信息" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane
<!-- <el-tab-pane
label="附加金额"
name="aamp"
v-if="model.letp.aamp.aammod.addamtflg"
>
<m-aamp :model="model" :codes="codes" />
</el-tab-pane>
</el-tab-pane> -->
<!--PD000063 -->
<el-tab-pane label="详细信息" name="detp">
<!-- <el-tab-pane label="详细信息" name="detp">
<c-content>
<m-detp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000042 -->
<el-tab-pane label="当事人信息" name="ptyp">
<!-- <el-tab-pane label="当事人信息" name="ptyp">
<m-ptyp :model="model" :codes="codes" />
</el-tab-pane>
</el-tab-pane> -->
<!--PD000055 -->
<el-tab-pane label="货物描述" name="dogp">
<!-- <el-tab-pane label="货物" name="dogp">
<m-doxp :model="model" :codes="codes" :dtyp="'dogp'" :rec="'led'" />
</el-tab-pane>
</el-tab-pane> -->
<!--PD000057 -->
<el-tab-pane label="单据" name="dorp">
<!-- <el-tab-pane label="单据" name="dorp">
<m-doxp :model="model" :codes="codes" :dtyp="'dorp'" :rec="'led'" />
</el-tab-pane>
</el-tab-pane> -->
<!--PD000060 -->
<el-tab-pane label="附加条款" name="adcp">
<!-- <el-tab-pane label="附加条款" name="adcp">
<m-doxp :model="model" :codes="codes" :dtyp="'adcp'" :rec="'led'" />
</el-tab-pane>
</el-tab-pane> -->
<!--PD000317 -->
<el-tab-pane
<!-- <el-tab-pane
label="循环信用证信息"
name="revp"
v-if="model.ledgrp.rec.revflg"
>
<m-revp :model="model" :codes="codes" />
</el-tab-pane>
</el-tab-pane> -->
<!--PD000027 -->
<el-tab-pane label="表外记账" name="engp">
<m-engp :model="model" :codes="codes" />
<el-tab-pane label="统一授信" name="limitbody">
<c-content>
<m-limitbody :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="结算" name="setpan">
<m-setpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="费用/账务" name="engp,setpan">
<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>
</div>
</c-content>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="提示信息" name="coninfp">
<el-tab-pane label="备查/附言" name="coninfp">
<c-content>
<m-coninfp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="报文和面函" name="docpan">
<m-docpan :model="model" :codes="codes" />
</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" v-if="attachments">
<m-doctre :model="model" :codes="codes" />
<!--PD000546 -->
<el-tab-pane label="附件信息" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000394 -->
<el-tab-pane
<!-- <el-tab-pane
label="受益人特殊付款条款"
name="spcbenp"
v-if="model.ledgrp.rec.spcbenflg"
......@@ -116,10 +134,10 @@
:dtyp="'spcbenp'"
:rec="'led'"
/>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000422 -->
<el-tab-pane
<!-- <el-tab-pane
label="银行专用特殊付款条款"
name="spcrcvp"
v-if="model.ledgrp.rec.spcrcbflg"
......@@ -130,12 +148,9 @@
:dtyp="'spcrcvp'"
:rec="'led'"
/>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog
......@@ -151,6 +166,13 @@
@select-ety="selectMsg"
>
</c-grid-ety-prompt-dialog>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash">
</c-function-btn>
</c-page>
</div>
</template>
<script>
......@@ -163,13 +185,13 @@ import Check from "~/model/Letrsv/Check";
import Default from "~/model/Letrsv/Default";
import Pattern from "~/model/Letrsv/Pattern";
import Ovwp from "./Ovwp";
import Detp from "./Detp";
import Ptyp from "./Ptyp";
//import Detp from "./Detp";
//import Ptyp from "./Ptyp";
// import Dogp from "./Dogp";
// import Dorp from "./Dorp";
// import Adcp from "./Adcp";
import Revp from "./Revp";
import Aamp from "./Aamp";
//import Revp from "./Revp";
//import Aamp from "./Aamp";
// import Spcbenp from "./Spcbenp";
// import Spcrcvp from "./Spcrcvp";
import Doctre from "~/views/Public/Doctre";
......@@ -178,23 +200,23 @@ import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan";
import Limitbody from "~/views/Public/Limitbody";
import Engp from '~/views/Public/Engp'
import Doxp from '~/views/Public/Doxp'
//import Doxp from '~/views/Public/Doxp'
export default {
name: "Letrsv",
components: {
"m-ovwp": Ovwp,
"m-detp": Detp,
"m-ptyp": Ptyp,
// "m-detp": Detp,
// "m-ptyp": Ptyp,
'm-engp': Engp,
"m-setpan": Setpan,
"m-coninfp": Coninfp,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-revp": Revp,
"m-aamp": Aamp,
// "m-revp": Revp,
// "m-aamp": Aamp,
"m-limitbody": Limitbody,
'm-doxp': Doxp,
//'m-doxp': Doxp,
},
provide() {
return {
......@@ -215,6 +237,7 @@ export default {
...CodeTable,
},
attachments: false,
activeNames: ["engp"],
};
},
methods: {
......
......@@ -20,7 +20,9 @@
<el-tab-pane label="保证金" name="ccvpan">
<c-content>
<m-ccvpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="统一授信" name="limitbody,shisuan">
......@@ -72,12 +74,16 @@
</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>
......
<template>
<div class="eibs-tab">
<div class="eibs">
<!-- =======左========== -->
<el-col :span="11">
......
......@@ -21,12 +21,16 @@
<!--PD000001 -->
<el-tab-pane label="保证金" name="ccvpan">
<c-content>
<m-ccvpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody">
<c-content>
<m-limitbody :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000027 -->
......@@ -60,12 +64,16 @@
<!--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>
......
......@@ -5,7 +5,7 @@
:key="cRow"
>
<div class="cell-item"
:style="{'width': cellWidth + 'px'}"
:style="{'width': cellWidth-10 + 'px'}"
v-for="cCol in cellCols"
:key="cCol"
>
......
......@@ -111,7 +111,7 @@
<el-form-item label="付款方">
<c-select v-model="formData.rol" style="width:100%">
<el-option
v-for="item in codes.setfelRol"
v-for="item in codes.setfelRol2"
:label="item.label"
:value="item.value"
:key="item.value"
......
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