Commit 7e97f337 by huangxin

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 a7613cc2 46396830
......@@ -7674,6 +7674,17 @@ const CodeTable = {
{ label: '付费', value: '1401' },
{ label: '付罚金', value: '1501' },
],
fortyp:[
{ label: '一级市场买入', value: '1' },
{ label: '二级市场买入', value: '2' },
],
f0105: [
{ label: "对方是境外直接投资者,即持有本机构/被代理居民机构/委托人表决权>=10%", value: "1" },
{ label: "对方是境外直接投资企业,即10%及以上的境外分支机构、子机构、联营机构或合营机构", value: "2" },
{ label: "对方是境外联署机构,即双方有共同母公司,但相互持有表决权<10%或相互不持有表决权", value: "3" },
{ label: "对方与本机构/被代理居民机构/委托人吴关联关系、关系未知,或两机构均处于中国境内", value: "4" },
],
}
export default CodeTable;
......@@ -48,10 +48,9 @@ export default {
}
},
async onFinmodButget() {
let rtnmsg = await this.executeRule("finmod.butget")
let rtnmsg = await this.executeRule("bptmod.finmod.butget")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({
title: '错误',
......@@ -72,9 +71,10 @@ export default {
}
},
async onFinmodButcal() {
let rtnmsg = await this.executeRule("finmod.butcal")
let rtnmsg = await this.executeRule("bptmod.finmod.butcal")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data);
} else {
this.$notify.error({
......
......@@ -55,9 +55,7 @@ export default class Eadame{
creditcodwarn:"", // CREDITORCODE WARNING .recp.pubp.creditcodwarn
acp:"", // 确认 .recp.pubp.acp
},
dclp: {
exdebtcode: ""
}
dclp: [],
},
pageId: "" // ctx的key
}
......
......@@ -55,9 +55,7 @@ export default class Eaddel{
creditcodwarn:"", // CREDITORCODE WARNING .recp.pubp.creditcodwarn
acp:"", // 确认 .recp.pubp.acp
},
dclp: {
exdebtcode: "",
}
dclp: [],
},
pageId: "" // ctx的key
}
......
......@@ -52,6 +52,7 @@ export default class Eadinf{
inltcabuscode:"", // 信用证承兑业务参号 .recgrp.bas.inltcabuscode
remark:"", // 备注 .recgrp.bas.remark
relation:"", // 对方与本机构的关系 .recgrp.bas.relation
sta: ""
},
},
recp:{
......@@ -60,10 +61,7 @@ export default class Eadinf{
acp:"", // 确认 .recp.pubp.acp
exdebtcode: "",
},
dclp: {
exdebtcode: "",
sta: ""
}
dclp: []
},
pageId: "" // ctx的key
}
......
......@@ -54,9 +54,7 @@ export default class Eafame{
creditcodwarn:"", // CREDITORCODE WARNING .recp.pubp.creditcodwarn
acp:"", // 确认 .recp.pubp.acp
},
dclp: {
exdebtcode: "",
}
dclp: [],
},
pageId: "" // ctx的key
}
......
......@@ -54,9 +54,7 @@ export default class Eafdel{
creditcodwarn:"", // CREDITORCODE WARNING .recp.pubp.creditcodwarn
acp:"", // 确认 .recp.pubp.acp
},
dclp: {
exdebtcode: "",
}
dclp: [],
},
pageId: "" // ctx的key
}
......
......@@ -54,9 +54,7 @@ export default class Eafinf{
creditcodwarn:"", // CREDITORCODE WARNING .recp.pubp.creditcodwarn
acp:"", // 确认 .recp.pubp.acp
},
dclp: {
exdebtcode: "",
}
dclp: [],
},
pageId: "" // ctx的key
}
......
......@@ -19,6 +19,11 @@ export default class Gitame{
gitapll4blk:"",
gitrmbl1blk:"",
gitp:{
oldgidtxt: {},
oldgtxgidtxt: {},
gtx: {
gidtxt: {},
},
swiftflg:"", // 是否SWIFT格式 .gitp.swiftflg
recget:{
sdamod:{
......@@ -128,6 +133,7 @@ export default class Gitame{
chargi:{
chkast:"", // Allow * .gitp.chargi.chkast
},
gidtxt: {},
gidtxtmodflg:"", // Modify Guarantee Text .gitp.gidtxtmodflg
chkgidtxt:"", // Allow * .gitp.chkgidtxt
cnrp:{
......
......@@ -21,9 +21,9 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"gidgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"gcdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
......@@ -47,9 +47,9 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"gcdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"gcdgrp.apl.pts.ref":[
......@@ -61,9 +61,9 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"gcdgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"gcdgrp.apl.pts.nam":[
{type: "string", required: false, message: "必输项"},
......
......@@ -321,7 +321,8 @@
<c-col :span="12">
<el-form-item label="融资金额" prop="bpdgrp.cbs.max.cur">
<c-select
:disabled="(model.ledgrp.rec.dflg=='D' || model.dedgrp.rec.dflg=='D') || (model.bpdgrp.rec.fintyp=='F' || model.bpdgrp.rec.fintyp=='U')"
:disabled="(model.bpdgrp.rec.pnttyp !='' && model.bpdgrp.rec.fpdinr !='') &&
((model.ledgrp.rec.dflg=='D' || model.dedgrp.rec.dflg=='D') || (model.bpdgrp.rec.fintyp=='F' || model.bpdgrp.rec.fintyp=='U'))"
v-model="model.bpdgrp.cbs.max.cur"
style="width: 100%"
placeholder="请选择融资币种"
......
......@@ -68,6 +68,13 @@
style="width: 100%"
placeholder="请选择福费廷类型"
>
<el-option
v-for="item in codes.fortyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
......@@ -76,7 +83,9 @@
<el-form-item label="信用证类型" prop="bpdgrp.rec.lctyp">
<c-select
v-model="model.bpdgrp.rec.lctyp"
:code="codes.lctyp"
style="width: 100%"
disabled
placeholder="请选择信用证类型"
>
</c-select>
......@@ -743,8 +752,10 @@
</c-col> -->
<!-- ----------------------------------------------------------------------------- -->
<!-- v-show="(sysmod.apt.cod == 'BPTOPN' || sysmod.apt.cod == 'BPTADD') && bpdgrp.rec.fintyp == 'G' && bpdgrp.rec.fortyp == '2'" -->
<c-col :span="12" style="padding-right: 20px">
<el-form-item label="原一级市场买入融资借据号" prop="bpdgrp.rec.loanno">
<el-form-item label="原一级市场买入融资借据号" prop="bpdgrp.rec.loanno"
v-show="model.bpdgrp.rec.fintyp == 'G' && model.bpdgrp.rec.fortyp == '2'">
<c-input
v-model="model.bpdgrp.rec.loanno"
maxlength="20"
......@@ -757,6 +768,7 @@
<el-form-item
label="国内信用证受益人统一信用代码"
prop="bpdgrp.rec.benidcode"
v-show="model.bpdgrp.rec.fintyp == 'G' && model.bpdgrp.rec.fortyp == '2'"
>
<c-input
v-model="model.bpdgrp.rec.benidcode"
......@@ -767,7 +779,8 @@
</c-col>
<c-col :span="24">
<el-form-item label="国内证受益人中文名称" prop="bpdgrp.rec.bennam">
<el-form-item label="国内证受益人中文名称" prop="bpdgrp.rec.bennam"
v-show="model.bpdgrp.rec.fintyp == 'G' && model.bpdgrp.rec.fortyp == '2'">
<c-input
v-model="model.bpdgrp.rec.bennam"
maxlength="100"
......@@ -778,12 +791,14 @@
<!-- ----------------------------------------------------------------------- -->
<c-col :span="12" style="padding-right: 20px">
<el-form-item label="境外付款人所属国家/地区" prop="bpdgrp.rec.f0103">
<el-form-item label="境外付款人所属国家/地区" prop="bpdgrp.rec.f0103"
v-show="model.bpdgrp.rec.fintyp == 'F' || model.bpdgrp.rec.fintyp == 'U'">
<c-fullbox>
<c-input
v-model="model.bpdgrp.rec.f0103"
maxlength="3"
placeholder="请输入境外付款人所属国家/地区"
@keyup.enter.native="showGridPromptDialog('bpdgrp.rec.f0103')"
></c-input>
<template slot="footer">
<c-button
......@@ -798,9 +813,11 @@
</c-fullbox>
</el-form-item>
<el-form-item label="境外付款人所属部门" prop="bpdgrp.rec.f0104">
<el-form-item label="境外付款人所属部门" prop="bpdgrp.rec.f0104"
v-show="model.bpdgrp.rec.fintyp == 'F' || model.bpdgrp.rec.fintyp == 'U'">
<c-select
v-model="model.bpdgrp.rec.f0104"
:code="codes.f0104"
style="width: 100%"
placeholder="请选择境外付款人所属部门"
>
......@@ -812,9 +829,11 @@
</c-col> -->
<c-col :span="12" style="padding-left: 20px">
<el-form-item label="是否附有银行承兑汇票" prop="bpdgrp.rec.f0102">
<el-form-item label="是否附有银行承兑汇票" prop="bpdgrp.rec.f0102"
v-show="model.bpdgrp.rec.fintyp == 'F' || model.bpdgrp.rec.fintyp == 'U'">
<c-select
v-model="model.bpdgrp.rec.f0102"
:code="codes.f0102"
style="width: 100%"
placeholder="请选择是否附有银行承兑汇票"
>
......@@ -834,9 +853,11 @@
</c-col> -->
<c-col :span="12" style="padding-left: 20px">
<el-form-item label="境外付款人与本机构的关系" prop="bpdgrp.rec.f0105">
<el-form-item label="境外付款人与本机构的关系" prop="bpdgrp.rec.f0105"
v-show="model.bpdgrp.rec.fintyp == 'F' || model.bpdgrp.rec.fintyp == 'U'">
<c-select
v-model="model.bpdgrp.rec.f0105"
:code="codes.f0105"
style="width: 100%"
placeholder="请选择境外付款人与本机构的关系"
>
......@@ -857,7 +878,12 @@ export default {
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
return {
codes: {
...CodeTable,
},
};
},
methods: { ...Event },
created: function () {},
......
......@@ -216,6 +216,13 @@
v-on:select-ety="selectEty"
>
</c-grid-ety-prompt-dialog>
<c-grid-ety-prompt-dialog
ref="doxpDialog"
:isPty="false"
:promptData="promptData"
@select-ety="selectMsg"
>
</c-grid-ety-prompt-dialog>
<!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<c-function-btn
:handleSubmit="handleSubmit"
......
......@@ -86,15 +86,17 @@
</c-select>
</el-form-item>
</c-col>
<!-- Advanced Party Ref. 融资业务编号-->
<!-- Advanced Party Ref. 融资业务编号 v-if="bpdgrp.rec.fintyp=='F' || bpdgrp.rec.fintyp=='D'"-->
<c-col :span="12">
<c-form-item label="" prop="bptp.distyp" label-width="0px" style="margin-left: 5px;">
<c-input
<c-form-item label="" prop="bptp.distyp" label-width="0px" style="margin-left: 5px;"
v-if="model.bpdgrp.rec.fintyp=='F' || model.bpdgrp.rec.fintyp=='D'">
<c-select
v-model="model.bptp.distyp"
:code="codes.distyp"
style="width: 100%; "
maxlength="17"
disabled
></c-input>
></c-select>
</c-form-item>
</c-col>
</c-col>
......
......@@ -2,15 +2,15 @@
<div class="eibs-tab">
<!-- SF000545 : Correspondence -->
<c-col :span="12">
<!-- <c-col :span="12">
<span
v-text="model.trnmod.trndoc.advlabel"
data-path=".trnmod.trndoc.advlabel"
>
</span>
</c-col>
</c-col> -->
<c-col :span="12">
<c-col :span="12" style="padding-right: 20px">
<c-form-item label="国内证落款" prop="trnmod.trndoc.advnam">
<c-input
v-model="model.trnmod.trndoc.advnam"
......@@ -20,7 +20,7 @@
</c-form-item>
</c-col>
<c-col :span="12">
<c-col :span="12" style="padding-left: 20px">
<c-form-item label="修改申请人名称" prop="trnmod.trndoc.amdapl">
<c-input
type="textarea"
......@@ -32,7 +32,7 @@
</c-form-item>
</c-col>
<c-col :span="12">
<c-col :span="12" style="padding-right: 20px">
<span
v-text="model.trnmod.trndoc.amdnam"
data-path=".trnmod.trndoc.amdnam"
......@@ -40,7 +40,7 @@
</span>
</c-col>
<c-col :span="12">
<c-col :span="12" style="padding-right: 20px">
<c-form-item label="国内证通知书" prop="trnmod.trndoc.advdoc">
<c-input
v-model="model.trnmod.trndoc.advdoc"
......
......@@ -4,38 +4,38 @@
<c-col :span="12" style="padding-right: 20px">
<!-- 外债编号 -->
<c-col :span="24">
<c-form-item :label="$t('pubp.S0000016')" prop="recp.dclp.exdebtcode">
<c-input v-model="model.recp.dclp.exdebtcode" maxlength="28"
<c-form-item :label="$t('pubp.S0000016')" prop="recp.dclp.0.exdebtcode">
<c-input v-model="dclp.exdebtcode" maxlength="28"
:placeholder="$t('other.please_enter') + $t('pubp.S0000016')" disabled></c-input>
</c-form-item>
</c-col>
<!-- 变动编号 -->
<c-col :span="24">
<el-form-item label="变动编号" prop="recp.dclp.changeno">
<c-input v-model="model.recp.dclp.changeno" style="width:100%" placeholder="请输入变动编号"
<el-form-item label="变动编号" prop="recp.dclp.0.changeno">
<c-input v-model="dclp.changeno" style="width:100%" placeholder="请输入变动编号"
:code="codes.changeno" disabled>
</c-input>
</el-form-item>
</c-col>
<!-- 操作类型 -->
<c-col :span="24">
<el-form-item label="操作类型" prop="recp.dclp.actiontype">
<c-select v-model="model.recp.dclp.actiontype" style="width:100%" placeholder="请选择操作类型" disabled
<el-form-item label="操作类型" prop="recp.dclp.0.actiontype">
<c-select v-model="dclp.actiontype" style="width:100%" placeholder="请选择操作类型" disabled
:code="codes.actiontype">
</c-select>
</el-form-item>
</c-col>
<!-- 银行业务参号 -->
<c-col :span="24">
<el-form-item label="银行业务参号" prop="recp.dclp.buscode">
<c-input v-model="model.recp.dclp.buscode" style="width:100%" placeholder="请输入银行业务参号" disabled></c-input>
<el-form-item label="银行业务参号" prop="recp.dclp.0.buscode">
<c-input v-model="dclp.buscode" style="width:100%" placeholder="请输入银行业务参号" :disabled="dclp.acp !== 'X'"></c-input>
</c-input>
</el-form-item>
</c-col>
<!-- 变动类型 -->
<c-col :span="24">
<el-form-item label="变动类型" prop="recp.dclp.changtype">
<c-select v-model="model.recp.dclp.changtype" style="width:100%" placeholder="请选择变动类型" disabled
<el-form-item label="变动类型" prop="recp.dclp.0.changtype">
<c-select v-model="dclp.changtype" style="width:100%" placeholder="请选择变动类型" :disabled="dclp.acp !== 'X'"
:code="codes.changtype">
</c-select>
</el-form-item>
......@@ -43,37 +43,37 @@
<!-- 变动日期 -->
<c-col :span="24">
<el-form-item label="变动日期" prop="eblmod.ebl.reldat">
<c-date-picker type="date" v-model="model.recp.dclp.chdate" style="width:100%" disabled
<c-date-picker type="date" v-model="dclp.chdate" style="width:100%" :disabled="dclp.acp !== 'X'"
placeholder="请选择变动日期"></c-date-picker>
</el-form-item>
</c-col>
<!-- 变动币种 -->
<c-col :span="24">
<el-form-item label="变动币种" prop="recp.dclp.chcurrency">
<c-select v-model="model.recp.dclp.chcurrency" style="width:100%" placeholder="请选择变动币种" disabled
<el-form-item label="变动币种" prop="recp.dclp.0.chcurrency">
<c-select v-model="dclp.chcurrency" style="width:100%" placeholder="请选择变动币种" :disabled="dclp.acp !== 'X'"
:code="codes.curtxt1">
</c-select>
</el-form-item>
</c-col>
<!-- 变动金额 -->
<c-col :span="24">
<el-form-item label="变动金额" prop="recp.dclp.chamount">
<c-input v-model="model.recp.dclp.chamount" style="width:100%" placeholder="请输入变动金额" disabled>
</c-input>
<el-form-item label="变动金额" prop="recp.dclp.0.chamount">
<c-input-currency-min v-model="dclp.chamount" style="width:100%" placeholder="请输入变动金额" class="input-currency-left" :disabled="dclp.acp !== 'X'">
</c-input-currency-min>
</el-form-item>
</c-col>
<!-- 公允价值 -->
<c-col :span="24">
<el-form-item label="公允价值" prop="recp.dclp.fairvalue">
<c-input v-model="model.recp.dclp.fairvalue" style="width:100%" placeholder="请输入公允价值" disabled>
</c-input>
<el-form-item label="公允价值" prop="recp.dclp.0.fairvalue">
<c-input-currency-min v-model="dclp.fairvalue" style="width:100%" placeholder="请输入公允价值" class="input-currency-left" :disabled="dclp.acp !== 'X'">
</c-input-currency-min>
</el-form-item>
</c-col>
<!-- 备注 -->
<c-col :span="24">
<c-form-item :label="$t('eadp.S0000023')" prop="recp.dclp.remark">
<c-input type="textarea" v-model="model.recp.dclp.remark" maxlength="31" show-word-limit
:placeholder="$t('other.please_enter') + $t('eadp.S0000023')" disabled></c-input>
<c-form-item :label="$t('eadp.S0000023')" prop="recp.dclp.0.remark">
<c-input type="textarea" v-model="dclp.remark" maxlength="31" show-word-limit
:placeholder="$t('other.please_enter') + $t('eadp.S0000023')" :disabled="dclp.acp !== 'X'"></c-input>
</c-form-item>
</c-col>
</c-col>
......@@ -81,28 +81,28 @@
<c-col :span="12" style="padding-left: 20px">
<!-- S0000022 : 删除原因 -->
<c-col :span="24">
<c-form-item :label="$t('pubp.S0000022')" prop="recp.dclp.actiondesc">
<c-input type="textarea" v-model="model.recp.dclp.actiondesc" maxlength="32" rows="7"
<c-form-item :label="$t('pubp.S0000022')" prop="recp.dclp.0.actiondesc">
<c-input type="textarea" v-model="dclp.actiondesc" maxlength="32" rows="7"
show-word-limit :placeholder="$t('other.please_enter') + $t('pubp.S0000022')" disabled>
</c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item>
<c-checkbox v-model="model.recp.dclp.acp" class="checkbox-left" disabled>确认</c-checkbox>
<c-checkbox v-model="dclp.acp" class="checkbox-left" :disabled="model.cfabut.dclflg !== 'X'">确认</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="24" style="text-align: right;margin-top: 300px;color:blue">
<c-form-item prop="recp.dclp.sta">
<!-- <c-select v-model="this.model.recp.dclp.sta" style="width:100%" placeholder="" disabled
<c-form-item prop="recp.dclp.0.sta">
<!-- <c-select v-model="this.dclp.sta" style="width:100%" placeholder="" disabled
:code="codes.sta1">
</c-select> -->
<span v-if="this.model.recp.dclp.sta == 'W'">待发送</span>
<span v-else-if="this.model.recp.dclp.sta == 'S'">已发送</span>
<span v-else-if="this.model.recp.dclp.sta == 'D'">已撤销</span>
<span v-else-if="this.model.recp.dclp.sta == 'G'">已删除</span>
<span v-else-if="this.model.recp.dclp.sta == 'P'">已作废</span>
<span v-else-if="this.model.recp.dclp.sta == 'E'">待修改</span>
<span v-if="this.dclp.sta == 'W'">待发送</span>
<span v-else-if="this.dclp.sta == 'S'">已发送</span>
<span v-else-if="this.dclp.sta == 'D'">已撤销</span>
<span v-else-if="this.dclp.sta == 'G'">已删除</span>
<span v-else-if="this.dclp.sta == 'P'">已作废</span>
<span v-else-if="this.dclp.sta == 'E'">待修改</span>
</c-form-item>
</c-col>
</c-col>
......@@ -120,10 +120,17 @@ export default {
mixins: [commonProcess],
data() {
return {
dclp: {},
}
},
methods: { ...Event },
watch: {
'model.recp.dclp': function (newVal, oldVal) {
if (newVal) {
this.dclp = newVal[0]
}
}
},
created: function () {
}
......
......@@ -17,11 +17,11 @@
</content>
</el-tab-pane>
<!--外债海外代付-变动信息(1) -->
<!-- <el-tab-pane label="外债海外代付-变动信息(1)" name="dclpp">
<el-tab-pane label="外债海外代付-变动信息(1)" name="dclpp">
<content>
<m-dclpp :model="model" :codes="codes" />
</content>
</el-tab-pane> -->
</el-tab-pane>
</c-tabs>
</el-form>
<c-function-btn :handleSubmit="handleSubmit.bind(this, 'cfabut.sav')"
......
......@@ -4,38 +4,38 @@
<c-col :span="12" style="padding-right: 20px">
<!-- 外债编号 -->
<c-col :span="24">
<c-form-item :label="$t('pubp.S0000016')" prop="recp.dclp.exdebtcode">
<c-input v-model="model.recp.dclp.exdebtcode" maxlength="28"
<c-form-item :label="$t('pubp.S0000016')" prop="recp.dclp.0.exdebtcode">
<c-input v-model="dclp.exdebtcode" maxlength="28"
:placeholder="$t('other.please_enter') + $t('pubp.S0000016')" disabled></c-input>
</c-form-item>
</c-col>
<!-- 变动编号 -->
<c-col :span="24">
<el-form-item label="变动编号" prop="recp.dclp.changeno">
<c-input v-model="model.recp.dclp.changeno" style="width:100%" placeholder="请输入变动编号"
<el-form-item label="变动编号" prop="recp.dclp.0.changeno">
<c-input v-model="dclp.changeno" style="width:100%" placeholder="请输入变动编号"
:code="codes.changeno" disabled>
</c-input>
</el-form-item>
</c-col>
<!-- 操作类型 -->
<c-col :span="24">
<el-form-item label="操作类型" prop="recp.dclp.actiontype">
<c-select v-model="model.recp.dclp.actiontype" style="width:100%" placeholder="请选择操作类型" disabled
<el-form-item label="操作类型" prop="recp.dclp.0.actiontype">
<c-select v-model="dclp.actiontype" style="width:100%" placeholder="请选择操作类型" disabled
:code="codes.actiontype">
</c-select>
</el-form-item>
</c-col>
<!-- 银行业务参号 -->
<c-col :span="24">
<el-form-item label="银行业务参号" prop="recp.dclp.buscode">
<c-input v-model="model.recp.dclp.buscode" style="width:100%" placeholder="请输入银行业务参号" disabled></c-input>
<el-form-item label="银行业务参号" prop="recp.dclp.0.buscode">
<c-input v-model="dclp.buscode" style="width:100%" placeholder="请输入银行业务参号" disabled></c-input>
</c-input>
</el-form-item>
</c-col>
<!-- 变动类型 -->
<c-col :span="24">
<el-form-item label="变动类型" prop="recp.dclp.changtype">
<c-select v-model="model.recp.dclp.changtype" style="width:100%" placeholder="请选择变动类型" disabled
<el-form-item label="变动类型" prop="recp.dclp.0.changtype">
<c-select v-model="dclp.changtype" style="width:100%" placeholder="请选择变动类型" disabled
:code="codes.changtype">
</c-select>
</el-form-item>
......@@ -43,36 +43,36 @@
<!-- 变动日期 -->
<c-col :span="24">
<el-form-item label="变动日期" prop="eblmod.ebl.reldat">
<c-date-picker type="date" v-model="model.recp.dclp.chdate" style="width:100%" disabled
<c-date-picker type="date" v-model="dclp.chdate" style="width:100%" disabled
placeholder="请选择变动日期"></c-date-picker>
</el-form-item>
</c-col>
<!-- 变动币种 -->
<c-col :span="24">
<el-form-item label="变动币种" prop="recp.dclp.chcurrency">
<c-select v-model="model.recp.dclp.chcurrency" style="width:100%" placeholder="请选择变动币种" disabled
<el-form-item label="变动币种" prop="recp.dclp.0.chcurrency">
<c-select v-model="dclp.chcurrency" style="width:100%" placeholder="请选择变动币种" disabled
:code="codes.curtxt1">
</c-select>
</el-form-item>
</c-col>
<!-- 变动金额 -->
<c-col :span="24">
<el-form-item label="变动金额" prop="recp.dclp.chamount">
<c-input v-model="model.recp.dclp.chamount" style="width:100%" placeholder="请输入变动金额" disabled>
</c-input>
<el-form-item label="变动金额" prop="recp.dclp.0.chamount">
<c-input-currency-min v-model="dclp.chamount" style="width:100%" placeholder="请输入变动金额" class="input-currency-left" disabled>
</c-input-currency-min>
</el-form-item>
</c-col>
<!-- 公允价值 -->
<c-col :span="24">
<el-form-item label="公允价值" prop="recp.dclp.fairvalue">
<c-input v-model="model.recp.dclp.fairvalue" style="width:100%" placeholder="请输入公允价值" disabled>
</c-input>
<el-form-item label="公允价值" prop="recp.dclp.0.fairvalue">
<c-input-currency-min v-model="dclp.fairvalue" style="width:100%" placeholder="请输入公允价值" class="input-currency-left" disabled>
</c-input-currency-min>
</el-form-item>
</c-col>
<!-- 备注 -->
<c-col :span="24">
<c-form-item :label="$t('eadp.S0000023')" prop="recp.dclp.remark">
<c-input type="textarea" v-model="model.recp.dclp.remark" maxlength="31" show-word-limit
<c-form-item :label="$t('eadp.S0000023')" prop="recp.dclp.0.remark">
<c-input type="textarea" v-model="dclp.remark" maxlength="31" show-word-limit
:placeholder="$t('other.please_enter') + $t('eadp.S0000023')" disabled></c-input>
</c-form-item>
</c-col>
......@@ -81,28 +81,28 @@
<c-col :span="12" style="padding-left: 20px">
<!-- S0000022 : 删除原因 -->
<c-col :span="24">
<c-form-item :label="$t('pubp.S0000022')" prop="recp.dclp.actiondesc">
<c-input type="textarea" v-model="model.recp.dclp.actiondesc" maxlength="32" rows="7"
show-word-limit :placeholder="$t('other.please_enter') + $t('pubp.S0000022')" disabled>
<c-form-item :label="$t('pubp.S0000022')" prop="recp.dclp.0.actiondesc">
<c-input type="textarea" v-model="dclp.actiondesc" maxlength="32" rows="7"
show-word-limit :placeholder="$t('other.please_enter') + $t('pubp.S0000022')" :disabled="dclp.acp !== 'X'">
</c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item>
<c-checkbox v-model="model.recp.dclp.acp" class="checkbox-left" disabled>确认</c-checkbox>
<c-checkbox v-model="dclp.acp" class="checkbox-left" :disabled="model.cfabut.dclflg !== 'X'">确认</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="24" style="text-align: right;margin-top: 300px;color:blue">
<c-form-item prop="recp.dclp.sta">
<!-- <c-select v-model="this.model.recp.dclp.sta" style="width:100%" placeholder="" disabled
<c-form-item prop="recp.dclp.0.sta">
<!-- <c-select v-model="this.dclp.sta" style="width:100%" placeholder="" disabled
:code="codes.sta1">
</c-select> -->
<span v-if="this.model.recp.dclp.sta == 'W'">待发送</span>
<span v-else-if="this.model.recp.dclp.sta == 'S'">已发送</span>
<span v-else-if="this.model.recp.dclp.sta == 'D'">已撤销</span>
<span v-else-if="this.model.recp.dclp.sta == 'G'">已删除</span>
<span v-else-if="this.model.recp.dclp.sta == 'P'">已作废</span>
<span v-else-if="this.model.recp.dclp.sta == 'E'">待修改</span>
<span v-if="this.dclp.sta == 'W'">待发送</span>
<span v-else-if="this.dclp.sta == 'S'">已发送</span>
<span v-else-if="this.dclp.sta == 'D'">已撤销</span>
<span v-else-if="this.dclp.sta == 'G'">已删除</span>
<span v-else-if="this.dclp.sta == 'P'">已作废</span>
<span v-else-if="this.dclp.sta == 'E'">待修改</span>
</c-form-item>
</c-col>
</c-col>
......@@ -120,10 +120,17 @@ export default {
mixins: [commonProcess],
data() {
return {
dclp: {}
}
},
methods: { ...Event },
watch: {
'model.recp.dclp': function (newVal, oldVal) {
if (newVal) {
this.dclp = newVal[0]
}
}
},
created: function () {
}
......
......@@ -16,11 +16,11 @@
</content>
</el-tab-pane>
<!--外债海外代付-变动信息(1) -->
<!-- <el-tab-pane label="外债海外代付-变动信息(1)" name="dclpp">
<el-tab-pane label="外债海外代付-变动信息(1)" name="dclpp">
<content>
<m-dclpp :model="model" :codes="codes" />
</content>
</el-tab-pane> -->
</el-tab-pane>
</c-tabs>
</el-form>
<c-function-btn :handleSubmit="handleSubmit.bind(this, 'cfabut.sav')"
......
......@@ -4,38 +4,38 @@
<c-col :span="12" style="padding-right: 20px">
<!-- 外债编号 -->
<c-col :span="24">
<c-form-item :label="$t('pubp.S0000016')" prop="recp.dclp.exdebtcode">
<c-input v-model="model.recp.dclp.exdebtcode" maxlength="28"
<c-form-item :label="$t('pubp.S0000016')" prop="recp.dclp.0.exdebtcode">
<c-input v-model="dclp.exdebtcode" maxlength="28"
:placeholder="$t('other.please_enter') + $t('pubp.S0000016')" disabled></c-input>
</c-form-item>
</c-col>
<!-- 变动编号 -->
<c-col :span="24">
<el-form-item label="变动编号" prop="recp.dclp.changeno">
<c-input v-model="model.recp.dclp.changeno" style="width:100%" placeholder="请输入变动编号"
<el-form-item label="变动编号" prop="recp.dclp.0.changeno">
<c-input v-model="dclp.changeno" style="width:100%" placeholder="请输入变动编号"
:code="codes.changeno" disabled>
</c-input>
</el-form-item>
</c-col>
<!-- 操作类型 -->
<c-col :span="24">
<el-form-item label="操作类型" prop="recp.dclp.actiontype">
<c-select v-model="model.recp.dclp.actiontype" style="width:100%" placeholder="请选择操作类型" disabled
<el-form-item label="操作类型" prop="recp.dclp.0.actiontype">
<c-select v-model="dclp.actiontype" style="width:100%" placeholder="请选择操作类型" disabled
:code="codes.actiontype">
</c-select>
</el-form-item>
</c-col>
<!-- 银行业务参号 -->
<c-col :span="24">
<el-form-item label="银行业务参号" prop="recp.dclp.buscode">
<c-input v-model="model.recp.dclp.buscode" style="width:100%" placeholder="请输入银行业务参号" disabled></c-input>
<el-form-item label="银行业务参号" prop="recp.dclp.0.buscode">
<c-input v-model="dclp.buscode" style="width:100%" placeholder="请输入银行业务参号" disabled></c-input>
</c-input>
</el-form-item>
</c-col>
<!-- 变动类型 -->
<c-col :span="24">
<el-form-item label="变动类型" prop="recp.dclp.changtype">
<c-select v-model="model.recp.dclp.changtype" style="width:100%" placeholder="请选择变动类型" disabled
<el-form-item label="变动类型" prop="recp.dclp.0.changtype">
<c-select v-model="dclp.changtype" style="width:100%" placeholder="请选择变动类型" disabled
:code="codes.changtype">
</c-select>
</el-form-item>
......@@ -43,36 +43,36 @@
<!-- 变动日期 -->
<c-col :span="24">
<el-form-item label="变动日期" prop="eblmod.ebl.reldat">
<c-date-picker type="date" v-model="model.recp.dclp.chdate" style="width:100%"
placeholder="请选择变动日期"></c-date-picker>
<c-date-picker type="date" v-model="dclp.chdate" style="width:100%"
placeholder="请选择变动日期" disabled></c-date-picker>
</el-form-item>
</c-col>
<!-- 变动币种 -->
<c-col :span="24">
<el-form-item label="变动币种" prop="recp.dclp.chcurrency">
<c-select v-model="model.recp.dclp.chcurrency" style="width:100%" placeholder="请选择变动币种" disabled
<el-form-item label="变动币种" prop="recp.dclp.0.chcurrency">
<c-select v-model="dclp.chcurrency" style="width:100%" placeholder="请选择变动币种" disabled
:code="codes.curtxt1">
</c-select>
</el-form-item>
</c-col>
<!-- 变动金额 -->
<c-col :span="24">
<el-form-item label="变动金额" prop="recp.dclp.chamount">
<c-input v-model="model.recp.dclp.chamount" style="width:100%" placeholder="请输入变动金额" disabled>
</c-input>
<el-form-item label="变动金额" prop="recp.dclp.0.chamount">
<c-input-currency-min v-model="dclp.chamount" style="width:100%" placeholder="请输入变动金额" class="input-currency-left" disabled>
</c-input-currency-min>
</el-form-item>
</c-col>
<!-- 公允价值 -->
<c-col :span="24">
<el-form-item label="公允价值" prop="recp.dclp.fairvalue">
<c-input v-model="model.recp.dclp.fairvalue" style="width:100%" placeholder="请输入公允价值" disabled>
</c-input>
<el-form-item label="公允价值" prop="recp.dclp.0.fairvalue">
<c-input-currency-min v-model="dclp.fairvalue" style="width:100%" placeholder="请输入公允价值" class="input-currency-left" disabled>
</c-input-currency-min>
</el-form-item>
</c-col>
<!-- 备注 -->
<c-col :span="24">
<c-form-item :label="$t('eadp.S0000023')" prop="recp.dclp.remark">
<c-input type="textarea" v-model="model.recp.dclp.remark" maxlength="31" show-word-limit
<c-form-item :label="$t('eadp.S0000023')" prop="recp.dclp.0.remark">
<c-input type="textarea" v-model="dclp.remark" maxlength="31" show-word-limit
:placeholder="$t('other.please_enter') + $t('eadp.S0000023')" disabled></c-input>
</c-form-item>
</c-col>
......@@ -81,28 +81,28 @@
<c-col :span="12" style="padding-left: 20px">
<!-- S0000022 : 删除原因 -->
<c-col :span="24">
<c-form-item :label="$t('pubp.S0000022')" prop="recp.dclp.actiondesc">
<c-input type="textarea" v-model="model.recp.dclp.actiondesc" maxlength="32" rows="7"
<c-form-item :label="$t('pubp.S0000022')" prop="recp.dclp.0.actiondesc">
<c-input type="textarea" v-model="dclp.actiondesc" maxlength="32" rows="7"
show-word-limit :placeholder="$t('other.please_enter') + $t('pubp.S0000022')" disabled>
</c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item>
<c-checkbox v-model="model.recp.dclp.acp" class="checkbox-left" disabled>确认</c-checkbox>
<c-checkbox v-model="dclp.acp" class="checkbox-left" disabled>确认</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="24" style="text-align: right;margin-top: 300px;color:blue">
<c-form-item prop="recp.dclp.sta">
<!-- <c-select v-model="this.model.recp.dclp.sta" style="width:100%" placeholder="" disabled
<c-form-item prop="recp.dclp.0.sta">
<!-- <c-select v-model="this.dclp.sta" style="width:100%" placeholder="" disabled
:code="codes.sta1">
</c-select> -->
<span v-if="this.model.recp.dclp.sta == 'W'">待发送</span>
<span v-else-if="this.model.recp.dclp.sta == 'S'">已发送</span>
<span v-else-if="this.model.recp.dclp.sta == 'D'">已撤销</span>
<span v-else-if="this.model.recp.dclp.sta == 'G'">已删除</span>
<span v-else-if="this.model.recp.dclp.sta == 'P'">已作废</span>
<span v-else-if="this.model.recp.dclp.sta == 'E'">待修改</span>
<span v-if="this.dclp.sta == 'W'">待发送</span>
<span v-else-if="this.dclp.sta == 'S'">已发送</span>
<span v-else-if="this.dclp.sta == 'D'">已撤销</span>
<span v-else-if="this.dclp.sta == 'G'">已删除</span>
<span v-else-if="this.dclp.sta == 'P'">已作废</span>
<span v-else-if="this.dclp.sta == 'E'">待修改</span>
</c-form-item>
</c-col>
</c-col>
......@@ -120,13 +120,25 @@ export default {
mixins: [commonProcess],
data() {
return {
dclp: {}
}
},
methods: { ...Event },
created: function () {
}
},
// watch: {
// 'model.recp.dclp'() {
// this.dclp = xx;
// }
// }
watch: {
'model.recp.dclp': function (newVal, oldVal) {
if (newVal) {
this.dclp = newVal[0]
}
}
},
}
</script>
<style>
......
......@@ -17,11 +17,11 @@
</content>
</el-tab-pane>
<!--外债海外代付-变动信息(1) -->
<!-- <el-tab-pane label="外债海外代付-变动信息(1)" name="dclpp">
<el-tab-pane label="外债海外代付-变动信息(1)" name="dclpp">
<content>
<m-dclpp :model="model" :codes="codes" />
</content>
</el-tab-pane> -->
</el-tab-pane>
</c-tabs>
</el-form>
......
......@@ -4,38 +4,38 @@
<c-col :span="12" style="padding-right: 20px">
<!-- 外债编号 -->
<c-col :span="24">
<c-form-item :label="$t('pubp.S0000016')" prop="recp.dclp.exdebtcode">
<c-input v-model="model.recp.dclp.exdebtcode" maxlength="28"
<c-form-item :label="$t('pubp.S0000016')" prop="recp.dclp.0.exdebtcode">
<c-input v-model="dclp.exdebtcode" maxlength="28"
:placeholder="$t('other.please_enter') + $t('pubp.S0000016')" disabled></c-input>
</c-form-item>
</c-col>
<!-- 变动编号 -->
<c-col :span="24">
<el-form-item label="变动编号" prop="recp.dclp.changeno">
<c-input v-model="model.recp.dclp.changeno" style="width:100%" placeholder="请输入变动编号"
<el-form-item label="变动编号" prop="recp.dclp.0.changeno">
<c-input v-model="dclp.changeno" style="width:100%" placeholder="请输入变动编号"
:code="codes.changeno" disabled>
</c-input>
</el-form-item>
</c-col>
<!-- 操作类型 -->
<c-col :span="24">
<el-form-item label="操作类型" prop="recp.dclp.actiontype">
<c-select v-model="model.recp.dclp.actiontype" style="width:100%" placeholder="请选择操作类型" disabled
<el-form-item label="操作类型" prop="recp.dclp.0.actiontype">
<c-select v-model="dclp.actiontype" style="width:100%" placeholder="请选择操作类型" disabled
:code="codes.actiontype">
</c-select>
</el-form-item>
</c-col>
<!-- 银行业务参号 -->
<c-col :span="24">
<el-form-item label="银行业务参号" prop="recp.dclp.buscode">
<c-input v-model="model.recp.dclp.buscode" style="width:100%" placeholder="请输入银行业务参号" disabled></c-input>
<el-form-item label="银行业务参号" prop="recp.dclp.0.buscode">
<c-input v-model="dclp.buscode" style="width:100%" placeholder="请输入银行业务参号" :disabled="dclp.acp !== 'X'"></c-input>
</c-input>
</el-form-item>
</c-col>
<!-- 变动类型 -->
<c-col :span="24">
<el-form-item label="变动类型" prop="recp.dclp.changtype">
<c-select v-model="model.recp.dclp.changtype" style="width:100%" placeholder="请选择变动类型" disabled
<el-form-item label="变动类型" prop="recp.dclp.0.changtype">
<c-select v-model="dclp.changtype" style="width:100%" placeholder="请选择变动类型" :disabled="dclp.acp !== 'X'"
:code="codes.changtype">
</c-select>
</el-form-item>
......@@ -43,37 +43,37 @@
<!-- 变动日期 -->
<c-col :span="24">
<el-form-item label="变动日期" prop="eblmod.ebl.reldat">
<c-date-picker type="date" v-model="model.recp.dclp.chdate" style="width:100%" disabled
<c-date-picker type="date" v-model="dclp.chdate" style="width:100%" :disabled="dclp.acp !== 'X'"
placeholder="请选择变动日期"></c-date-picker>
</el-form-item>
</c-col>
<!-- 变动币种 -->
<c-col :span="24">
<el-form-item label="变动币种" prop="recp.dclp.chcurrency">
<c-select v-model="model.recp.dclp.chcurrency" style="width:100%" placeholder="请选择变动币种" disabled
<el-form-item label="变动币种" prop="recp.dclp.0.chcurrency">
<c-select v-model="dclp.chcurrency" style="width:100%" placeholder="请选择变动币种" :disabled="dclp.acp !== 'X'"
:code="codes.curtxt1">
</c-select>
</el-form-item>
</c-col>
<!-- 变动金额 -->
<c-col :span="24">
<el-form-item label="变动金额" prop="recp.dclp.chamount">
<c-input v-model="model.recp.dclp.chamount" style="width:100%" placeholder="请输入变动金额" disabled>
</c-input>
<el-form-item label="变动金额" prop="recp.dclp.0.chamount">
<c-input-currency-min v-model="dclp.chamount" style="width:100%" placeholder="请输入变动金额" class="input-currency-left" :disabled="dclp.acp !== 'X'">
</c-input-currency-min>
</el-form-item>
</c-col>
<!-- 公允价值 -->
<c-col :span="24">
<el-form-item label="公允价值" prop="recp.dclp.fairvalue">
<c-input v-model="model.recp.dclp.fairvalue" style="width:100%" placeholder="请输入公允价值" disabled>
</c-input>
<el-form-item label="公允价值" prop="recp.dclp.0.fairvalue">
<c-input-currency-min v-model="dclp.fairvalue" style="width:100%" placeholder="请输入公允价值" class="input-currency-left" :disabled="dclp.acp !== 'X'">
</c-input-currency-min>
</el-form-item>
</c-col>
<!-- 备注 -->
<c-col :span="24">
<c-form-item :label="$t('eadp.S0000023')" prop="recp.dclp.remark">
<c-input type="textarea" v-model="model.recp.dclp.remark" maxlength="31" show-word-limit
:placeholder="$t('other.please_enter') + $t('eadp.S0000023')" disabled></c-input>
<c-form-item :label="$t('eadp.S0000023')" prop="recp.dclp.0.remark">
<c-input type="textarea" v-model="dclp.remark" maxlength="31" show-word-limit
:placeholder="$t('other.please_enter') + $t('eadp.S0000023')" :disabled="dclp.acp !== 'X'"></c-input>
</c-form-item>
</c-col>
</c-col>
......@@ -81,28 +81,28 @@
<c-col :span="12" style="padding-left: 20px">
<!-- S0000022 : 删除原因 -->
<c-col :span="24">
<c-form-item :label="$t('pubp.S0000022')" prop="recp.dclp.actiondesc">
<c-input type="textarea" v-model="model.recp.dclp.actiondesc" maxlength="32" rows="7"
<c-form-item :label="$t('pubp.S0000022')" prop="recp.dclp.0.actiondesc">
<c-input type="textarea" v-model="dclp.actiondesc" maxlength="32" rows="7"
show-word-limit :placeholder="$t('other.please_enter') + $t('pubp.S0000022')" disabled>
</c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item>
<c-checkbox v-model="model.recp.dclp.acp" class="checkbox-left" disabled>确认</c-checkbox>
<c-checkbox v-model="dclp.acp" class="checkbox-left" :disabled="model.cfabut.dclflg !== 'X'">确认</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="24" style="text-align: right;margin-top: 300px;color:blue">
<c-form-item prop="recp.dclp.sta">
<!-- <c-select v-model="this.model.recp.dclp.sta" style="width:100%" placeholder="" disabled
<c-form-item prop="recp.dclp.0.sta">
<!-- <c-select v-model="this.dclp.sta" style="width:100%" placeholder="" disabled
:code="codes.sta1">
</c-select> -->
<span v-if="this.model.recp.dclp.sta == 'W'">待发送</span>
<span v-else-if="this.model.recp.dclp.sta == 'S'">已发送</span>
<span v-else-if="this.model.recp.dclp.sta == 'D'">已撤销</span>
<span v-else-if="this.model.recp.dclp.sta == 'G'">已删除</span>
<span v-else-if="this.model.recp.dclp.sta == 'P'">已作废</span>
<span v-else-if="this.model.recp.dclp.sta == 'E'">待修改</span>
<span v-if="this.dclp.sta == 'W'">待发送</span>
<span v-else-if="this.dclp.sta == 'S'">已发送</span>
<span v-else-if="this.dclp.sta == 'D'">已撤销</span>
<span v-else-if="this.dclp.sta == 'G'">已删除</span>
<span v-else-if="this.dclp.sta == 'P'">已作废</span>
<span v-else-if="this.dclp.sta == 'E'">待修改</span>
</c-form-item>
</c-col>
</c-col>
......@@ -120,10 +120,17 @@ export default {
mixins: [commonProcess],
data() {
return {
dclp: {},
}
},
methods: { ...Event },
watch: {
'model.recp.dclp': function (newVal, oldVal) {
if (newVal) {
this.dclp = newVal[0]
}
}
},
created: function () {
}
......
......@@ -17,11 +17,11 @@
</content>
</el-tab-pane>
<!--外债远期信用证(含即期单证相符)-变动信息(1) -->
<!-- <el-tab-pane label="外债远期信用证(含即期单证相符)-变动信息(1)" name="dclpp">
<content>
<m-dclpp :model="model" :codes="codes" />
</content>
</el-tab-pane> -->
<el-tab-pane label="外债远期信用证(含即期单证相符)-变动信息(1)" name="dclpp">
<content>
<m-dclpp :model="model" :codes="codes" />
</content>
</el-tab-pane>
</c-tabs>
</el-form>
<c-function-btn :handleSubmit="handleSubmit.bind(this, 'cfabut.sav')"
......
......@@ -4,38 +4,38 @@
<c-col :span="12" style="padding-right: 20px">
<!-- 外债编号 -->
<c-col :span="24">
<c-form-item :label="$t('pubp.S0000016')" prop="recp.dclp.exdebtcode">
<c-input v-model="model.recp.dclp.exdebtcode" maxlength="28"
<c-form-item :label="$t('pubp.S0000016')" prop="recp.dclp.0.exdebtcode">
<c-input v-model="dclp.exdebtcode" maxlength="28"
:placeholder="$t('other.please_enter') + $t('pubp.S0000016')" disabled></c-input>
</c-form-item>
</c-col>
<!-- 变动编号 -->
<c-col :span="24">
<el-form-item label="变动编号" prop="recp.dclp.changeno">
<c-input v-model="model.recp.dclp.changeno" style="width:100%" placeholder="请输入变动编号"
<el-form-item label="变动编号" prop="recp.dclp.0.changeno">
<c-input v-model="dclp.changeno" style="width:100%" placeholder="请输入变动编号"
:code="codes.changeno" disabled>
</c-input>
</el-form-item>
</c-col>
<!-- 操作类型 -->
<c-col :span="24">
<el-form-item label="操作类型" prop="recp.dclp.actiontype">
<c-select v-model="model.recp.dclp.actiontype" style="width:100%" placeholder="请选择操作类型" disabled
<el-form-item label="操作类型" prop="recp.dclp.0.actiontype">
<c-select v-model="dclp.actiontype" style="width:100%" placeholder="请选择操作类型" disabled
:code="codes.actiontype">
</c-select>
</el-form-item>
</c-col>
<!-- 银行业务参号 -->
<c-col :span="24">
<el-form-item label="银行业务参号" prop="recp.dclp.buscode">
<c-input v-model="model.recp.dclp.buscode" style="width:100%" placeholder="请输入银行业务参号" disabled></c-input>
<el-form-item label="银行业务参号" prop="recp.dclp.0.buscode">
<c-input v-model="dclp.buscode" style="width:100%" placeholder="请输入银行业务参号" disabled></c-input>
</c-input>
</el-form-item>
</c-col>
<!-- 变动类型 -->
<c-col :span="24">
<el-form-item label="变动类型" prop="recp.dclp.changtype">
<c-select v-model="model.recp.dclp.changtype" style="width:100%" placeholder="请选择变动类型" disabled
<el-form-item label="变动类型" prop="recp.dclp.0.changtype">
<c-select v-model="dclp.changtype" style="width:100%" placeholder="请选择变动类型" disabled
:code="codes.changtype">
</c-select>
</el-form-item>
......@@ -43,36 +43,36 @@
<!-- 变动日期 -->
<c-col :span="24">
<el-form-item label="变动日期" prop="eblmod.ebl.reldat">
<c-date-picker type="date" v-model="model.recp.dclp.chdate" style="width:100%" disabled
<c-date-picker type="date" v-model="dclp.chdate" style="width:100%" disabled
placeholder="请选择变动日期"></c-date-picker>
</el-form-item>
</c-col>
<!-- 变动币种 -->
<c-col :span="24">
<el-form-item label="变动币种" prop="recp.dclp.chcurrency">
<c-select v-model="model.recp.dclp.chcurrency" style="width:100%" placeholder="请选择变动币种" disabled
<el-form-item label="变动币种" prop="recp.dclp.0.chcurrency">
<c-select v-model="dclp.chcurrency" style="width:100%" placeholder="请选择变动币种" disabled
:code="codes.curtxt1">
</c-select>
</el-form-item>
</c-col>
<!-- 变动金额 -->
<c-col :span="24">
<el-form-item label="变动金额" prop="recp.dclp.chamount">
<c-input v-model="model.recp.dclp.chamount" style="width:100%" placeholder="请输入变动金额" disabled>
</c-input>
<el-form-item label="变动金额" prop="recp.dclp.0.chamount">
<c-input-currency-min v-model="dclp.chamount" style="width:100%" placeholder="请输入变动金额" class="input-currency-left" disabled>
</c-input-currency-min>
</el-form-item>
</c-col>
<!-- 公允价值 -->
<c-col :span="24">
<el-form-item label="公允价值" prop="recp.dclp.fairvalue">
<c-input v-model="model.recp.dclp.fairvalue" style="width:100%" placeholder="请输入公允价值" disabled>
</c-input>
<el-form-item label="公允价值" prop="recp.dclp.0.fairvalue">
<c-input-currency-min v-model="dclp.fairvalue" style="width:100%" placeholder="请输入公允价值" class="input-currency-left" disabled>
</c-input-currency-min>
</el-form-item>
</c-col>
<!-- 备注 -->
<c-col :span="24">
<c-form-item :label="$t('eadp.S0000023')" prop="recp.dclp.remark">
<c-input type="textarea" v-model="model.recp.dclp.remark" maxlength="31" show-word-limit
<c-form-item :label="$t('eadp.S0000023')" prop="recp.dclp.0.remark">
<c-input type="textarea" v-model="dclp.remark" maxlength="31" show-word-limit
:placeholder="$t('other.please_enter') + $t('eadp.S0000023')" disabled></c-input>
</c-form-item>
</c-col>
......@@ -81,28 +81,28 @@
<c-col :span="12" style="padding-left: 20px">
<!-- S0000022 : 删除原因 -->
<c-col :span="24">
<c-form-item :label="$t('pubp.S0000022')" prop="recp.dclp.actiondesc">
<c-input type="textarea" v-model="model.recp.dclp.actiondesc" maxlength="32" rows="7"
show-word-limit :placeholder="$t('other.please_enter') + $t('pubp.S0000022')" disabled>
<c-form-item :label="$t('pubp.S0000022')" prop="recp.dclp.0.actiondesc">
<c-input type="textarea" v-model="dclp.actiondesc" maxlength="32" rows="7"
show-word-limit :placeholder="$t('other.please_enter') + $t('pubp.S0000022')" :disabled="dclp.acp !== 'X'">
</c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item>
<c-checkbox v-model="model.recp.dclp.acp" class="checkbox-left" disabled>确认</c-checkbox>
<c-checkbox v-model="dclp.acp" class="checkbox-left" :disabled="model.cfabut.dclflg !== 'X'">确认</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="24" style="text-align: right;margin-top: 300px;color:blue">
<c-form-item prop="recp.dclp.sta">
<!-- <c-select v-model="this.model.recp.dclp.sta" style="width:100%" placeholder="" disabled
<c-form-item prop="recp.dclp.0.sta">
<!-- <c-select v-model="this.dclp.sta" style="width:100%" placeholder="" disabled
:code="codes.sta1">
</c-select> -->
<span v-if="this.model.recp.dclp.sta == 'W'">待发送</span>
<span v-else-if="this.model.recp.dclp.sta == 'S'">已发送</span>
<span v-else-if="this.model.recp.dclp.sta == 'D'">已撤销</span>
<span v-else-if="this.model.recp.dclp.sta == 'G'">已删除</span>
<span v-else-if="this.model.recp.dclp.sta == 'P'">已作废</span>
<span v-else-if="this.model.recp.dclp.sta == 'E'">待修改</span>
<span v-if="this.dclp.sta == 'W'">待发送</span>
<span v-else-if="this.dclp.sta == 'S'">已发送</span>
<span v-else-if="this.dclp.sta == 'D'">已撤销</span>
<span v-else-if="this.dclp.sta == 'G'">已删除</span>
<span v-else-if="this.dclp.sta == 'P'">已作废</span>
<span v-else-if="this.dclp.sta == 'E'">待修改</span>
</c-form-item>
</c-col>
</c-col>
......@@ -120,10 +120,17 @@ export default {
mixins: [commonProcess],
data() {
return {
dclp: {},
}
},
methods: { ...Event },
watch: {
'model.recp.dclp': function (newVal, oldVal) {
if (newVal) {
this.dclp = newVal[0]
}
}
},
created: function () {
}
......
......@@ -18,11 +18,11 @@
</content>
</el-tab-pane>
<!--外债远期信用证(含即期单证相符)-变动信息(1) -->
<!-- <el-tab-pane label="外债远期信用证(含即期单证相符)-变动信息(1)" name="dclpp">
<content>
<m-dclpp :model="model" :codes="codes" />
</content>
</el-tab-pane> -->
<el-tab-pane label="外债远期信用证(含即期单证相符)-变动信息(1)" name="dclpp">
<content>
<m-dclpp :model="model" :codes="codes" />
</content>
</el-tab-pane>
</c-tabs>
</el-form>
<c-function-btn :handleSubmit="handleSubmit.bind(this, 'cfabut.sav')"
......
......@@ -4,38 +4,38 @@
<c-col :span="12" style="padding-right: 20px">
<!-- 外债编号 -->
<c-col :span="24">
<c-form-item :label="$t('pubp.S0000016')" prop="recp.dclp.exdebtcode">
<c-input v-model="model.recp.dclp.exdebtcode" maxlength="28"
<c-form-item :label="$t('pubp.S0000016')" prop="recp.dclp.0.exdebtcode">
<c-input v-model="dclp.exdebtcode" maxlength="28"
:placeholder="$t('other.please_enter') + $t('pubp.S0000016')" disabled></c-input>
</c-form-item>
</c-col>
<!-- 变动编号 -->
<c-col :span="24">
<el-form-item label="变动编号" prop="recp.dclp.changeno">
<c-input v-model="model.recp.dclp.changeno" style="width:100%" placeholder="请输入变动编号"
<el-form-item label="变动编号" prop="recp.dclp.0.changeno">
<c-input v-model="dclp.changeno" style="width:100%" placeholder="请输入变动编号"
:code="codes.changeno" disabled>
</c-input>
</el-form-item>
</c-col>
<!-- 操作类型 -->
<c-col :span="24">
<el-form-item label="操作类型" prop="recp.dclp.actiontype">
<c-select v-model="model.recp.dclp.actiontype" style="width:100%" placeholder="请选择操作类型" disabled
<el-form-item label="操作类型" prop="recp.dclp.0.actiontype">
<c-select v-model="dclp.actiontype" style="width:100%" placeholder="请选择操作类型" disabled
:code="codes.actiontype">
</c-select>
</el-form-item>
</c-col>
<!-- 银行业务参号 -->
<c-col :span="24">
<el-form-item label="银行业务参号" prop="recp.dclp.buscode">
<c-input v-model="model.recp.dclp.buscode" style="width:100%" placeholder="请输入银行业务参号" disabled></c-input>
<el-form-item label="银行业务参号" prop="recp.dclp.0.buscode">
<c-input v-model="dclp.buscode" style="width:100%" placeholder="请输入银行业务参号" disabled></c-input>
</c-input>
</el-form-item>
</c-col>
<!-- 变动类型 -->
<c-col :span="24">
<el-form-item label="变动类型" prop="recp.dclp.changtype">
<c-select v-model="model.recp.dclp.changtype" style="width:100%" placeholder="请选择变动类型" disabled
<el-form-item label="变动类型" prop="recp.dclp.0.changtype">
<c-select v-model="dclp.changtype" style="width:100%" placeholder="请选择变动类型" disabled
:code="codes.changtype">
</c-select>
</el-form-item>
......@@ -43,36 +43,36 @@
<!-- 变动日期 -->
<c-col :span="24">
<el-form-item label="变动日期" prop="eblmod.ebl.reldat">
<c-date-picker type="date" v-model="model.recp.dclp.chdate" style="width:100%" disabled
<c-date-picker type="date" v-model="dclp.chdate" style="width:100%" disabled
placeholder="请选择变动日期"></c-date-picker>
</el-form-item>
</c-col>
<!-- 变动币种 -->
<c-col :span="24">
<el-form-item label="变动币种" prop="recp.dclp.chcurrency">
<c-select v-model="model.recp.dclp.chcurrency" style="width:100%" placeholder="请选择变动币种" disabled
<el-form-item label="变动币种" prop="recp.dclp.0.chcurrency">
<c-select v-model="dclp.chcurrency" style="width:100%" placeholder="请选择变动币种" disabled
:code="codes.curtxt1">
</c-select>
</el-form-item>
</c-col>
<!-- 变动金额 -->
<c-col :span="24">
<el-form-item label="变动金额" prop="recp.dclp.chamount">
<c-input v-model="model.recp.dclp.chamount" style="width:100%" placeholder="请输入变动金额" disabled>
</c-input>
<el-form-item label="变动金额" prop="recp.dclp.0.chamount">
<c-input-currency-min v-model="dclp.chamount" style="width:100%" placeholder="请输入变动金额" class="input-currency-left" disabled>
</c-input-currency-min>
</el-form-item>
</c-col>
<!-- 公允价值 -->
<c-col :span="24">
<el-form-item label="公允价值" prop="recp.dclp.fairvalue">
<c-input v-model="model.recp.dclp.fairvalue" style="width:100%" placeholder="请输入公允价值" disabled>
</c-input>
<el-form-item label="公允价值" prop="recp.dclp.0.fairvalue">
<c-input-currency-min v-model="dclp.fairvalue" style="width:100%" placeholder="请输入公允价值" class="input-currency-left" disabled>
</c-input-currency-min>
</el-form-item>
</c-col>
<!-- 备注 -->
<c-col :span="24">
<c-form-item :label="$t('eadp.S0000023')" prop="recp.dclp.remark">
<c-input type="textarea" v-model="model.recp.dclp.remark" maxlength="31" show-word-limit
<c-form-item :label="$t('eadp.S0000023')" prop="recp.dclp.0.remark">
<c-input type="textarea" v-model="dclp.remark" maxlength="31" show-word-limit
:placeholder="$t('other.please_enter') + $t('eadp.S0000023')" disabled></c-input>
</c-form-item>
</c-col>
......@@ -81,28 +81,28 @@
<c-col :span="12" style="padding-left: 20px">
<!-- S0000022 : 删除原因 -->
<c-col :span="24">
<c-form-item :label="$t('pubp.S0000022')" prop="recp.dclp.actiondesc">
<c-input type="textarea" v-model="model.recp.dclp.actiondesc" maxlength="32" rows="7"
<c-form-item :label="$t('pubp.S0000022')" prop="recp.dclp.0.actiondesc">
<c-input type="textarea" v-model="dclp.actiondesc" maxlength="32" rows="7"
show-word-limit :placeholder="$t('other.please_enter') + $t('pubp.S0000022')" disabled>
</c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item>
<c-checkbox v-model="model.recp.dclp.acp" class="checkbox-left" disabled>确认</c-checkbox>
<c-checkbox v-model="dclp.acp" class="checkbox-left" disabled>确认</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="24" style="text-align: right;margin-top: 300px;color:blue">
<c-form-item prop="recp.dclp.sta">
<!-- <c-select v-model="this.model.recp.dclp.sta" style="width:100%" placeholder="" disabled
<c-form-item prop="recp.dclp.0.sta">
<!-- <c-select v-model="this.dclp.sta" style="width:100%" placeholder="" disabled
:code="codes.sta1">
</c-select> -->
<span v-if="this.model.recp.dclp.sta == 'W'">待发送</span>
<span v-else-if="this.model.recp.dclp.sta == 'S'">已发送</span>
<span v-else-if="this.model.recp.dclp.sta == 'D'">已撤销</span>
<span v-else-if="this.model.recp.dclp.sta == 'G'">已删除</span>
<span v-else-if="this.model.recp.dclp.sta == 'P'">已作废</span>
<span v-else-if="this.model.recp.dclp.sta == 'E'">待修改</span>
<span v-if="this.dclp.sta == 'W'">待发送</span>
<span v-else-if="this.dclp.sta == 'S'">已发送</span>
<span v-else-if="this.dclp.sta == 'D'">已撤销</span>
<span v-else-if="this.dclp.sta == 'G'">已删除</span>
<span v-else-if="this.dclp.sta == 'P'">已作废</span>
<span v-else-if="this.dclp.sta == 'E'">待修改</span>
</c-form-item>
</c-col>
</c-col>
......@@ -120,10 +120,17 @@ export default {
mixins: [commonProcess],
data() {
return {
dclp: {},
}
},
methods: { ...Event },
watch: {
'model.recp.dclp': function (newVal, oldVal) {
if (newVal) {
this.dclp = newVal[0]
}
}
},
created: function () {
}
......
......@@ -16,11 +16,11 @@
</content>
</el-tab-pane>
<!--外债远期信用证(含即期单证相符)-变动信息(1) -->
<!-- <el-tab-pane label="外债远期信用证(含即期单证相符)-变动信息(1)" name="dclpp">
<el-tab-pane label="外债远期信用证(含即期单证相符)-变动信息(1)" name="dclpp">
<content>
<m-dclpp :model="model" :codes="codes" />
</content>
</el-tab-pane> -->
</el-tab-pane>
</c-tabs>
</el-form>
</div>
......
......@@ -114,7 +114,7 @@
<c-col :span="24">
<c-form-item v-if="model.gitp.swiftflg == 'N'" label="面函标题" prop="gitamep.mstitle">
<c-input type="textarea" v-model="model.gitamep.mstitle" maxlength="30" show-word-limit placeholder="请输入面函标题">
<c-input type="textarea" v-model="model.gitamep.mstitle" maxlength="50" show-word-limit placeholder="请输入面函标题">
</c-input>
</c-form-item>
</c-col>
......@@ -299,7 +299,7 @@
<el-form-item v-if="
model.gitp.swiftflg == 'N' &&
model.trnmod.swiadd.newexpflg == ''
" label="新到期日" prop="trnmod.swiadd.newexpdat">
" label="新到期日" prop="trnmod.swiadd.newexpdat">
<c-date-picker type="date" v-model="model.trnmod.swiadd.newexpdat" style="width: 100%" placeholder="请输入新到期日期">
</c-date-picker>
</el-form-item>
......
......@@ -7,13 +7,13 @@
<c-col :span="16">
<c-col :span="24">
<el-form-item v-if="model.gitp.gidtxtmodflg == ''" label="保函文本可变因素" prop="gidgrp.blk.gidtxt">
<i-stream-input :disabled="model.gitp.gidtxtmodflg == ''" type="textarea" rows="16"
<c-xml-format-editor :disabled="model.gitp.gidtxtmodflg == ''" type="textarea" rows="16"
:model="model.gidgrp.blk.gidtxt" maxlength="65" show-word-limit placeholder="请输入保函文本可变因素">
</i-stream-input>
</c-xml-format-editor>
</el-form-item>
<el-form-item v-if="model.gitp.gidtxtmodflg == 'X'" label="保函文本可变因素" prop="gidgrp.blk.gtxgidtxt">
<i-stream-input type="textarea" :model="model.gidgrp.blk.gtxgidtxt" rows="16" maxlength="65"
show-word-limit placeholder="请输入保函文本可变因素"></i-stream-input>
<c-xml-format-editor type="textarea" :model="model.gidgrp.blk.gtxgidtxt" rows="16" maxlength="65"
show-word-limit placeholder="请输入保函文本可变因素"></c-xml-format-editor>
</el-form-item>
</c-col>
</c-col>
......@@ -26,14 +26,15 @@
</c-col>
<c-col :span="24">
<c-button :disabled="model.gitp.gidtxtmodflg == ''" size="small" type="primary"
style="margin: 18px 0 0 10px; width: 50%" @click="onGitpButdif">
<c-button :disabled="(model.gitp.gidtxtmodflg == '' && model.gitp.gidtxt == model.gidgrp.blk.gidtxt) || (model.gitp.gidtxtmodflg == 'X' && model.gitp.gtx.gidtxt == model.gidgrp.blk.gtxgidtxt)"
size="small" type="primary" style="margin: 18px 0 0 10px; width: 50%" @click="onGitpButdif">
查看系统文本
</c-button>
</c-col>
<c-col :span="24">
<c-button size="small" type="primary" style="margin: 5px 0 0 10px; width: 50%" @click="onGitpButdifhis">
<c-button :disabled="(model.gitp.gidtxtmodflg == '' && model.gitp.oldgidtxt == model.gidgrp.blk.gidtxt) || (model.gitp.gidtxtmodflg == 'X' && model.gitp.oldgtxgidtxt == model.gidgrp.blk.gtxgidtxt)"
size="small" type="primary" style="margin: 5px 0 0 10px; width: 50%" @click="onGitpButdifhis">
查看历史文本
</c-button>
</c-col>
......@@ -56,7 +57,7 @@
</c-button>
</c-col>
<c-col :span="24">
<c-button :disabled="model.gitp.gidtxtmodflg == ''" size="small" type="primary"
<c-button :disabled="!(model.gitp.gidtxtmodflg == 'X' && model.gidgrp.rec.giduil == 'CN')" size="small" type="primary"
style="margin: 5px 0 0 10px; width: 50%" @click="onGitpGidtxtmod">
修改中文保函文本
</c-button>
......
......@@ -118,7 +118,9 @@ import Ptypc from "./Ptypc";
import Aacp from "./Aacp";
import Aamp20 from "./Aamp20";
const tabNameToRulePathMapping = {
"gidtxtp": "gitp.gidtxtp",
}
export default {
components: {
......@@ -151,9 +153,43 @@ export default {
},
methods: {
...Event,
handleChange(val) {
console.log(val);
myTabClick(tab) {
this.tabClick(tab);
let name = tab.name;
let rulePath;
if (name === "gidtxtp") {
rulePath = "gitp.gidtxtp";
}
if (!!rulePath) {
this.executeRule(rulePath).then((res) => {
if (res.respCode == SUCCESS) {
this.updateModel(res.data);
}
});
}
},
handleChange(names){
// console.log(names);//激活的(展开的)面板的name数组集合
if (this.isInDisplay) {
return
}
const arr = []
for (let i = 0; i < names.length; i++) {
const n = names[i];
const path = tabNameToRulePathMapping[n]//取出激活/展开面板name对应的rulePath
if (path) {
arr.push(path)
}
}
let rulePath = arr.join(",");//把arr数组加入逗号分割,变成字符串
if (!!rulePath) {//rulePath不为空串
this.executeRule(rulePath).then((res) => {
if (res.respCode == SUCCESS) {
this.updateModel(res.data);
}
});
}
},
},
created: function () { },
};
......
......@@ -72,11 +72,11 @@
</c-checkbox>
<c-checkbox v-model="model.gitp.chkpreper" style="margin: 0 0 0 10px" class="checkbox-left">允许
</c-checkbox>
<c-button disabled size="small" type="primary" style="margin: 0px 0 0 10px; width: 100px"
<c-button :disabled="!(model.gitp.prepermodflg == 'X' && (model.gidgrp.blk.preper !== '' || model.gidgrp.blk.atxpreper !== ''))" size="small" type="primary" style="margin: 0px 0 0 10px; width: 100px"
@click="onGitpButdifpreper">
查看系统文本
</c-button>
<c-button disabled size="small" style="margin: 10px 0 0 10px; width: 100px" type="primary"
<c-button :disabled="!(model.gitp.prepermodflg == 'X' && (model.gidgrp.blk.preper !== '' || model.gidgrp.blk.atxpreper !== ''))" size="small" style="margin: 10px 0 0 10px; width: 100px" type="primary"
@click="onGitpButdifhispreper">
查看历史文本
</c-button>
......
<template>
<div class="eibs-tab">
<c-col :span="12 " style="padding-right: 20px;">
<c-col :span="16" v-if="model.gidgrp.rec.expflg=='X'||model.gidgrp.rec.expdat!=''">
<c-col :span="12" style="padding-right: 20px">
<c-col
:span="16"
v-if="model.gidgrp.rec.expflg == 'X' || model.gidgrp.rec.expdat != ''"
>
<el-form-item
label="保函编号"
prop="gidgrp.rec.ownref"
......@@ -23,14 +26,16 @@
icon="el-icon-info"
@click="onSeainf"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24" v-if="model.gidgrp.rec.expflg!='X'&&model.gidgrp.rec.expdat==''">
<c-col
:span="24"
v-if="model.gidgrp.rec.expflg != 'X' && model.gidgrp.rec.expdat == ''"
>
<el-form-item
label="保函编号"
prop="gidgrp.rec.ownref"
......@@ -52,25 +57,21 @@
icon="el-icon-info"
@click="onSeainf"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="8" v-if="model.gidgrp.rec.expflg=='X'">
<el-form-item
style="margin-left:20px"
label="我行责任敞口"
>
<c-col :span="8" v-if="model.gidgrp.rec.expflg == 'X'">
<el-form-item style="margin-left: 20px" label="我行责任敞口">
</el-form-item>
</c-col>
<c-col :span="8" v-if="model.gidgrp.rec.expdat!=''">
<c-col :span="8" v-if="model.gidgrp.rec.expdat != ''">
<el-form-item
label="保函效期"
label-width="50px"
prop="gidgrp.rec.expdat"
prop="gidgrp.rec.expdat"
>
<c-date-picker
type="date"
......@@ -82,7 +83,6 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="索赔编号"
......@@ -105,7 +105,6 @@
icon="el-icon-info"
@click="onSeainf"
>
</c-button>
<c-button
size="small"
......@@ -175,13 +174,13 @@
style="width: 100%"
disabled
>
<el-option
<!-- <el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</el-option> -->
</c-select>
</c-form-item>
</c-col>
......@@ -201,32 +200,34 @@
</c-form-item>
</c-col>
<c-col :span="24">
<c-col :span="24">
<el-form-item label="保函种类" prop="gidgrp.rec.gartyp">
<c-select
disabled
v-model="model.gidgrp.rec.gartyp"
style="width: 100%"
placeholder="请选择保函种类"
:code="typgar2"
placeholder="请选择保函种类"
:code="codes.typgar"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24" v-if="model.gidgrp.rec.liadat=='X'" >
<el-form-item
label="我行责任敞口"
>
</el-form-item>
<c-col :span="24" v-if="model.gidgrp.rec.liadat == 'X'">
<el-form-item label="我行责任敞口"> </el-form-item>
</c-col>
<c-col :span="24" v-if="model.gidgrp.rec.liadat!=''" >
<c-col :span="24" v-if="model.gidgrp.rec.liadat != ''">
<el-form-item label="责任截至日" prop="gidgrp.rec.liadat">
<c-date-picker type="date" v-model="model.gidgrp.rec.liadat" disabled style="width:100%" placeholder="请选择责任截至日"></c-date-picker>
<c-date-picker
type="date"
v-model="model.gidgrp.rec.liadat"
disabled
style="width: 100%"
placeholder="请选择责任截至日"
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="索赔日期" prop="gcdgrp.rec.clmdat">
......@@ -239,7 +240,7 @@
</el-form-item>
</c-col>
</c-col>
<c-col :span="12" style="padding-left: 20px;">
<c-col :span="12" style="padding-left: 20px">
<c-col :span="12">
<c-form-item
label="保函余额"
......@@ -252,13 +253,13 @@
style="width: 100%"
disabled
>
<el-option
<!-- <el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</el-option> -->
</c-select>
</c-form-item>
</c-col>
......@@ -269,11 +270,11 @@
label-width="5px"
prop="gidgrp.cbs.opn1.amt"
>
<c-input-currency
<c-input-currency-min
v-model="model.gidgrp.cbs.opn1.amt"
placeholder="请输入信用证金额"
disabled
></c-input-currency>
></c-input-currency-min>
</c-form-item>
</c-col>
......@@ -329,7 +330,7 @@
</c-col>
</c-col>
<c-col :span="12" style="padding-right: 20px;">
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="信函名称" prop="lettername">
<c-input
......@@ -339,12 +340,12 @@
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="24">
<el-form-item label="选择拒付类型" prop="rejtypsel">
<c-select
v-model="model.rejtypsel"
style="width:100%"
style="width: 100%"
placeholder=""
:code="rejtypsel"
></c-select>
......@@ -370,10 +371,7 @@
</c-col>
<c-col :span="24">
<el-form-item
label="拒付原因"
prop="trnmod.swiadd.strinfs20"
>
<el-form-item label="拒付原因" prop="trnmod.swiadd.strinfs20">
<c-input
type="textarea"
v-model="model.trnmod.swiadd.strinfs20"
......@@ -413,7 +411,6 @@
)
"
>
</c-button>
</template>
</c-fullbox>
......@@ -421,7 +418,7 @@
</c-col>
</c-col>
<c-col :span="12" style="margin-top: 15px;padding-left: 20px;">
<c-col :span="12" style="margin-top: 15px; padding-left: 20px">
<c-col :span="24">
<c-form-item label="索赔当事人" prop="gcdgrp.rec.docprbrol">
<c-select
......@@ -430,7 +427,7 @@
style="width: 100%"
disabled
>
<el-option
<el-option
v-for="item in codes.docprbrol"
:key="item.value"
:label="item.label"
......@@ -469,7 +466,6 @@
icon="el-icon-info"
@click="onSeainf"
>
</c-button>
<c-button
size="small"
......@@ -534,7 +530,6 @@
icon="el-icon-info"
@click="onSeainf"
>
</c-button>
<c-button
style="margin: 0 0"
......@@ -580,27 +575,26 @@ export default {
rejtypsel: [
{ label: "待定指令", value: "I" },
{ label: "直接返回单据", value: "R" },
],
],
typgar2: [
{ label: "农民工工资保函", value: "1" },
{ label: "农民工工资保函2", value: "2" },
],
],
};
},
watch:{
"model.rejtypsel" : {
watch: {
"model.rejtypsel": {
immediate: true,
handler(val,oldval){
if(this.model.rejtypsel=="I"){
this.model.mtabut.clsflg=""
}else if(this.model.rejtypsel=="R"){
this.model.mtabut.clsflg="X"
}
}
},
handler(val, oldval) {
if (this.model.rejtypsel == "I") {
this.model.mtabut.clsflg = "";
} else if (this.model.rejtypsel == "R") {
this.model.mtabut.clsflg = "X";
}
},
},
},
methods: { ...Event },
created: function () {},
};
......
<template>
<div class="eContainer">
<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> -->
<!-- <el-button size="small">拆分报文</el-button> -->
<!-- <el-button size="small">智能提示</el-button> -->
<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">
<el-tab-pane label="业务信息" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes"/>
</c-content>
</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"
>
<el-tab-pane label="业务信息" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody">
<c-content>
<m-limitbody :model="model" :codes="codes"/>
<!--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">
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="费用/账务" name="setpann">
<c-content>
<div class="eibs-tab">
<el-collapse v-model="activeNames">
......@@ -46,139 +49,133 @@
</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">
<c-content>
<m-coninfp :model="model" :codes="codes" />
</c-content>
</el-collapse-item>
</el-collapse>
</div>
</c-content>
<!--PD000000 -->
<el-tab-pane label="备查/附言" name="coninfp">
<c-content>
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<el-collapse-item title="附言" name="coninfp">
<c-content>
<m-coninfp :model="model" :codes="codes" />
</c-content>
</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"/>
<!--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">
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane label="附件信息" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes"/>
<m-doctre :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog ref="etyDialog" :promptData="promptData"
v-on:select-ety="selectEty">
</el-tab-pane>
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty"
>
</c-grid-ety-prompt-dialog>
<c-grid-ety-prompt-dialog
<c-grid-ety-prompt-dialog
ref="doxpDialog"
:isPty="false"
:promptData="promptData"
@select-ety="selectMsg"
>
</c-grid-ety-prompt-dialog>
</c-page>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</c-function-btn>
</c-page>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Gitcrj from "~/model/Gitcrj"
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Gitcrj from "~/model/Gitcrj";
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Gitcrj/Check"
import Default from "~/model/Gitcrj/Default"
import Pattern from "~/model/Gitcrj/Pattern"
import Gitsetp1 from "./Gitsetp1"
import Gitbin from "./Gitbin"
import Limitbody from "~/views/Public/Limitbody"
import Doctre from "~/views/Public/Doctre"
import Docpan from "~/views/Public/Docpan"
import Setpan from "~/views/Public/Setpan"
import Coninfp from "~/views/Public/Coninfp"
import Ovwp from "./Ovwp"
import Check from "~/model/Gitcrj/Check";
import Default from "~/model/Gitcrj/Default";
import Pattern from "~/model/Gitcrj/Pattern";
import Gitsetp1 from "./Gitsetp1";
import Gitbin from "./Gitbin";
import Limitbody from "~/views/Public/Limitbody";
import Doctre from "~/views/Public/Doctre";
import Docpan from "~/views/Public/Docpan";
import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp";
import Ovwp from "./Ovwp";
export default {
name: "Gitcrj",
components:{
"m-gitsetp1" : Gitsetp1,
"m-setpan" : Setpan,
"m-coninfp" : Coninfp,
"m-docpan" : Docpan,
"m-doctre" : Doctre,
"m-gitbin" : Gitbin,
"m-limitbody" : Limitbody,
"m-ovwp" : Ovwp,
},
provide() {
return {
root: this
}
name: "Gitcrj",
components: {
"m-gitsetp1": Gitsetp1,
"m-setpan": Setpan,
"m-coninfp": Coninfp,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-gitbin": Gitbin,
"m-limitbody": Limitbody,
"m-ovwp": Ovwp,
},
provide() {
return {
root: this,
};
},
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "ovwp",
trnName: "gitcrj",
model: new Gitcrj().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: { ...CodeTable },
activeNames: ["setpan", "coninfp"],
};
},
methods: {
myTabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
},
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "ovwp",
trnName: "gitcrj",
model: new Gitcrj().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {...CodeTable
},
activeNames: ["setpan","coninfp"],
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入gitcrj交易");
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: '服务请求失败!'});
}
},
created: async function () {
console.log("进入gitcrj交易");
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
//TODO 处理数据逻辑
if (this.isInDisplay) {
this.restoreDisplay();
}
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
}
},
};
</script>
<style>
</style>
......@@ -1366,29 +1366,26 @@ export default {
},
computed: {
flag(){
// return this.model.gidgrp.apl.pts.extkey != "" && this.model.gidgrp.rec.hndtyp !="" && (this.model.gidgrp.rec.hndtyp=="OL" || this.model.gidgrp.rec.hndtyp=="OC");
if(this.model.gidgrp.rec.ownref==''){
if(this.model.sysmod.wrkbch.bchref==''){
if(this.model.gitp.swiftflg == 'N') {
if(this.model.gidgrp.rec.ownref == '') {
if(this.model.gidgrp.rec.hndtyp !== '' && this.model.gidgrp.apl.pts.adrblk !== '') {
return false;
} else {
return true;
}
} else {
return true;
}else {
if(this.model.gidgrp.rec.hndtyp=='OT'){
if(this.model.gidgrp.ben.pts.extkey!=''){
return false;
}else{
}
} else {
if(this.model.gidgrp.rec.ownref == '') {
if(this.model.gidgrp.rec.purpos !== '' && this.model.gidgrp.apl.pts.adrblk !== '') {
return false;
} else {
return true;
}
}else if(this.model.gidgrp.rec.hndtyp!=''){
if(this.model.gidgrp.apl.pts.extkey!=''){
return false;
}else{
return true;
}
}else{
return true;
}
} else {
return true;
}
}else{
return true;
}
},
amtwidth(){
......
......@@ -31,7 +31,7 @@
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Brtset/Event";
import Event from "~/model/Gitset/Event";
import Wg from "./Wg";
import Cnyp1 from "./Cnyp1";
import Basp from "./Basp";
......
......@@ -273,7 +273,7 @@
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Bctset/Event";
import Event from "~/model/Gitset/Event";
export default {
inject: ["root"],
......
......@@ -253,7 +253,7 @@
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Bctset/Event";
import Event from "~/model/Gitset/Event";
export default {
inject: ["root"],
......
......@@ -438,12 +438,14 @@
<c-col
:span="12"
class="centerLable marginLable"
v-if="model.setmod.doccur == 'CNY'"
>
<el-form-item class="checkbox-left">
<c-checkbox v-model="model.gidgrp.rec.cmtflg"
>跨境人民币保函</c-checkbox
>
</el-form-item>
</c-col>
<c-col :span="24">
......
......@@ -42,7 +42,7 @@
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import Event from "~/model/Brtset/Event";
import Event from "~/model/Gitset/Event";
import Utils from "~/utils";
import Det756 from "./Det756";
......
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