Commit 560ebd3d by “yanyuxin”

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 577d6b28 a2fd9bb6
...@@ -127,11 +127,11 @@ export default class Bttrcl{ ...@@ -127,11 +127,11 @@ export default class Bttrcl{
utlamt2:"", // Add. Amount utilized/settled .aamset.utlamt2 utlamt2:"", // Add. Amount utilized/settled .aamset.utlamt2
utlamt:"", // Doc. Amount utilized/settled .aamset.utlamt utlamt:"", // Doc. Amount utilized/settled .aamset.utlamt
}, },
trnmod:{ // trnmod:{
trndoc:{ // trndoc:{
nar754:"", // Narrative :77A: .trnmod.trndoc.nar754 // nar754:"", // Narrative :77A: .trnmod.trndoc.nar754
}, // },
}, // },
setmod:new Pub().data.Setmod, setmod:new Pub().data.Setmod,
mtabut:new Pub().data.Mtabut, mtabut:new Pub().data.Mtabut,
trnmod:new Pub().data.Trnmod, trnmod:new Pub().data.Trnmod,
......
import Api from "~/service/Api" import Api from "~/service/Api"
import Pts from "../Common/Pts" import Pts from "../Common/Pts"
import Pub from "../Public"
export default class Bttset{ export default class Bttset {
constructor () { constructor() {
this.data = { this.data = {
bttp0:{ setmod: new Pub().data.Setmod,
ltdget:{ mtabut: new Pub().data.Mtabut,
sdamod:{ trnmod: new Pub().data.Trnmod,
dadsnd:"", // Drag Drop Sender .bttp0.ltdget.sdamod.dadsnd liaall: new Pub().data.Liaall,
seainf:"", // .bttp0.ltdget.sdamod.seainf bttp0: {
}, ltdget: {
}, sdamod: {
ledget:{ dadsnd: "", // Drag Drop Sender .bttp0.ltdget.sdamod.dadsnd
sdamod:{ seainf: "", // .bttp0.ltdget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .bttp0.ledget.sdamod.dadsnd },
seainf:"", // .bttp0.ledget.sdamod.seainf },
}, ledget: {
}, sdamod: {
recget:{ dadsnd: "", // Drag Drop Sender .bttp0.ledget.sdamod.dadsnd
sdamod:{ seainf: "", // .bttp0.ledget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .bttp0.recget.sdamod.dadsnd },
seainf:"", // .bttp0.recget.sdamod.seainf },
}, recget: {
}, sdamod: {
matp:{ dadsnd: "", // Drag Drop Sender .bttp0.recget.sdamod.dadsnd
mattxtlab:"", // Label for MATTXT .bttp0.matp.mattxtlab seainf: "", // .bttp0.recget.sdamod.seainf
}, },
aammod:{ },
addamtflg:"", // Add. Amount .bttp0.aammod.addamtflg matp: {
}, mattxtlab: "", // Label for MATTXT .bttp0.matp.mattxtlab
}, },
ltdgrp:{ aammod: {
rec:{ addamtflg: "", // Add. Amount .bttp0.aammod.addamtflg
ownref:"", // Transfer Reference .ltdgrp.rec.ownref },
}, },
}, ltdgrp: {
ledgrp:{ rec: {
rec:{ ownref: "", // Transfer Reference .ltdgrp.rec.ownref
ownref:"", // L/C Reference .ledgrp.rec.ownref },
}, },
}, ledgrp: {
btdgrp:{ rec: {
rec:{ ownref: "", // L/C Reference .ledgrp.rec.ownref
ownref:"", // Doc. Set Reference .btdgrp.rec.ownref },
doctypcod:"", // Document Type .btdgrp.rec.doctypcod },
matdat:"", // Maturity Date .btdgrp.rec.matdat btdgrp: {
rcvdatbe2:"", // Received on 2nd Ben. .btdgrp.rec.rcvdatbe2 rec: {
rcvdatbe1:"", // Received on 1st Ben. .btdgrp.rec.rcvdatbe1 ownref: "", // Doc. Set Reference .btdgrp.rec.ownref
docsta:"", // Document Set Status .btdgrp.rec.docsta doctypcod: "", // Document Type .btdgrp.rec.doctypcod
nam:"", // Name of Bill Contract .btdgrp.rec.nam matdat: "", // Maturity Date .btdgrp.rec.matdat
frepayflg:"", // Free of Payment .btdgrp.rec.frepayflg rcvdatbe2: "", // Received on 2nd Ben. .btdgrp.rec.rcvdatbe2
}, rcvdatbe1: "", // Received on 1st Ben. .btdgrp.rec.rcvdatbe1
cbs:{ docsta: "", // Document Set Status .btdgrp.rec.docsta
max:{ nam: "", // Name of Bill Contract .btdgrp.rec.nam
cur:"", // Document Amount .btdgrp.cbs.max.cur frepayflg: "", // Free of Payment .btdgrp.rec.frepayflg
amt:"", // Document Amount .btdgrp.cbs.max.amt },
}, cbs: {
opn1:{ max: {
cur:"", // Open Amount .btdgrp.cbs.opn1.cur cur: "", // Document Amount .btdgrp.cbs.max.cur
amt:"", // Balance .btdgrp.cbs.opn1.amt amt: "", // Document Amount .btdgrp.cbs.max.amt
}, },
opn2:{ opn1: {
cur:"", // 附加金额 .btdgrp.cbs.opn2.cur cur: "", // Open Amount .btdgrp.cbs.opn1.cur
}, amt: "", // Balance .btdgrp.cbs.opn1.amt
}, },
be1:{ opn2: {
pts:new Pts().data, cur: "", // 附加金额 .btdgrp.cbs.opn2.cur
}, },
be2:{ },
pts:new Pts().data, be1: {
}, pts: new Pts().data,
}, },
liaall:{ be2: {
tenstm:"", // Tenor Stream .liaall.tenstm pts: new Pts().data,
limmod:{ },
limpfp:{ },
clmcbe:[], // .liaall.limmod.limpfp.clmcbe // liaall: {
clmcbb:[], // .liaall.limmod.limpfp.clmcbb // tenstm: "", // Tenor Stream .liaall.tenstm
clmpty:[], // .liaall.limmod.limpfp.clmpty // limmod: {
}, // limpfp: {
}, // clmcbe: [], // .liaall.limmod.limpfp.clmcbe
}, // clmcbb: [], // .liaall.limmod.limpfp.clmcbb
setmod:{ // clmpty: [], // .liaall.limmod.limpfp.clmpty
doccur:"", // document currency .setmod.doccur // },
docamt:"", // Amount Settled .setmod.docamt // },
setamt:"", // Reduced Amt. Settled .setmod.setamt // },
redamt:"", // Reduction Amt. .setmod.redamt // setmod: {
}, // doccur: "", // document currency .setmod.doccur
be1amt:"", // Amount for 1st Ben. .be1amt // docamt: "", // Amount Settled .setmod.docamt
be1amt2:"", // Add. Amt for 1st Ben. .be1amt2 // setamt: "", // Reduced Amt. Settled .setmod.setamt
trtcre:{ // redamt: "", // Reduction Amt. .setmod.redamt
crefinflg:"", // Create Financing .trtcre.crefinflg // },
}, be1amt: "", // Amount for 1st Ben. .be1amt
mtabut:{ be1amt2: "", // Add. Amt for 1st Ben. .be1amt2
clsflg:"", // Close Flag .mtabut.clsflg trtcre: {
}, crefinflg: "", // Create Financing .trtcre.crefinflg
aamset:{ },
utlamt:"", // 单据金额 .aamset.utlamt mtabut: {
utlamt2:"", // 附加金额 .aamset.utlamt2 clsflg: "", // Close Flag .mtabut.clsflg
}, },
trnmod:{ aamset: {
trndoc:{ utlamt: "", // 单据金额 .aamset.utlamt
nar754:"", // Narrative :77A: .trnmod.trndoc.nar754 utlamt2: "", // 附加金额 .aamset.utlamt2
}, },
}, // trnmod: {
lendoc:{ // trndoc: {
actflg:"", // Input Account .lendoc.actflg // nar754: "", // Narrative :77A: .trnmod.trndoc.nar754
account:"", // ACT .lendoc.account // },
vercerref:"", // Verification Certificate Number .lendoc.vercerref // },
decnum:"", // Declaration Number .lendoc.decnum lendoc: {
}, actflg: "", // Input Account .lendoc.actflg
bopmod:{ account: "", // ACT .lendoc.account
szflg:"", // 申报类型 .bopmod.szflg vercerref: "", // Verification Certificate Number .lendoc.vercerref
basflg:"", // 基础数据 .bopmod.basflg decnum: "", // Declaration Number .lendoc.decnum
dclflg:"", // 申报数据 .bopmod.dclflg },
vrfflg:"", // 核销数据 .bopmod.vrfflg bopmod: {
ownextkey:"", // 地区机构号 .bopmod.ownextkey szflg: "", // 申报类型 .bopmod.szflg
outchargeccy:"", // 国外银行扣费(涉外收入申报专用) .bopmod.outchargeccy basflg: "", // 基础数据 .bopmod.basflg
outchargeamt:"", // 国外银行扣费(涉外收入申报专用) .bopmod.outchargeamt dclflg: "", // 申报数据 .bopmod.dclflg
acttyp:"", // 款项来源 .bopmod.acttyp vrfflg: "", // 核销数据 .bopmod.vrfflg
dbdp:{ ownextkey: "", // 地区机构号 .bopmod.ownextkey
baspp:{ outchargeccy: "", // 国外银行扣费(涉外收入申报专用) .bopmod.outchargeccy
cusnam:"", // .bopmod.dbdp.baspp.cusnam outchargeamt: "", // 国外银行扣费(涉外收入申报专用) .bopmod.outchargeamt
cornam:"", // .bopmod.dbdp.baspp.cornam acttyp: "", // 款项来源 .bopmod.acttyp
corpnam:"", // .bopmod.dbdp.baspp.corpnam dbdp: {
roptnam:"", // RoptNam .bopmod.dbdp.baspp.roptnam baspp: {
exratelab:"", // �'�汇/结汇汇率 .bopmod.dbdp.baspp.exratelab cusnam: "", // .bopmod.dbdp.baspp.cusnam
lcyamtlab:"", // �'�汇/结汇金额 .bopmod.dbdp.baspp.lcyamtlab cornam: "", // .bopmod.dbdp.baspp.cornam
acp:"", // 确认 .bopmod.dbdp.baspp.acp corpnam: "", // .bopmod.dbdp.baspp.corpnam
tmprefnew:"", // TMPREFLABEL .bopmod.dbdp.baspp.tmprefnew roptnam: "", // RoptNam .bopmod.dbdp.baspp.roptnam
}, exratelab: "", // �'�汇/结汇汇率 .bopmod.dbdp.baspp.exratelab
}, lcyamtlab: "", // �'�汇/结汇金额 .bopmod.dbdp.baspp.lcyamtlab
dbdgrp:{ acp: "", // 确认 .bopmod.dbdp.baspp.acp
bas:{ tmprefnew: "", // TMPREFLABEL .bopmod.dbdp.baspp.tmprefnew
tmpref:"", // �'时申报流�'号 .bopmod.dbdgrp.bas.tmpref },
ownextkey:"", // 地区机构号 .bopmod.dbdgrp.bas.ownextkey },
actiontype:"", // 操作类型 .bopmod.dbdgrp.bas.actiontype dbdgrp: {
rptno:"", // 申报号码 .bopmod.dbdgrp.bas.rptno bas: {
idcode:"", // 身份证件号码 .bopmod.dbdgrp.bas.idcode tmpref: "", // �'时申报流�'号 .bopmod.dbdgrp.bas.tmpref
lcyacc:"", // 人民币帐号/银行卡号 .bopmod.dbdgrp.bas.lcyacc ownextkey: "", // 地区机构号 .bopmod.dbdgrp.bas.ownextkey
fcyamt:"", // 现汇金额 .bopmod.dbdgrp.bas.fcyamt actiontype: "", // 操作类型 .bopmod.dbdgrp.bas.actiontype
fcyacc:"", // 外汇帐号/银行卡号 .bopmod.dbdgrp.bas.fcyacc rptno: "", // 申报号码 .bopmod.dbdgrp.bas.rptno
othamt:"", // 其它金额 .bopmod.dbdgrp.bas.othamt idcode: "", // 身份证件号码 .bopmod.dbdgrp.bas.idcode
othacc:"", // 其它帐号/银行卡号 .bopmod.dbdgrp.bas.othacc lcyacc: "", // 人民币帐号/银行卡号 .bopmod.dbdgrp.bas.lcyacc
methods:"", // 结算方式 .bopmod.dbdgrp.bas.methods fcyamt: "", // 现汇金额 .bopmod.dbdgrp.bas.fcyamt
buscode:"", // 银行业务编号 .bopmod.dbdgrp.bas.buscode fcyacc: "", // 外汇帐号/银行卡号 .bopmod.dbdgrp.bas.fcyacc
custype:"", // 类型 .bopmod.dbdgrp.bas.custype othamt: "", // 其它金额 .bopmod.dbdgrp.bas.othamt
actiondesc:"", // 操作类型 .bopmod.dbdgrp.bas.actiondesc othacc: "", // 其它帐号/银行卡号 .bopmod.dbdgrp.bas.othacc
exrate:"", // 结汇汇率 .bopmod.dbdgrp.bas.exrate methods: "", // 结算方式 .bopmod.dbdgrp.bas.methods
lcyamt:"", // 结汇金额 .bopmod.dbdgrp.bas.lcyamt buscode: "", // 银行业务编号 .bopmod.dbdgrp.bas.buscode
custnm:"", // 收款人名称 .bopmod.dbdgrp.bas.custnm custype: "", // 类型 .bopmod.dbdgrp.bas.custype
oppuser:"", // 付款人名称 .bopmod.dbdgrp.bas.oppuser actiondesc: "", // 操作类型 .bopmod.dbdgrp.bas.actiondesc
custcod:"", // 组织机构 .bopmod.dbdgrp.bas.custcod exrate: "", // 结汇汇率 .bopmod.dbdgrp.bas.exrate
inchargeccy:"", // 国内银行扣费 .bopmod.dbdgrp.bas.inchargeccy lcyamt: "", // 结汇金额 .bopmod.dbdgrp.bas.lcyamt
inchargeamt:"", // 国内银行扣费 .bopmod.dbdgrp.bas.inchargeamt custnm: "", // 收款人名称 .bopmod.dbdgrp.bas.custnm
txccy:"", // 收入款币种及金额 .bopmod.dbdgrp.bas.txccy oppuser: "", // 付款人名称 .bopmod.dbdgrp.bas.oppuser
txamt:"", // 收入款币种及金额 .bopmod.dbdgrp.bas.txamt custcod: "", // 组织机构 .bopmod.dbdgrp.bas.custcod
}, inchargeccy: "", // 国内银行扣费 .bopmod.dbdgrp.bas.inchargeccy
}, inchargeamt: "", // 国内银行扣费 .bopmod.dbdgrp.bas.inchargeamt
dbap:{ txccy: "", // 收入款币种及金额 .bopmod.dbdgrp.bas.txccy
baspp:{ txamt: "", // 收入款币种及金额 .bopmod.dbdgrp.bas.txamt
cusnam:"", // .bopmod.dbap.baspp.cusnam },
cornam:"", // .bopmod.dbap.baspp.cornam },
corpnam:"", // .bopmod.dbap.baspp.corpnam dbap: {
roptnam:"", // RoptNam .bopmod.dbap.baspp.roptnam baspp: {
exratelab:"", // �'�汇/结汇汇率 .bopmod.dbap.baspp.exratelab cusnam: "", // .bopmod.dbap.baspp.cusnam
lcyamtlab:"", // �'�汇/结汇金额 .bopmod.dbap.baspp.lcyamtlab cornam: "", // .bopmod.dbap.baspp.cornam
acp:"", // 确认 .bopmod.dbap.baspp.acp corpnam: "", // .bopmod.dbap.baspp.corpnam
tmprefnew:"", // TMPREFLABEL .bopmod.dbap.baspp.tmprefnew roptnam: "", // RoptNam .bopmod.dbap.baspp.roptnam
}, exratelab: "", // �'�汇/结汇汇率 .bopmod.dbap.baspp.exratelab
}, lcyamtlab: "", // �'�汇/结汇金额 .bopmod.dbap.baspp.lcyamtlab
dbagrp:{ acp: "", // 确认 .bopmod.dbap.baspp.acp
bas:{ tmprefnew: "", // TMPREFLABEL .bopmod.dbap.baspp.tmprefnew
tmpref:"", // �'时申报流�'号 .bopmod.dbagrp.bas.tmpref },
ownextkey:"", // 地区机构号 .bopmod.dbagrp.bas.ownextkey },
actiontype:"", // 操作类型 .bopmod.dbagrp.bas.actiontype dbagrp: {
rptno:"", // 申报号码 .bopmod.dbagrp.bas.rptno bas: {
idcode:"", // 身份证件号码 .bopmod.dbagrp.bas.idcode tmpref: "", // �'时申报流�'号 .bopmod.dbagrp.bas.tmpref
lcyacc:"", // 人民币帐号/银行卡号 .bopmod.dbagrp.bas.lcyacc ownextkey: "", // 地区机构号 .bopmod.dbagrp.bas.ownextkey
fcyamt:"", // 现汇金额 .bopmod.dbagrp.bas.fcyamt actiontype: "", // 操作类型 .bopmod.dbagrp.bas.actiontype
fcyacc:"", // 外汇帐号/银行卡号 .bopmod.dbagrp.bas.fcyacc rptno: "", // 申报号码 .bopmod.dbagrp.bas.rptno
othamt:"", // 其它金额 .bopmod.dbagrp.bas.othamt idcode: "", // 身份证件号码 .bopmod.dbagrp.bas.idcode
othacc:"", // 其它帐号/银行卡号 .bopmod.dbagrp.bas.othacc lcyacc: "", // 人民币帐号/银行卡号 .bopmod.dbagrp.bas.lcyacc
methods:"", // 结算方式 .bopmod.dbagrp.bas.methods fcyamt: "", // 现汇金额 .bopmod.dbagrp.bas.fcyamt
buscode:"", // 银行业务编号 .bopmod.dbagrp.bas.buscode fcyacc: "", // 外汇帐号/银行卡号 .bopmod.dbagrp.bas.fcyacc
custype:"", // 类型 .bopmod.dbagrp.bas.custype othamt: "", // 其它金额 .bopmod.dbagrp.bas.othamt
actiondesc:"", // 操作类型 .bopmod.dbagrp.bas.actiondesc othacc: "", // 其它帐号/银行卡号 .bopmod.dbagrp.bas.othacc
exrate:"", // 结汇汇率 .bopmod.dbagrp.bas.exrate methods: "", // 结算方式 .bopmod.dbagrp.bas.methods
lcyamt:"", // 结汇金额 .bopmod.dbagrp.bas.lcyamt buscode: "", // 银行业务编号 .bopmod.dbagrp.bas.buscode
custnm:"", // 收款人名称 .bopmod.dbagrp.bas.custnm custype: "", // 类型 .bopmod.dbagrp.bas.custype
oppuser:"", // 付款人名称 .bopmod.dbagrp.bas.oppuser actiondesc: "", // 操作类型 .bopmod.dbagrp.bas.actiondesc
custcod:"", // 组织机构 .bopmod.dbagrp.bas.custcod exrate: "", // 结汇汇率 .bopmod.dbagrp.bas.exrate
inchargeccy:"", // 国内银行扣费 .bopmod.dbagrp.bas.inchargeccy lcyamt: "", // 结汇金额 .bopmod.dbagrp.bas.lcyamt
inchargeamt:"", // 国内银行扣费 .bopmod.dbagrp.bas.inchargeamt custnm: "", // 收款人名称 .bopmod.dbagrp.bas.custnm
outchargeamt:"", // 国外银行扣费 .bopmod.dbagrp.bas.outchargeamt oppuser: "", // 付款人名称 .bopmod.dbagrp.bas.oppuser
outchargeccy:"", // 国外银行扣费 .bopmod.dbagrp.bas.outchargeccy custcod: "", // 组织机构 .bopmod.dbagrp.bas.custcod
txccy:"", // 收入款币种及金额 .bopmod.dbagrp.bas.txccy inchargeccy: "", // 国内银行扣费 .bopmod.dbagrp.bas.inchargeccy
txamt:"", // 收入款币种及金额 .bopmod.dbagrp.bas.txamt inchargeamt: "", // 国内银行扣费 .bopmod.dbagrp.bas.inchargeamt
}, outchargeamt: "", // 国外银行扣费 .bopmod.dbagrp.bas.outchargeamt
}, outchargeccy: "", // 国外银行扣费 .bopmod.dbagrp.bas.outchargeccy
}, txccy: "", // 收入款币种及金额 .bopmod.dbagrp.bas.txccy
cnybop:{ txamt: "", // 收入款币种及金额 .bopmod.dbagrp.bas.txamt
cnyflg:"", // 是否报送跨境人民币2101表 .cnybop.cnyflg },
traflg:"", // 是否报送跨境人民币2107表 .cnybop.traflg },
outflg:"", // 是否报送跨境人民币2111表 .cnybop.outflg },
libflg:"", // 是否报送跨境人民币2106表 .cnybop.libflg cnybop: {
vouflg:"", // 是否报送跨境人民币2122表 .cnybop.vouflg cnyflg: "", // 是否报送跨境人民币2101表 .cnybop.cnyflg
cnyinc:{ traflg: "", // 是否报送跨境人民币2107表 .cnybop.traflg
spk:"", // 业务主键 .cnybop.cnyinc.spk outflg: "", // 是否报送跨境人民币2111表 .cnybop.outflg
sbankorgcode:"", // 银行机构代码 .cnybop.cnyinc.sbankorgcode libflg: "", // 是否报送跨境人民币2106表 .cnybop.libflg
spayeeorgcode:"", // 收款人机构代码 .cnybop.cnyinc.spayeeorgcode vouflg: "", // 是否报送跨境人民币2122表 .cnybop.vouflg
sswiftbic:"", // 付款行SWIFT BIC .cnybop.cnyinc.sswiftbic cnyinc: {
spayeracct:"", // 清算(结算)账户账号 .cnybop.cnyinc.spayeracct spk: "", // 业务主键 .cnybop.cnyinc.spk
smidtransbank:"", // 中�'转汇行 .cnybop.cnyinc.smidtransbank sbankorgcode: "", // 银行机构代码 .cnybop.cnyinc.sbankorgcode
dpayeedate:"", // 收款日期 .cnybop.cnyinc.dpayeedate spayeeorgcode: "", // 收款人机构代码 .cnybop.cnyinc.spayeeorgcode
sbalancemode:"", // 结算方式 .cnybop.cnyinc.sbalancemode sswiftbic: "", // 付款行SWIFT BIC .cnybop.cnyinc.sswiftbic
sorilevyno:"", // 原申报号码 .cnybop.cnyinc.sorilevyno spayeracct: "", // 清算(结算)账户账号 .cnybop.cnyinc.spayeracct
sbanktrano:"", // 银行业务编号 .cnybop.cnyinc.sbanktrano smidtransbank: "", // 中�'转汇行 .cnybop.cnyinc.smidtransbank
fpayeeamt:"", // 货物贸易收款金额 .cnybop.cnyinc.fpayeeamt dpayeedate: "", // 收款日期 .cnybop.cnyinc.dpayeedate
fcustomsamt:"", // 已报关收款金额 .cnybop.cnyinc.fcustomsamt sbalancemode: "", // 结算方式 .cnybop.cnyinc.sbalancemode
frecordamt:"", // 已备案收款金额 .cnybop.cnyinc.frecordamt sorilevyno: "", // 原申报号码 .cnybop.cnyinc.sorilevyno
fprepayeeamt:"", // 预收款金额 .cnybop.cnyinc.fprepayeeamt sbanktrano: "", // 银行业务编号 .cnybop.cnyinc.sbanktrano
iaccountperiod:"", // 结�'�期 .cnybop.cnyinc.iaccountperiod fpayeeamt: "", // 货物贸易收款金额 .cnybop.cnyinc.fpayeeamt
fonshoreamt:"", // 无货物报关进出境物流货物金额 .cnybop.cnyinc.fonshoreamt fcustomsamt: "", // 已报关收款金额 .cnybop.cnyinc.fcustomsamt
foffshoreamt:"", // 无货物报关离岸转手买卖金额 .cnybop.cnyinc.foffshoreamt frecordamt: "", // 已备案收款金额 .cnybop.cnyinc.frecordamt
fnogoodsamt:"", // 无货物报关其他金额 .cnybop.cnyinc.fnogoodsamt fprepayeeamt: "", // 预收款金额 .cnybop.cnyinc.fprepayeeamt
cpayeeattr:"", // 收款人属性 .cnybop.cnyinc.cpayeeattr iaccountperiod: "", // 结�'�期 .cnybop.cnyinc.iaccountperiod
cpayeraccttyp:"", // 清算(结算)帐户类型 .cnybop.cnyinc.cpayeraccttyp fonshoreamt: "", // 无货物报关进出境物流货物金额 .cnybop.cnyinc.fonshoreamt
spayercountrycode:"", // 付款人常驻国家(地区)代码 .cnybop.cnyinc.spayercountrycode foffshoreamt: "", // 无货物报关离岸转手买卖金额 .cnybop.cnyinc.foffshoreamt
spayeecny:"", // 收款币种 .cnybop.cnyinc.spayeecny fnogoodsamt: "", // 无货物报关其他金额 .cnybop.cnyinc.fnogoodsamt
spayeeacct:"", // 收款人账号 .cnybop.cnyinc.spayeeacct cpayeeattr: "", // 收款人属性 .cnybop.cnyinc.cpayeeattr
ftotalamt:"", // 原币金额 .cnybop.cnyinc.ftotalamt cpayeraccttyp: "", // 清算(结算)帐户类型 .cnybop.cnyinc.cpayeraccttyp
}, spayercountrycode: "", // 付款人常驻国家(地区)代码 .cnybop.cnyinc.spayercountrycode
spayeename:"", // 收款人名称 .cnybop.spayeename spayeecny: "", // 收款币种 .cnybop.cnyinc.spayeecny
spayername:"", // 付款人名称 .cnybop.spayername spayeeacct: "", // 收款人账号 .cnybop.cnyinc.spayeeacct
saddword:"", // 交易附言 .cnybop.saddword ftotalamt: "", // 原币金额 .cnybop.cnyinc.ftotalamt
sbankname:"", // 银行机构名称 .cnybop.sbankname },
incscale:"", // INCSCALE .cnybop.incscale spayeename: "", // 收款人名称 .cnybop.spayeename
}, spayername: "", // 付款人名称 .cnybop.spayername
pageId: "" // ctx的key saddword: "", // 交易附言 .cnybop.saddword
} sbankname: "", // 银行机构名称 .cnybop.sbankname
} incscale: "", // INCSCALE .cnybop.incscale
},
pageId: "" // ctx的key
}
}
} }
\ No newline at end of file
...@@ -25,6 +25,7 @@ let checkObj = { ...@@ -25,6 +25,7 @@ let checkObj = {
"gidgrp.rec.redamt" :null, "gidgrp.rec.redamt" :null,
"liaall.liaccv.relcshpct" :null, "liaall.liaccv.relcshpct" :null,
"mtabut.clsflg" :null, "mtabut.clsflg" :null,
"gidgrp.rec.purcan" :null,
} }
for (const key in checkObj) { for (const key in checkObj) {
......
...@@ -31,6 +31,7 @@ export default class Gitcom{ ...@@ -31,6 +31,7 @@ export default class Gitcom{
liadat:"", // Liability until .gidgrp.rec.liadat liadat:"", // Liability until .gidgrp.rec.liadat
purpos:"", // Purpose of Message .gidgrp.rec.purpos purpos:"", // Purpose of Message .gidgrp.rec.purpos
exptyp:"", exptyp:"",
liatypc:"",
}, },
cbs:{ cbs:{
max:{ max:{
......
...@@ -49,5 +49,6 @@ export default { ...@@ -49,5 +49,6 @@ export default {
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction, "mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction, "mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"gcdgrp.rec.docprbrol" :Utils.defaultFunction, "gcdgrp.rec.docprbrol" :Utils.defaultFunction,
"gcdgrp.rec.msgdat" :Utils.defaultFunction,
} }
//你可以添加自动default处理 //你可以添加自动default处理
...@@ -101,7 +101,7 @@ export default { ...@@ -101,7 +101,7 @@ export default {
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
], ],
"gcdgrp.rec.msgdat":[ "gcdgrp.rec.msgdat":[
{type: "date", required: false, message: "输入正确的日期"} {type: "date", required: false, message: "必输项"}
], ],
"gctp.prbp.ptsget.sdamod.dadsnd":[ "gctp.prbp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
......
...@@ -64,7 +64,7 @@ export default class Gitopn{ ...@@ -64,7 +64,7 @@ export default class Gitopn{
chkast:"", // Allow * .gitp.covgod.chkast chkast:"", // Allow * .gitp.covgod.chkast
}, },
aplnamtxt:"", // 申请人名称 .gitp.aplnamtxt aplnamtxt:"", // 申请人名称 .gitp.aplnamtxt
indirectswiadd:"", // InDirect Swift Add .gitp.indirectswiadd indirectswiadd:{}, // InDirect Swift Add .gitp.indirectswiadd
labaddinfc:"", // Label for Additional Info in Sequence C .gitp.labaddinfc labaddinfc:"", // Label for Additional Info in Sequence C .gitp.labaddinfc
covgodsrvcmodflg:"", // Modify Object of Contract Sequence C .gitp.covgodsrvcmodflg covgodsrvcmodflg:"", // Modify Object of Contract Sequence C .gitp.covgodsrvcmodflg
covgodc:{ covgodc:{
...@@ -341,7 +341,7 @@ export default class Gitopn{ ...@@ -341,7 +341,7 @@ export default class Gitopn{
orcplcc:"", // Original Contract Place - Local Undertaking Seq. C .gidgrp.blk.orcplcc orcplcc:"", // Original Contract Place - Local Undertaking Seq. C .gidgrp.blk.orcplcc
addinfc:"", // Additional Info - Local Undertaking Seq. C .gidgrp.blk.addinfc addinfc:"", // Additional Info - Local Undertaking Seq. C .gidgrp.blk.addinfc
atxcovgodsrvc:"", // Underly. Transact. Det. .gidgrp.blk.atxcovgodsrvc atxcovgodsrvc:"", // Underly. Transact. Det. .gidgrp.blk.atxcovgodsrvc
gidtxt:"", // Guarantee Text .gidgrp.blk.gidtxt gidtxt:{}, // Guarantee Text .gidgrp.blk.gidtxt
gtxgidtxt:"", // Guarantee Text with Variables .gidgrp.blk.gtxgidtxt gtxgidtxt:"", // Guarantee Text with Variables .gidgrp.blk.gtxgidtxt
gidtxtc:"", // Guarantee Text local undertaking .gidgrp.blk.gidtxtc gidtxtc:"", // Guarantee Text local undertaking .gidgrp.blk.gidtxtc
gtxgidtxtc:"", // Guarantee Text with Variables - Counter Undertaking .gidgrp.blk.gtxgidtxtc gtxgidtxtc:"", // Guarantee Text with Variables - Counter Undertaking .gidgrp.blk.gtxgidtxtc
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<!-- 上层 -->
<c-col :span="12"> <c-row>
<c-form-item label="Drag Drop Sender" prop="bttp0.ltdget.sdamod.dadsnd"> <c-col :span="24">
<c-input v-model="model.bttp0.ltdget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input> <!-- 上左 -->
</c-form-item> <c-col :span="12">
</c-col> <c-col :span="24">
<c-form-item label="Transfer Reference" prop="ltdgrp.rec.ownref">
<c-col :span="12"> <c-fullbox>
<c-form-item label="Drag Drop Sender" prop="bttp0.ledget.sdamod.dadsnd"> <c-input
<c-input v-model="model.bttp0.ledget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input> v-model="model.ltdgrp.rec.ownref"
</c-form-item> maxlength="16"
</c-col> placeholder="请输入Transfer Reference"
<!-- SF000065 : Transfer Reference --> disabled
></c-input>
<c-col :span="12"> <template slot="footer">
<c-form-item :label="$t('bttp0.SF000065')" prop="ltdgrp.rec.ownref"> <c-button
<c-input v-model="model.ltdgrp.rec.ownref" maxlength="16" :placeholder="$t('other.please_enter')+$t('bttp0.SF000065')"></c-input> style="margin: 0 10px 0 10px; padding: 0 12px"
</c-form-item> size="small"
</c-col> type="primary"
>
<c-col :span="12"> <span
<c-form-item label="" prop="bttp0.ltdget.sdamod.seainf"> style="
<c-input v-model="model.bttp0.ltdget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input> font-size: 15px;
</c-form-item> font-family: '宋体';
</c-col> font-weight: bold;
<!-- SF000066 : L/C Reference --> "
>i</span
<c-col :span="12"> >
<c-form-item :label="$t('bttp0.SF000066')" prop="ledgrp.rec.ownref"> </c-button>
<c-input v-model="model.ledgrp.rec.ownref" maxlength="16" :placeholder="$t('other.please_enter')+$t('bttp0.SF000066')"></c-input> </template>
</c-form-item> </c-fullbox>
</c-col> </c-form-item>
</c-col>
<c-col :span="12"> <c-col :span="24">
<c-form-item label="" prop="bttp0.ledget.sdamod.seainf"> <c-form-item label="Doc.Set Reference" prop="btdgrp.rec.ownref">
<c-input v-model="model.bttp0.ledget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input> <c-fullbox>
</c-form-item> <c-input
</c-col> v-model="model.btdgrp.rec.ownref"
maxlength="16"
<c-col :span="12"> placeholder="请输入Doc.Set Reference"
<c-form-item label="Drag Drop Sender" prop="bttp0.recget.sdamod.dadsnd"> disabled
<c-input v-model="model.bttp0.recget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input> ></c-input>
</c-form-item> <template slot="footer">
</c-col> <c-button
<!-- SF000058 : Doc. Set Reference --> style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
<c-col :span="12"> type="primary"
<c-form-item :label="$t('bttp0.SF000058')" prop="btdgrp.rec.ownref"> >
<c-input v-model="model.btdgrp.rec.ownref" maxlength="16" :placeholder="$t('other.please_enter')+$t('bttp0.SF000058')"></c-input> <span
</c-form-item> style="
</c-col> font-size: 15px;
font-family: '宋体';
<c-col :span="12"> font-weight: bold;
<c-form-item label="" prop="bttp0.recget.sdamod.seainf"> "
<c-input v-model="model.bttp0.recget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input> >i</span
</c-form-item> >
</c-col> </c-button>
</template>
<c-col :span="12"> </c-fullbox>
<c-form-item label="Name of Bill Contract" prop="btdgrp.rec.nam"> </c-form-item>
<c-input v-model="model.btdgrp.rec.nam" maxlength="40" :placeholder="$t('other.please_enter')+'Name of Bill Contract'"></c-input> </c-col>
</c-form-item> <c-col :span="24">
</c-col> <c-col :span="12">
<!-- SF000057 : Document Amount --> <el-form-item label="Document Amount" prop="btdgrp.cbs.max.cur">
<c-select
<c-col :span="12"> v-model="model.btdgrp.cbs.max.cur"
<el-form-item :label="$t('bttp0.SF000057')" prop="btdgrp.cbs.max.cur"> style="width: 100%"
<c-select v-model="model.btdgrp.cbs.max.cur" style="width:100%" :placeholder="$t('other.please_enter')+$t('bttp0.SF000057')"> placeholder="请输入Document Amount"
</c-select> :code="codes.curtxt1"
</el-form-item> disabled
</c-col> >
</c-select>
<c-col :span="12"> </el-form-item>
<c-form-item :label="$t('bttp0.SF000057')" prop="btdgrp.cbs.max.amt"> </c-col>
<c-input v-model="model.btdgrp.cbs.max.amt" :placeholder="$t('other.please_enter')+$t('bttp0.SF000057')"></c-input> <c-col :span="12">
</c-form-item> <c-col :span="16">
</c-col> <c-form-item label-width="5px" prop="btdgrp.cbs.max.amt">
<c-input
<c-col :span="12"> v-model="model.btdgrp.cbs.max.amt"
<c-checkbox v-model="model.bttp0.aammod.addamtflg">{{$t('bttp0.CF000067')}}</c-checkbox> placeholder="请输入"
</c-col> disabled
<!-- SF000053 : 1st Beneficiary --> style="width: 95%"
<!-- SF000064 : Ref. --> ></c-input>
</c-form-item>
<c-col :span="12"> </c-col>
<c-form-item :label="$t('bttp0.SF000053')" prop="btdgrp.be1.pts.ref">
<c-input v-model="model.btdgrp.be1.pts.ref" maxlength="16" :placeholder="$t('other.please_enter')+$t('bttp0.SF000053')"></c-input> <c-col :span="8" class="centerLable">
</c-form-item> <c-checkbox disabled v-model="model.bttp0.aammod.addamtflg">
</c-col> Add.Amount
<!-- SF000056 : Open Amount --> </c-checkbox>
</c-col>
<c-col :span="12"> </c-col>
<c-form-item :label="$t('bttp0.SF000056')" prop="btdgrp.cbs.opn1.cur"> </c-col>
<c-input v-model="model.btdgrp.cbs.opn1.cur" maxlength="3" :placeholder="$t('other.please_enter')+$t('bttp0.SF000056')"></c-input> <c-col :span="24">
</c-form-item> <c-col :span="12">
</c-col> <c-form-item label="Open Amount" prop="btdgrp.cbs.opn1.cur">
<c-input
<c-col :span="12"> v-model="model.btdgrp.cbs.opn1.cur"
<c-form-item label="Balance" prop="btdgrp.cbs.opn1.amt"> maxlength="3"
<c-input v-model="model.btdgrp.cbs.opn1.amt" :placeholder="$t('other.please_enter')+'Balance'"></c-input> placeholder="请输入Open Amount"
</c-form-item> disabled
</c-col> ></c-input>
</c-form-item>
<c-col :span="12"> </c-col>
<c-form-item label="Name of Party" prop="btdgrp.be1.pts.nam">
<c-input v-model="model.btdgrp.be1.pts.nam" maxlength="40" :placeholder="$t('other.please_enter')+'Name of Party'"></c-input> <c-col :span="12">
</c-form-item> <c-form-item label-width="5px" prop="btdgrp.cbs.opn1.amt">
</c-col> <c-input
<!-- SF000059 : Document Type --> v-model="model.btdgrp.cbs.opn1.amt"
placeholder="请输入"
<c-col :span="12"> disabled
<c-form-item :label="$t('bttp0.SF000059')" prop="btdgrp.rec.doctypcod"> ></c-input>
<c-input v-model="model.btdgrp.rec.doctypcod" maxlength="1" :placeholder="$t('other.please_enter')+$t('bttp0.SF000059')"></c-input> </c-form-item>
</c-form-item> </c-col>
</c-col> </c-col>
<!-- SF000052 : Maturity Date --> <c-col :span="24">
<c-form-item label="Document Type" prop="btdgrp.rec.doctypcod">
<c-col :span="12"> <c-select
<span v-text="model.bttp0.matp.mattxtlab" data-path=".bttp0.matp.mattxtlab" > </span> v-model="model.btdgrp.rec.doctypcod"
</c-col> maxlength="16"
placeholder="请输入Document Type"
<c-col :span="12"> style="width: 100%"
<el-form-item label="Maturity Date" prop="btdgrp.rec.matdat"> :code="codes.brdtyp"
<c-date-picker type="date" v-model="model.btdgrp.rec.matdat" style="width:100%" :placeholder="$t('other.please_enter')+'Maturity Date'"></c-date-picker> disabled
</el-form-item> ></c-select>
</c-col> </c-form-item>
<!-- SF000055 : 2nd Beneficiary --> </c-col>
<!-- SF000062 : Ref. --> <c-col :span="24">
<el-form-item label="Maturity Date" prop="btdgrp.rec.matdat">
<c-col :span="12"> <c-date-picker
<c-form-item :label="$t('bttp0.SF000055')" prop="btdgrp.be2.pts.ref"> type="date"
<c-input v-model="model.btdgrp.be2.pts.ref" maxlength="16" :placeholder="$t('other.please_enter')+$t('bttp0.SF000055')"></c-input> v-model="model.btdgrp.rec.matdat"
</c-form-item> style="width: 100%"
</c-col> placeholder="请选择Maturity Date"
<!-- SF000051 : Received on 2nd Ben. --> disabled
></c-date-picker>
<c-col :span="12"> </el-form-item>
<el-form-item :label="$t('bttp0.SF000051')" prop="btdgrp.rec.rcvdatbe2"> </c-col>
<c-date-picker type="date" v-model="model.btdgrp.rec.rcvdatbe2" style="width:100%" :placeholder="$t('other.please_enter')+$t('bttp0.SF000051')"></c-date-picker> <c-col :span="24">
</el-form-item> <c-col :span="12">
</c-col> <el-form-item
<!-- SF000054 : Received on 1st Ben. --> label="Received on 2nd Ben."
prop="btdgrp.rec.rcvdatbe2"
<c-col :span="12"> >
<el-form-item :label="$t('bttp0.SF000054')" prop="btdgrp.rec.rcvdatbe1"> <c-date-picker
<c-date-picker type="date" v-model="model.btdgrp.rec.rcvdatbe1" style="width:100%" :placeholder="$t('other.please_enter')+$t('bttp0.SF000054')"></c-date-picker> type="date"
</el-form-item> v-model="model.btdgrp.rec.rcvdatbe2"
</c-col> style="width: 100%"
placeholder="请选择Received on 2nd Ben."
<c-col :span="12"> disabled
<c-form-item label="Name of Party" prop="btdgrp.be2.pts.nam"> ></c-date-picker>
<c-input v-model="model.btdgrp.be2.pts.nam" maxlength="40" :placeholder="$t('other.please_enter')+'Name of Party'"></c-input> </el-form-item>
</c-form-item> </c-col>
</c-col> <c-col :span="12">
<!-- SF000061 : Document Set Status --> <el-form-item
label="Received on 1st Ben."
<c-col :span="12"> prop="btdgrp.rec.rcvdatbe1"
<c-form-item :label="$t('bttp0.SF000061')" prop="btdgrp.rec.docsta"> >
<c-input v-model="model.btdgrp.rec.docsta" maxlength="40" :placeholder="$t('other.please_enter')+$t('bttp0.SF000061')"></c-input> <c-date-picker
</c-form-item> type="date"
</c-col> v-model="model.btdgrp.rec.rcvdatbe1"
<!-- S0000056 : Tenors: --> style="width: 100%"
placeholder="请选择Received on 1st Ben."
<c-col :span="12"> disabled
<c-checkbox v-model="model.trtcre.crefinflg">{{$t('bttset.CF000052')}}</c-checkbox> ></c-date-picker>
</c-col> </el-form-item>
</c-col>
<c-col :span="12"> </c-col>
<c-form-item label="Tenor Stream" prop="liaall.tenstm"> <c-col :span="24">
<c-input v-model="model.liaall.tenstm" :placeholder="$t('other.please_enter')+'Tenor Stream'"></c-input> <c-form-item label="Document Set status" prop="btdgrp.rec.docsta">
</c-form-item> <c-select
</c-col> v-model="model.btdgrp.rec.docsta"
maxlength="40"
<c-col :span="12"> style="width: 100%"
<c-checkbox v-model="model.mtabut.clsflg">{{$t('mtabut.CF000215')}}</c-checkbox> placeholder="请输入Document Set status"
</c-col> disabled
:code="codes.docsta2"
<c-col :span="12"> ></c-select>
<c-checkbox v-model="model.btdgrp.rec.frepayflg">{{$t('bttset.CF000057')}}</c-checkbox> </c-form-item>
</c-col> </c-col>
<!-- S0000058 : Reduction Amt. --> </c-col>
<!-- 上右 -->
<c-col :span="12"> <c-col :span="11" :offset="1">
<c-form-item :label="$t('bttset.S0000058')" prop="setmod.redamt"> <c-col :span="24">
<c-input v-model="model.setmod.redamt" :placeholder="$t('other.please_enter')+$t('bttset.S0000058')"></c-input> <c-form-item label="L/C Reference" prop="ledgrp.rec.ownref">
</c-form-item> <c-input
</c-col> v-model="model.ledgrp.rec.ownref"
<!-- SF000048 : Amount Settled --> maxlength="16"
placeholder="请输入L/C Reference"
<c-col :span="12"> disabled
<c-form-item label="document currency" prop="setmod.doccur"> ></c-input>
<c-input v-model="model.setmod.doccur" maxlength="3" :placeholder="$t('other.please_enter')+'document currency'"></c-input> </c-form-item>
</c-form-item> </c-col>
</c-col> <c-col :span="24">
<c-form-item label="Name of Bill Contract" prop="btdgrp.rec.nam">
<c-col :span="12"> <c-input
<c-form-item :label="$t('bttset.SF000048')" prop="setmod.docamt"> v-model="model.btdgrp.rec.nam"
<c-input v-model="model.setmod.docamt" :placeholder="$t('other.please_enter')+$t('bttset.SF000048')"></c-input> maxlength="40"
</c-form-item> placeholder="请输入Name of Bill Contract"
</c-col> disabled
<!-- SF000009 : 单据金额 --> ></c-input>
</c-form-item>
<c-col :span="12"> </c-col>
<el-form-item :label="$t('aamset.S0000008')" prop="btdgrp.cbs.opn2.cur"> <c-col :span="24">
<c-select v-model="model.btdgrp.cbs.opn2.cur" style="width:100%" :placeholder="$t('other.please_enter')+$t('aamset.S0000008')"> <c-form-item label="1st Beneficiary Ref." prop="btdgrp.be1.pts.ref">
</c-select> <c-input
</el-form-item> v-model="model.btdgrp.be1.pts.ref"
</c-col> maxlength="16"
placeholder="请输入1st Beneficiary Ref."
<c-col :span="12"> disabled
<c-form-item :label="$t('aamset.SF000009')" prop="aamset.utlamt"> ></c-input>
<c-input v-model="model.aamset.utlamt" :placeholder="$t('other.please_enter')+$t('aamset.SF000009')"></c-input> </c-form-item>
</c-form-item> </c-col>
</c-col> <c-col :span="24">
<!-- SF000054 : Reduced Amt. Settled --> <c-form-item label="Name of Party" prop="btdgrp.be1.pts.nam">
<c-input
<c-col :span="12"> v-model="model.btdgrp.be1.pts.nam"
<c-form-item :label="$t('bttset.SF000054')" prop="setmod.setamt"> maxlength="40"
<c-input v-model="model.setmod.setamt" :placeholder="$t('other.please_enter')+$t('bttset.SF000054')"></c-input> placeholder="请输入Name of Party"
</c-form-item> disabled
</c-col> ></c-input>
<!-- S0000008 : 附加金额 --> </c-form-item>
</c-col>
<c-col :span="12"> <c-col :span="24">
<c-form-item :label="$t('aamset.S0000008')" prop="aamset.utlamt2"> <c-form-item label="2nd Beneficiary Ref." prop="btdgrp.be2.pts.ref">
<c-input v-model="model.aamset.utlamt2" :placeholder="$t('other.please_enter')+$t('aamset.S0000008')"></c-input> <c-input
</c-form-item> v-model="model.btdgrp.be2.pts.ref"
</c-col> maxlength="16"
<!-- SF000037 : Amount for 1st Ben. --> placeholder="请输入2nd Beneficiary Ref."
disabled
<c-col :span="12"> ></c-input>
<c-form-item :label="$t('bttset.SF000037')" prop="be1amt"> </c-form-item>
<c-input v-model="model.be1amt" :placeholder="$t('other.please_enter')+$t('bttset.SF000037')"></c-input> </c-col>
</c-form-item> <c-col :span="24">
</c-col> <c-form-item label="Name of Party" prop="btdgrp.be2.pts.nam">
<!-- S0000060 : Narrative :77A: --> <c-input
v-model="model.btdgrp.be2.pts.nam"
<c-col :span="12"> maxlength="40"
<c-form-item label="Narrative :77A:" prop="trnmod.trndoc.nar754"> placeholder="请输入Name of Party"
<c-input type="textarea" v-model="model.trnmod.trndoc.nar754" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Narrative :77A:'" ></c-input> disabled
</c-form-item> ></c-input>
</c-form-item>
</c-col>
</c-col>
</c-col>
</c-row>
<!-- 中间 -->
<c-col :span="24" style="height: 0px">
<el-divider></el-divider>
</c-col>
<c-row>
<c-col :span="24">
<!-- 下左 -->
<c-col :span="12">
<c-col :span="24">
<c-istream-table
ref="table"
:list="model.liaall.tenstm.rows || []"
:columns="trnData.columns"
:showSelection="true"
v-on:multipleSelect="multipleSelect"
prop="liaall.tenstm"
>
</c-istream-table>
</c-col>
<c-col :span="24">
<p></p>
</c-col>
<c-col :span="24">
<c-col :span="12">
<c-form-item label="Amount Settled" prop="setmod.doccur">
<c-input
v-model="model.setmod.doccur"
maxlength="3"
placeholder="请输入document currency"
disabled
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label-width="5px" prop="setmod.docamt">
<c-input
v-model="model.setmod.docamt"
placeholder="请输入"
style="width: 100%"
disabled
></c-input>
</c-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<c-form-item label="Reduced Amt. Settled" prop="setmod.doccur">
<c-input
v-model="model.setmod.doccur"
maxlength="3"
placeholder="请输入Reduced Amt. Settled"
disabled
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label-width="5px" prop="setmod.setamt">
<c-input
v-model="model.setmod.setamt"
placeholder="请输入"
disabled
></c-input>
</c-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<c-form-item label="Amount for 1st Ben." prop="setmod.doccur">
<c-input
v-model="model.setmod.doccur"
maxlength="3"
placeholder="请输入Amount for 1st Ben."
disabled
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label-width="5px" prop="be1amt">
<c-input v-model="model.be1amt" placeholder=""></c-input>
</c-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<c-form-item label="Add. Amt for 1st Ben." prop="setmod.doccur">
<c-input
v-model="model.setmod.doccur"
maxlength="3"
placeholder="请输入Add. Amt for 1st Ben."
disabled
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label-width="5px" prop="be1amt2">
<c-input
disabled
v-model="model.be1amt2"
placeholder="请输入"
></c-input>
</c-form-item>
</c-col>
</c-col>
<c-col :span="24">
<p>Bills to Pay Back:</p>
</c-col>
<c-row class="infrow" style="margin-top: 20px">
<c-col :span="24">
<c-istream-table
:list="stmData.fepstmData"
:columns="stmData.fepstmColumns"
>
<el-table-column disaabled prop="op" width="100%">
</el-table-column>
</c-istream-table>
</c-col>
</c-row>
</c-col> </c-col>
<!-- SF000053 : Add. Amt for 1st Ben. -->
<br>
<c-col :span="12"> <!-- 下右 -->
<c-form-item :label="$t('bttset.SF000053')" prop="be1amt2"> <c-col :span="11" :offset="1">
<c-input v-model="model.be1amt2" :placeholder="$t('other.please_enter')+$t('bttset.SF000053')"></c-input> <c-col :span="24">
</c-form-item> <c-col :span="12">
</c-col> <c-form-item label="Reduction Amt." prop="setmod.doccur">
<!-- SF000035 : Bills to Pay Back: --> <c-input
v-model="model.setmod.doccur"
maxlength="3"
placeholder="请输入Add. Amt for 1st Ben."
disabled
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label-width="5px" prop="setmod.redamt">
<c-input
v-model="model.setmod.redamt"
placeholder="请输入"
></c-input>
</c-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Doc.Amount Part" prop="btdgrp.cbs.opn2.cur">
<c-select
v-model="model.btdgrp.cbs.opn2.cur"
style="width: 100%"
placeholder="请输入Doc.Amount Part"
:code="codes.curtxt1"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label-width="5px" prop="aamset.utlamt">
<c-input
v-model="model.aamset.utlamt"
placeholder="请输入"
disabled
></c-input>
</c-form-item>
</c-col>
</c-col>
</c-col>
</c-col>
</c-row>
<c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="bttp0.ltdget.sdamod.dadsnd">
<c-input
v-model="model.bttp0.ltdget.sdamod.dadsnd"
placeholder="$t('other.please_enter')+'Drag Drop Sender'"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="bttp0.ledget.sdamod.dadsnd">
<c-input
v-model="model.bttp0.ledget.sdamod.dadsnd"
placeholder="$t('other.please_enter')+'Drag Drop Sender'"
></c-input>
</c-form-item>
</c-col>
<!-- SF000065 : Transfer Reference -->
<c-col :span="12">
<c-form-item label="$t('bttp0.SF000065')" prop="ltdgrp.rec.ownref">
<c-input
v-model="model.ltdgrp.rec.ownref"
maxlength="16"
placeholder="$t('other.please_enter')+$t('bttp0.SF000065')"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="bttp0.ltdget.sdamod.seainf">
<c-input
v-model="model.bttp0.ltdget.sdamod.seainf"
placeholder="$t('other.please_enter')+''"
></c-input>
</c-form-item>
</c-col>
<!-- SF000066 : L/C Reference -->
<c-col :span="12">
<c-form-item label="$t('bttp0.SF000066')" prop="ledgrp.rec.ownref">
<c-input
v-model="model.ledgrp.rec.ownref"
maxlength="16"
placeholder="$t('other.please_enter')+$t('bttp0.SF000066')"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="bttp0.ledget.sdamod.seainf">
<c-input
v-model="model.bttp0.ledget.sdamod.seainf"
placeholder="$t('other.please_enter')+''"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="bttp0.recget.sdamod.dadsnd">
<c-input
v-model="model.bttp0.recget.sdamod.dadsnd"
placeholder="$t('other.please_enter')+'Drag Drop Sender'"
></c-input>
</c-form-item>
</c-col>
<!-- SF000058 : Doc. Set Reference -->
<c-col :span="12">
<c-form-item label="$t('bttp0.SF000058')" prop="btdgrp.rec.ownref">
<c-input
v-model="model.btdgrp.rec.ownref"
maxlength="16"
placeholder="$t('other.please_enter')+$t('bttp0.SF000058')"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="bttp0.recget.sdamod.seainf">
<c-input
v-model="model.bttp0.recget.sdamod.seainf"
placeholder="$t('other.please_enter')+''"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Name of Bill Contract" prop="btdgrp.rec.nam">
<c-input
v-model="model.btdgrp.rec.nam"
maxlength="40"
placeholder="$t('other.please_enter')+'Name of Bill Contract'"
></c-input>
</c-form-item>
</c-col>
<!-- SF000057 : Document Amount -->
<c-col :span="12">
<el-form-item label="$t('bttp0.SF000057')" prop="btdgrp.cbs.max.cur">
<c-select
v-model="model.btdgrp.cbs.max.cur"
style="width: 100%"
placeholder="$t('other.please_enter')+$t('bttp0.SF000057')"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="$t('bttp0.SF000057')" prop="btdgrp.cbs.max.amt">
<c-input
v-model="model.btdgrp.cbs.max.amt"
placeholder="$t('other.please_enter')+$t('bttp0.SF000057')"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bttp0.aammod.addamtflg">{{
$t("bttp0.CF000067")
}}</c-checkbox>
</c-col>
<!-- SF000053 : 1st Beneficiary -->
<!-- SF000064 : Ref. -->
<c-col :span="12">
<c-form-item label="$t('bttp0.SF000053')" prop="btdgrp.be1.pts.ref">
<c-input
v-model="model.btdgrp.be1.pts.ref"
maxlength="16"
placeholder="$t('other.please_enter')+$t('bttp0.SF000053')"
></c-input>
</c-form-item>
</c-col>
<!-- SF000056 : Open Amount -->
<c-col :span="12">
<c-form-item label="$t('bttp0.SF000056')" prop="btdgrp.cbs.opn1.cur">
<c-input
v-model="model.btdgrp.cbs.opn1.cur"
maxlength="3"
placeholder="$t('other.please_enter')+$t('bttp0.SF000056')"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Balance" prop="btdgrp.cbs.opn1.amt">
<c-input
v-model="model.btdgrp.cbs.opn1.amt"
placeholder="$t('other.please_enter')+'Balance'"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Name of Party" prop="btdgrp.be1.pts.nam">
<c-input
v-model="model.btdgrp.be1.pts.nam"
maxlength="40"
placeholder="$t('other.please_enter')+'Name of Party'"
></c-input>
</c-form-item>
</c-col>
<!-- SF000059 : Document Type -->
<c-col :span="12">
<c-form-item label="$t('bttp0.SF000059')" prop="btdgrp.rec.doctypcod">
<c-input
v-model="model.btdgrp.rec.doctypcod"
maxlength="1"
placeholder="$t('other.please_enter')+$t('bttp0.SF000059')"
></c-input>
</c-form-item>
</c-col>
<!-- SF000052 : Maturity Date -->
<c-col :span="12">
<span
v-text="model.bttp0.matp.mattxtlab"
data-path=".bttp0.matp.mattxtlab"
>
</span>
</c-col>
<c-col :span="12">
<el-form-item label="Maturity Date" prop="btdgrp.rec.matdat">
<c-date-picker
type="date"
v-model="model.btdgrp.rec.matdat"
style="width: 100%"
placeholder="$t('other.please_enter')+'Maturity Date'"
></c-date-picker>
</el-form-item>
</c-col>
<!-- SF000055 : 2nd Beneficiary -->
<!-- SF000062 : Ref. -->
<c-col :span="12">
<c-form-item label="$t('bttp0.SF000055')" prop="btdgrp.be2.pts.ref">
<c-input
v-model="model.btdgrp.be2.pts.ref"
maxlength="16"
placeholder="$t('other.please_enter')+$t('bttp0.SF000055')"
></c-input>
</c-form-item>
</c-col>
<!-- SF000051 : Received on 2nd Ben. -->
<c-col :span="12">
<el-form-item label="$t('bttp0.SF000051')" prop="btdgrp.rec.rcvdatbe2">
<c-date-picker
type="date"
v-model="model.btdgrp.rec.rcvdatbe2"
style="width: 100%"
placeholder="$t('other.please_enter')+$t('bttp0.SF000051')"
></c-date-picker>
</el-form-item>
</c-col>
<!-- SF000054 : Received on 1st Ben. -->
<c-col :span="12">
<el-form-item label="$t('bttp0.SF000054')" prop="btdgrp.rec.rcvdatbe1">
<c-date-picker
type="date"
v-model="model.btdgrp.rec.rcvdatbe1"
style="width: 100%"
placeholder="$t('other.please_enter')+$t('bttp0.SF000054')"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Name of Party" prop="btdgrp.be2.pts.nam">
<c-input
v-model="model.btdgrp.be2.pts.nam"
maxlength="40"
placeholder="$t('other.please_enter')+'Name of Party'"
></c-input>
</c-form-item>
</c-col>
<!-- SF000061 : Document Set Status -->
<c-col :span="12">
<c-form-item label="$t('bttp0.SF000061')" prop="btdgrp.rec.docsta">
<c-input
v-model="model.btdgrp.rec.docsta"
maxlength="40"
placeholder="$t('other.please_enter')+$t('bttp0.SF000061')"
></c-input>
</c-form-item>
</c-col>
<!-- S0000056 : Tenors: -->
<c-col :span="12">
<c-checkbox v-model="model.trtcre.crefinflg">{{
$t("bttset.CF000052")
}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-form-item label="Tenor Stream" prop="liaall.tenstm">
<c-input
v-model="model.liaall.tenstm"
placeholder="$t('other.please_enter')+'Tenor Stream'"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.mtabut.clsflg">{{
$t("mtabut.CF000215")
}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.btdgrp.rec.frepayflg">{{
$t("bttset.CF000057")
}}</c-checkbox>
</c-col>
<!-- S0000058 : Reduction Amt. -->
<c-col :span="12">
<c-form-item label="$t('bttset.S0000058')" prop="setmod.redamt">
<c-input
v-model="model.setmod.redamt"
placeholder="$t('other.please_enter')+$t('bttset.S0000058')"
></c-input>
</c-form-item>
</c-col>
<!-- SF000048 : Amount Settled -->
<c-col :span="12">
<c-form-item label="document currency" prop="setmod.doccur">
<c-input
v-model="model.setmod.doccur"
maxlength="3"
placeholder="$t('other.please_enter')+'document currency'"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="$t('bttset.SF000048')" prop="setmod.docamt">
<c-input
v-model="model.setmod.docamt"
placeholder="$t('other.please_enter')+$t('bttset.SF000048')"
></c-input>
</c-form-item>
</c-col>
<!-- SF000009 : 单据金额 -->
<c-col :span="12">
<el-form-item label="$t('aamset.S0000008')" prop="btdgrp.cbs.opn2.cur">
<c-select
v-model="model.btdgrp.cbs.opn2.cur"
style="width: 100%"
placeholder="$t('other.please_enter')+$t('aamset.S0000008')"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="$t('aamset.SF000009')" prop="aamset.utlamt">
<c-input
v-model="model.aamset.utlamt"
placeholder="$t('other.please_enter')+$t('aamset.SF000009')"
></c-input>
</c-form-item>
</c-col>
<!-- SF000054 : Reduced Amt. Settled -->
<c-col :span="12">
<c-form-item label="$t('bttset.SF000054')" prop="setmod.setamt">
<c-input
v-model="model.setmod.setamt"
placeholder="$t('other.please_enter')+$t('bttset.SF000054')"
></c-input>
</c-form-item>
</c-col>
<!-- S0000008 : 附加金额 -->
<c-col :span="12">
<c-form-item label="$t('aamset.S0000008')" prop="aamset.utlamt2">
<c-input
v-model="model.aamset.utlamt2"
placeholder="$t('other.please_enter')+$t('aamset.S0000008')"
></c-input>
</c-form-item>
</c-col>
<!-- SF000037 : Amount for 1st Ben. -->
<c-col :span="12">
<c-form-item label="$t('bttset.SF000037')" prop="be1amt">
<c-input
v-model="model.be1amt"
placeholder="$t('other.please_enter')+$t('bttset.SF000037')"
></c-input>
</c-form-item>
</c-col>
<!-- S0000060 : Narrative :77A: -->
<c-col :span="12">
<c-form-item label="Narrative :77A:" prop="trnmod.trndoc.nar754">
<c-input
type="textarea"
v-model="model.trnmod.trndoc.nar754"
maxlength="35"
show-word-limit
placeholder="$t('other.please_enter')+'Narrative :77A:'"
></c-input>
</c-form-item>
</c-col>
<!-- SF000053 : Add. Amt for 1st Ben. -->
<c-col :span="12">
<c-form-item label="$t('bttset.SF000053')" prop="be1amt2">
<c-input
v-model="model.be1amt2"
placeholder="$t('other.please_enter')+$t('bttset.SF000053')"
></c-input>
</c-form-item>
</c-col>
<!-- SF000035 : Bills to Pay Back: -->
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable";
import Event from "~/model/Bttset/Event" import Event from "~/model/Bttset/Event";
export default { export default {
inject: ['root'], inject: ["root"],
props:["model","codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data(){ data() {
return { return {
trnData: {
columns: [
'1 1 "Type" 80',
'2 2 "Dbt" 80',
'3 3 "Cdt" 80',
'4 4 "Cur" 80',
'5 5 "Amt" 80',
// '6 6 "Mat.Dat." 120 4 7 1',
{
index: 6,
position: 6,
width: 210,
render: (item, scope) => {
return scope.row[item.prop] === "null"
? ""
: scope.row[item.prop];
},
label: "Mat.Dat.",
},
],
data: [],
},
stmData: {
fepstmColumns: [
'1 1 "reference" 100 ',
'2 2 "cur" 0 ',
'3 3 "open amount" 130 ',
'4 4 "amount paid" 120 ',
'5 5 "interest till" 110 ',
],
fepstmData: [],
},
};
},
methods: {
...Event,
async multipleSelect(selection) {
console.log(selection);
if (selection.length > 1) {
this.$notify({
title: "error",
message: "You cannot select more than one tenor",
type: "error",
});
} else {
let chkIds;
if (selection.length === 0) {
chkIds = [];
// this.model.liaall.tensetstm.rows = []
// this.model.liaall.tenstm.rows = []
} else {
chkIds = [selection[0] + 1];
} }
//
console.log(this.model.liaall.tensetstm);
let params = { chkDst: "liaall.tenstm", chkIds };
const rtnmsg = await this.executeRule("liaall.tenstm", params);
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
}
}, },
methods:{...Event}, },
created:function(){ created: function () {},
};
}
}
</script> </script>
<style> <style>
</style> </style>
<template> <template>
<div class="eContainer"> <div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false"> <c-function-btn
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> :handleSubmit="handleSubmit"
<!--bttset PD000034 Funds Settlement --> :handleCheck="handleCheck"
<el-tab-pane :label="$t('bttset.PD000034')" name="setp"> :handleStash="handleStash"
<m-setp :model="model" :codes="codes"/> >
</el-tab-pane> <el-button size="small">流程附言</el-button>
<!--lendoc PD000001 收账通知 --> <el-button size="small">交易历史</el-button>
<el-tab-pane :label="$t('lendoc.PD000001')" name="docpan"> <el-button size="small">备忘录</el-button>
<m-docpan :model="model" :codes="codes"/> <el-button size="small">影像信息</el-button>
</el-tab-pane> <!-- <el-button size="small">保存模板</el-button> -->
<!--bopgat PD000006 外管信息 --> <!-- <el-button size="small">使用模板</el-button> -->
<el-tab-pane :label="$t('bopgat.PD000006')" name="wg"> <el-button size="small">制裁信息</el-button>
<m-wg :model="model" :codes="codes"/> <!-- <el-button size="small">拆分报文</el-button> -->
</el-tab-pane> <el-button size="small">智能提示</el-button>
<!--dbdp PD000000 境内收入申报单-基础信息 --> </c-function-btn>
<el-tab-pane :label="$t('dbdp.PD000000')" name="basp"> <el-form
<m-basp :model="model" :codes="codes"/> :model="model"
</el-tab-pane> :rules="rules"
<!--dbap PD000000 涉外收入申报单-基础信息 --> ref="modelForm"
<el-tab-pane :label="$t('dbap.PD000000')" name="basp"> label-width="150px"
<m-basp :model="model" :codes="codes"/> label-position="right"
</el-tab-pane> size="small"
<!--cnybop PD000002 跨境人民币申报 --> :validate-on-rule-change="false"
<el-tab-pane :label="$t('cnybop.PD000002')" name="cnyp"> >
<m-cnyp :model="model" :codes="codes"/> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
</el-tab-pane> <!--bttset PD000034 Funds Settlement -->
<!--cnybop PD000001 2101跨境收入信息 --> <el-tab-pane label="Funds Settlement" name="setp">
<el-tab-pane :label="$t('cnybop.PD000001')" name="incp"> <c-content>
<m-incp :model="model" :codes="codes"/> <m-setp :model="model" :codes="codes" />
</el-tab-pane> </c-content>
<!--limmod PD001139 试算结果 --> </el-tab-pane>
<el-tab-pane :label="$t('limmod.PD001139')" name="shisuan"> <!--lendoc PD000001 收账通知 -->
<m-shisuan :model="model" :codes="codes"/> <el-tab-pane label="$t('lendoc.PD000001')" name="docpan">
</el-tab-pane> <m-docpan :model="model" :codes="codes" />
</c-tabs> </el-tab-pane>
<!--bopgat PD000006 外管信息 -->
<el-tab-pane label="$t('bopgat.PD000006')" name="wg">
<m-wg :model="model" :codes="codes" />
</el-tab-pane>
<!--dbdp PD000000 境内收入申报单-基础信息 -->
<el-tab-pane label="$t('dbdp.PD000000')" name="basp">
<m-basp :model="model" :codes="codes" />
</el-tab-pane>
<!--dbap PD000000 涉外收入申报单-基础信息 -->
<!-- <el-tab-pane label="$t('dbap.PD000000')" name="basp">
<m-basp :model="model" :codes="codes" />
</el-tab-pane> -->
<!--cnybop PD000002 跨境人民币申报 -->
<el-tab-pane label="$t('cnybop.PD000002')" name="cnyp">
<m-cnyp :model="model" :codes="codes" />
</el-tab-pane>
<!--cnybop PD000001 2101跨境收入信息 -->
<el-tab-pane label="$t('cnybop.PD000001')" name="incp">
<m-incp :model="model" :codes="codes" />
</el-tab-pane>
<!--limmod PD001139 试算结果 -->
<el-tab-pane label="$t('limmod.PD001139')" name="shisuan">
<m-shisuan :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form> </el-form>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable";
import Bttset from "~/model/Bttset" import Bttset from "~/model/Bttset";
import commonProcess from "~/mixin/commonProcess" import commonProcess from "~/mixin/commonProcess";
import Check from "~/model/Bttset/Check" import commonFuncs from "~/mixin/commonFuncs";
import Default from "~/model/Bttset/Default" import Check from "~/model/Bttset/Check";
import Pattern from "~/model/Bttset/Pattern" import Default from "~/model/Bttset/Default";
import Setp from "./Setp" import Pattern from "~/model/Bttset/Pattern";
import Docpan from "./Docpan" import Setp from "./Setp";
import Wg from "./Wg" import Docpan from "./Docpan";
import Basp from "./Basp" import Wg from "./Wg";
import Cnyp from "./Cnyp" import Basp from "./Basp";
import Incp from "./Incp" import Cnyp from "./Cnyp";
import Shisuan from "./Shisuan" import Incp from "./Incp";
import Shisuan from "./Shisuan";
export default { export default {
name: "Bttset", name: "Bttset",
components:{ components: {
"m-setp" : Setp, "m-setp": Setp,
"m-docpan" : Docpan, "m-docpan": Docpan,
"m-wg" : Wg, "m-wg": Wg,
"m-basp" : Basp, "m-basp": Basp,
"m-cnyp" : Cnyp, "m-cnyp": Cnyp,
"m-incp" : Incp, "m-incp": Incp,
"m-shisuan" : Shisuan, "m-shisuan": Shisuan,
}, },
provide() { provide() {
return { return {
root: this root: this,
} };
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){ data() {
return { return {
tabVal: "", tabVal: "setp",
trnName: "bttset", trnName: "bttset",
trnType: "", trnType: "",
model: new Bttset().data, model: new Bttset().data,
checkRules: Check, checkRules: Check,
defaultRules: Default, defaultRules: Default,
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
codes: { codes: {
}, ...CodeTable,
} },
};
},
methods: {
myTabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
}, },
methods:{ },
myTabClick(tab){ created: async function () {
this.tabClick(tab) console.log("进入bttset交易");
/** let rtnmsg = await this.init({});
* do it yourself if (rtnmsg.respCode == SUCCESS) {
**/ this.updateModel(rtnmsg.data);
} //TODO 处理数据逻辑
}, } else {
created:async function(){ this.$notify.error({ title: "错误", message: "服务请求失败!" });
console.log("进入bttset交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
} }
} },
};
</script> </script>
<style> <style>
</style> </style>
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
size="small" size="small"
type="primary" type="primary"
@click="onCctmodButgetref" @click="onCctmodButgetref"
:disabled="model.ccdgrp.rec.ownref!=''" :disabled="model.ccdgrp.rec.ownref != ''"
> >
获取 获取
</c-button> </c-button>
...@@ -201,26 +201,27 @@ ...@@ -201,26 +201,27 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="22"> <c-col :span="24">
<el-form-item label="resp.usr" prop="cctp.usr.extkey"> <el-form-item label="resp.usr" prop="cctp.usr.extkey">
<c-input <c-fullbox>
v-model="model.cctp.usr.extkey" <c-input
maxlength="8" v-model="model.cctp.usr.extkey"
placeholder="请输入resp.usr" maxlength="8"
disabled placeholder="请输入resp.usr"
></c-input> disabled
></c-input>
<template slot="footer">
<c-button
size="small"
type="primary"
@click="onSeainf"
>
<span style="font-family: '宋体'; font-weight: bold">i</span>
</c-button>
</template>
</c-fullbox>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="2">
<c-button
style="margin: 0 12px 0 14px; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf"
>
<span style="font-family: '宋体'; font-weight: bold">i</span>
</c-button>
</c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Drawer" prop="ccdgrp.cor.pts.extkey"> <el-form-item label="Drawer" prop="ccdgrp.cor.pts.extkey">
...@@ -394,43 +395,43 @@ export default { ...@@ -394,43 +395,43 @@ export default {
mixins: [commonProcess], mixins: [commonProcess],
data() { data() {
return { return {
flag1:false, flag1: false,
flag2:false, flag2: false,
flag3:false, flag3: false,
}; };
}, },
watch:{ watch: {
"model.ccdgrp.cor.pts.extkey" :{ "model.ccdgrp.cor.pts.extkey": {
immediate:true, immediate: true,
handler(val ,oldVal){ handler(val, oldVal) {
if(this.model.ccdgrp.cor.pts.extkey!=''){ if (this.model.ccdgrp.cor.pts.extkey != "") {
this.flag1=true; this.flag1 = true;
}else{ } else {
this.flag1=false; this.flag1 = false;
}
} }
}, },
"model.ccdgrp.dro.pts.extkey" :{ },
immediate:true, "model.ccdgrp.dro.pts.extkey": {
handler(val ,oldVal){ immediate: true,
if(this.model.ccdgrp.dro.pts.extkey!=''){ handler(val, oldVal) {
this.flag2=true; if (this.model.ccdgrp.dro.pts.extkey != "") {
}else{ this.flag2 = true;
this.flag2=false; } else {
} this.flag2 = false;
} }
}, },
"model.ccdgrp.col.pts.extkey" :{ },
immediate:true, "model.ccdgrp.col.pts.extkey": {
handler(val ,oldVal){ immediate: true,
if(this.model.ccdgrp.col.pts.extkey!=''){ handler(val, oldVal) {
this.flag3=true; if (this.model.ccdgrp.col.pts.extkey != "") {
}else{ this.flag3 = true;
this.flag3=false; } else {
} this.flag3 = false;
} }
}, },
"model.ccdgrp.rec.modset": function () { },
"model.ccdgrp.rec.modset": function () {
if (this.model.ccdgrp.rec.modset == "2") { if (this.model.ccdgrp.rec.modset == "2") {
this.model.ccdgrp.col.pts.extkey = ""; this.model.ccdgrp.col.pts.extkey = "";
this.model.ccdgrp.col.pts.adrblk = ""; this.model.ccdgrp.col.pts.adrblk = "";
......
...@@ -117,6 +117,9 @@ export default { ...@@ -117,6 +117,9 @@ export default {
{ {
this.updateModel(rtnmsg.data) this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑 //TODO 处理数据逻辑
if (this.isInDisplay) {
this.restoreDisplay();
}
} }
else else
......
...@@ -131,7 +131,9 @@ export default { ...@@ -131,7 +131,9 @@ export default {
{ {
this.updateModel(rtnmsg.data) this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑 //TODO 处理数据逻辑
if (this.isInDisplay) {
this.restoreDisplay();
}
} }
else else
{ {
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<c-col :span="24"> <!-- <c-col :span="24">
<el-form-item label="以下两个选项二选一" prop="addbcb.bccls4"> <el-form-item label="以下两个选项二选一" prop="addbcb.bccls4">
<c-select <c-select
:code="codes.bccls8" :code="codes.bccls8"
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col> -->
</c-col> </c-col>
</c-col> </c-col>
</c-row> </c-row>
......
...@@ -111,6 +111,7 @@ ...@@ -111,6 +111,7 @@
v-model="model.trnmod.swiadd.exptyp" v-model="model.trnmod.swiadd.exptyp"
style="width: 100%" style="width: 100%"
placeholder="请选择" placeholder="请选择"
@change="exptypChange"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -123,7 +124,7 @@ ...@@ -123,7 +124,7 @@
> >
<c-date-picker <c-date-picker
:disabled=" :disabled="
model.trnmod.swiadd.exptyp == 'OPEN' && model.trnmod.swiadd.exptyp == 'OPEN' ||
model.oldgidgrp.rec.expdat == '' model.oldgidgrp.rec.expdat == ''
" "
type="date" type="date"
...@@ -140,7 +141,7 @@ ...@@ -140,7 +141,7 @@
prop="trnmod.swiadd.exptxt" prop="trnmod.swiadd.exptxt"
> >
<c-input <c-input
disabled :disabled="this.flag"
type="textarea" type="textarea"
v-model="model.trnmod.swiadd.exptxt" v-model="model.trnmod.swiadd.exptxt"
maxlength="65" maxlength="65"
...@@ -164,6 +165,7 @@ ...@@ -164,6 +165,7 @@
v-model="model.trnmod.swiadd.liatypc" v-model="model.trnmod.swiadd.liatypc"
style="width: 100%" style="width: 100%"
placeholder="请选择" placeholder="请选择"
@change="liatypcChange"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -175,7 +177,10 @@ ...@@ -175,7 +177,10 @@
prop="trnmod.swiadd.newliadat" prop="trnmod.swiadd.newliadat"
> >
<c-date-picker <c-date-picker
disabled :disabled="
model.trnmod.swiadd.liatypc == 'OPEN' ||
model.oldgidgrp.rec.liadat == ''
"
type="date" type="date"
v-model="model.trnmod.swiadd.newliadat" v-model="model.trnmod.swiadd.newliadat"
style="width: 100%" style="width: 100%"
...@@ -190,7 +195,7 @@ ...@@ -190,7 +195,7 @@
prop="trnmod.swiadd.liatxtc" prop="trnmod.swiadd.liatxtc"
> >
<c-input <c-input
disabled :disabled="this.flag1"
type="textarea" type="textarea"
v-model="model.trnmod.swiadd.liatxtc" v-model="model.trnmod.swiadd.liatxtc"
maxlength="65" maxlength="65"
...@@ -206,8 +211,10 @@ ...@@ -206,8 +211,10 @@
prop="trnmod.swiadd.newdtaappexpdat" prop="trnmod.swiadd.newdtaappexpdat"
> >
<c-date-picker <c-date-picker
:disabled="model.trnmod.swiadd.exptyp != 'OPEN' && :disabled="
model.oldgidgrp.rec.exptyp != 'OPEN'" model.trnmod.swiadd.exptyp != 'OPEN' &&
model.oldgidgrp.rec.exptyp != 'OPEN'
"
type="date" type="date"
v-model="model.trnmod.swiadd.newdtaappexpdat" v-model="model.trnmod.swiadd.newdtaappexpdat"
style="width: 100%" style="width: 100%"
...@@ -232,9 +239,38 @@ export default { ...@@ -232,9 +239,38 @@ export default {
props: ["model", "codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data() { data() {
return {}; return {
flag: false,
flag1: false,
};
},
methods: {
...Event,
exptypChange() {
if (this.model.trnmod.swiadd.exptyp != "COND") {
this.flag = true;
} else {
if (
this.model.trnmod.swiadd.exptyp == "" &&
model.oldgidgrp.blk.exptxt != ""
) {
this.flag = true;
}
}
},
liatypcChange() {
if (this.model.trnmod.swiadd.liatypc != "COND") {
this.flag1 = true;
} else {
if (
this.model.trnmod.swiadd.liatypc == "" &&
model.oldgidgrp.blk.liatxtc != ""
) {
this.flag1 = true;
}
}
},
}, },
methods: { ...Event },
created: function () {}, created: function () {},
}; };
</script> </script>
......
...@@ -165,6 +165,9 @@ export default { ...@@ -165,6 +165,9 @@ export default {
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data); this.updateModel(rtnmsg.data);
//TODO 处理数据逻辑 //TODO 处理数据逻辑
if (this.isInDisplay) {
this.restoreDisplay();
}
} else { } else {
this.$notify.error({ title: "错误", message: "服务请求失败!" }); this.$notify.error({ title: "错误", message: "服务请求失败!" });
} }
......
...@@ -71,50 +71,48 @@ ...@@ -71,50 +71,48 @@
</c-col> </c-col>
</c-col> --> </c-col> -->
<c-col :span="24"> <c-col :span="12">
<c-col :span="12"> <el-form-item label="Guarantee Amount" prop="gidgrp.cbs.max.cur">
<el-form-item label="Guarantee Amount" prop="gidgrp.cbs.max.cur"> <c-select
<c-select v-model="model.gidgrp.cbs.max.cur"
v-model="model.gidgrp.cbs.max.cur" style="width: 100%"
style="width: 100%" placeholder="请选择Currency"
placeholder="请选择Currency" disabled
disabled >
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
> >
<el-option </el-option>
v-for="item in codes.cur" </c-select>
:key="item.value" </el-form-item>
:label="item.label" </c-col>
:value="item.value" <!-- <c-col :span="8">
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<!-- <c-col :span="8">
<c-input <c-input
disabled disabled
v-model="model.gidgrp.cbs.max.amt" v-model="model.gidgrp.cbs.max.amt"
style="margin: 0 0 0 5px; width: 90%" style="margin: 0 0 0 5px; width: 90%"
></c-input> ></c-input>
</c-col> --> </c-col> -->
<c-col :span="8"> <c-col :span="8">
<el-form-item <el-form-item
style="text-align: left" style="text-align: left"
label-width="5px" label-width="5px"
prop="gidgrp.cbs.max.amt" prop="gidgrp.cbs.max.amt"
> >
<c-input-currency <c-input-currency
disabled disabled
v-model="model.gidgrp.cbs.max.amt" v-model="model.gidgrp.cbs.max.amt"
style="margin: 0 0 0 5px; width: 90%" style="margin: 0 0 0 5px; width: 90%"
></c-input-currency> ></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="4" class="centerLable"> <c-col :span="4" class="centerLable">
<c-checkbox disabled v-model="model.gitp0.aamgid.addamtflg" <c-checkbox disabled v-model="model.gitp0.aamgid.addamtflg"
>Add. Amount</c-checkbox >Add. Amount</c-checkbox
> >
</c-col>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
...@@ -225,6 +223,36 @@ ...@@ -225,6 +223,36 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="13" >
<el-form-item v-show="model.gidgrp.rec.liatypc != ''" label="Liability" prop="gidgrp.rec.liadat">
<c-date-picker
disabled
type="date"
v-show="model.gidgrp.rec.liadat != ''"
v-model="model.gidgrp.rec.liadat"
style="width: 100%"
placeholder="请选择Liability"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="11" v-show="model.gidgrp.rec.liadat != ''">
<el-form-item
style="text-align: left"
label-width="5px"
prop="gidgrp.rec.liatypc"
>
<c-select
v-model="model.gidgrp.rec.liatypc"
style="width: 100%"
placeholder="请选择Liability Type"
:code="codes.liatypc"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Reference Date " prop="setmod.refdat"> <el-form-item label="Reference Date " prop="setmod.refdat">
<c-date-picker <c-date-picker
......
...@@ -332,11 +332,11 @@ ...@@ -332,11 +332,11 @@
<c-col :span="11" style="margin-top: 15px"> <c-col :span="11" style="margin-top: 15px">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Select Rejection type " prop="lettername"> <el-form-item label="信函名称" prop="lettername">
<c-input <c-input
v-model="model.lettername" v-model="model.lettername"
maxlength="40" maxlength="40"
placeholder="请输入Select Rejection type" placeholder="请输入信函名称"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -354,21 +354,17 @@ ...@@ -354,21 +354,17 @@
</el-radio-group> </el-radio-group>
</div> </div>
</c-col> --> </c-col> -->
<c-col :span="12"> <c-col :span="24">
<el-card class="box-card"> <el-form-item label="Select Reject Type" prop="rejtypsel">
<template> <c-select
<el-radio v-model="model.rejtypsel"
v-model="rejtypsel" style="width:100%"
label="1" placeholder=""
>Pending instructions</el-radio> :code="rejtypsel"
<el-radio ></c-select>
v-model="rejtypsel" </el-form-item>
label="2"
>Outright,return documents</el-radio>
</template>
</el-card>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="18">
<el-form-item label=" Message Date" prop="gcdgrp.rec.msgdat"> <el-form-item label=" Message Date" prop="gcdgrp.rec.msgdat">
<c-date-picker <c-date-picker
type="date" type="date"
...@@ -378,11 +374,11 @@ ...@@ -378,11 +374,11 @@
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="6">
<c-checkbox <c-checkbox
v-model="model.mtabut.clsflgp" v-model="model.mtabut.clsflg"
style="margin-left: 32px" style="margin-left: 20px"
:disabled="model.rejtypsel != 'Outright,return documents'" :disabled="model.rejtypsel != 'R'"
>Close Contract</c-checkbox >Close Contract</c-checkbox
> >
</c-col> </c-col>
...@@ -949,14 +945,29 @@ export default { ...@@ -949,14 +945,29 @@ export default {
mixins: [commonProcess], mixins: [commonProcess],
data() { data() {
return { return {
rejtypsel: "1", rejtypsel: [
{ label: "Pending instructions", value: "I" },
{ label: "Outright, return documents", value: "R" },
],
typgar2: [ typgar2: [
{ label: "农民工工资保函", value: "1" }, { label: "农民工工资保函", value: "1" },
{ label: "农民工工资保函2", value: "2" }, { label: "农民工工资保函2", value: "2" },
], ],
}; };
}, },
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"
}
}
},
},
methods: { ...Event }, methods: { ...Event },
created: function () {}, created: function () {},
......
...@@ -139,6 +139,9 @@ export default { ...@@ -139,6 +139,9 @@ export default {
{ {
this.updateModel(rtnmsg.data) this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑 //TODO 处理数据逻辑
if (this.isInDisplay) {
this.restoreDisplay();
}
} }
else else
......
...@@ -503,15 +503,15 @@ ...@@ -503,15 +503,15 @@
label="InDirect Swift Add" label="InDirect Swift Add"
prop="gitp.indirectswiadd" prop="gitp.indirectswiadd"
> >
<c-input <c-input-xml
disabled
type="textarea" type="textarea"
rows="4" :maxRows="10"
v-model="model.gitp.indirectswiadd" :model="model.gitp.indirectswiadd"
@change="selectOrCheckboxRule('gitp.indirectswiadd')"
maxlength="9750" maxlength="9750"
show-word-limit show-word-limit
placeholder="请输入InDirect Swift Add" placeholder="请输入InDirect Swift Add"
></c-input> ></c-input-xml>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -647,8 +647,10 @@ import Api from "~/service/Api"; ...@@ -647,8 +647,10 @@ import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitopn/Event"; import Event from "~/model/Gitopn/Event";
import InputXml from "~/components/InputXml";
export default { export default {
components: { InputXml },
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
......
...@@ -9,22 +9,23 @@ ...@@ -9,22 +9,23 @@
label="Guarantee Text with Variables" label="Guarantee Text with Variables"
prop="gidgrp.blk.gidtxt" prop="gidgrp.blk.gidtxt"
> >
<i-stream-input <c-input-xml
:disabled="model.gitp.gidtxtmodflg == ''" :disabled="model.gitp.gidtxtmodflg == ''"
type="textarea" resize="none"
rows="15" :maxRows="10"
:model="model.gidgrp.blk.gidtxt" :model="model.gidgrp.blk.gidtxt"
maxlength="32500" maxlength="32500"
show-word-limit show-word-limit
placeholder="请输入Guarantee Text with Variables" placeholder="请输入Guarantee Text with Variables"
></i-stream-input> @change="selectOrCheckboxRule('gidgrp.blk.gidtxt')"
></c-input-xml>
</el-form-item> </el-form-item>
<el-form-item <el-form-item
v-if="model.gitp.gidtxtmodflg == 'X'" v-if="model.gitp.gidtxtmodflg == 'X'"
label="Guarantee Text with Variables" label="Guarantee Text with Variables"
prop="gidgrp.blk.gtxgidtxt" prop="gidgrp.blk.gtxgidtxt"
> >
<i-stream-input <c-input-xml
type="textarea" type="textarea"
:model="model.gidgrp.blk.gtxgidtxt" :model="model.gidgrp.blk.gtxgidtxt"
rows="15" rows="15"
...@@ -32,7 +33,7 @@ ...@@ -32,7 +33,7 @@
show-word-limit show-word-limit
placeholder="请输入Guarantee Text with Variables" placeholder="请输入Guarantee Text with Variables"
@change="gtxBlur" @change="gtxBlur"
></i-stream-input> ></c-input-xml>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -130,12 +131,12 @@ ...@@ -130,12 +131,12 @@
import Api from "~/service/Api"; import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import IStreamInput from "~/components/IStreamInput"; import InputXml from "~/components/InputXml";
import Event from "~/model/Gitopn/Event"; import Event from "~/model/Gitopn/Event";
import Utils from "~/utils"; import Utils from "~/utils";
export default { export default {
components: { IStreamInput }, components: { InputXml},
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
label="Guarantee Text with Variables" label="Guarantee Text with Variables"
prop="gidgrp.blk.gtxgidtxt" prop="gidgrp.blk.gtxgidtxt"
> >
<i-stream-input <c-input-xml
:disabled="model.gitp.gidtxtmodflgc == ''" :disabled="model.gitp.gidtxtmodflgc == ''"
type="textarea" type="textarea"
rows="15" rows="15"
...@@ -17,21 +17,21 @@ ...@@ -17,21 +17,21 @@
maxlength="32500" maxlength="32500"
show-word-limit show-word-limit
placeholder="请输入Guarantee Text with Variables" placeholder="请输入Guarantee Text with Variables"
></i-stream-input> ></c-input-xml>
</el-form-item> </el-form-item>
<el-form-item <el-form-item
v-if="model.gitp.gidtxtmodflgc == 'X'" v-if="model.gitp.gidtxtmodflgc == 'X'"
label="Guarantee Text with Variables - Counter Undertaking" label="Guarantee Text with Variables - Counter Undertaking"
prop="gidgrp.blk.gtxgidtxtc" prop="gidgrp.blk.gtxgidtxtc"
> >
<i-stream-input <c-input-xml
type="textarea" type="textarea"
:modle="model.gidgrp.blk.gtxgidtxtc" :modle="model.gidgrp.blk.gtxgidtxtc"
rows="15" rows="15"
maxlength="32500" maxlength="32500"
show-word-limit show-word-limit
placeholder="请输入Guarantee Text with Variables - Counter Undertaking" placeholder="请输入Guarantee Text with Variables - Counter Undertaking"
></i-stream-input> ></c-input-xml>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="11" :offset="1">
<el-form-item label="是否对外担保" prop="gidgrp.rec.fingua"> <el-form-item label="是否对外担保" prop="gidgrp.rec.fingua">
<c-select <c-select
v-model="model.gidgrp.rec.fingua" v-model="model.gidgrp.rec.fingua"
......
...@@ -205,7 +205,22 @@ ...@@ -205,7 +205,22 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24" v-if="model.gitp.swiftflg == 'Y'">
<el-form-item
label="Outgoing Purpose"
prop="gidgrp.rec.purpos"
>
<c-select
v-model="model.gidgrp.rec.purpos"
style="width: 100%"
placeholder="请选择Outgoing Purpose"
:code="getValues('gidgrp.rec.purpos')"
>
</c-select>
</el-form-item>
</c-col>
<!-- <c-col :span="24">
<el-form-item <el-form-item
v-if="model.gitp.swiftflg == 'Y' && model.gidgrp.rec.purposin == ''" v-if="model.gitp.swiftflg == 'Y' && model.gidgrp.rec.purposin == ''"
label="Outgoing Purpose" label="Outgoing Purpose"
...@@ -225,9 +240,9 @@ ...@@ -225,9 +240,9 @@
</el-option> </el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col> -->
<c-col :span="24"> <!-- <c-col :span="24">
<el-form-item <el-form-item
v-if=" v-if="
model.gitp.swiftflg == 'Y' && model.gidgrp.rec.purposin == 'ICCO' model.gitp.swiftflg == 'Y' && model.gidgrp.rec.purposin == 'ICCO'
...@@ -249,9 +264,9 @@ ...@@ -249,9 +264,9 @@
</el-option> </el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col> -->
<c-col :span="24"> <!-- <c-col :span="24">
<el-form-item <el-form-item
v-if=" v-if="
model.gitp.swiftflg == 'Y' && model.gidgrp.rec.purposin == 'ISCO' model.gitp.swiftflg == 'Y' && model.gidgrp.rec.purposin == 'ISCO'
...@@ -297,7 +312,7 @@ ...@@ -297,7 +312,7 @@
</el-option> </el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col> -->
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item
...@@ -325,6 +340,7 @@ ...@@ -325,6 +340,7 @@
v-model="model.gidgrp.rec.hndtyp" v-model="model.gidgrp.rec.hndtyp"
style="width: 100%" style="width: 100%"
placeholder="请选择Handling Type" placeholder="请选择Handling Type"
@change="hndtypChange"
> >
<el-option <el-option
v-for="item in codes.hndtyp8" v-for="item in codes.hndtyp8"
...@@ -2088,6 +2104,13 @@ export default { ...@@ -2088,6 +2104,13 @@ export default {
Utils.copyValueFromVO(this.model, rtnmsg.data); Utils.copyValueFromVO(this.model, rtnmsg.data);
} }
}, },
async hndtypChange() {
let rtnmsg = await this.executeRule("gidgrp.rec.hndtyp");
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
}
},
}, },
created: function () {}, created: function () {},
}; };
......
...@@ -371,6 +371,9 @@ export default { ...@@ -371,6 +371,9 @@ export default {
if (name === "ptypc"){ if (name === "ptypc"){
rulePath = "gitp.ptypc" rulePath = "gitp.ptypc"
} }
if(name === "detp"){
rulePath = "gitp.detp"
}
if (!!rulePath) { if (!!rulePath) {
this.executeRule(rulePath).then((res) => { this.executeRule(rulePath).then((res) => {
if (res.respCode == SUCCESS) { if (res.respCode == SUCCESS) {
......
...@@ -215,7 +215,27 @@ ...@@ -215,7 +215,27 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Handling Type" prop="gidgrp.rec.hndtyp"> <el-form-item
v-if="model.gitp.swiftflg == ''"
label="Handling Type"
prop="gidgrp.rec.hndtyp"
>
<c-select
v-model="model.gidgrp.rec.hndtyp"
style="width: 100%"
placeholder="请选择Handling Type"
:code="codes.hndtyp2"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg == 'N'"
label="Handling Type"
prop="gidgrp.rec.hndtyp"
>
<c-select <c-select
v-model="model.gidgrp.rec.hndtyp" v-model="model.gidgrp.rec.hndtyp"
style="width: 100%" style="width: 100%"
...@@ -233,6 +253,78 @@ ...@@ -233,6 +253,78 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg == 'Y' && model.gidgrp.rec.purpos == ''"
label="Handling Type"
prop="gidgrp.rec.hndtyp"
>
<c-select
v-model="model.gidgrp.rec.hndtyp"
style="width: 100%"
placeholder="请选择Handling Type"
>
<el-option
v-for="item in codes.hndtyp2"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="
model.gitp.swiftflg == 'Y' && model.gidgrp.rec.purpos == 'ISSU'
"
label="Handling Type"
prop="gidgrp.rec.hndtyp"
>
<c-select
v-model="model.gidgrp.rec.hndtyp"
style="width: 100%"
placeholder="请选择Handling Type"
>
<el-option
v-for="item in codes.hndtyp3"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="
model.gitp.swiftflg == 'Y' &&
(model.gidgrp.rec.purpos == 'ISCO' ||
model.gidgrp.rec.purpos == 'ICCO')
"
label="Handling Type"
prop="gidgrp.rec.hndtyp"
>
<c-select
v-model="model.gidgrp.rec.hndtyp"
style="width: 100%"
placeholder="请选择Handling Type"
>
<el-option
v-for="item in codes.hndtyp4"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Type of Undertaking" prop="gidgrp.rec.gartyp"> <el-form-item label="Type of Undertaking" prop="gidgrp.rec.gartyp">
<c-select <c-select
v-model="model.gidgrp.rec.gartyp" v-model="model.gidgrp.rec.gartyp"
...@@ -1233,7 +1325,9 @@ ...@@ -1233,7 +1325,9 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="20"> <c-col :span="20">
<el-form-item <el-form-item
v-show="model.gitp.swiftflg == 'Y'&&model.gitp.exptxtmodflg == ''" v-show="
model.gitp.swiftflg == 'Y' && model.gitp.exptxtmodflg == ''
"
label="Expiry Condition/ Evt." label="Expiry Condition/ Evt."
prop="gidgrp.blk.exptxt" prop="gidgrp.blk.exptxt"
> >
...@@ -1248,7 +1342,9 @@ ...@@ -1248,7 +1342,9 @@
></c-input> ></c-input>
</el-form-item> </el-form-item>
<el-form-item <el-form-item
v-show="model.gitp.swiftflg == 'Y'&&model.gitp.exptxtmodflg == 'X'" v-show="
model.gitp.swiftflg == 'Y' && model.gitp.exptxtmodflg == 'X'
"
label="Expiry Condition/ Evt." label="Expiry Condition/ Evt."
prop="gidgrp.blk.atxexptxt" prop="gidgrp.blk.atxexptxt"
> >
...@@ -1357,13 +1453,13 @@ ...@@ -1357,13 +1453,13 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="20"> <c-col :span="20">
<el-form-item <el-form-item
v-show="model.gitp.swiftflg == 'Y'" v-show="model.gitp.swiftflg == 'Y'&&model.gitp.liatxtcmodflg == ''"
label="Liability Condition" label="Liability Condition"
prop="gidgrp.blk.liatxtc" prop="gidgrp.blk.liatxtc"
> >
<c-input <c-input
type="textarea" type="textarea"
:disabled="model.gitp.liatxtcmodflg == ''" disabled
rows="4" rows="4"
v-model="model.gidgrp.blk.liatxtc" v-model="model.gidgrp.blk.liatxtc"
maxlength="780" maxlength="780"
...@@ -1371,6 +1467,20 @@ ...@@ -1371,6 +1467,20 @@
placeholder="请输入Liability Condition" placeholder="请输入Liability Condition"
></c-input> ></c-input>
</el-form-item> </el-form-item>
<el-form-item
v-show="model.gitp.swiftflg == 'Y'&&model.gitp.liatxtcmodflg == 'X'"
label="Liability Condition"
prop="gidgrp.blk.atxliatxtc"
>
<c-input
type="textarea"
rows="4"
v-model="model.gidgrp.blk.atxliatxtc"
maxlength="780"
show-word-limit
placeholder="请输入Liability Condition"
></c-input>
</el-form-item>
</c-col> </c-col>
<c-col :span="4"> <c-col :span="4">
<c-checkbox <c-checkbox
......
...@@ -46,17 +46,60 @@ ...@@ -46,17 +46,60 @@
</c-col> </c-col>
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<c-col :span="24"> <c-col :span="24">
<c-ptap <el-form-item label="Issuing Bnak's Ref." prop="gidgrp.iss.pts.ref">
:model="model" <c-input
:argadr="{ v-model="model.gidgrp.iss.pts.ref"
title: 'Issuing Bank', maxlength="16"
grp: 'gidgrp', placeholder="请输入Issuing Bnak's Ref."
rol: 'iss', ></c-input>
}" </el-form-item>
:disabled="true" </c-col>
@onAplpDet="onCtcpDet" <c-col :span="24">
> <el-form-item label="Issuing Bank" prop="gidgrp.iss.pts.extkey">
</c-ptap> <c-fullbox>
<c-input
v-model="model.gidgrp.iss.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
@keyup.enter.native="
showGridPromptDialog(`gidgrp.iss.pts.extkey`)
"
@blur="issBlur"
></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.iss.pts.adrblk == ''"
size="small"
type="primary"
@click="onIsspDet"
>
Details
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地址名称" prop="gidgrp.iss.pts.adrblk">
<c-input
:disabled="model.gidgrp.iss.pts.adrblk != ''"
rows="4"
type="textarea"
v-model="model.gidgrp.iss.pts.adrblk"
maxlength="140"
show-word-limit
placeholder="请输入地址名称"
></c-input>
</el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
...@@ -137,6 +180,7 @@ import commonFuncs from "~/mixin/commonFuncs"; ...@@ -137,6 +180,7 @@ import commonFuncs from "~/mixin/commonFuncs";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitpop/Event"; import Event from "~/model/Gitpop/Event";
import Ptap from "~/views/Public/Ptap"; import Ptap from "~/views/Public/Ptap";
import Utils from "~/utils";
export default { export default {
components: { "c-ptap": Ptap }, components: { "c-ptap": Ptap },
...@@ -148,6 +192,12 @@ export default { ...@@ -148,6 +192,12 @@ export default {
}, },
methods: { methods: {
...Event, ...Event,
async issBlur() {
let rtnmsg = await this.executeDefault("gidgrp.rec.sndto");
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
}
},
}, },
created: function () {}, created: function () {},
}; };
......
...@@ -319,9 +319,18 @@ export default { ...@@ -319,9 +319,18 @@ export default {
methods: { methods: {
myTabClick(tab) { myTabClick(tab) {
this.tabClick(tab); this.tabClick(tab);
/** let name = tab.name;
* do it yourself let rulePath;
**/ if (name === "ptypc"){
rulePath = "gitp.ptypc"
}
if (!!rulePath) {
this.executeRule(rulePath).then((res) => {
if (res.respCode == SUCCESS) {
this.updateModel(res.data);
}
});
}
}, },
}, },
......
...@@ -312,6 +312,9 @@ export default { ...@@ -312,6 +312,9 @@ export default {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
this.updateModel(rtnmsg.data); this.updateModel(rtnmsg.data);
this.model.mtabut.clsflg="X"; this.model.mtabut.clsflg="X";
if (this.isInDisplay) {
this.restoreDisplay();
}
} else { } else {
this.$notify.error({ title: "错误", message: "服务请求失败!" }); this.$notify.error({ title: "错误", message: "服务请求失败!" });
} }
......
...@@ -112,7 +112,6 @@ ...@@ -112,7 +112,6 @@
" "
style="width: 100%" style="width: 100%"
placeholder="请选择" placeholder="请选择"
> >
</c-input> </c-input>
</template> </template>
...@@ -147,9 +146,9 @@ ...@@ -147,9 +146,9 @@
type="primary" type="primary"
size="small" size="small"
:disabled=" :disabled="
scope.row (scope.row
.pandsc == 'MT799' && model.didgrp && model.didgrp.rec && .pandsc == 'MT799' && model.didgrp && model.didgrp.rec &&
model.didgrp.rec.elcflg == 'Y' model.didgrp.rec.elcflg == 'Y')||suppress
" "
@click="handleDisplay(scope.row.index, scope.row, model.trnmod.trndoc.doceot[scope.row.idx])" @click="handleDisplay(scope.row.index, scope.row, model.trnmod.trndoc.doceot[scope.row.idx])"
icon="el-icon-search" icon="el-icon-search"
...@@ -546,20 +545,24 @@ export default { ...@@ -546,20 +545,24 @@ export default {
}) })
}, },
activateDialog() { activateDialog() {
this.executeRule("trnmod.trndoc.doccur.butdel").then(res => { this.executeRule(`trnmod.trndoc.doceot(${this.index + 1}).butdel`).then(res => {
if(res.respCode==SUCCESS){ if(res.respCode==SUCCESS){
//TODO //TODO
this.updateModel(res.data)
this.dialog = this.model.trnmod.trndoc.doceot[this.index]
this.suppress=false;
}else{ }else{
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}) })
}, },
suppressDialog() { suppressDialog() {
this.executeRule("trnmod.trndoc.doccur.butdel").then(res => { this.executeRule(`trnmod.trndoc.doceot(${this.index + 1}).butdel`).then(res => {
if(res.respCode==SUCCESS){ if(res.respCode==SUCCESS){
//TODO //TODO
this.suppress=true; this.updateModel(res.data)
this.dialog = this.model.trnmod.trndoc.doceot[this.index]
this.suppress=true;
}else{ }else{
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
......
...@@ -1022,9 +1022,9 @@ export default { ...@@ -1022,9 +1022,9 @@ export default {
}, },
detail1(index, row) { detail1(index, row) {
this.executeDefault("setfel.det").then(res => { this.executeDefault("setfel.det").then(res => {
this.index = index;
this.dialogVisible = true; this.dialogVisible = true;
this.dialog = row; this.dialog = row;
this.index = index;
}) })
}, },
dispDefault(index) { dispDefault(index) {
...@@ -1037,9 +1037,9 @@ export default { ...@@ -1037,9 +1037,9 @@ export default {
const that = this; const that = this;
const rule = "setmod.setfeg.setfel(" + (index + 1) + ").det"; const rule = "setmod.setfeg.setfel(" + (index + 1) + ").det";
that.executeRule(rule).then(res => { that.executeRule(rule).then(res => {
that.$refs.setpanDialog.visiable = true;
that.$refs.setpanDialog.formData = Object.assign({}, that.model.setmod.setfeg.setfel[index]);
that.index = index; that.index = index;
that.$refs.setpanDialog.visiable = true;
// that.$refs.setpanDialog.formData = that.model.setmod.setfeg.setfel[index];
that.dialog2 = row that.dialog2 = row
}) })
}, },
...@@ -1054,10 +1054,10 @@ export default { ...@@ -1054,10 +1054,10 @@ export default {
const rule = "setmod.setglg.setgll(" + (index + 1) + ").det"; const rule = "setmod.setglg.setgll(" + (index + 1) + ").det";
let rtnmsg = await this.executeRule(rule) let rtnmsg = await this.executeRule(rule)
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
that.index = index;
that.$refs.detpDialog.visiable = true; that.$refs.detpDialog.visiable = true;
this.detpDialogVisible = true; this.detpDialogVisible = true;
that.dialog3 = Object.assign({}, that.model.setmod.setglg.setgll[index]); that.dialog3 = that.model.setmod.setglg.setgll[index];
that.index = index;
that.rattyp = that.strCalCode(that.dialog3.rattyp, that.codes.ratetype); that.rattyp = that.strCalCode(that.dialog3.rattyp, that.codes.ratetype);
that.dcbrattyp = that.strCalCode(that.dialog3.dcbrattyp, that.codes.ratetype); that.dcbrattyp = that.strCalCode(that.dialog3.dcbrattyp, that.codes.ratetype);
that.scbrattyp = that.strCalCode(that.dialog3.scbrattyp, that.codes.ratetype); that.scbrattyp = that.strCalCode(that.dialog3.scbrattyp, that.codes.ratetype);
......
...@@ -109,7 +109,7 @@ ...@@ -109,7 +109,7 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="优惠百分比"> <el-form-item label="优惠百分比">
<c-input v-model="formData.dctrat"> <c-input v-model="formData.dctrat" @keyup.enter.native="eventFunction('setmod.setfeg.setfel('+ (idx+1) +').dctrat')">
<template #suffix>%</template> <template #suffix>%</template>
</c-input> </c-input>
</el-form-item> </el-form-item>
...@@ -136,14 +136,14 @@ ...@@ -136,14 +136,14 @@
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="优惠金额"> <el-form-item label="优惠金额">
<c-input v-model="formData.dctamt" /> <c-input v-model="formData.dctamt" @keyup.enter.native="eventFunction('setmod.setfeg.setfel('+ (idx+1) +').dctamt')" />
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="优惠后实收费用金额"> <el-form-item label="优惠后实收费用金额">
<c-input v-model="formData.amt" /> <c-input v-model="formData.amt" @keyup.enter.native="eventFunction('setmod.setfeg.setfel('+ (idx+1) +').amt')" />
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -355,7 +355,11 @@ ...@@ -355,7 +355,11 @@
</template> </template>
<script> <script>
import commonProcess from "~/mixin/commonProcess";
export default { export default {
inject: ['root'],
mixins: [commonProcess],
props: { props: {
model: Object, model: Object,
idx: Number, idx: Number,
...@@ -363,10 +367,14 @@ export default { ...@@ -363,10 +367,14 @@ export default {
}, },
data() { data() {
return { return {
formData: {},
visiable: false, visiable: false,
}; };
}, },
computed: {
formData() {
return this.model.setmod.setfeg.setfel[this.idx]
}
},
methods: { methods: {
saveDialog() { saveDialog() {
this.model.setmod.setfeg.setfel.splice(this.idx, 1, this.formData); this.model.setmod.setfeg.setfel.splice(this.idx, 1, this.formData);
......
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