Commit 8ae71e0f by nanrui

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 5e5e87b1 0377b3f7
...@@ -488,10 +488,10 @@ const CodeTable = { ...@@ -488,10 +488,10 @@ const CodeTable = {
], ],
apprul1: [ apprul1: [
{ label: "ANY OTHER RULE", value: "OTHR" }, { label: "ANY OTHER RULE", value: "OTHR" },
{ label: "EUCPURR LATEST VERSION", value: "EUCPURR LATEST VERSION" }, { label: "EUCP + URR LATEST VERSION", value: "EUCPURR LATEST VERSION" },
{ label: "EUCP LATEST VERSION", value: "EUCP LATEST VERSION" }, { label: "EUCP LATEST VERSION", value: "EUCP LATEST VERSION" },
{ label: "ISP LATEST VERSION", value: "ISP LATEST VERSION" }, { label: "ISP LATEST VERSION", value: "ISP LATEST VERSION" },
{ label: "UCPURR LATEST VERSION", value: "UCPURR LATEST VERSION" }, { label: "UCP + URR LATEST VERSION", value: "UCPURR LATEST VERSION" },
{ label: "UCP LATEST VERSION", value: "UCP LATEST VERSION" }, { label: "UCP LATEST VERSION", value: "UCP LATEST VERSION" },
], ],
apprulrmb: [ apprulrmb: [
...@@ -4143,6 +4143,12 @@ const CodeTable = { ...@@ -4143,6 +4143,12 @@ const CodeTable = {
searol2:[ searol2:[
{ label: "Collecting Bank", value: "COL" }, { label: "Collecting Bank", value: "COL" },
], ],
searol3:[
{ label: "Collecting Bank", value: "COL" },
{ label: "Correspondent", value: "COR" },
{ label: "Drawee Bank", value: "DRO" },
{ label: "Presenting Bnk", value: "PRE" },
],
seacur:[ seacur:[
{ label: `CNY-人民币`, value: `CNY` }, { label: `CNY-人民币`, value: `CNY` },
{ label: `KRW-韩元`, value: `KRW` }, { label: `KRW-韩元`, value: `KRW` },
......
...@@ -8,6 +8,10 @@ export default { ...@@ -8,6 +8,10 @@ export default {
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
Utils.copyValueFromVO(this.model, rtnmsg.data); Utils.copyValueFromVO(this.model, rtnmsg.data);
this.$message({
type: 'success',
message: '获取成功!'
});
} }
else else
{ {
...@@ -326,6 +330,7 @@ export default { ...@@ -326,6 +330,7 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onChk(){ async onChk(){
let rtnmsg = await this.executeRule("chk") let rtnmsg = await this.executeRule("chk")
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
...@@ -374,8 +379,8 @@ export default { ...@@ -374,8 +379,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onCan(){ async onBasppGetreftmp(){
let rtnmsg = await this.executeRule("can") let rtnmsg = await this.executeRule("baspp.getreftmp")
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -386,8 +391,8 @@ export default { ...@@ -386,8 +391,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onBasppGetreftmp(){ async onBasppGetref(){
let rtnmsg = await this.executeRule("baspp.getreftmp") let rtnmsg = await this.executeRule("baspp.getref")
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -398,8 +403,8 @@ export default { ...@@ -398,8 +403,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onBasppGetref(){ async onButpErr(){
let rtnmsg = await this.executeRule("baspp.getref") let rtnmsg = await this.executeRule("butp.err")
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -410,9 +415,8 @@ export default { ...@@ -410,9 +415,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onCan(){
async onButpErr(){ let rtnmsg = await this.executeRule("can")
let rtnmsg = await this.executeRule("butp.err")
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
......
...@@ -7,7 +7,6 @@ export default class Cptati{ ...@@ -7,7 +7,6 @@ export default class Cptati{
this.data = { this.data = {
fmtpayl1blk:"", fmtpayl1blk:"",
setsuml3blk:"", setsuml3blk:"",
lendoc_setsuml3blk:"",
attp:{ attp:{
shktyp:"", // static text 收汇款对象 .attp.shktyp shktyp:"", // static text 收汇款对象 .attp.shktyp
opndatlab:"", // 日期标签 .attp.opndatlab opndatlab:"", // 日期标签 .attp.opndatlab
...@@ -273,6 +272,7 @@ export default class Cptati{ ...@@ -273,6 +272,7 @@ export default class Cptati{
account:"", // ACT .lendoc.account account:"", // ACT .lendoc.account
vercerref:"", // Verification Certificate Number .lendoc.vercerref vercerref:"", // Verification Certificate Number .lendoc.vercerref
decnum:"", // Declaration Number .lendoc.decnum decnum:"", // Declaration Number .lendoc.decnum
setsuml3blk:""
}, },
bopmod:{ bopmod:{
szflg:"", // 申报类型 .bopmod.szflg szflg:"", // 申报类型 .bopmod.szflg
......
...@@ -20,7 +20,7 @@ export default { ...@@ -20,7 +20,7 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"cpdgrp.cbs.nom1.amt":[ "cpdgrp.cbs.nom1.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {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位" }
], ],
...@@ -33,7 +33,7 @@ export default { ...@@ -33,7 +33,7 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"cpdgrp.cbs.max.amt":[ "cpdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {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位" }
], ],
......
...@@ -5,6 +5,8 @@ import Pub from "../Public" ...@@ -5,6 +5,8 @@ import Pub from "../Public"
export default class Cptcan{ export default class Cptcan{
constructor () { constructor () {
this.data = { this.data = {
cptpybl1blk:"",
cptorcl1blk:"",
strinf:"", // Narrative .strinf strinf:"", // Narrative .strinf
cptp0:{ cptp0:{
recget:{ recget:{
......
...@@ -34,7 +34,7 @@ export default { ...@@ -34,7 +34,7 @@ export default {
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"cpdgrp.cbs.max.amt":[ "cpdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {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位" }
], ],
......
...@@ -218,58 +218,59 @@ export default class Cptrep{ ...@@ -218,58 +218,59 @@ export default class Cptrep{
// }, // },
// }, // },
// }, // },
trnmod:{ // trnmod:{
trndoc:{ // trndoc:{
advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel // advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel
amdnam:"", // AMDNAM .trnmod.trndoc.amdnam // amdnam:"", // AMDNAM .trnmod.trndoc.amdnam
advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc // advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc
advnam:"", // 国内证落款 .trnmod.trndoc.advnam // advnam:"", // 国内证落款 .trnmod.trndoc.advnam
amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl // amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl
doclbl:"", // Lable for CONDOCSTM .trnmod.trndoc.doclbl // doclbl:"", // Lable for CONDOCSTM .trnmod.trndoc.doclbl
doctrestm:"", // Document tree .trnmod.trndoc.doctrestm // doctrestm:"", // Document tree .trnmod.trndoc.doctrestm
shwinc:"", // Show Incoming Messages .trnmod.trndoc.shwinc // shwinc:"", // Show Incoming Messages .trnmod.trndoc.shwinc
shwout:"", // Show Outgoing Messages .trnmod.trndoc.shwout // shwout:"", // Show Outgoing Messages .trnmod.trndoc.shwout
condocstm:"", // Connected Documents .trnmod.trndoc.condocstm // condocstm:"", // Connected Documents .trnmod.trndoc.condocstm
rcvatt:{ // rcvatt:{
seainf:"", // .trnmod.trndoc.rcvatt.seainf // seainf:"", // .trnmod.trndoc.rcvatt.seainf
}, // },
filrecv:"", // File Receiver .trnmod.trndoc.filrecv // filrecv:"", // File Receiver .trnmod.trndoc.filrecv
}, // },
hvpmod:{ // hvpmod:{
agname2lab:"", // 中介机构2label .trnmod.hvpmod.agname2lab // agname2lab:"", // 中介机构2label .trnmod.hvpmod.agname2lab
agency2lab:"", // 中介机构2行号label .trnmod.hvpmod.agency2lab // agency2lab:"", // 中介机构2行号label .trnmod.hvpmod.agency2lab
remark1:"", // 备注 .trnmod.hvpmod.remark1 // remark1:"", // 备注 .trnmod.hvpmod.remark1
agnamedl:"", // 收款人开户行代理行名称(=中介机构1) .trnmod.hvpmod.agnamedl // agnamedl:"", // 收款人开户行代理行名称(=中介机构1) .trnmod.hvpmod.agnamedl
agencydl:"", // 收款人开户行代理行行号(=中介机构1) .trnmod.hvpmod.agencydl // agencydl:"", // 收款人开户行代理行行号(=中介机构1) .trnmod.hvpmod.agencydl
feecod:"", // �'� 用编码 .trnmod.hvpmod.feecod // feecod:"", // �'� 用编码 .trnmod.hvpmod.feecod
skrmc2:"", // 收款人名称2 .trnmod.hvpmod.skrmc2 // skrmc2:"", // 收款人名称2 .trnmod.hvpmod.skrmc2
skrmc3:"", // 收款人名称3 .trnmod.hvpmod.skrmc3 // skrmc3:"", // 收款人名称3 .trnmod.hvpmod.skrmc3
skrdz2:"", // 收款人地址2 .trnmod.hvpmod.skrdz2 // skrdz2:"", // 收款人地址2 .trnmod.hvpmod.skrdz2
skrdz3:"", // 收款人地址3 .trnmod.hvpmod.skrdz3 // skrdz3:"", // 收款人地址3 .trnmod.hvpmod.skrdz3
skrdz4:"", // 收款人地址4 .trnmod.hvpmod.skrdz4 // skrdz4:"", // 收款人地址4 .trnmod.hvpmod.skrdz4
skrdz5:"", // 收款人地址5 .trnmod.hvpmod.skrdz5 // skrdz5:"", // 收款人地址5 .trnmod.hvpmod.skrdz5
skrzh2:"", // 收款人�'�户2 .trnmod.hvpmod.skrzh2 // skrzh2:"", // 收款人�'�户2 .trnmod.hvpmod.skrzh2
fecomm:"", // 跨境业务附言 .trnmod.hvpmod.fecomm // fecomm:"", // 跨境业务附言 .trnmod.hvpmod.fecomm
oribusnum:"", // 端到端标识号 .trnmod.hvpmod.oribusnum // oribusnum:"", // 端到端标识号 .trnmod.hvpmod.oribusnum
fkrmc2:"", // 付款人名称2 .trnmod.hvpmod.fkrmc2 // fkrmc2:"", // 付款人名称2 .trnmod.hvpmod.fkrmc2
fkrmc3:"", // 付款人名称3 .trnmod.hvpmod.fkrmc3 // fkrmc3:"", // 付款人名称3 .trnmod.hvpmod.fkrmc3
fkrdz2:"", // 付款人地址2 .trnmod.hvpmod.fkrdz2 // fkrdz2:"", // 付款人地址2 .trnmod.hvpmod.fkrdz2
fkrdz3:"", // 付款人地址3 .trnmod.hvpmod.fkrdz3 // fkrdz3:"", // 付款人地址3 .trnmod.hvpmod.fkrdz3
fkrdz4:"", // 付款人地址4 .trnmod.hvpmod.fkrdz4 // fkrdz4:"", // 付款人地址4 .trnmod.hvpmod.fkrdz4
fkrdz5:"", // 付款人地址5 .trnmod.hvpmod.fkrdz5 // fkrdz5:"", // 付款人地址5 .trnmod.hvpmod.fkrdz5
fkrzh2:"", // 付款人�'�户2 .trnmod.hvpmod.fkrzh2 // fkrzh2:"", // 付款人�'�户2 .trnmod.hvpmod.fkrzh2
agname2:"", // 中介机构2名称 .trnmod.hvpmod.agname2 // agname2:"", // 中介机构2名称 .trnmod.hvpmod.agname2
agency2:"", // 中介机构2行号 .trnmod.hvpmod.agency2 // agency2:"", // 中介机构2行号 .trnmod.hvpmod.agency2
feecom:"", // 收报行的收 �'� .trnmod.hvpmod.feecom // feecom:"", // 收报行的收 �'� .trnmod.hvpmod.feecom
feesen:"", // 发报行的收 �'� .trnmod.hvpmod.feesen // feesen:"", // 发报行的收 �'� .trnmod.hvpmod.feesen
remark:"", // 备注 .trnmod.hvpmod.remark // remark:"", // 备注 .trnmod.hvpmod.remark
}, // },
}, // },
lendoc:{ lendoc:{
actflg:"", // Input Account .lendoc.actflg actflg:"", // Input Account .lendoc.actflg
account:"", // ACT .lendoc.account account:"", // ACT .lendoc.account
vercerref:"", // Verification Certificate Number .lendoc.vercerref vercerref:"", // Verification Certificate Number .lendoc.vercerref
decnum:"", // Declaration Number .lendoc.decnum decnum:"", // Declaration Number .lendoc.decnum
setsuml3blk:"" // .lendoc.setsuml3blk
}, },
bopmod:{ bopmod:{
szflg:"", // 申报类型 .bopmod.szflg szflg:"", // 申报类型 .bopmod.szflg
......
...@@ -190,7 +190,7 @@ export default { ...@@ -190,7 +190,7 @@ export default {
"ledgrp.cbs.max2.amt":[ "ledgrp.cbs.max2.amt":[
{type: "strig", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {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位" }
], ],
......
...@@ -198,7 +198,7 @@ export default { ...@@ -198,7 +198,7 @@ export default {
"ledgrp.blk.mixdet":[ "ledgrp.blk.mixdet":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 140,message:"长度不能超过140"} {max: 140,message:"长度不能超过140"}
], ],
"letp.avbp.ptsget.sdamod.dadsnd":[ "letp.avbp.ptsget.sdamod.dadsnd":[
...@@ -223,7 +223,7 @@ export default { ...@@ -223,7 +223,7 @@ export default {
{max: 140,message:"长度不能超过140"} {max: 140,message:"长度不能超过140"}
], ],
"ledgrp.avb.pts.adrblk":[ "ledgrp.avb.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 140,message:"长度不能超过140"} {max: 140,message:"长度不能超过140"}
], ],
"ledgrp.avb.dbfadrblkcn":[ "ledgrp.avb.dbfadrblkcn":[
...@@ -250,17 +250,17 @@ export default { ...@@ -250,17 +250,17 @@ export default {
], ],
"ledgrp.blk.defdet":[ "ledgrp.blk.defdet":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 140,message:"长度不能超过140"} {max: 140,message:"长度不能超过140"}
], ],
"ledgrp.blk.feetxt":[ "ledgrp.blk.feetxt":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 210,message:"长度不能超过210"} {max: 210,message:"长度不能超过210"}
], ],
"ledgrp.blk.dftat":[ "ledgrp.blk.dftat":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 105,message:"长度不能超过105"}
], ],
"letp.drwp.ptsget.sdamod.dadsnd":[ "letp.drwp.ptsget.sdamod.dadsnd":[
...@@ -281,7 +281,7 @@ export default { ...@@ -281,7 +281,7 @@ export default {
{max: 140,message:"长度不能超过140"} {max: 140,message:"长度不能超过140"}
], ],
"ledgrp.drw.pts.adrblk":[ "ledgrp.drw.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 140,message:"长度不能超过140"} {max: 140,message:"长度不能超过140"}
], ],
"ledgrp.drw.dbfadrblkcn":[ "ledgrp.drw.dbfadrblkcn":[
......
export default class Trnmod { export default class Trnmod {
constructor() { constructor() {
this.data = { this.data = {
hvpmod:{
agnamedl:"", //.hvpmod.agnamedl
},
reconebchnam:"", // 收款直接参与者名称 .trnmod.reconebchnam reconebchnam:"", // 收款直接参与者名称 .trnmod.reconebchnam
reconebch:"", // 收款直接参与者行号 .trnmod.reconebch reconebch:"", // 收款直接参与者行号 .trnmod.reconebch
commen:"", // 附言 .trnmod.commen commen:"", // 附言 .trnmod.commen
......
...@@ -170,5 +170,8 @@ export default { ...@@ -170,5 +170,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
onSeainf() {
},
} }
\ No newline at end of file
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 Trtame{ export default class Trtame{
constructor () { constructor () {
...@@ -91,106 +92,10 @@ export default class Trtame{ ...@@ -91,106 +92,10 @@ export default class Trtame{
}, },
}, },
newmatdat:"", // New Due Date .newmatdat newmatdat:"", // New Due Date .newmatdat
liaall:{ liaall:new Pub().data.Liaall,
misamt:"", // Amount not yet assigned .liaall.misamt setmod:new Pub().data.Setmod,
concur:"", // External Booking Amount .liaall.concur mtabut:new Pub().data.Mtabut,
outpct:"", // Sight Amount Percentage .liaall.outpct trnmod:new Pub().data.Trnmod,
outamt:"", // Sight Amount .liaall.outamt
exttotoldamt:"", // Old Amount booked externally .liaall.exttotoldamt
exttotamt:"", // Total booking amount external assinged .liaall.exttotamt
limmod:{
limpts:{
wrklab:"", // Label .liaall.limmod.limpts.wrklab
othlab:"", // Label .liaall.limmod.limpts.othlab
othlabss:"", // Label .liaall.limmod.limpts.othlabss
wrk:{
pts:new Pts().data,
},
oth:{
pts:new Pts().data,
},
lsh:"", // 合同流�'号 .liaall.limmod.limpts.lsh
nonrevflg1:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg1
pfcod1:"", // 合同流�'号 .liaall.limmod.limpts.pfcod1
nonrevflg2:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg2
pfcod2:"", // 合同流�'号 .liaall.limmod.limpts.pfcod2
},
wrkp:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .liaall.limmod.wrkp.ptsget.sdamod.dadsnd
seainf:"", // .liaall.limmod.wrkp.ptsget.sdamod.seainf
},
},
},
othp:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .liaall.limmod.othp.ptsget.sdamod.dadsnd
seainf:"", // .liaall.limmod.othp.ptsget.sdamod.seainf
},
},
},
ownref:"", // 国结业务编号 .liaall.limmod.ownref
comamt:"", // 业务余额 .liaall.limmod.comamt
ccvamt:"", // 保证金余额 .liaall.limmod.ccvamt
ecifno:"", // ECIFNO .liaall.limmod.ecifno
},
},
setmod:{
docamttyplab:"", // settled amount description as label .setmod.docamttyplab
retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
ref:"", // our reference .setmod.ref
doccur:"", // document currency .setmod.doccur
docamt:"", // document amount .setmod.docamt
dspflg:"", // Type of settlement .setmod.dspflg
xreflg:"", // Recalculate Rates .setmod.xreflg
setglg:{
labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg
},
zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
},
mtabut:{
coninf:{
oitinf:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitinf.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
},
},
oitset:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitset.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitset.oit.inflev
},
},
conexedat:"", // 执行日期 .mtabut.coninf.conexedat
usr:{
extkey:"", // User ID .mtabut.coninf.usr.extkey
},
},
},
trnmod:{
trndoc:{
advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel
amdnam:"", // AMDNAM .trnmod.trndoc.amdnam
advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc
advnam:"", // 国内证落款 .trnmod.trndoc.advnam
amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl
doclbl:"", // Lable for CONDOCSTM .trnmod.trndoc.doclbl
doctrestm:"", // Document tree .trnmod.trndoc.doctrestm
shwinc:"", // Show Incoming Messages .trnmod.trndoc.shwinc
shwout:"", // Show Outgoing Messages .trnmod.trndoc.shwout
condocstm:"", // Connected Documents .trnmod.trndoc.condocstm
rcvatt:{
seainf:"", // .trnmod.trndoc.rcvatt.seainf
},
filrecv:"", // File Receiver .trnmod.trndoc.filrecv
},
},
pageId: "" // ctx的key pageId: "" // ctx的key
} }
} }
......
...@@ -84,6 +84,7 @@ let checkObj = { ...@@ -84,6 +84,7 @@ let checkObj = {
"dftcre.dfdgrp.rec.fintyp" :null, "dftcre.dfdgrp.rec.fintyp" :null,
"trdgrp.rec.flowflag" :null, "trdgrp.rec.flowflag" :null,
"trdgrp.rec.fintyp1" :null, "trdgrp.rec.fintyp1" :null,
// "trdgrp.rec.sndto" :null,
} }
for (const key in checkObj) { for (const key in checkObj) {
......
...@@ -91,5 +91,6 @@ export default { ...@@ -91,5 +91,6 @@ export default {
"trdgrp.rec.lprtyp" :Utils.defaultFunction, "trdgrp.rec.lprtyp" :Utils.defaultFunction,
"trdgrp.rec.tenday" :Utils.defaultFunction, "trdgrp.rec.tenday" :Utils.defaultFunction,
"trtmod.finmod.acttyp1" :Utils.defaultFunction, "trtmod.finmod.acttyp1" :Utils.defaultFunction,
// "trdgrp.rec.sndto" :Utils.defaultFunction,
} }
//你可以添加自动default处理 //你可以添加自动default处理
...@@ -90,7 +90,7 @@ export default { ...@@ -90,7 +90,7 @@ export default {
], ],
"trdgrp.rec.issdat":[ "trdgrp.rec.issdat":[
{type: "date", required: false, message: "输入正确的日期"} {type: "string", required: false, message: "输入正确的日期"}
], ],
"trdgrp.fip.namelc":[ "trdgrp.fip.namelc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -139,7 +139,7 @@ export default { ...@@ -139,7 +139,7 @@ export default {
{max: 4,message:"长度不能超过4"} {max: 4,message:"长度不能超过4"}
], ],
"trdgrp.rec.matdat":[ "trdgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"} {type: "string", required: false, message: "输入正确的日期"}
], ],
"trdgrp.rec.tenday":[ "trdgrp.rec.tenday":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
...@@ -150,7 +150,7 @@ export default { ...@@ -150,7 +150,7 @@ export default {
{max: 10,message:"长度不能超过10"} {max: 10,message:"长度不能超过10"}
], ],
"trdgrp.rec.stttendat":[ "trdgrp.rec.stttendat":[
{type: "date", required: false, message: "输入正确的日期"} {type: "string", required: false, message: "输入正确的日期"}
], ],
"trdgrp.rec.intrat":[ "trdgrp.rec.intrat":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
......
import Api from "~/service/Api" import Api from "~/service/Api"
import Pts from "../Common/Pts" import Pts from "../Common/Pts"
import Dids from "../Public/Dids"
import Pub from "../Public" import Pub from "../Public"
export default class Trtopn{ export default class Trtopn{
...@@ -27,6 +28,7 @@ export default class Trtopn{ ...@@ -27,6 +28,7 @@ export default class Trtopn{
invtyp:"", // 发票类型 .trdgrp.rec.invtyp invtyp:"", // 发票类型 .trdgrp.rec.invtyp
lprtyp:"", // 市场LPR期限品种 .trdgrp.rec.lprtyp lprtyp:"", // 市场LPR期限品种 .trdgrp.rec.lprtyp
mycontno:"", // 交易合同号 .trdgrp.rec.mycontno mycontno:"", // 交易合同号 .trdgrp.rec.mycontno
// sndto:"",
}, },
fip:{ fip:{
pts:new Pts().data, pts:new Pts().data,
...@@ -239,7 +241,8 @@ export default class Trtopn{ ...@@ -239,7 +241,8 @@ export default class Trtopn{
trnmod: new Pub().data.Trnmod, trnmod: new Pub().data.Trnmod,
mtabut: new Pub().data.Mtabut, mtabut: new Pub().data.Mtabut,
setmod: new Pub().data.Setmod, setmod: new Pub().data.Setmod,
pageId: "" // ctx的key pageId: "", // ctx的key
roldsc: "",
} }
} }
} }
\ No newline at end of file
import Api from "~/service/Api" import Api from "~/service/Api"
import Pts from "../Common/Pts" import Pts from "../Common/Pts"
import Dids from "../Public/Dids"
import Pub from "../Public"
export default class Trtsel{ export default class Trtsel{
constructor () { constructor () {
this.data = { this.data = {
......
import Api from "~/service/Api" import Api from "~/service/Api"
import Pts from "../Common/Pts" import Pts from "../Common/Pts"
import Dids from "../Public/Dids"
import Pub from "../Public" import Pub from "../Public"
......
...@@ -314,7 +314,7 @@ ...@@ -314,7 +314,7 @@
v-model="model.rebkpflg" v-model="model.rebkpflg"
style="width: 100%" style="width: 100%"
placeholder="请选择Booking Procedure" placeholder="请选择Booking Procedure"
:code="rebkpflg" :code="codes.rebkpflg"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -337,12 +337,7 @@ export default { ...@@ -337,12 +337,7 @@ export default {
"c-litTemp": LitTemp, "c-litTemp": LitTemp,
}, },
data() { data() {
return {
rebkpflg: [
{ label: "Reverse Booking (Document Set)", value: "N" },
{ label: "Reverse Booking (Doc. Set, L/C)", value: "B" },
]
};
}, },
methods: { ...Event }, methods: { ...Event },
created: function () {}, created: function () {},
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
maxlength="3" maxlength="3"
placeholder="请输入付款人常驻国家/地区代码" placeholder="请输入付款人常驻国家/地区代码"
style="width:100%" style="width:100%"
@keyup.enter.native="showGridPromptDialog('cnybop.cnyinc.spayercountrycode')" @keyup.enter.native="showGridPromptDialog('cnybop.cnyinc.spayercountrycode', null, null,{COD: 'cnybop.cnyinc.spayercountrycode'}, {COD: true},'doxpDialog')"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
                size="small"                 size="small"
                type="primary"                 type="primary"
                icon="el-icon-search"                 icon="el-icon-search"
                @click="showGridPromptDialog('cnybop.inccty.selbut1', null, null,{COD: 'cnybop.cnyinc.spayercountrycode'}, {TXT: false},'doxpDialog')"> </c-button>                 @click="showGridPromptDialog('cnybop.inccty.selbut1', null, null,{COD: 'cnybop.cnyinc.spayercountrycode'}, {COD: true},'doxpDialog')"> </c-button>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
......
...@@ -147,7 +147,7 @@ ...@@ -147,7 +147,7 @@
                size="small"                 size="small"
                type="primary"                 type="primary"
                icon="el-icon-search"                 icon="el-icon-search"
                @click="showGridPromptDialog('cptp.selbut', null, null,{COD: 'cptp.draweecountcode'}, {TXT: false},'doxpDialog')"                 @click="showGridPromptDialog('cptp.selbut', null, null,{COD: 'cptp.draweecountcode'}, {COD: true},'doxpDialog')"
              > </c-button>               > </c-button>
</template> </template>
</c-fullbox> </c-fullbox>
......
...@@ -110,6 +110,7 @@ ...@@ -110,6 +110,7 @@
:promptData="promptData" :promptData="promptData"
v-on:select-ety="selectEty" v-on:select-ety="selectEty"
></c-grid-ety-prompt-dialog> ></c-grid-ety-prompt-dialog>
</c-page> </c-page>
</template> </template>
<script> <script>
......
...@@ -44,6 +44,7 @@ ...@@ -44,6 +44,7 @@
v-model="model.cpdgrp.cbs.nom1.cur" v-model="model.cpdgrp.cbs.nom1.cur"
style="width: 100%" style="width: 100%"
placeholder="请选择汇款金额" placeholder="请选择汇款金额"
@change="commonExecuteRule('cpdgrp.cbs.nom1.cur')"
> >
<el-option <el-option
v-for="item in codes.curtxt1" v-for="item in codes.curtxt1"
...@@ -66,7 +67,12 @@ ...@@ -66,7 +67,12 @@
v-model="model.cpdgrp.cbs.nom1.amt" v-model="model.cpdgrp.cbs.nom1.amt"
style="text-align: left; width: 100%" style="text-align: left; width: 100%"
placeholder="请输入汇款金额" placeholder="请输入汇款金额"
@change="commonExecuteNotify()" @keyup.enter.native="
defaultFunction(
'cpdgrp.cbs.nom1.amt',
model.cpdgrp.cbs.nom1.amt
)
"
></c-input-currency> ></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -517,7 +523,9 @@ ...@@ -517,7 +523,9 @@
v-model="model.attp.sndbchnam" v-model="model.attp.sndbchnam"
maxlength="42" maxlength="42"
placeholder="请输入发报行名称" placeholder="请输入发报行名称"
@keyup.enter.native="showGridPromptDialog('attp.sndbchnam')" @keyup.enter.native="
showGridPromptDialog('attp.sndbchnam')
"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -994,16 +1002,14 @@ export default { ...@@ -994,16 +1002,14 @@ export default {
], ],
}; };
}, },
methods: { ...Event, methods: { ...Event },
commonExecuteNotify(){ watch:{
this.executeNotify().then((res) => {
if ((res.respCode == SUCCESS)) {
Utils.copyValueFromVO(this.model, res.data);
}
});
}, },
methods: { ...Event,
}, },
created: function () {}, created: function () {},
computed: { computed: {
flag() { flag() {
return this.model.cpdgrp.orc.pts.extkey == ""; return this.model.cpdgrp.orc.pts.extkey == "";
......
...@@ -117,6 +117,14 @@ ...@@ -117,6 +117,14 @@
v-on:select-ety="selectEty" 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>
</div> </div>
</c-page> </c-page>
</template> </template>
...@@ -190,7 +198,7 @@ export default { ...@@ -190,7 +198,7 @@ export default {
this.updateModel(rtnmsg.data); this.updateModel(rtnmsg.data);
//TODO 处理数据逻辑 //TODO 处理数据逻辑
if(this.isInDisplay){ if(this.isInDisplay){
this.restoreDisplay this.restoreDisplay();
} }
} else { } else {
this.$notify.error({ title: "错误", message: "服务请求失败!" }); this.$notify.error({ title: "错误", message: "服务请求失败!" });
......
...@@ -35,13 +35,14 @@ ...@@ -35,13 +35,14 @@
style="text-align: left; width: 100%" style="text-align: left; width: 100%"
placeholder="请输入汇款金额" placeholder="请输入汇款金额"
disabled disabled
@keyup.enter.native="
></c-input-currency>
<!-- @keyup.enter.native="
defaultFunction( defaultFunction(
'cpdgrp.cbs.nom1.amt', 'cpdgrp.cbs.nom1.amt',
model.cpdgrp.cbs.nom1.amt model.cpdgrp.cbs.nom1.amt
) )
" " -->
></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -57,11 +58,12 @@ ...@@ -57,11 +58,12 @@
<el-form-item <el-form-item
style="text-align: left" style="text-align: left"
label-width="5px" label-width="5px"
prop="cpdgrp.cbs.nom1.amt" prop="cpdgrp.cbs.max.amt"
> >
<c-input-currency <c-input-currency
v-model="model.cpdgrp.cbs.max.amt" v-model="model.cpdgrp.cbs.max.amt"
style="text-align: left; width: 100%" style="text-align: left; width: 100%"
placeholder="请输入汇款金额"
disabled disabled
@keyup.enter.native=" @keyup.enter.native="
defaultFunction( defaultFunction(
...@@ -86,8 +88,19 @@ ...@@ -86,8 +88,19 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Payment Type" prop="cpdgrp.rec.paytyp"> <el-form-item label="Payment Type" prop="cpdgrp.rec.paytyp" >
<c-input v-model="model.cpdgrp.rec.paytyp" disabled></c-input> <c-select
v-model="model.cpdgrp.rec.paytyp"
style="width:100%"
disabled
>
<el-option
v-for="item in paytyp"
:key="item.value"
:value="item.value"
:label="item.label"
></el-option>
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -254,7 +267,13 @@ export default { ...@@ -254,7 +267,13 @@ export default {
props: ["model", "codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data() { data() {
return {}; return {
paytyp:[
{label:"Incoming Payment",value:"I"},
{label:"Outgoing Payment",value:"O"},
{label:"Transit Payment",value:"T"},
]
};
}, },
methods: { ...Event }, methods: { ...Event },
created: function () {}, created: function () {},
......
...@@ -19,23 +19,33 @@ ...@@ -19,23 +19,33 @@
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--cptcan PD000016 Cancelation --> <!--cptcan PD000016 Cancelation -->
<el-tab-pane label="Cancelation" name="canp"> <el-tab-pane label="Cancelation" name="canp">
<c-content>
<m-canp :model="model" :codes="codes"/> <m-canp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane> </el-tab-pane>
<!--setmod PD000000 Settlement 账务--> <!--setmod PD000000 Settlement 账务-->
<el-tab-pane label="Settlement" name="setpan"> <el-tab-pane label="Settlement" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes"/> <m-setpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane> </el-tab-pane>
<!--coninf PD000000 Completion 附言--> <!--coninf PD000000 Completion 附言-->
<el-tab-pane label="Completion" name="coninfp"> <el-tab-pane label="Completion" name="coninfp">
<c-content>
<m-coninfp :model="model" :codes="codes"/> <m-coninfp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane> </el-tab-pane>
<!--trndoc PD000529 &Messages 报文面函--> <!--trndoc PD000529 &Messages 报文面函-->
<el-tab-pane label="Messages" name="docpan"> <el-tab-pane label="Messages" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes"/> <m-docpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane> </el-tab-pane>
<!--trndoc PD000546 Attachments 附件--> <!--trndoc PD000546 Attachments 附件-->
<el-tab-pane label="Attachments" name="doctre"> <el-tab-pane label="Attachments" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes"/> <m-doctre :model="model" :codes="codes"/>
</c-content>
</el-tab-pane> </el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="14"> <c-col :span="12">
<el-form-item label="Open Add. Amount" prop="gidgrp.cbs.opc2.cur"> <el-form-item label="Open Add. Amount" prop="gidgrp.cbs.opc2.cur">
<c-input <c-input
disabled disabled
...@@ -36,12 +36,14 @@ ...@@ -36,12 +36,14 @@
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="10"> <c-col :span="12">
<el-form-item label-width="5px" prop="gidgrp.cbs.opc2.amt">
<c-input <c-input
disabled disabled
v-model="model.gidgrp.cbs.opc2.amt" v-model="model.gidgrp.cbs.opc2.amt"
placeholder="请输入Balance" placeholder="请输入Balance"
></c-input> ></c-input>
</el-form-item>
</c-col> </c-col>
</c-col> </c-col>
</c-col> </c-col>
......
...@@ -37,7 +37,6 @@ ...@@ -37,7 +37,6 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="11" :offset="1"> </c-col>
</c-col> </c-col>
</c-row> </c-row>
</div> </div>
......
...@@ -218,12 +218,12 @@ ...@@ -218,12 +218,12 @@
</c-col> </c-col>
<c-col v-if="model.gidgrp.rec.purposin == 'ISSU'" :span="4"> <c-col v-if="model.gidgrp.rec.purposin == 'ISSU'" :span="4">
<!-- <el-form-item prop="gidgrp.cbs.cnf.amt"> --> <el-form-item label-width="5px" prop="gidgrp.cbs.cnf.amt">
<c-input <c-input
v-model="model.gidgrp.cbs.cnf.amt" v-model="model.gidgrp.cbs.cnf.amt"
placeholder="请输入Balance" placeholder="请输入Balance"
></c-input> ></c-input>
<!-- </el-form-item> --> </el-form-item>
</c-col> </c-col>
<c-col <c-col
v-if="model.gidgrp.rec.purposin == 'ISSU'" v-if="model.gidgrp.rec.purposin == 'ISSU'"
...@@ -233,12 +233,12 @@ ...@@ -233,12 +233,12 @@
<span>or</span> <span>or</span>
</c-col> </c-col>
<c-col v-if="model.gidgrp.rec.purposin == 'ISSU'" :span="4"> <c-col v-if="model.gidgrp.rec.purposin == 'ISSU'" :span="4">
<!-- <el-form-item prop="gidgrp.rec.partcon"> --> <el-form-item label-width="5px" prop="gidgrp.rec.partcon">
<c-input <c-input
v-model="model.gidgrp.rec.partcon" v-model="model.gidgrp.rec.partcon"
placeholder="请输入Partial Confirmation" placeholder="请输入Partial Confirmation"
></c-input> ></c-input>
<!-- </el-form-item> --> </el-form-item>
</c-col> </c-col>
<c-col <c-col
v-if="model.gidgrp.rec.purposin == 'ISSU'" v-if="model.gidgrp.rec.purposin == 'ISSU'"
......
...@@ -135,12 +135,14 @@ ...@@ -135,12 +135,14 @@
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11" :offset="1"> <c-col :span="12">
<el-form-item label-width="5px" prop="gidgrp.rec.orcamtc">
<c-input <c-input
disabled disabled
v-model="model.gidgrp.rec.orcamtc" v-model="model.gidgrp.rec.orcamtc"
placeholder="请输入Contract Amount " placeholder="请输入Contract Amount "
></c-input> ></c-input>
</el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
......
...@@ -90,12 +90,14 @@ ...@@ -90,12 +90,14 @@
</template> </template>
<c-col :span="24"> <c-col :span="24">
<el-form-item label-width="0px" prop="gidgrp.rec.ownref">
<c-input <c-input
style="margin: 5px 0 0 10px; width: 50%" style="margin: 5px 0 0 10px; width: 50%"
v-model="model.gidgrp.rec.ownref" v-model="model.gidgrp.rec.ownref"
maxlength="16" maxlength="16"
placeholder="请输入Reference" placeholder="请输入Reference"
></c-input> ></c-input>
</el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-button <c-button
......
...@@ -37,6 +37,7 @@ ...@@ -37,6 +37,7 @@
</c-col> </c-col>
<c-col :span="6"> <c-col :span="6">
<c-col :span="24"> <c-col :span="24">
<el-form-item label-width="0px" prop="gidgrp.rec.ownref">
<c-input <c-input
style="margin: 5px 0 0 10px; width: 50%" style="margin: 5px 0 0 10px; width: 50%"
v-model="model.gidgrp.rec.ownref" v-model="model.gidgrp.rec.ownref"
...@@ -44,6 +45,7 @@ ...@@ -44,6 +45,7 @@
placeholder="请输入Reference" placeholder="请输入Reference"
disabled disabled
></c-input> ></c-input>
</el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-button <c-button
......
...@@ -30,11 +30,13 @@ ...@@ -30,11 +30,13 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item label-width="0px" prop="gidgrp.cbs.mac.amt">
<c-input <c-input
v-model="model.gidgrp.cbs.mac.amt" v-model="model.gidgrp.cbs.mac.amt"
style="margin: 0 0 0 10px; width: 80%" style="margin: 0 0 0 10px; width: 80%"
placeholder="请输入Guarantee Amount" placeholder="请输入Guarantee Amount"
></c-input> ></c-input>
</el-form-item>
</c-col> </c-col>
<c-col :span="4" class="centerLable"> <c-col :span="4" class="centerLable">
<c-checkbox v-model="model.gitp.aacp.aacmod.addamtflg" <c-checkbox v-model="model.gitp.aacp.aacmod.addamtflg"
......
...@@ -353,16 +353,6 @@ export default { ...@@ -353,16 +353,6 @@ export default {
methods: { methods: {
...Event, ...Event,
}, },
watch: {
"model.gidgrp.iss.pts.adrblk": function () {
if (this.model.gidgrp.iss.pts.adrblk != "") {
let rtnmsg = this.executeDefault("gidgrp.bec.pts.adrblk");
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
}
}
},
},
created: function () {}, created: function () {},
}; };
</script> </script>
......
...@@ -237,9 +237,6 @@ ...@@ -237,9 +237,6 @@
v-model="model.cnybop.cnyvou.svouchercountrycode" v-model="model.cnybop.cnyvou.svouchercountrycode"
maxlength="3" maxlength="3"
placeholder="请输入担保人国别" placeholder="请输入担保人国别"
@keyup.enter.native="
showGridPromptDialog(`cnybop.cnyvou.svouchercountrycode`)
"
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
...@@ -275,9 +272,6 @@ ...@@ -275,9 +272,6 @@
v-model="model.cnybop.cnyvou.svoucheecountrycode" v-model="model.cnybop.cnyvou.svoucheecountrycode"
maxlength="3" maxlength="3"
placeholder="请输入担保权人国别" placeholder="请输入担保权人国别"
@keyup.enter.native="
showGridPromptDialog(`cnybop.cnyvou.svoucheecountrycode`)
"
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
...@@ -303,9 +297,6 @@ ...@@ -303,9 +297,6 @@
v-model="model.cnybop.cnyvou.sdebtorcountrycode" v-model="model.cnybop.cnyvou.sdebtorcountrycode"
maxlength="3" maxlength="3"
placeholder="请输入债务人国别" placeholder="请输入债务人国别"
@keyup.enter.native="
showGridPromptDialog(`cnybop.cnyvou.sdebtorcountrycode`)
"
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
...@@ -341,9 +332,6 @@ ...@@ -341,9 +332,6 @@
v-model="model.cnybop.cnyvou.sreversecountrycode" v-model="model.cnybop.cnyvou.sreversecountrycode"
maxlength="3" maxlength="3"
placeholder="请输入反担保人国别" placeholder="请输入反担保人国别"
@keyup.enter.native="
showGridPromptDialog(`cnybop.cnyvou.sreversecountrycode`)
"
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
......
...@@ -85,9 +85,7 @@ ...@@ -85,9 +85,7 @@
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="Settlement" name="setpan"> <el-tab-pane label="Settlement" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes" /> <m-setpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
<el-tab-pane v-if="this.flag" label="Bookings" name="glepan"> <el-tab-pane v-if="this.flag" label="Bookings" name="glepan">
...@@ -370,6 +368,8 @@ export default { ...@@ -370,6 +368,8 @@ export default {
rulePath = "gitp.gidtxtp" rulePath = "gitp.gidtxtp"
}if (name === "ptypc"){ }if (name === "ptypc"){
rulePath = "gitp.ptypc" rulePath = "gitp.ptypc"
}if(name==="ptyp"){
rulePath = "gitp.ptyp"
} }
if (!!rulePath) { if (!!rulePath) {
this.executeRule(rulePath).then((res) => { this.executeRule(rulePath).then((res) => {
......
...@@ -99,6 +99,8 @@ ...@@ -99,6 +99,8 @@
v-model="model.infcon.pty.extkey" v-model="model.infcon.pty.extkey"
maxlength="16" maxlength="16"
placeholder="请输入Select Single Party" placeholder="请输入Select Single Party"
:disabled="model.infcon.seapty != ''"
@keyup.enter.native="showGridPromptDialog('infcon.pty.extkey')"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -129,6 +131,7 @@ ...@@ -129,6 +131,7 @@
v-model="model.infcon.seapty" v-model="model.infcon.seapty"
maxlength="24" maxlength="24"
placeholder="请输入Party Name/BIC" placeholder="请输入Party Name/BIC"
:disabled="model.infcon.pty.extkey != ''"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -144,7 +147,7 @@ ...@@ -144,7 +147,7 @@
placeholder="请选择Role" placeholder="请选择Role"
> >
<el-option <el-option
v-for="item in codes.payrol" v-for="item in codes.searol3"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value" :value="item.value"
......
<template> <template>
<div class="eContainer"> <div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="left" size="small" :validate-on-rule-change="false"> <el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="150px"
label-position="left"
size="small"
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<c-content> <c-content>
<m-infsea :model="model" :codes="codes" ref="infsea" /> <m-infsea :model="model" :codes="codes" ref="infsea" />
</c-content> </c-content>
...@@ -106,19 +113,25 @@ ...@@ -106,19 +113,25 @@
<!-- <el-tab-pane label="CIPS2.0" name="cips3"> <!-- <el-tab-pane label="CIPS2.0" name="cips3">
<m-cips3 :model="model" :codes="codes"/> <m-cips3 :model="model" :codes="codes"/>
</el-tab-pane> --> </el-tab-pane> -->
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty"
>
</c-grid-ety-prompt-dialog>
</c-tabs> </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 Infccd from "~/model/Infccd" import Infccd from "~/model/Infccd";
import commonProcess from "~/mixin/commonProcess" import commonProcess from "~/mixin/commonProcess";
import Check from "~/model/Infccd/Check" import Check from "~/model/Infccd/Check";
import Default from "~/model/Infccd/Default" import Default from "~/model/Infccd/Default";
import Pattern from "~/model/Infccd/Pattern" import Pattern from "~/model/Infccd/Pattern";
import Infsea from "./Infsea" import Infsea from "./Infsea";
// import Trnpan from "./Trnpan" // import Trnpan from "./Trnpan"
// import Cbsinfp from "./Cbsinfp" // import Cbsinfp from "./Cbsinfp"
// import Cbeinfp from "./Cbeinfp" // import Cbeinfp from "./Cbeinfp"
...@@ -139,10 +152,9 @@ import Infsea from "./Infsea" ...@@ -139,10 +152,9 @@ import Infsea from "./Infsea"
// import Cips2 from "./Cips2" // import Cips2 from "./Cips2"
// import Cips3 from "./Cips3" // import Cips3 from "./Cips3"
export default { export default {
components:{ components: {
"m-infsea" : Infsea, "m-infsea": Infsea,
// "m-trnpan" : Trnpan, // "m-trnpan" : Trnpan,
// "m-cbsinfp" : Cbsinfp, // "m-cbsinfp" : Cbsinfp,
// "m-cbeinfp" : Cbeinfp, // "m-cbeinfp" : Cbeinfp,
...@@ -165,11 +177,11 @@ export default { ...@@ -165,11 +177,11 @@ export default {
}, },
provide() { provide() {
return { return {
root: this root: this,
} };
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){ data() {
return { return {
tabVal: "", tabVal: "",
trnName: "infccd", trnName: "infccd",
...@@ -179,34 +191,29 @@ export default { ...@@ -179,34 +191,29 @@ export default {
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
codes: { codes: {
...CodeTable ...CodeTable,
}, },
} };
}, },
methods:{ methods: {
myTabClick(tab){ myTabClick(tab) {
this.tabClick(tab) this.tabClick(tab);
/** /**
* do it yourself * do it yourself
**/ **/
}
}, },
created:async function(){ },
created: async function () {
console.log("进入infccd交易"); console.log("进入infccd交易");
let rtnmsg = await this.init({}) let rtnmsg = await this.init({});
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{ this.updateModel(rtnmsg.data);
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} else {
} this.$notify.error({ title: "错误", message: "服务请求失败!" });
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
} }
} },
};
</script> </script>
<style> <style>
</style> </style>
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="5"> <c-col :span="5">
<c-checkbox v-model="addamtflg" style="margin-left:-1px;">Add. Amount</c-checkbox> <c-checkbox v-model="addamtflg" style="margin-left:-1px;" @change="openAddAmount">Add. Amount</c-checkbox>
</c-col> </c-col>
</c-col> </c-col>
...@@ -80,6 +80,7 @@ ...@@ -80,6 +80,7 @@
<c-form-item label="Amount Tolerance +/-" prop="ledgrp.rec.nomtop"> <c-form-item label="Amount Tolerance +/-" prop="ledgrp.rec.nomtop">
<c-input v-model.number="model.ledgrp.rec.nomtop" maxlength="2" style="width: 100%" <c-input v-model.number="model.ledgrp.rec.nomtop" maxlength="2" style="width: 100%"
placeholder="请输入Amount Tolerance - Positive" placeholder="请输入Amount Tolerance - Positive"
@keyup.enter.native="$event.target.blur()"
class="m-input-currency"></c-input> class="m-input-currency"></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
...@@ -87,6 +88,7 @@ ...@@ -87,6 +88,7 @@
<el-form-item label="" label-width="5px" prop="ledgrp.rec.nomton"> <el-form-item label="" label-width="5px" prop="ledgrp.rec.nomton">
<c-input v-model.number="model.ledgrp.rec.nomton" maxlength="2" style="width: 95%" <c-input v-model.number="model.ledgrp.rec.nomton" maxlength="2" style="width: 95%"
placeholder="请输入Amount Tolerance - Negative" placeholder="请输入Amount Tolerance - Negative"
@keyup.enter.native="$event.target.blur()"
class="m-input-currency"></c-input> class="m-input-currency"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -694,6 +696,34 @@ export default { ...@@ -694,6 +696,34 @@ export default {
this.model.ledgrp.rec.apprultxt = ""; this.model.ledgrp.rec.apprultxt = "";
} }
}, },
openAddAmount(val){
if(val ==='' && !(this.model.ledgrp.cbs.max2.amt =='0.000'&& this.model.ledgrp.blk.addamtcov === '') ){
this.$confirm('Do you really want to delete the additional amount of this contract?','提示',{
confirmButtonText: 'Yes',
cancelButtonText: 'No',
type: 'warning',
showClose:false
}).then(() => {//yes的执行在这里写
this.executeRule('letp.aamp.aammod.addamtflg').then(res => {
if (res.respCode == SUCCESS) {
this.updateModel(res.data)
}
})
// this.model.ledgrp.cbs.max2.amt ='0.000';
// this.model.ledgrp.blk.addamtcov = '';
// this.$message({
// type: 'success',
// message: '删除成功!'
// });
}).catch(() => {//No的功能在这里写
this.model.letp.aamp.aammod.addamtflg ='X'
// this.$message({
// type: 'info',
// message: '已取消'
// });
});
}
},
}, },
created: function () { created: function () {
......
...@@ -128,6 +128,7 @@ ...@@ -128,6 +128,7 @@
<c-input v-model.number="model.ledgrp.rec.nomtop" maxlength="2" style="width: 100%" <c-input v-model.number="model.ledgrp.rec.nomtop" maxlength="2" style="width: 100%"
placeholder="请输入Amount Tolerance - Positive" placeholder="请输入Amount Tolerance - Positive"
class="m-input-currency" class="m-input-currency"
@keyup.enter.native="$event.target.blur()"
disabled></c-input> disabled></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
...@@ -135,6 +136,7 @@ ...@@ -135,6 +136,7 @@
<el-form-item label="" label-width="5px" prop="ledgrp.rec.nomton"> <el-form-item label="" label-width="5px" prop="ledgrp.rec.nomton">
<c-input v-model.number="model.ledgrp.rec.nomton" maxlength="2" style="width: 95%" <c-input v-model.number="model.ledgrp.rec.nomton" maxlength="2" style="width: 95%"
placeholder="请输入Amount Tolerance - Negative" placeholder="请输入Amount Tolerance - Negative"
@keyup.enter.native="$event.target.blur()"
class="m-input-currency" class="m-input-currency"
disabled></c-input> disabled></c-input>
</el-form-item> </el-form-item>
...@@ -364,6 +366,7 @@ ...@@ -364,6 +366,7 @@
<c-col :span="12" class="centerLable marginLable"> <c-col :span="12" class="centerLable marginLable">
<c-checkbox v-model="model.ledgrp.rec.revflg" <c-checkbox v-model="model.ledgrp.rec.revflg"
@change="openRevolvingDetails"
>Revolving L/C</c-checkbox >Revolving L/C</c-checkbox
> >
</c-col> </c-col>
...@@ -405,13 +408,46 @@ export default { ...@@ -405,13 +408,46 @@ export default {
}, },
methods: { methods: {
...Event, ...Event,
onSeainf(){},
onExtkey(){}, onExtkey(){},
apprulChange(v) { apprulChange(v) {
if (v !== "OTHR") { if (v !== "OTHR") {
this.model.ledgrp.rec.apprultxt = ""; this.model.ledgrp.rec.apprultxt = "";
} }
}, },
openRevolvingDetails(val){
if(val ==='' && !(this.model.ledgrp.rec.revtyp ===''&& this.model.ledgrp.rec.revtimes == '0' && this.model.ledgrp.rec.revdat ===''
&&this.model.ledgrp.rec.revcum ===''&&this.model.ledgrp.blk.revcls ===''&&this.model.ledgrp.blk.revnotes ==='') ){
this.$confirm('Are you sure you want to delete the entered Revolving Details?','提示',{
confirmButtonText: 'Yes',
cancelButtonText: 'No',
type: 'warning',
showClose:false
}).then(() => {//yes的执行在这里写
this.executeRule('ledgrp.rec.revflg').then(res => {
if (res.respCode == SUCCESS) {
this.model.ledgrp.rec.revdat ='';//后端在事件中把日期置为null而不是nullstr,导致日期实际并没有清空,故在此加清空日期
this.updateModel(res.data)
}
})
// this.model.ledgrp.rec.revtyp ='';
// this.model.ledgrp.rec.revtimes = '0';
// this.model.ledgrp.rec.revdat ='';
// this.model.ledgrp.rec.revcum ='';
// this.model.ledgrp.blk.revcls ='';
// this.model.ledgrp.blk.revnotes ='';
// this.$message({
// type: 'success',
// message: '删除成功!'
// });
}).catch(() => {//No的功能在这里写
this.model.ledgrp.rec.revflg ='X'
// this.$message({
// type: 'info',
// message: '已取消'
// });
});
}
},
}, },
created: function () {}, created: function () {},
}; };
......
...@@ -845,58 +845,6 @@ export default { ...@@ -845,58 +845,6 @@ export default {
}, },
methods: { methods: {
...Event, ...Event,
// avbbykeyEvent() {
// if (this.model.ledgrp.rec.avbby == 'P') {
// this.model.ledgrp.rec.tenmaxday = 0
// this.model.ledgrp.blk.defdet = ''
// }
// if (this.model.ledgrp.rec.avbby == 'D'||this.model.ledgrp.rec.avbby =='M') {
// this.model.ledgrp.blk.defdet = '' //汇票期限置空
// this.model.ledgrp.drw.pts.extkey = ''//付款人置空
// this.model.ledgrp.drw.pts.adrblk = '' //名称地址置空.pts.adrblk
// }
// this.executeCheck('ledgrp.rec.avbby').then((res) => {
// if (res.respCode == SUCCESS) {
// Utils.copyValueFromVO(this.model, res.data)
// }
// })
// },
openRevolvingDetails(val){
if(val ==='' && !(this.model.ledgrp.rec.revtyp ===''&& this.model.ledgrp.rec.revtimes == '0' && this.model.ledgrp.rec.revdat ===''
&&this.model.ledgrp.rec.revcum ===''&&this.model.ledgrp.blk.revcls ===''&&this.model.ledgrp.blk.revnotes ==='') ){
this.$confirm('Are you sure you want to delete the entered Revolving Details?','提示',{
confirmButtonText: 'Yes',
cancelButtonText: 'No',
type: 'warning',
showClose:false
}).then(() => {//yes的执行在这里写
this.executeRule('ledgrp.rec.revflg').then(res => {
if (res.respCode == SUCCESS) {
this.model.ledgrp.rec.revdat ='';//后端在事件中把日期置为null而不是nullstr,导致日期实际并没有清空,故在此加清空日期
this.updateModel(res.data)
}
})
// this.model.ledgrp.rec.revtyp ='';
// this.model.ledgrp.rec.revtimes = '0';
// this.model.ledgrp.rec.revdat ='';
// this.model.ledgrp.rec.revcum ='';
// this.model.ledgrp.blk.revcls ='';
// this.model.ledgrp.blk.revnotes ='';
// this.$message({
// type: 'success',
// message: '删除成功!'
// });
}).catch(() => {//No的功能在这里写
this.model.ledgrp.rec.revflg ='X'
// this.$message({
// type: 'info',
// message: '已取消'
// });
});
}
}
}, },
created: function () {}, created: function () {},
computed: { computed: {
......
...@@ -161,6 +161,7 @@ ...@@ -161,6 +161,7 @@
maxlength="2" maxlength="2"
style="width: 100%" style="width: 100%"
placeholder="请输入Amount Tolerance - Positive" placeholder="请输入Amount Tolerance - Positive"
@keyup.enter.native="$event.target.blur()"
class="m-input-currency" class="m-input-currency"
></c-input> ></c-input>
</c-form-item> </c-form-item>
...@@ -172,6 +173,7 @@ ...@@ -172,6 +173,7 @@
maxlength="2" maxlength="2"
style="width: 100%" style="width: 100%"
placeholder="请输入Amount Tolerance - Negative" placeholder="请输入Amount Tolerance - Negative"
@keyup.enter.native="$event.target.blur()"
class="m-input-currency" class="m-input-currency"
></c-input> ></c-input>
</el-form-item> </el-form-item>
......
...@@ -143,6 +143,7 @@ ...@@ -143,6 +143,7 @@
<c-checkbox <c-checkbox
v-model="model.letp.aamp.aammod.addamtflg" v-model="model.letp.aamp.aammod.addamtflg"
style="margin-left: 10px" style="margin-left: 10px"
@change="openAddAmount"
>附加金额</c-checkbox >附加金额</c-checkbox
> >
</c-col> </c-col>
...@@ -156,6 +157,7 @@ ...@@ -156,6 +157,7 @@
maxlength="2" maxlength="2"
style="width: 100%" style="width: 100%"
placeholder="请输入Amount Tolerance - Positive" placeholder="请输入Amount Tolerance - Positive"
@keyup.enter.native="$event.target.blur()"
class="m-input-currency" class="m-input-currency"
></c-input> ></c-input>
</c-form-item> </c-form-item>
...@@ -167,6 +169,7 @@ ...@@ -167,6 +169,7 @@
maxlength="2" maxlength="2"
style="width: 100%" style="width: 100%"
placeholder="请输入Amount Tolerance - Negative" placeholder="请输入Amount Tolerance - Negative"
@keyup.enter.native="$event.target.blur()"
class="m-input-currency" class="m-input-currency"
></c-input> ></c-input>
</el-form-item> </el-form-item>
...@@ -495,6 +498,34 @@ export default { ...@@ -495,6 +498,34 @@ export default {
this.model.ledgrp.rec.apprultxt = '' this.model.ledgrp.rec.apprultxt = ''
} }
}, },
openAddAmount(val){
if(val ==='' && !(this.model.ledgrp.cbs.max2.amt =='0.000'&& this.model.ledgrp.blk.addamtcov === '') ){
this.$confirm('Do you really want to delete the additional amount of this contract?','提示',{
confirmButtonText: 'Yes',
cancelButtonText: 'No',
type: 'warning',
showClose:false
}).then(() => {//yes的执行在这里写
this.executeRule('letp.aamp.aammod.addamtflg').then(res => {
if (res.respCode == SUCCESS) {
this.updateModel(res.data)
}
})
// this.model.ledgrp.cbs.max2.amt ='0.000';
// this.model.ledgrp.blk.addamtcov = '';
// this.$message({
// type: 'success',
// message: '删除成功!'
// });
}).catch(() => {//No的功能在这里写
this.model.letp.aamp.aammod.addamtflg ='X'
// this.$message({
// type: 'info',
// message: '已取消'
// });
});
}
},
}, },
created: function () {}, created: function () {},
} }
......
...@@ -11,7 +11,6 @@ ...@@ -11,7 +11,6 @@
style="width: 100%" style="width: 100%"
placeholder="请选择指定银行" placeholder="请选择指定银行"
:code="codes.avbwth" :code="codes.avbwth"
@change="avbwthEvent"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -19,10 +18,10 @@ ...@@ -19,10 +18,10 @@
<c-col :span="24"> <c-col :span="24">
<c-ptap <c-ptap
v-if="model.ledgrp.rec.avbwth!='O'" v-if="model.ledgrp.rec.avbwth != 'O'"
:model="model" :model="model"
:argadr="{ :argadr="{
title: '指定银行', title: '',
grp: 'ledgrp', grp: 'ledgrp',
rol: 'avb', rol: 'avb',
}" }"
...@@ -35,30 +34,37 @@ ...@@ -35,30 +34,37 @@
</c-ptap> </c-ptap>
</c-col> </c-col>
<!-- 名称地址 -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="名称地址" prop="ledgrp.blk.avbwthtxt"> <el-form-item
label=""
prop="ledgrp.avb.pts.adrblk"
v-if="model.ledgrp.rec.avbwth != 'O'"
>
<c-input <c-input
type="textarea" type="textarea"
:rows="3" :rows="3"
v-model="model.ledgrp.blk.avbwthtxt" v-model="model.ledgrp.avb.pts.adrblk"
maxlength="140" maxlength="140"
show-word-limit show-word-limit
placeholder="请输入名称地址" placeholder="请输入Address Block"
:disabled="model.ledgrp.rec.avbwth!='O'" :disabled="model.ledgrp.rec.avbwth!=''"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- <c-col :span="12"> <c-col :span="24">
<el-form-item label="Address Block" prop="ledgrp.avb.pts.adrblk"> <el-form-item label="" prop="ledgrp.blk.avbwthtxt"
v-if="model.ledgrp.rec.avbwth == 'O'">
<c-input <c-input
type="textarea" type="textarea"
v-model="model.ledgrp.avb.pts.adrblk" :rows="3"
maxlength="35" v-model="model.ledgrp.blk.avbwthtxt"
maxlength="140"
show-word-limit show-word-limit
placeholder="请输入Address Block" placeholder="请输入名称地址"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> --> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="兑付方式" prop="ledgrp.rec.avbby"> <el-form-item label="兑付方式" prop="ledgrp.rec.avbby">
...@@ -67,7 +73,6 @@ ...@@ -67,7 +73,6 @@
style="width: 100%" style="width: 100%"
placeholder="请选择兑付方式" placeholder="请选择兑付方式"
:code="codes.avbby0" :code="codes.avbby0"
@change="avbbykeyEvent"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -389,30 +394,25 @@ export default { ...@@ -389,30 +394,25 @@ export default {
}, },
methods: { methods: {
...Event, ...Event,
avbwthEvent(){ // avbwthEvent(){
if (this.model.ledgrp.rec.avbwth != 'A'||this.model.ledgrp.rec.avbwth != 'O') { // if (this.model.ledgrp.rec.avbwth != 'A'||this.model.ledgrp.rec.avbwth != 'O') {
this.model.ledgrp.avb.pts.extkey = '' // this.model.ledgrp.avb.pts.extkey = ''
this.model.ledgrp.blk.avbwthtxt = '' // this.model.ledgrp.blk.avbwthtxt = ''
} // }
}, // },
avbbykeyEvent() { // avbbykeyEvent() {
if (this.model.ledgrp.rec.avbby == 'P') { // if (this.model.ledgrp.rec.avbby == 'P') {
this.model.ledgrp.rec.tenmaxday = 0 // this.model.ledgrp.rec.tenmaxday = 0
this.model.ledgrp.blk.defdet = '' // this.model.ledgrp.blk.defdet = ''
} // }
if (this.model.ledgrp.rec.avbby == 'D'||this.model.ledgrp.rec.avbby =='M') { // if (this.model.ledgrp.rec.avbby == 'D'||this.model.ledgrp.rec.avbby =='M') {
this.model.ledgrp.blk.defdet = '' //汇票期限置空 // this.model.ledgrp.blk.defdet = '' //汇票期限置空
this.model.ledgrp.drw.pts.extkey = ''//付款人置空 // this.model.ledgrp.drw.pts.extkey = ''//付款人置空
this.model.ledgrp.drw.pts.adrblk = '' //名称地址置空.pts.adrblk // this.model.ledgrp.drw.pts.adrblk = '' //名称地址置空.pts.adrblk
} // }
this.executeCheck('ledgrp.rec.avbby').then((res) => { // },
if (res.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, res.data)
}
})
},
}, },
created: function () {}, created: function () {},
...@@ -421,7 +421,8 @@ export default { ...@@ -421,7 +421,8 @@ export default {
get() { get() {
return ( return (
this.model.ledgrp.rec.avbwth == 'A' || this.model.ledgrp.rec.avbwth == 'A' ||
this.model.ledgrp.rec.avbwth == 'S' this.model.ledgrp.rec.avbwth == 'S' ||
this.model.ledgrp.rec.avbwth == ''
) )
}, },
}, },
......
...@@ -166,8 +166,10 @@ ...@@ -166,8 +166,10 @@
maxlength="2" maxlength="2"
style="width: 100%" style="width: 100%"
placeholder="请输入Amount Tolerance - Positive" placeholder="请输入Amount Tolerance - Positive"
@keyup.enter.native="$event.target.blur()"
class="m-input-currency" class="m-input-currency"
></c-input> ></c-input>
<!-- @keyup.enter.native="$event.target.blur()"回车触发失去焦点后触发的事件 -->
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="7"> <c-col :span="7">
...@@ -177,6 +179,7 @@ ...@@ -177,6 +179,7 @@
maxlength="2" maxlength="2"
style="width: 100%" style="width: 100%"
placeholder="请输入Amount Tolerance - Negative" placeholder="请输入Amount Tolerance - Negative"
@keyup.enter.native="$event.target.blur()"
class="m-input-currency" class="m-input-currency"
></c-input> ></c-input>
</el-form-item> </el-form-item>
......
...@@ -504,7 +504,8 @@ ...@@ -504,7 +504,8 @@
mixins: [commonProcess], mixins: [commonProcess],
data() { data() {
return { return {
flag: false flag: false,
}; };
}, },
watch:{ watch:{
......
...@@ -23,15 +23,17 @@ ...@@ -23,15 +23,17 @@
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<el-tab-pane
v-if="model.gitp.swiftflg == 'Y'" <!-- v-if="model.gitp.swiftflg == 'Y'" -->
<!-- <el-tab-pane
label="Presentation/Delivery" label="Presentation/Delivery"
name="preperp" name="preperp"
> >
<c-content> <c-content>
<m-preperp :model="model" :codes="codes" :sndto="sndto" /> <m-preperp :model="model" :codes="codes" :sndto="sndto" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane> -->
<!--dftcre PD000001 同业代付 --> <!--dftcre PD000001 同业代付 -->
<el-tab-pane label="同业代付" name="dftcrep" v-if="model.trtp.dfflag"> <el-tab-pane label="同业代付" name="dftcrep" v-if="model.trtp.dfflag">
...@@ -150,7 +152,6 @@ export default { ...@@ -150,7 +152,6 @@ export default {
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
codes: {...CodeTable}, codes: {...CodeTable},
sndto: [],
} }
}, },
methods:{ methods:{
...@@ -195,8 +196,8 @@ export default { ...@@ -195,8 +196,8 @@ export default {
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
this.updateModel(rtnmsg.data) this.updateModel(rtnmsg.data)
console.log(rtnmsg.codeSet['gidgrp.rec.sndto']) console.log(rtnmsg.codeSet['trdgrp.rec.sndto'])
this.buildSndto(rtnmsg.codeSet['gidgrp.rec.sndto'] || []); this.buildSndto(rtnmsg.codeSet['trdgrp.rec.sndto'] || []);
//TODO 处理数据逻辑 //TODO 处理数据逻辑
if(this.isInDisplay){ if(this.isInDisplay){
this.restoreDisplay(); this.restoreDisplay();
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-content :height="300"> <c-content :height="300">
<c-crow> <c-row>
<c-col :span="24"> <c-col :span="24">
<c-col :span="11"> <c-col :span="11">
...@@ -267,7 +267,7 @@ ...@@ -267,7 +267,7 @@
</c-col> </c-col>
</c-col> </c-col>
</c-col> </c-col>
</c-crow> </c-row>
</c-content> </c-content>
</div> </div>
</template> </template>
......
...@@ -3,19 +3,19 @@ ...@@ -3,19 +3,19 @@
<!-- ====================顶部==================== --> <!-- ====================顶部==================== -->
<c-col :span="6" style="margin-left:9px"> <c-col :span="6" style="margin-left:9px">
<el-form-item label="参考号" label-width="50px"> <el-form-item label="参考号" label-width="50px">
<c-input v-model="model.setmod.ref" maxlength="16" :readonly="true" placeholder="请输入our reference"> <c-input v-model="model.setmod.ref" maxlength="16" :disabled="true" :readonly="true" placeholder="请输入our reference">
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="4"> <c-col :span="4">
<el-form-item label="结算金额" label-width="100px"> <el-form-item label="结算金额" label-width="100px">
<c-input v-model="model.setmod.doccur" style="width: 100%" placeholder="CNY" :readonly="true"></c-input> <c-input v-model="model.setmod.doccur" style="width: 100%" placeholder="CNY" :disabled="true" :readonly="true"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="6"> <c-col :span="6">
<el-form-item label="" label-width="7px"> <el-form-item label="" label-width="7px">
<c-input v-model="model.setmod.docamt" :readonly="true" placeholder="请输入document amount"></c-input> <c-input v-model="model.setmod.docamt" placeholder="请输入document amount"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -267,7 +267,7 @@ ...@@ -267,7 +267,7 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="23" style="margin-left: 9px"> <c-col :span="23" style="margin-left: 9px">
<c-table style="text-align: center" :list="model.setmod.setglg.setgll" :paginationShow="false" <c-table style="text-align: center" :list="stmData3" :paginationShow="false"
:border="true"> :border="true">
<el-table-column label="Mod" prop="modflg" width="46px"> <el-table-column label="Mod" prop="modflg" width="46px">
</el-table-column> </el-table-column>
...@@ -284,6 +284,9 @@ ...@@ -284,6 +284,9 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="Amount Paid" prop="fmtaccamt" width="120px"> <el-table-column label="Amount Paid" prop="fmtaccamt" width="120px">
<template slot-scope="scope">
<c-input v-model="scope.row.fmtaccamt" @change="fmtaccamtChange(scope.$index)"/>
</template>
</el-table-column> </el-table-column>
<el-table-column label="Disp." width="101px"> <el-table-column label="Disp." width="101px">
<template #default="scope"> <template #default="scope">
...@@ -298,7 +301,7 @@ ...@@ -298,7 +301,7 @@
</el-table-column> </el-table-column>
<el-table-column label="Account" prop="act" width="auto"> <el-table-column label="Account" prop="act" width="auto">
<template slot-scope="scope"> <template slot-scope="scope">
<el-form-item label="0" :prop="'setglg.setgll.' + scope.$index + '.act'" > <el-form-item label="" label-width="0" :prop="'setmod.setglg.setgll.' + scope.$index + '.act'" >
<c-select v-model="scope.row.act"> <c-select v-model="scope.row.act">
<el-option v-for="item in scope.act" :key="item.value" :label="item.label" <el-option v-for="item in scope.act" :key="item.value" :label="item.label"
:value="item.value"> :value="item.value">
...@@ -975,8 +978,23 @@ export default { ...@@ -975,8 +978,23 @@ export default {
}, },
}, },
ogiamt:{}, ogiamt:{},
stmData3:[],
}; };
}, },
watch: {
"model.setmod.setglg.setgll": {
handler(val, oldVal) {
var stm = [];
for (let i = 0; i < val.length; i++) {
if (val[i].rol != "") {
val[i]['idx'] = i
stm.push(val[i]);
}
}
this.stmData3 = stm
},
}
},
methods: { methods: {
//第一个表格 //第一个表格
addRowSetfol() { addRowSetfol() {
...@@ -1087,6 +1105,14 @@ export default { ...@@ -1087,6 +1105,14 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
async fmtaccamtChange(index){
let rtnmsg = await this.executeRule("setmod.setglg.setgll("+(index + 1)+").fmtaccamt")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data);
}
}
}, },
created: function () { }, created: function () { },
}; };
......
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