Commit 5c3aeb14 by liyixun

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 ca4a071d e832cf68
...@@ -4248,6 +4248,10 @@ const CodeTable = { ...@@ -4248,6 +4248,10 @@ const CodeTable = {
{ label: "NPAY", value: "NPAY" }, { label: "NPAY", value: "NPAY" },
{ label: "NACC", value: "NACC" }, { label: "NACC", value: "NACC" },
], ],
advtyp2:[
{ label: "Advice of Discrepancy (MT750)", value: "750" },
{ label: "Advice of Payment (MT754)", value: "754" },
],
limittype: [ limittype: [
{ label: "余额限额", value: "12" }, { label: "余额限额", value: "12" },
......
...@@ -4,25 +4,31 @@ import Utils from "~/utils" ...@@ -4,25 +4,31 @@ import Utils from "~/utils"
* Lttdav Check规则 * Lttdav Check规则
*/ */
let checkObj = { let checkObj = {
"liaall.misamt" :null,
"btdgrp.blk.comcon" :null, "btdgrp.blk.comcon" :null,
"btdgrp.prb.pts.adrblk" :null, "btdgrp.prb.pts.adrblk" :null,
"btdgrp.rmt.pts.extkey" :null,
"btdgrp.rmt.namelc" :null,
"btdgrp.prb.namelc" :null, "btdgrp.prb.namelc" :null,
"btdgrp.acb.pts.extkey" :null,
"btdgrp.blk.setinsbt" :null, "btdgrp.blk.setinsbt" :null,
"btdgrp.blk.docdis" :null, "btdgrp.blk.docdis" :null,
"btdgrp.rmt.pts.adrblk" :null,
"btdgrp.prb.pts.nam" :null, "btdgrp.prb.pts.nam" :null,
"btdgrp.prb.adrelc" :null, "btdgrp.prb.adrelc" :null,
"btdgrp.rmt.adrelc" :null,
"setmod.dspflg" :null, "setmod.dspflg" :null,
"btdgrp.prb.pts.extkey" :null, "btdgrp.prb.pts.extkey" :null,
"btdgrp.be1.pts.nam" :null, "btdgrp.be1.pts.nam" :null,
"btdgrp.blk.intdis" :null, "btdgrp.blk.intdis" :null,
"btdgrp.rec.totamt" :null,
"btdgrp.rec.advtyp" :null, "btdgrp.rec.advtyp" :null,
"bttp.prbp.ptsget.sdamod.dadsnd" :null, "btdgrp.acb.pts.adrblk" :null,
"btdgrp.rec.disdat" :null, "btdgrp.rec.disdat" :null,
"bttp.ltdget.sdamod.dadsnd" :null, "btdgrp.acb.adrelc" :null,
"mtabut.coninf.conexedat" :null, "mtabut.coninf.conexedat" :null,
"bttp.recget.sdamod.dadsnd" :null, "btdgrp.acb.namelc" :null,
"setmod.docamt" :null, "setmod.docamt" :null,
"btdgrp.cbs.max.amt" :null,
"btdgrp.be2.pts.nam" :null, "btdgrp.be2.pts.nam" :null,
"btdgrp.rec.advdat" :null, "btdgrp.rec.advdat" :null,
} }
......
...@@ -6,38 +6,52 @@ import Api from "~/service/Api"; ...@@ -6,38 +6,52 @@ import Api from "~/service/Api";
import Utils from "~/utils/index" import Utils from "~/utils/index"
export default { export default {
"btdgrp.be2.pts.nam" :Utils.defaultFunction,
"btdgrp.prb.pts.nam" :Utils.defaultFunction,
"btdgrp.prb.pts.extkey" :Utils.defaultFunction,
"btdgrp.prb.adrelc" :Utils.defaultFunction,
"btdgrp.prb.namelc" :Utils.defaultFunction,
"btdgrp.prb.dbfadrblkcn" :Utils.defaultFunction,
"btdgrp.rec.advtyp" :Utils.defaultFunction, "btdgrp.rec.advtyp" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction, "setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction, "setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction, "setmod.docamt" :Utils.defaultFunction,
"btdgrp.prb.pts.adrblk" :Utils.defaultFunction,
"trnmod.trndoc.condocstm" :Utils.defaultFunction, "trnmod.trndoc.condocstm" :Utils.defaultFunction,
"trnmod.trndoc.shwinc" :Utils.defaultFunction, "trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction, "trnmod.trndoc.shwout" :Utils.defaultFunction,
"ltdgrp.rec.ownref" :Utils.defaultFunction, "btdgrp.cbs.max2.amt" :Utils.defaultFunction,
"btdgrp.prb.pts.extkey" :Utils.defaultFunction,
"btdgrp.prb.adrelc" :Utils.defaultFunction,
"btdgrp.prb.namelc" :Utils.defaultFunction,
"btdgrp.prb.dbfadrblkcn" :Utils.defaultFunction,
"btdgrp.prb.pts.adrblk" :Utils.defaultFunction,
"btdgrp.rmt.pts.extkey" :Utils.defaultFunction,
"btdgrp.rmt.pts.adrblk" :Utils.defaultFunction,
"btdgrp.acb.pts.extkey" :Utils.defaultFunction,
"btdgrp.acb.adrelc" :Utils.defaultFunction,
"btdgrp.acb.namelc" :Utils.defaultFunction,
"btdgrp.acb.dbfadrblkcn" :Utils.defaultFunction,
"btdgrp.acb.pts.adrblk" :Utils.defaultFunction,
"btdgrp.rec.totcur" :Utils.defaultFunction,
"btdgrp.cbs.max.cur" :Utils.defaultFunction,
"btdgrp.cbs.max.amt" :Utils.defaultFunction,
"btdgrp.prb.pts.nam" :Utils.defaultFunction,
"btdgrp.be1.pts.nam" :Utils.defaultFunction, "btdgrp.be1.pts.nam" :Utils.defaultFunction,
"btdgrp.blk.chaadd" :Utils.defaultFunction,
"btdgrp.blk.chaded" :Utils.defaultFunction,
"ltdgrp.cbs.nom1.cur" :Utils.defaultFunction,
"btdgrp.rmt.adrelc" :Utils.defaultFunction,
"btdgrp.rmt.namelc" :Utils.defaultFunction,
"btdgrp.rmt.dbfadrblkcn" :Utils.defaultFunction,
"btdgrp.rec.docprbrol" :Utils.defaultFunction,
"btdgrp.rec.disdat" :Utils.defaultFunction,
"btdgrp.rec.dscinsflg" :Utils.defaultFunction,
"btdgrp.blk.docdis" :Utils.defaultFunction,
"btdgrp.rec.advdat" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"btdgrp.be2.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction, "mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"btdgrp.blk.docdisflg" :Utils.defaultFunction, "btdgrp.blk.docdisflg" :Utils.defaultFunction,
"btdgrp.blk.docdis" :Utils.defaultFunction,
"setmod.glemod.gleshwstm" :Utils.defaultFunction,
"btdgrp.rec.ownref" :Utils.defaultFunction, "btdgrp.rec.ownref" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction, "ltdgrp.rec.ownref" :Utils.defaultFunction,
"ltdgrp.cbs.nom1.cur" :Utils.defaultFunction,
"btdgrp.rec.dscinsflg" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction, "mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction, "mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction, "mtabut.coninf.conexedat" :Utils.defaultFunction,
"ledgrp.rec.ownref" :Utils.defaultFunction, "ledgrp.rec.ownref" :Utils.defaultFunction,
"btdgrp.rec.docprbrol" :Utils.defaultFunction,
"btdgrp.rec.disdat" :Utils.defaultFunction,
"btdgrp.rec.advdat" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
} }
//你可以添加自动default处理 //你可以添加自动default处理
...@@ -14,8 +14,8 @@ export default { ...@@ -14,8 +14,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onDocdisButtxmsel(){ async onAcbpDet(){
let rtnmsg = await this.executeRule("docdis.buttxmsel") let rtnmsg = await this.executeRule("acbp.det")
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -26,8 +26,8 @@ export default { ...@@ -26,8 +26,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onIntdisButtxmsel(){ async onDocdisButtxmsel(){
let rtnmsg = await this.executeRule("intdis.buttxmsel") let rtnmsg = await this.executeRule("docdis.buttxmsel")
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -38,8 +38,8 @@ export default { ...@@ -38,8 +38,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onComconButtxmsel(){ async onIntdisButtxmsel(){
let rtnmsg = await this.executeRule("comcon.buttxmsel") let rtnmsg = await this.executeRule("intdis.buttxmsel")
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -50,8 +50,8 @@ export default { ...@@ -50,8 +50,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onSetinsButtxmsel(){ async onComconButtxmsel(){
let rtnmsg = await this.executeRule("setins.buttxmsel") let rtnmsg = await this.executeRule("comcon.buttxmsel")
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -62,8 +62,8 @@ export default { ...@@ -62,8 +62,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onLiaallButmisamt(){ async onSetinsButtxmsel(){
let rtnmsg = await this.executeRule("liaall.butmisamt") let rtnmsg = await this.executeRule("setins.buttxmsel")
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -74,8 +74,8 @@ export default { ...@@ -74,8 +74,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onLiaallButmissig(){ async onRmtpDet(){
let rtnmsg = await this.executeRule("liaall.butmissig") let rtnmsg = await this.executeRule("rmtp.det")
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
......
...@@ -144,12 +144,74 @@ export default { ...@@ -144,12 +144,74 @@ export default {
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"btdgrp.cbs.max.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"btdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"btdgrp.cbs.max2.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"btdgrp.blk.chaded":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"btdgrp.blk.chaadd":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"btdgrp.rec.totcur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"btdgrp.rec.totamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bttp.acbp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"btdgrp.acb.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bttp.acbp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"btdgrp.acb.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"btdgrp.acb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"btdgrp.acb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"btdgrp.acb.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"btdgrp.blk.docdis":[ "btdgrp.blk.docdis":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"} {max: 50,message:"长度不能超过50"}
], ],
"btdgrp.blk.intdis":[ "btdgrp.blk.intdis":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 65,message:"长度不能超过65"}
...@@ -167,42 +229,45 @@ export default { ...@@ -167,42 +229,45 @@ export default {
"btdgrp.rec.docsta":[ "btdgrp.rec.docsta":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"} {max: 40,message:"长度不能超过40"}
], ],
"btdgrp.blk.nartxt77a":[
"liaall.outamt":[ {type: "string", required: true, message: "必输项"},
{type: "number", required: false, message: "必输项"}, {max: 35,message:"长度不能超过35"}
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"liaall.outpct":[ "bttp.rmtp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"} {max: 16,message:"长度不能超过16"}
], ],
"liaall.concur":[ "btdgrp.rmt.pts.extkey":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} {max: 16,message:"长度不能超过16"}
], ],
"liaall.misamt":[ "bttp.rmtp.ptsget.sdamod.seainf":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 3,message:"长度不能超过3"}
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"btdgrp.rmt.namelc":[
"liaall.exttotoldamt":[ {type: "string", required: true, message: "必输项"},
{type: "number", required: false, message: "必输项"}, {max: 35,message:"长度不能超过35"}
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"liaall.exttotamt":[ "btdgrp.rmt.pts.adrblk":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 35,message:"长度不能超过35"}
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } ],
"btdgrp.rmt.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"btdgrp.rmt.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"btdgrp.rec.totdat":[
{type: "date", required: false, message: "输入正确的日期"}
], ],
"setmod.ref":[ "setmod.ref":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
...@@ -225,10 +290,6 @@ export default { ...@@ -225,10 +290,6 @@ export default {
], ],
"setmod.glemod.gleshwstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"mtabut.coninf.oitinf.oit.inftxt":[ "mtabut.coninf.oitinf.oit.inftxt":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
......
import Api from "~/service/Api" import Api from "~/service/Api"
import Pts from "../Common/Pts" import Pts from "../Common/Pts"
import Pub from "~/model/Public"; import Pub from "../Public"
export default class Lttdav {
export default class Lttdav{ constructor() {
constructor () {
this.data = { this.data = {
btdgrp:{ btdgrp: {
rec:{ rec: {
ownref:"", // Document Reference .btdgrp.rec.ownref ownref: "", // Document Reference .btdgrp.rec.ownref
advdat:"", // Payment advised on .btdgrp.rec.advdat advdat: "", // Payment advised on .btdgrp.rec.advdat
disdat:"", // Discrep. advised on .btdgrp.rec.disdat disdat: "", // Discrep. advised on .btdgrp.rec.disdat
dscinsflg:"", // Enter Docs, Discrep. and Instructions .btdgrp.rec.dscinsflg dscinsflg: "", // Enter Docs, Discrep. and Instructions .btdgrp.rec.dscinsflg
docprbrol:"", // Presented by .btdgrp.rec.docprbrol docprbrol: "", // Presented by .btdgrp.rec.docprbrol
nam:"", // Name .btdgrp.rec.nam nam: "", // Name .btdgrp.rec.nam
advtyp:"", // Type of Advice .btdgrp.rec.advtyp advtyp: "", // Type of Advice .btdgrp.rec.advtyp
docsta:"", // Document Set Status .btdgrp.rec.docsta totcur: "", // Total Amount Claimed .btdgrp.rec.totcur
totamt: "", // Total Amount to be Paid .btdgrp.rec.totamt
docsta: "", // Document Set Status .btdgrp.rec.docsta
totdat: "", // Date to be Paid .btdgrp.rec.totdat
}, },
prb:{ prb: {
pts:new Pts().data, pts: new Pts().data,
namelc:"", // 名称 .btdgrp.prb.namelc namelc: "", // 名称 .btdgrp.prb.namelc
adrelc:"", // 地址 .btdgrp.prb.adrelc adrelc: "", // 地址 .btdgrp.prb.adrelc
dbfadrblkcn:"", // Chinese address .btdgrp.prb.dbfadrblkcn dbfadrblkcn: "", // Chinese address .btdgrp.prb.dbfadrblkcn
}, },
prp:{ be1: {
pts:new Pts().data, pts: new Pts().data,
namelc:"", // 名称 .btdgrp.prb.namelc
adrelc:"", // 地址 .btdgrp.prb.adrelc
dbfadrblkcn:"", // Chinese address .btdgrp.prb.dbfadrblkcn
}, },
be1:{ be2: {
pts:new Pts().data, pts: new Pts().data,
}, },
be2:{ cbs: {
pts:new Pts().data, max: {
cur: "", // Document Amount .btdgrp.cbs.max.cur
amt: "", // Balance .btdgrp.cbs.max.amt
}, },
blk:{ opn2: {
intdis:"", // Internal Discrepancies .btdgrp.blk.intdis cur: "", // 附加金额 .btdgrp.cbs.opn2.cur
comcon:"", // Comments and Conclusions .btdgrp.blk.comcon
setinsbt:"", // Settlement Instructions transaction field .btdgrp.blk.setinsbt
docdis:"", // Discrepancies .btdgrp.blk.docdis
docdisflg:"", // discrepancies modified .btdgrp.blk.docdisflg
}, },
max2: {
amt: "", // 附加金额 .btdgrp.cbs.max2.amt
}, },
bttp:{
recget:{
sdamod:{
seainf:"", // .bttp.recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .bttp.recget.sdamod.dadsnd
}, },
blk: {
chaded: "", // Charges Deducted .btdgrp.blk.chaded
chaadd: "", // Charges Added .btdgrp.blk.chaadd
docdis: "", // Discrepancies .btdgrp.blk.docdis
docdisflg: "", // discrepancies modified .btdgrp.blk.docdisflg
intdis: "", // Internal Discrepancies .btdgrp.blk.intdis
comcon: "", // Comments and Conclusions .btdgrp.blk.comcon
setinsbt: "", // Settlement Instructions transaction field .btdgrp.blk.setinsbt
nartxt77a: "", // Narrative Tag77A of MT754 .btdgrp.blk.nartxt77a
}, },
setnowflg:"", // setttle now .bttp.setnowflg acb: {
prbp:{ pts: new Pts().data,
ptsget:{ namelc: "", // 名称 .btdgrp.acb.namelc
sdamod:{ adrelc: "", // 地址 .btdgrp.acb.adrelc
seainf:"", // .bttp.prbp.ptsget.sdamod.seainf dbfadrblkcn: "", // Chinese address .btdgrp.acb.dbfadrblkcn
dadsnd:"", // Drag Drop Sender .bttp.prbp.ptsget.sdamod.dadsnd
}, },
rmt: {
pts: new Pts().data,
namelc: "", // 名称 .btdgrp.rmt.namelc
adrelc: "", // 地址 .btdgrp.rmt.adrelc
dbfadrblkcn: "", // Chinese address .btdgrp.rmt.dbfadrblkcn
}, },
}, },
ledget:{ bttp: {
sdamod:{ recget: {
seainf:"", // .bttp.ledget.sdamod.seainf sdamod: {
seainf: "", // .bttp.recget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .bttp.recget.sdamod.dadsnd
}, },
}, },
ltdget:{ setnowflg: "", // setttle now .bttp.setnowflg
sdamod:{ prbp: {
seainf:"", // .bttp.ltdget.sdamod.seainf ptsget: {
dadsnd:"", // Drag Drop Sender .bttp.ltdget.sdamod.dadsnd sdamod: {
seainf: "", // .bttp.prbp.ptsget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .bttp.prbp.ptsget.sdamod.dadsnd
}, },
}, },
aammod:{
addamtflg:"", // Add. Amount .bttp.aammod.addamtflg
}, },
docgrdmbe1:{ ledget: {
docdsclab:"", // Label of document description .bttp.docgrdmbe1.docdsclab sdamod: {
docgrd:[], // .bttp.docgrdmbe1.docgrd seainf: "", // .bttp.ledget.sdamod.seainf
}, },
docgrdmbe2:{
docdsclab:"", // Label of document description .bttp.docgrdmbe2.docdsclab
docgrd:[], // .bttp.docgrdmbe2.docgrd
}, },
futhndflg:"", // further handling .bttp.futhndflg ltdget: {
sdamod: {
seainf: "", // .bttp.ltdget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .bttp.ltdget.sdamod.dadsnd
}, },
ledgrp:{
rec:{
ownref:"", // L/C Reference .ledgrp.rec.ownref
nam:"", // Name .ledgrp.rec.nam
}, },
aammod: {
addamtflg: "", // Add. Amount .bttp.aammod.addamtflg
}, },
ltdgrp:{ acbp: {
rec:{ ptsget: {
ownref:"", // Transfer Reference .ltdgrp.rec.ownref sdamod: {
nam:"", // Name .ltdgrp.rec.nam seainf: "", // .bttp.acbp.ptsget.sdamod.seainf
avbby:"", // Available by .ltdgrp.rec.avbby dadsnd: "", // Drag Drop Sender .bttp.acbp.ptsget.sdamod.dadsnd
opndat:"", // Date Issued/Form .ltdgrp.rec.opndat
lcrtyp:"", // Date Issued/Form .ltdgrp.rec.lcrtyp
expdat:"", // Date / Place of Expiry .ltdgrp.rec.expdat
expplc:"", // Date / Place of Expiry .ltdgrp.rec.expplc
shpdat:"", // Shipment Date .ltdgrp.rec.shpdat
}, },
cbs:{
nom1:{
cur:"", // L/C Amount .ltdgrp.cbs.nom1.cur
amt:"", // Balance .ltdgrp.cbs.nom1.amt
}, },
opn1:{
cur:"", // Open Amount .ltdgrp.cbs.opn1.cur
amt:"", // Balance .ltdgrp.cbs.opn1.amt
}, },
docgrdmbe1: {
docdsclab: "", // Label of document description .bttp.docgrdmbe1.docdsclab
}, },
avbnam:"", // Available with .ltdgrp.avbnam docgrdmbe2: {
docdsclab: "", // Label of document description .bttp.docgrdmbe2.docdsclab
}, },
setmod: new Pub().data.Setmod, futhndflg: "", // further handling .bttp.futhndflg
mtabut: new Pub().data.Mtabut, rmtp: {
ptsget: {
sdamod: {
seainf: "", // .bttp.rmtp.ptsget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .bttp.rmtp.ptsget.sdamod.dadsnd
},
},
},
},
ledgrp: {
rec: {
ownref: "", // L/C Reference .ledgrp.rec.ownref
nam: "", // Name .ledgrp.rec.nam
},
},
ltdgrp: {
rec: {
ownref: "", // Transfer Reference .ltdgrp.rec.ownref
nam: "", // Name .ltdgrp.rec.nam
avbby: "", // Available by .ltdgrp.rec.avbby
opndat: "", // Date Issued/Form .ltdgrp.rec.opndat
lcrtyp: "", // Date Issued/Form .ltdgrp.rec.lcrtyp
expdat: "", // Date / Place of Expiry .ltdgrp.rec.expdat
expplc: "", // Date / Place of Expiry .ltdgrp.rec.expplc
shpdat: "", // Shipment Date .ltdgrp.rec.shpdat
},
cbs: {
nom1: {
cur: "", // L/C Amount .ltdgrp.cbs.nom1.cur
amt: "", // Balance .ltdgrp.cbs.nom1.amt
},
opn1: {
cur: "", // Open Amount .ltdgrp.cbs.opn1.cur
amt: "", // Balance .ltdgrp.cbs.opn1.amt
},
},
avbnam: "", // Available with .ltdgrp.avbnam
},
pageId: "", // ctx的key
trnmod: new Pub().data.Trnmod, trnmod: new Pub().data.Trnmod,
setmod: new Pub().data.Setmod,
liaall: new Pub().data.Liaall, liaall: new Pub().data.Liaall,
pageId: "" // ctx的key mtabut: new Pub().data.Mtabut,
} }
} }
} }
\ No newline at end of file
...@@ -162,10 +162,13 @@ ...@@ -162,10 +162,13 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-checkbox v-model="rejpenins" style="margin-left: 150px" <el-form-item label="" prop="rejpenins">
<c-checkbox v-model="rejpenins"
>Rejection Pending Instructions</c-checkbox >Rejection Pending Instructions</c-checkbox
> >
</el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<!-- next part --> <!-- next part -->
...@@ -173,11 +176,10 @@ ...@@ -173,11 +176,10 @@
<c-docpre <c-docpre
:model="model" :model="model"
:argadr="{ :argadr="{
path:'bedgrp.blk.prsdoc', path: 'bedgrp.blk.prsdoc',
grp:'betp', grp: 'betp',
code:'docpre' code: 'docpre',
}" }"
> >
</c-docpre> </c-docpre>
</c-col> </c-col>
...@@ -307,21 +309,19 @@ import Utils from "~/utils"; ...@@ -307,21 +309,19 @@ import Utils from "~/utils";
import Docpre from "~/views/Public/Docpre"; import Docpre from "~/views/Public/Docpre";
export default { export default {
components:{"c-docpre":Docpre}, components: { "c-docpre": Docpre },
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data() { data() {
return { return {};
};
}, },
computed: { computed: {
docdisflg: { docdisflg: {
get() { get() {
if(this.model.bedgrp.blk.docdis==""){ if (this.model.bedgrp.blk.docdis == "") {
return this.model.bedgrp.blk.docdisflg != ""; return this.model.bedgrp.blk.docdisflg != "";
}else{ } else {
return this.model.bedgrp.blk.docdisflg != "X"; return this.model.bedgrp.blk.docdisflg != "X";
} }
}, },
......
...@@ -301,32 +301,39 @@ ...@@ -301,32 +301,39 @@
<!-- left --> <!-- left -->
<c-col :span="11"> <c-col :span="11">
<c-col :span="24"> <c-col :span="24">
<c-checkbox v-model="advrefflg" style="margin-left: 150px" <el-form-item label="" prop="advrefflg">
<c-checkbox v-model="advrefflg"
>Receive advice of refusal</c-checkbox >Receive advice of refusal</c-checkbox
> >
</el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="" prop="bedgrp.rec.advdocflg">
<c-checkbox <c-checkbox
v-model="clsflgp" v-model="model.bedgrp.rec.advdocflg"
style="margin-left: 150px"
@change="clsflgpChange" @change="clsflgpChange"
>Receive returned ducuments</c-checkbox >Receive returned ducuments</c-checkbox
> >
</el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-checkbox v-model="clsflgp" style="margin-left: 150px" disabled <el-form-item label="" prop="mtabut.clsflgp">
<c-checkbox v-model="clsflgp" disabled
>Close Contract</c-checkbox >Close Contract</c-checkbox
> >
</el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="" prop="advdisflg">
<c-checkbox <c-checkbox
v-model="advdisflg" v-model="advdisflg"
style="margin-left: 150px; margin-top: 100px; margin-bottom: 10px" style=" margin-top: 100px; margin-bottom: 10px"
>Send Advice of Discrepancy(MT750)</c-checkbox >Send Advice of Discrepancy(MT750)</c-checkbox
> >
</el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
...@@ -351,9 +358,7 @@ ...@@ -351,9 +358,7 @@
style="width: 100%" style="width: 100%"
placeholder="Please select Payer" placeholder="Please select Payer"
disabled disabled
@change="eventFunction( @change="eventFunction('bedgrp.rec.payrol')"
'bedgrp.rec.payrol'
)"
> >
<el-option <el-option
v-for="item in codes.payrol" v-for="item in codes.payrol"
...@@ -389,9 +394,7 @@ ...@@ -389,9 +394,7 @@
style="width: 100%" style="width: 100%"
placeholder="Please input Presented by" placeholder="Please input Presented by"
disabled disabled
@change="eventFunction( @change="eventFunction('bedgrp.rec.docprbrol')"
'bedgrp.rec.docprbrol'
)"
> >
<el-option <el-option
v-for="item in codes.docprbrol" v-for="item in codes.docprbrol"
...@@ -744,10 +747,9 @@ export default { ...@@ -744,10 +747,9 @@ export default {
// }, // },
clsflgp: { clsflgp: {
get() { get() {
return this.model.bedgrp.rec.advdocflg != ""; return this.model.mtabut.clsflgp == "";
}, },
set(val) { set(val) {
this.model.bedgrp.rec.advdocflg = val ? "X" : "";
this.model.mtabut.clsflgp = val ? "C" : "O"; this.model.mtabut.clsflgp = val ? "C" : "O";
}, },
}, },
...@@ -765,7 +767,7 @@ export default { ...@@ -765,7 +767,7 @@ export default {
clsflgpChange(v) { clsflgpChange(v) {
if (v == "X") { if (v == "X") {
this.model.bedgrp.rec.docsta = "R"; this.model.bedgrp.rec.docsta = "R";
}else{ } else {
this.model.bedgrp.rec.docsta = "E"; this.model.bedgrp.rec.docsta = "E";
} }
}, },
......
...@@ -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
{ {
......
...@@ -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: "服务请求失败!" });
} }
......
...@@ -117,7 +117,7 @@ export default { ...@@ -117,7 +117,7 @@ export default {
defaultRules: Default, defaultRules: Default,
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
codes: { codes: {...CodeTable
}, },
} }
}, },
...@@ -136,7 +136,9 @@ export default { ...@@ -136,7 +136,9 @@ export default {
{ {
this.updateModel(rtnmsg.data) this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑 //TODO 处理数据逻辑
if (this.isInDisplay) {
this.restoreDisplay();
}
} }
else else
{ {
......
...@@ -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
......
...@@ -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: "服务请求失败!" });
} }
......
...@@ -63,6 +63,7 @@ ...@@ -63,6 +63,7 @@
maxlength="35" maxlength="35"
show-word-limit show-word-limit
placeholder="请输入Covered" placeholder="请输入Covered"
@change="defaultFunction()"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<span v-text="model.mtabut.coninf.oitinf.labinftxt" data-path=".mtabut.coninf.oitinf.labinftxt" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext" prop="mtabut.coninf.oitinf.oit.inftxt">
<c-input type="textarea" v-model="model.mtabut.coninf.oitinf.oit.inftxt" maxlength="60" show-word-limit placeholder="请输入Infotext" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext Level" prop="mtabut.coninf.oitinf.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitinf.oit.inflev" style="width:100%" placeholder="请选择Infotext Level">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.mtabut.coninf.oitset.labinftxt" data-path=".mtabut.coninf.oitset.labinftxt" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext" prop="mtabut.coninf.oitset.oit.inftxt">
<c-input type="textarea" v-model="model.mtabut.coninf.oitset.oit.inftxt" maxlength="60" show-word-limit placeholder="请输入Infotext" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext Level" prop="mtabut.coninf.oitset.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitset.oit.inflev" style="width:100%" placeholder="请选择Infotext Level">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="执行日期" prop="mtabut.coninf.conexedat">
<c-date-picker type="date" v-model="model.mtabut.coninf.conexedat" style="width:100%" placeholder="请选择执行日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="User ID" prop="mtabut.coninf.usr.extkey">
<c-input v-model="model.mtabut.coninf.usr.extkey" maxlength="8" placeholder="请输入User ID"></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Lttdav/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<!-- left -->
<c-col :span="12"> <c-col :span="11">
<el-form-item label="L/C Reference" prop="ledgrp.rec.ownref"> <c-col :span="24">
<c-input v-model="model.ledgrp.rec.ownref" maxlength="16" placeholder="请输入L/C Reference"></c-input> <el-form-item
</el-form-item> label="L/C Reference"
</c-col> prop="ledgrp.rec.ownref"
style="width: 100%"
<c-col :span="12"> >
<el-form-item label="" prop="bttp.ledget.sdamod.seainf"> <c-fullbox>
<c-input v-model="model.bttp.ledget.sdamod.seainf" placeholder="请输入"></c-input> <c-input
</el-form-item> v-model="model.ledgrp.rec.ownref"
</c-col> maxlength="8"
placeholder="Please input L/C Reference"
<c-col :span="12"> :disabled="true"
<el-form-item label="Name" prop="ledgrp.rec.nam"> ></c-input>
<c-input v-model="model.ledgrp.rec.nam" maxlength="40" placeholder="请输入Name"></c-input> <template slot="footer">
</el-form-item> <c-button
</c-col> style="margin-left: 10px; padding: 0 12px"
size="small"
<c-col :span="12"> type="primary"
<el-form-item label="Drag Drop Sender" prop="bttp.ltdget.sdamod.dadsnd"> @click="onSeainf"
<c-input v-model="model.bttp.ltdget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input> >
</el-form-item> <span
</c-col> style="
font-size: 15px;
<c-col :span="12"> font-family: '宋体';
<el-form-item label="Transfer Reference" prop="ltdgrp.rec.ownref"> font-weight: bold;
<c-input v-model="model.ltdgrp.rec.ownref" maxlength="16" placeholder="请输入Transfer Reference"></c-input> "
</el-form-item> >i</span
</c-col> >
</c-button>
<c-col :span="12"> </template>
<el-form-item label="" prop="bttp.ltdget.sdamod.seainf"> </c-fullbox>
<c-input v-model="model.bttp.ltdget.sdamod.seainf" placeholder="请输入"></c-input> </el-form-item>
</el-form-item> </c-col>
</c-col> <c-col :span="24">
<el-form-item
<c-col :span="12"> label="Transfer Reference"
<el-form-item label="Name" prop="ltdgrp.rec.nam"> prop="ltdgrp.rec.ownref"
<c-input v-model="model.ltdgrp.rec.nam" maxlength="40" placeholder="请输入Name"></c-input> style="width: 100%"
>
<c-fullbox>
<c-input
v-model="model.ltdgrp.rec.ownref"
maxlength="8"
placeholder="Please input Transfer Reference"
:disabled="true"
></c-input>
<template slot="footer">
<c-button
style="margin-left: 10px; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf"
>
<span
style="
font-size: 15px;
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="24">
<c-col :span="12">
<el-form-item label="L/C Amount" prop="ltdgrp.cbs.nom1.cur"> <el-form-item label="L/C Amount" prop="ltdgrp.cbs.nom1.cur">
<c-input v-model="model.ltdgrp.cbs.nom1.cur" maxlength="3" placeholder="请输入L/C Amount"></c-input> <c-fullbox>
</el-form-item> <c-input
</c-col> v-model="model.ltdgrp.cbs.nom1.cur"
maxlength="3"
<c-col :span="12"> style="width: 50%"
<el-form-item label="Balance" prop="ltdgrp.cbs.nom1.amt"> placeholder="请输入L/C Amount"
<c-input v-model="model.ltdgrp.cbs.nom1.amt" placeholder="请输入Balance"></c-input> disabled
</el-form-item> ></c-input>
</c-col> <c-input
v-model="model.ltdgrp.cbs.nom1.amt"
<c-col :span="12"> style="width: 50%"
<c-checkbox v-model="model.bttp.aammod.addamtflg">Add. Amount</c-checkbox> placeholder="请输入Balance"
</c-col> disabled
></c-input>
<c-col :span="12"> <template slot="footer">
<el-form-item label="1st Beneficiary" prop="btdgrp.be1.pts.ref"> <c-checkbox
<c-input v-model="model.btdgrp.be1.pts.ref" maxlength="16" placeholder="请输入1st Beneficiary"></c-input> v-model="model.bttp.aammod.addamtflg"
</el-form-item> style="margin-left: 10px"
</c-col> disabled
>Add. Amount</c-checkbox
<c-col :span="12"> >
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Open Amount" prop="ltdgrp.cbs.opn1.cur"> <el-form-item label="Open Amount" prop="ltdgrp.cbs.opn1.cur">
<c-input v-model="model.ltdgrp.cbs.opn1.cur" maxlength="3" placeholder="请输入Open Amount"></c-input> <c-fullbox>
</el-form-item> <c-input
</c-col> v-model="model.ltdgrp.cbs.opn1.cur"
maxlength="3"
<c-col :span="12"> style="width: 50%"
<el-form-item label="Balance" prop="ltdgrp.cbs.opn1.amt"> placeholder="请输入Open Amount"
<c-input v-model="model.ltdgrp.cbs.opn1.amt" placeholder="请输入Balance"></c-input> disabled
</el-form-item> ></c-input>
</c-col> <c-input
v-model="model.ltdgrp.cbs.opn1.amt"
<c-col :span="12"> style="width: 50%"
<el-form-item label="Name of Party" prop="btdgrp.be1.pts.nam"> placeholder="请输入Balance"
<c-input v-model="model.btdgrp.be1.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input> disabled
></c-input>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="Available with" prop="ltdgrp.avbnam">
<c-input
v-model="model.ltdgrp.avbnam"
maxlength="40"
placeholder="Please input Available with"
disabled
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="by" prop="ltdgrp.rec.avbby">
<c-fullbox>
<c-select
v-model="model.ltdgrp.rec.avbby"
maxlength="3"
style="width: 100%"
placeholder="Please input Open Amount"
disabled
:code="codes.avbby"
></c-select>
</c-fullbox>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12">
<el-form-item label="Available with" prop="ltdgrp.avbnam">
<c-input v-model="model.ltdgrp.avbnam" maxlength="40" placeholder="请输入Available with"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="2nd Beneficiary" prop="btdgrp.be2.pts.ref">
<c-input v-model="model.btdgrp.be2.pts.ref" maxlength="16" placeholder="请输入2nd Beneficiary"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Available by" prop="ltdgrp.rec.avbby">
<c-select v-model="model.ltdgrp.rec.avbby" style="width:100%" placeholder="请选择Available by">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Shipment Date" prop="ltdgrp.rec.shpdat"> <el-form-item label="Shipment Date" prop="ltdgrp.rec.shpdat">
<c-date-picker type="date" v-model="model.ltdgrp.rec.shpdat" style="width:100%" placeholder="请选择Shipment Date"></c-date-picker> <c-date-picker
type="date"
v-model="model.ltdgrp.rec.shpdat"
style="width: 100%"
placeholder="Please select Shipment Date"
disabled
></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12">
<el-form-item label="Name of Party" prop="btdgrp.be2.pts.nam">
<c-input v-model="model.btdgrp.be2.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>
</el-form-item>
</c-col> </c-col>
<c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Date Issued/Form" prop="ltdgrp.rec.opndat"> <el-form-item label="Date Issued/Form" prop="ltdgrp.rec.opndat">
<c-date-picker type="date" v-model="model.ltdgrp.rec.opndat" style="width:100%" placeholder="请选择Date Issued/Form"></c-date-picker> <c-date-picker
type="date"
v-model="model.ltdgrp.rec.opndat"
style="width: 100%"
placeholder="Please select Date Issued/Form"
disabled
></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Date Issued/Form" prop="ltdgrp.rec.lcrtyp"> <c-input
<c-select v-model="model.ltdgrp.rec.lcrtyp" style="width:100%" placeholder="请选择Date Issued/Form"> v-model="model.ltdgrp.rec.lcrtyp"
</c-select> maxlength="40"
</el-form-item> placeholder="Please input Available with"
</c-col> disabled
:code="codes.lcrtyp1"
<c-col :span="12"> ></c-input>
<el-form-item label="Presenting Bank" prop="btdgrp.prb.pts.ref">
<c-input v-model="model.btdgrp.prb.pts.ref" maxlength="16" placeholder="请输入Presenting Bank"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Date / Place of Expiry" prop="ltdgrp.rec.expdat">
<c-date-picker type="date" v-model="model.ltdgrp.rec.expdat" style="width:100%" placeholder="请选择Date / Place of Expiry"></c-date-picker>
</el-form-item>
</c-col> </c-col>
<c-col :span="12">
<el-form-item label="Date / Place of Expiry" prop="ltdgrp.rec.expplc">
<c-input v-model="model.ltdgrp.rec.expplc" maxlength="29" placeholder="请输入Date / Place of Expiry"></c-input>
</el-form-item>
</c-col> </c-col>
<c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Name of Party" prop="btdgrp.prb.pts.nam"> <el-form-item label="Date/Place of Expiry" prop="ltdgrp.rec.expdat">
<c-input v-model="model.btdgrp.prb.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input> <c-date-picker
type="date"
v-model="model.ltdgrp.rec.expdat"
style="width: 100%"
placeholder="Please select Shipment Date"
disabled
></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="bttp.recget.sdamod.dadsnd">
<c-input v-model="model.bttp.recget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Document Reference" prop="btdgrp.rec.ownref"> <c-input
<c-input v-model="model.btdgrp.rec.ownref" maxlength="16" placeholder="请输入Document Reference"></c-input> v-model="model.ltdgrp.rec.expplc"
</el-form-item> maxlength="40"
placeholder="Please input Available with"
disabled
></c-input>
</c-col> </c-col>
<c-col :span="12">
<el-form-item label="" prop="bttp.recget.sdamod.seainf">
<c-input v-model="model.bttp.recget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col> </c-col>
<c-col :span="12">
<el-form-item label="Name" prop="btdgrp.rec.nam">
<c-input v-model="model.btdgrp.rec.nam" maxlength="40" placeholder="请输入Name"></c-input>
</el-form-item>
</c-col> </c-col>
<c-col :span="12"> <!-- right -->
<el-form-item label="Type of Advice" prop="btdgrp.rec.advtyp"> <c-col :span="11" :offset="1">
<c-select v-model="model.btdgrp.rec.advtyp" style="width:100%" placeholder="请选择Type of Advice"> <c-col :span="24">
</c-select> <el-form-item label="Name" prop="ledgrp.rec.nam">
<c-input
v-model="model.ledgrp.rec.nam"
maxlength="40"
placeholder="请输入Externally Displayed Name to Identify the Contract"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24">
<c-col :span="12"> <el-form-item label="Name" prop="ltdgrp.rec.nam">
<el-form-item label="Presented by" prop="btdgrp.rec.docprbrol"> <c-input
<c-select v-model="model.btdgrp.rec.docprbrol" style="width:100%" placeholder="请选择Presented by"> v-model="model.ltdgrp.rec.nam"
maxlength="40"
placeholder="请输入Externally Displayed Name to Identify the Contract"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptsmsg
:model="model"
:argadr="{
title: '1st Beneficiary',
grp: 'btdgrp',
rol: 'be1',
}"
:enRef="true"
:enNam="true"
:disabled="false"
:disabled1="true"
></c-ptsmsg>
</c-col>
<c-col :span="24">
<c-ptsmsg
:model="model"
:argadr="{
title: '2nd Beneficiary',
grp: 'btdgrp',
rol: 'be2',
}"
:enRef="true"
:enNam="true"
:disabled="false"
:disabled1="true"
></c-ptsmsg>
</c-col>
<c-col :span="24">
<c-ptsmsg
:model="model"
:argadr="{
title: 'Presenting Bank',
grp: 'btdgrp',
rol: 'prb',
}"
:enRef="true"
:enNam="true"
:disabled="false"
:disabled1="true"
></c-ptsmsg>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item style="margin-left: -150px">
<el-divider />
</el-form-item>
</c-col>
<!-- 底部 -->
<!-- left -->
<c-col :span="11">
<c-col :span="24">
<el-form-item
label="Document Reference"
prop="btdgrp.rec.ownref"
style="width: 100%"
>
<c-fullbox>
<c-input
v-model="model.btdgrp.rec.ownref"
maxlength="8"
placeholder="Please input Document Reference"
:disabled="true"
></c-input>
<template slot="footer">
<c-button
style="margin-left: 10px; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf"
>
<span
style="
font-size: 15px;
font-family: '宋体';
font-weight: bold;
"
>i</span
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="Type of Advice"
prop="btdgrp.rec.advtyp"
style="width: 100%"
>
<c-select
v-model="model.btdgrp.rec.advtyp"
style="width: 100%"
placeholder="Please select Type of Advice"
>
<el-option
v-for="item in codes.advtyp2"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="bttp.prbp.ptsget.sdamod.dadsnd">
<c-input v-model="model.bttp.prbp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Payment advised on" prop="btdgrp.rec.advdat"> <el-form-item label="Payment advised on" prop="btdgrp.rec.advdat">
<c-date-picker type="date" v-model="model.btdgrp.rec.advdat" style="width:100%" placeholder="请选择Payment advised on"></c-date-picker> <c-date-picker
type="date"
v-model="model.btdgrp.rec.advdat"
style="width: 100%"
placeholder="Please select Payment advised on"
></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Discrep. advised on" prop="btdgrp.rec.disdat"> <el-form-item label="Discrep. advised on" prop="btdgrp.rec.disdat">
<c-date-picker type="date" v-model="model.btdgrp.rec.disdat" style="width:100%" placeholder="请选择Discrep. advised on"></c-date-picker> <c-date-picker
</el-form-item> type="date"
</c-col> v-model="model.btdgrp.rec.disdat"
style="width: 100%"
<c-col :span="12"> placeholder="Please select Discrep. advised on"
<el-form-item label="External Key of Address" prop="btdgrp.prb.pts.extkey"> disabled
<c-input v-model="model.btdgrp.prb.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input> ></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="bttp.prbp.ptsget.sdamod.seainf">
<c-input v-model="model.bttp.prbp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onPrbpDet">
Details
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="名称" prop="btdgrp.prb.namelc">
<c-input type="textarea" v-model="model.btdgrp.prb.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
</el-form-item>
</c-col> </c-col>
<c-col :span="12">
<c-checkbox v-model="model.bttp.setnowflg">setttle now</c-checkbox>
</c-col> </c-col>
<!-- right -->
<c-col :span="12"> <c-col :span="11" :offset="1">
<el-form-item label="Address Block" prop="btdgrp.prb.pts.adrblk"> <c-col :span="24">
<c-input type="textarea" v-model="model.btdgrp.prb.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input> <el-form-item label="Name" prop="btdgrp.rec.nam">
<c-input
v-model="model.btdgrp.rec.nam"
maxlength="40"
placeholder="please input name"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24">
<c-col :span="12"> <el-form-item label="Presented by" prop="btdgrp.rec.docprbrol">
<el-form-item label="Chinese address" prop="btdgrp.prb.dbfadrblkcn"> <c-select
<c-input type="textarea" v-model="model.btdgrp.prb.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input> v-model="model.btdgrp.rec.docprbrol"
style="width: 100%"
placeholder="Please select Presented by"
@change="selectOrCheckboxRule('btdgrp.rec.docprbrol')"
>
<el-option
v-for="item in codes.docprbrol2"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<c-checkbox v-model="model.btdgrp.rec.dscinsflg">Enter Docs, Discrep. and Instructions</c-checkbox> <c-ptap
:model="model"
:argadr="{
title: '',
grp: 'btdgrp',
rol: 'prb',
}"
:noRef="true"
:disabled="!(model.btdgrp.rec.docprbrol == 'PRB')"
:disabledExtkey="
model.btdgrp.rec.docprbrol == 'ADT' ||
model.btdgrp.rec.docprbrol == 'BE2'
"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
>
</c-ptap>
</c-col> </c-col>
<c-col :span="12">
<el-form-item label="地址" prop="btdgrp.prb.adrelc">
<c-input type="textarea" v-model="model.btdgrp.prb.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
</el-form-item>
</c-col> </c-col>
</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/Lttdav/Event" import Event from "~/model/Lttdav/Event";
import Ptsmsg from "~/views/Public/Ptsmsg";
import Ptap from "~/views/Public/Ptap";
export default { export default {
inject: ['root'], components: { "c-ptsmsg": Ptsmsg, "c-ptap": Ptap },
props:["model","codes"], inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data(){ data() {
return { return {};
}
}, },
methods:{...Event}, methods: { ...Event,
created:function(){ },
created: function () {},
} };
}
</script> </script>
<style> <style>
</style> </style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<span v-text="model.trnmod.trndoc.advlabel" data-path=".trnmod.trndoc.advlabel" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="国内证落款" prop="trnmod.trndoc.advnam">
<c-input v-model="model.trnmod.trndoc.advnam" maxlength="50" placeholder="请输入国内证落款"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="修改申请人名称" prop="trnmod.trndoc.amdapl">
<c-input type="textarea" v-model="model.trnmod.trndoc.amdapl" maxlength="50" show-word-limit placeholder="请输入修改申请人名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.trnmod.trndoc.amdnam" data-path=".trnmod.trndoc.amdnam" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="国内证通知书" prop="trnmod.trndoc.advdoc">
<c-input v-model="model.trnmod.trndoc.advdoc" maxlength="1" placeholder="请输入国内证通知书"></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Lttdav/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="24">
<el-form-item label="File Receiver" prop="trnmod.trndoc.filrecv">
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="14">
<c-col :span="24">
<div style="height: 300px; width: 100%; border: 1px #ebeef5 solid">
<el-tree
:data="data"
:props="defaultProps"
@node-click="handleNodeClick"
></el-tree>
</div>
</c-col>
<c-col :span="24" style="margin-top: 10px">
<c-col :span="4">
<el-form-item
label="关联单据"
v-show="isShow1 || isShow2"
></el-form-item>
<el-form-item
label=""
v-show="!(isShow1 || isShow2)"
></el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="">
<c-checkbox v-model="isShow1">显示收到的信息</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="8" :offset="2">
<el-form-item label="">
<c-checkbox v-model="isShow2">显示以前发出的信息</c-checkbox>
</el-form-item>
</c-col>
</c-col>
<c-col :span="22" :offset="1">
<c-table
:border="true"
:list="data1"
style="width:80%,text-align:center"
v-show="isShow1 || isShow2"
>
<el-table-column label="类型" width="auto"></el-table-column>
<el-table-column label="单据" width="auto"></el-table-column>
<el-table-column label="Cre.TRN" width="auto"></el-table-column>
<el-table-column label="日期" width="auto"></el-table-column>
<el-table-column label="" width="auto"></el-table-column>
<el-table-column label="" width="auto"></el-table-column>
</c-table>
</c-col>
</c-col>
<c-col :span="6" :offset="1">
<c-col :span="24" style="margin-top: 15px">
<c-button
size="small"
type="primary"
@click="onTrndocButshw"
style="width: 100px"
>
Show
</c-button>
</c-col>
<c-col :span="24" style="margin-top: 15px">
<c-button
size="small"
type="primary"
@click="onTrndocButadd"
style="width: 100px"
>
Details
</c-button>
</c-col>
<c-col :span="24" style="margin-top: 15px">
<c-button
size="small"
type="primary"
@click="onTrndocButnew"
style="width: 100px"
>
Add New
</c-button>
</c-col>
<c-col :span="24" style="margin-top: 15px">
<c-button
size="small"
type="primary"
@click="onTrndocButattto"
style="width: 100px"
>
Attach to
</c-button>
</c-col>
<c-col :span="24" style="margin-top: 15px">
<c-button
size="small"
type="primary"
icon="el-icon-delete"
@click="onTrndocButdel"
style="width: 100px"
>
Delete
</c-button>
</c-col>
<c-col :span="24" style="margin-top: 15px">
<c-button
size="small"
type="primary"
@click="onTrndocButatt"
style="width: 100px"
>
Attach
</c-button>
</c-col>
<c-col :span="24" style="margin-top: 15px">
<c-button
size="small"
type="primary"
@click="onSeainf"
style="width: 100px"
>
i
</c-button>
</c-col>
</c-col>
</c-col>
<!--c-col :span="12">
<el-form-item label="File Receiver" prop="trnmod.trndoc.filrecv">
<c-input v-model="model.trnmod.trndoc.filrecv" placeholder="请输入File Receiver"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Document tree" prop="trnmod.trndoc.doctrestm">
<c-input v-model="model.trnmod.trndoc.doctrestm" placeholder="请输入Document tree"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButshw">
Sho&w
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButadd">
D&etails
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButnew">
&Add New
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButattto">
Attach to
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" icon="el-icon-delete" @click="onTrndocButdel">
Delete
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.trnmod.trndoc.doclbl" data-path=".trnmod.trndoc.doclbl" > </span>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.trnmod.trndoc.shwinc">Show Incoming Messages</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.trnmod.trndoc.shwout">Show Outgoing Messages</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButatt">
Attach
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Connected Documents" prop="trnmod.trndoc.condocstm">
<c-input v-model="model.trnmod.trndoc.condocstm" placeholder="请输入Connected Documents"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="trnmod.trndoc.rcvatt.seainf">
<c-input v-model="model.trnmod.trndoc.rcvatt.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col-->
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Lttdav/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
data1: [],
isShow1: false,
isShow2: false,
data: [
{
label: "Internal",
children: [{ label: "'Free Message' via Letter" }],
},
],
};
},
methods: { ...Event },
handleNodeClick() {},
defaultProps() {},
};
</script>
<style>
</style>
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<!-- left -->
<c-col :span="12"> <c-col :span="11">
<c-button size="small" type="primary" icon="el-icon-search" @click="onDocdisButtxmsel"> <c-col :span="24">
<el-form-item
label="Discrepancies"
prop="btdgrp.blk.docdis"
style="width: 100%"
>
<c-fullbox>
<c-input
type="textarea"
v-model="model.btdgrp.blk.docdis"
maxlength="50"
show-word-limit
placeholder="Please input Discrepancies"
@change="defaultFunction()"
:disabled="!docdisflg"
></c-input>
<template slot="footer">
<c-button
style="margin-left: 10px; padding: 0 10px"
size="small"
type="primary"
:disabled="!docdisflg"
@click="
showGridPromptDialog(
'bttp.docdis.buttxmsel',
null,
null,
{ TXT: 'btdgrp.blk.docdis' },
{ TXT: false },
'doxpDialog'
)
"
>
... ...
</c-button> </c-button>
</c-col> </template>
</c-fullbox>
<c-col :span="12">
<el-form-item label="Discrepancies" prop="btdgrp.blk.docdis">
<c-input type="textarea" v-model="model.btdgrp.blk.docdis" maxlength="50" show-word-limit placeholder="请输入Discrepancies" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<c-button size="small" type="primary" icon="el-icon-search" @click="onIntdisButtxmsel"> <el-form-item
label="Internal Discrepancies"
prop="btdgrp.blk.intdis"
style="width: 100%"
>
<c-fullbox>
<c-input
type="textarea"
v-model="model.btdgrp.blk.intdis"
maxlength="65"
show-word-limit
placeholder="Please input Internal Discrepancies"
></c-input>
<template slot="footer">
<c-button
style="margin-left: 10px; padding: 0 10px"
size="small"
type="primary"
@click="
showGridPromptDialog(
'bttp.intdis.buttxmsel',
null,
null,
{ TXT: 'btdgrp.blk.intdis' },
{ TXT: false },
'doxpDialog'
)
"
>
... ...
</c-button> </c-button>
</c-col> </template>
</c-fullbox>
<c-col :span="12">
<el-form-item label="Internal Discrepancies" prop="btdgrp.blk.intdis">
<c-input type="textarea" v-model="model.btdgrp.blk.intdis" maxlength="65" show-word-limit placeholder="请输入Internal Discrepancies" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<c-button size="small" type="primary" icon="el-icon-search" @click="onComconButtxmsel"> <el-form-item
label="Comments and Conclusions"
prop="btdgrp.blk.comcon"
style="width: 100%"
>
<c-fullbox>
<c-input
type="textarea"
v-model="model.btdgrp.blk.comcon"
maxlength="65"
show-word-limit
placeholder="Please input Comments and Conclusions"
></c-input>
<template slot="footer">
<c-button
style="margin-left: 10px; padding: 0 10px"
size="small"
type="primary"
@click="
showGridPromptDialog(
'bttp.comcon.buttxmsel',
null,
null,
{ TXT: 'btdgrp.blk.comcon' },
{ TXT: false },
'doxpDialog'
)
"
>
... ...
</c-button> </c-button>
</c-col> </template>
</c-fullbox>
<c-col :span="12">
<el-form-item label="Comments and Conclusions" prop="btdgrp.blk.comcon">
<c-input type="textarea" v-model="model.btdgrp.blk.comcon" maxlength="65" show-word-limit placeholder="请输入Comments and Conclusions" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<c-button size="small" type="primary" icon="el-icon-search" @click="onSetinsButtxmsel"> <el-form-item
label="Settlement Instructions for this Document Set"
prop="btdgrp.blk.setinsbt"
style="width: 100%"
>
<c-fullbox>
<c-input
type="textarea"
v-model="model.btdgrp.blk.setinsbt"
maxlength="65"
show-word-limit
placeholder="Please input Settlement Instructions for this Document Set"
></c-input>
<template slot="footer">
<c-button
style="margin-left: 10px; padding: 0 10px"
size="small"
type="primary"
@click="
showGridPromptDialog(
'bttp.setins.buttxmsel',
null,
null,
{ TXT: 'btdgrp.blk.setinsbe' },
{ TXT: false },
'doxpDialog'
)
"
>
... ...
</c-button> </c-button>
</c-col> </template>
</c-fullbox>
<c-col :span="12">
<el-form-item label="Settlement Instructions transaction field" prop="btdgrp.blk.setinsbt">
<c-input type="textarea" v-model="model.btdgrp.blk.setinsbt" maxlength="65" show-word-limit placeholder="请输入Settlement Instructions transaction field" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12">
<c-checkbox v-model="model.btdgrp.blk.docdisflg">discrepancies modified</c-checkbox>
</c-col>
<c-col :span="12">
<span v-text="model.bttp.docgrdmbe1.docdsclab" data-path=".bttp.docgrdmbe1.docdsclab" > </span>
</c-col> </c-col>
<c-col :span="12"> <!-- right -->
<el-form-item label="further handling" prop="bttp.futhndflg"> <c-col :span="11" :offset="1">
<c-select v-model="model.bttp.futhndflg" style="width:100%" placeholder="请选择further handling"> <c-col :span="4">
</c-select> <el-form-item label="" style="text-align: left" prop="docdisflg">
<c-checkbox v-model="docdisflg" @change="defaultFunction()"
>Discrepancies modified</c-checkbox
>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<div class="e-table-wrapper"> <el-form-item
<el-table label="Further Handing"
:data="model.bttp.docgrdmbe1.docgrd" prop="bttp.futhndflg"
style="width: 100%" style="width: 100%"
> >
</el-table> <c-select
<el-pagination v-model="model.bttp.futhndflg"
layout="prev, pager, next" style="width: 100%"
:total="pager.bttp_docgrdmbe1_docgrd.total"> placeholder="Please select Further Handing"
</el-pagination> disabled
</div> :code="code.futhndflg"
</c-col> >
</c-select>
<c-col :span="12">
<span v-text="model.bttp.docgrdmbe2.docdsclab" data-path=".bttp.docgrdmbe2.docdsclab" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Document Set Status" prop="btdgrp.rec.docsta">
<c-input v-model="model.btdgrp.rec.docsta" maxlength="40" placeholder="请输入Document Set Status"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<div class="e-table-wrapper"> <el-form-item
<el-table label="Document Set Status"
:data="model.bttp.docgrdmbe2.docgrd" prop="btdgrp.rec.docsta"
style="width: 100%" style="width: 100%"
> >
</el-table> <c-select
<el-pagination v-model="model.btdgrp.rec.docsta"
layout="prev, pager, next" style="width: 100%"
:total="pager.bttp_docgrdmbe2_docgrd.total"> placeholder="Please select Document Set Status"
</el-pagination> disabled
</div> >
<el-option
v-for="item in codes.docsta2"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col> </c-col>
<!-- next part -->
<c-docpre
:model="model"
:argadr="{
path: 'btdgrp.blk.prsdocbe1',
grp: 'bttp',
code: 'docpre',
}"
>
</c-docpre>
<c-docpre
:model="model"
:argadr="{
path: 'btdgrp.blk.prsdocbe2',
grp: 'bttp',
code: 'docpre',
}"
>
</c-docpre>
</div> </div>
</template> </template>
<script> <script>
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Sight Amount" prop="liaall.outamt">
<c-input v-model="model.liaall.outamt" placeholder="请输入Sight Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Sight Amount Percentage" prop="liaall.outpct">
<c-input v-model="model.liaall.outpct" placeholder="请输入Sight Amount Percentage"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External Booking Amount" prop="liaall.concur">
<c-input v-model="model.liaall.concur" maxlength="3" placeholder="请输入External Booking Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Amount not yet assigned" prop="liaall.misamt">
<c-input v-model="model.liaall.misamt" placeholder="请输入Amount not yet assigned"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLiaallButmisamt">
Add to Current Line
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLiaallButmissig">
Add to Sight Amount
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Old Amount booked externally" prop="liaall.exttotoldamt">
<c-input v-model="model.liaall.exttotoldamt" placeholder="请输入Old Amount booked externally"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Total booking amount external assinged" prop="liaall.exttotamt">
<c-input v-model="model.liaall.exttotamt" placeholder="请输入Total booking amount external assinged"></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Lttdav/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Booking stream to Display" prop="setmod.glemod.gleshwstm">
<c-input v-model="model.setmod.glemod.gleshwstm" placeholder="请输入Booking stream to Display"></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Lttdav/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<el-row> <c-col :span="12">
<c-col :span="6"> <c-col :span="24">
<c-col :span="12">
<el-form-item label="Document Amount" prop="btdgrp.cbs.max.cur"> <el-form-item label="Document Amount" prop="btdgrp.cbs.max.cur">
<c-select disabled v-model="model.btdgrp.cbs.max.cur" <c-input
style="width: 100%" v-model="model.btdgrp.cbs.max.cur"
placeholder="请选择Currency"><!--@keyup.enter.native="nom1CurEvent"--> maxlength="3"
<el-option v-for="item in codes.cur" placeholder="Please input Document Amount"
:key="item.value" disabled
:label="item.label" ></c-input>
:value="item.value">
</el-option>
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="5"> <c-col :span="12">
<el-form-item <el-form-item label="" label-width="5px" prop="btdgrp.cbs.max.amt">
style="text-align: left" <c-input
label-width="20px"
prop="btdgrp.cbs.max.amt"
>
<c-input-currency
v-model="model.btdgrp.cbs.max.amt" v-model="model.btdgrp.cbs.max.amt"
style="text-align: left; width: 100%" placeholder="Please input Balance"
placeholder="Document Amount" ></c-input>
></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
</el-row> </c-col>
<el-row> <c-col :span="24">
<c-col :span="6"> <c-col :span="12">
<el-form-item label="Claim Add Amt" prop="btdgrp.cbs.max2.cur"> <el-form-item label="Drawn Add. Amount" prop="btdgrp.cbs.opn2.cur">
<c-select disabled v-model="model.btdgrp.cbs.max2.cur" <c-input
style="width: 100%" v-model="model.btdgrp.cbs.opn2.cur"
placeholder="请选择Currency"><!--@keyup.enter.native="nom1CurEvent"--> maxlength="3"
<el-option v-for="item in codes.cur" placeholder="Please input Drawn Add. Amount"
:key="item.value" disabled
:label="item.label" ></c-input>
:value="item.value">
</el-option>
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12">
<c-col :span="5"> <el-form-item label="" label-width="5px" prop="btdgrp.cbs.max2.amt">
<el-form-item <c-input
style="text-align: left"
label-width="20px"
prop="btdgrp.cbs.max2.amt">
<c-input-currency
v-model="model.btdgrp.cbs.max2.amt" v-model="model.btdgrp.cbs.max2.amt"
style="text-align: left; width: 100%" placeholder="Please input Balance"
placeholder="Additional Amount" ></c-input>
></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
</el-row> </c-col>
<el-row> <c-col :span="24">
<c-col :span="12">
<el-form-item label="Charges Deducted" prop="btdgrp.blk.chaded"> <el-form-item label="Charges Deducted" prop="btdgrp.blk.chaded">
<c-input type="textarea" style="overflow-y:hidden" v-model="model.btdgrp.blk.chaded" maxlength="190" rows="6" cols="35" show-word-limit placeholder="请输入Charges Deducted" ></c-input> <c-input
type="textarea"
v-model="model.btdgrp.blk.chaded"
maxlength="35"
show-word-limit
placeholder="Please input Charges Deducted"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</el-row> <c-col :span="24">
<el-row>
<c-col :span="12">
<el-form-item label="Charges Added" prop="btdgrp.blk.chaadd"> <el-form-item label="Charges Added" prop="btdgrp.blk.chaadd">
<c-input type="textarea" style="overflow-y:hidden" v-model="model.btdgrp.blk.chaadd" maxlength="190" rows="6" cols="35" show-word-limit placeholder="请输入Charges Added" ></c-input> <c-input
type="textarea"
v-model="model.btdgrp.blk.chaadd"
maxlength="35"
show-word-limit
placeholder="Please input Charges Added"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</el-row> <c-col :span="24">
<el-row> <c-col :span="12">
<c-col :span="6">
<el-form-item label="Amount to be paid" prop="btdgrp.rec.totcur"> <el-form-item label="Amount to be paid" prop="btdgrp.rec.totcur">
<c-select disabled v-model="model.btdgrp.rec.totcur" <c-input
style="width: 100%" v-model="model.btdgrp.rec.totcur"
placeholder="请选择Currency"><!--@keyup.enter.native="nom1CurEvent"--> maxlength="3"
<el-option v-for="item in codes.cur" placeholder="Please input Amount to be paid"
:key="item.value" disabled
:label="item.label" ></c-input>
:value="item.value">
</el-option>
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="5"> <c-col :span="12">
<el-form-item label="" style="text-align: left" <el-form-item label="" label-width="5px" prop="btdgrp.rec.totamt">
label-width="20px" prop="btdgrp.rec.totamt"> <c-input
<c-input-currency
v-model="model.btdgrp.rec.totamt" v-model="model.btdgrp.rec.totamt"
style="text-align: left; width: 100%" placeholder="Please input Balance"
placeholder="Amount to be paid" ></c-input>
></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
</el-row>
<el-row>
<c-col :span="8" >
<el-form-item label="Account with Bank">
<c-input placeholder="" disabled></c-input>
</el-form-item>
</c-col> </c-col>
<c-col :span="7" > <c-col :span="24">
<el-form-item label="" label-width="15px"> <c-ptap
<c-button size="small" type="primary" @click="onSndpDet" disabled> :model="model"
Details :argadr="{
</c-button> title: '',
</el-form-item> grp: 'btdgrp',
rol: 'acb',
}"
:noRef="true"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
>
</c-ptap>
</c-col> </c-col>
<c-col :span="24">
<c-col :span="12"> <el-form-item label="Discrepancies" prop="btdgrp.blk.docdis">
<el-form-item label="">
<c-input <c-input
type="textarea" type="textarea"
placeholder="" v-model="model.btdgrp.blk.docdis"
maxlength="140" maxlength="3500"
show-word-limit show-word-limit
rows="4" placeholder="请输入Discrepancies"
disable :rows="5"
style="width: 90%"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</el-row> <c-col :span="18" :offset="6">
<c-checkbox v-model="model.btdgrp.blk.docdisflg"
<el-row> >Discrepancies modified</c-checkbox
<c-col :span="12"> >
<c-col > <!-- <c-checkbox v-model="model.brdgrp.blk.docdisflg">discrepancies modified</c-checkbox> -->
<el-form-item label="Discrepancies" prop="btdgrp.blk.docdis">
<c-input type="textarea" style="overflow-y:hidden" rows="7" cols="50" v-model="model.btdgrp.blk.docdis" maxlength="3500" placeholder="请输入Discrepancies" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12" offset="8">
<c-checkbox v-model="model.btdgrp.blk.docdisflg">discrepancies modified</c-checkbox>
</c-col> </c-col>
</c-col> </c-col>
</el-row>
</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/Bttdck/Event" import Event from "~/model/Lttdav/Event";
import Ptap from "~/views/Public/Ptap";
export default { export default {
inject: ['root'], components: { "c-ptap": Ptap },
props:["model","codes"], inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data(){ data() {
return { return {};
}
}, },
methods:{...Event}, methods: { ...Event },
created:function(){ created: function () {},
};
}
}
</script> </script>
<style> <style>
</style> </style>
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<!-- S0000269 : Document Amount -->
<!-- S0000278 : Narrative (Tag 77A of MT754) -->
<!--==========================左边==========================-->
<c-col :span="11">
<el-row>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Document Amount" prop="btdgrp.cbs.max.cur"> <c-form-item label="Narrative Tag77A of MT754" prop="btdgrp.blk.nartxt77a">
<c-select disabled v-model="model.btdgrp.cbs.max.cur" <c-input type="textarea" v-model="model.btdgrp.blk.nartxt77a" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Narrative Tag77A of MT754'" ></c-input>
style="width: 100%" </c-form-item>
placeholder="请选择Currency"><!--@keyup.enter.native="nom1CurEvent"-->
<el-option v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
style="text-align: left"
label-width="20px"
prop="btdgrp.cbs.max.amt">
<c-input-currency
v-model="model.btdgrp.cbs.max.amt"
style="text-align: left; width: 100%"
placeholder="Document Amount">
</c-input-currency>
</el-form-item>
</c-col> </c-col>
</el-row> <!-- S0000006 : 附加金额 -->
<!-- SF000272 : Charges Deducted -->
<!-- SF000273 : Charges Added -->
<!-- S0000276 : Total Amount Claimed -->
<!-- SF000294 : Reimbursing Bank -->
<el-row>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Claim Add Amt" prop="btdgrp.cbs.opn2.cur"> <c-form-item label="Drag Drop Sender" prop="bttp.rmtp.ptsget.sdamod.dadsnd">
<c-select disabled v-model="model.btdgrp.cbs.opn2.cur" <c-input v-model="model.bttp.rmtp.ptsget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input>
style="width: 100%" </c-form-item>
placeholder="请选择Currency"><!--@keyup.enter.native="nom1CurEvent"-->
<el-option v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item <c-form-item label="External Key of Address" prop="btdgrp.rmt.pts.extkey">
style="text-align: left" <c-input v-model="model.btdgrp.rmt.pts.extkey" maxlength="16" :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input>
label-width="20px" </c-form-item>
prop="btdgrp.cbs.max2.amt">
<c-input-currency
v-model="model.btdgrp.cbs.max2.amt"
style="text-align: left; width: 100%"
placeholder="Additional Amount"
></c-input-currency>
</el-form-item>
</c-col> </c-col>
</el-row>
<el-row>
<c-col :span="24">
<el-form-item label="Charges Deducted" prop="btdgrp.blk.chaded">
<c-input type="textarea" style="overflow-y:hidden" v-model="model.btdgrp.blk.chaded" rows="6" cols="35" show-word-limit placeholder="请输入Charges Deducted" ></c-input>
</el-form-item>
</c-col>
</el-row>
<el-row>
<c-col :span="24">
<el-form-item label="Charges Added" prop="btdgrp.blk.chaadd">
<c-input type="textarea" style="overflow-y:hidden" v-model="model.btdgrp.blk.chaadd" rows="6" cols="35" show-word-limit placeholder="请输入Charges Added" ></c-input>
</el-form-item>
</c-col>
</el-row>
<el-row>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Total Amount Claimed" prop="btdgrp.rec.totcur"> <c-form-item label="" prop="bttp.rmtp.ptsget.sdamod.seainf">
<c-select disabled v-model="model.btdgrp.rec.totcur" <c-input v-model="model.bttp.rmtp.ptsget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
style="width: 100%" </c-form-item>
placeholder="请选择Currency"><!--@keyup.enter.native="nom1CurEvent"-->
<el-option v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" style="text-align: left"
label-width="20px" prop="btdgrp.rec.totamt">
<c-input-currency
v-model="model.btdgrp.rec.totamt"
style="text-align: left; width: 100%"
placeholder="Amount to be paid"
></c-input-currency>
</el-form-item>
</c-col> </c-col>
</el-row>
<el-row> <c-col :span="12">
<c-col :span="18" > <c-button size="small" type="primary" @click="onRmtpDet">
<el-form-item label="Reimbursing Bank"> {{$t('ptsp.CF000081')}}
<c-input placeholder=""></c-input>
</el-form-item>
</c-col>
<c-col :span="6" >
<el-form-item label="" label-width="15px">
<c-button size="small" type="primary" @click="onSndpDet" disabled>
Details
</c-button> </c-button>
</el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="12">
<el-form-item label=""> <c-form-item label="名称" prop="btdgrp.rmt.namelc">
<c-input <c-input type="textarea" v-model="model.btdgrp.rmt.namelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'名称'" ></c-input>
type="textarea" </c-form-item>
placeholder=""
maxlength="140"
show-word-limit
rows="4"
style="width: 90%"
></c-input>
</el-form-item>
</c-col>
</el-row>
<el-row>
<c-col :span="18" >
<el-form-item label="Account with Bank">
<c-input placeholder=""></c-input>
</el-form-item>
</c-col>
<c-col :span="4" >
<el-form-item label="" label-width="15px">
<c-button size="small" type="primary" @click="onSndpDet" disabled>
Details
</c-button>
</el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="12">
<el-form-item label=""> <c-form-item label="Address Block" prop="btdgrp.rmt.pts.adrblk">
<c-input <c-input type="textarea" v-model="model.btdgrp.rmt.pts.adrblk" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Address Block'" ></c-input>
type="textarea" </c-form-item>
placeholder=""
maxlength="140"
show-word-limit
rows="4"
style="width: 90%"
></c-input>
</el-form-item>
</c-col> </c-col>
</el-row>
<el-row> <c-col :span="12">
<c-col :span="18"> <c-form-item label="Chinese address" prop="btdgrp.rmt.dbfadrblkcn">
<el-form-item label="Date to be Paid" prop="btdgrp.rec.totdat"> <c-input type="textarea" v-model="model.btdgrp.rmt.dbfadrblkcn" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Chinese address'" ></c-input>
<c-date-picker type="date" v-model="model.btdgrp.rec.totdat" style="width:100%" placeholder="请选择Date to be Paid"></c-date-picker> </c-form-item>
</el-form-item>
</c-col> </c-col>
</el-row> <c-col :span="12">
<c-form-item label="地址" prop="btdgrp.rmt.adrelc">
<c-input type="textarea" v-model="model.btdgrp.rmt.adrelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'地址'" ></c-input>
</c-form-item>
</c-col> </c-col>
<!-- SF000293 : Account with Bank -->
<!-- S0000280 : Date to be Paid -->
<!--==========================右边==========================--> <c-col :span="12">
<c-col :span="12" offset="1"> <el-form-item :label="$t('bttp.S0000280')" prop="btdgrp.rec.totdat">
<c-col :span="24"> <c-date-picker type="date" v-model="model.btdgrp.rec.totdat" style="width:100%" :placeholder="$t('other.please_enter')+$t('bttp.S0000280')"></c-date-picker>
<el-form-item prop="btdgrp.blk.nartxt77a">
<span slot="label" label-position="top" style="color: #f56c6c;font-size: 14px;vertical-align: top;">Narrative Tag77A of MT754</span>
<c-input type="textarea" v-model="model.btdgrp.blk.nartxt77a" maxlength="700" rows="20" cols="35" placeholder="请输入Narrative Tag77A of MT754" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
</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/Bttdck/Event" import Event from "~/model/Lttdav/Event"
export default { export default {
inject: ['root'], inject: ['root'],
...@@ -206,4 +93,5 @@ export default { ...@@ -206,4 +93,5 @@ export default {
} }
</script> </script>
<style> <style>
</style> </style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="our reference" prop="setmod.ref">
<c-input v-model="model.setmod.ref" maxlength="16" placeholder="请输入our reference"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.docamttyplab" data-path=".setmod.docamttyplab" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="document currency" prop="setmod.doccur">
<c-select v-model="model.setmod.doccur" style="width:100%" placeholder="请选择document currency">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="document amount" prop="setmod.docamt">
<c-input v-model="model.setmod.docamt" placeholder="请输入document amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Type of settlement" prop="setmod.dspflg">
<c-select v-model="model.setmod.dspflg" style="width:100%" placeholder="请选择Type of settlement">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.setmod.xreflg">Recalculate Rates</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSetmodDet">
细节
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.retmsg" data-path=".setmod.retmsg" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="自�'�区主�'�号" prop="setmod.zmqacc">
<c-input v-model="model.setmod.zmqacc" maxlength="20" placeholder="请输入自�'�区主�'�号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.zmqacclab" data-path=".setmod.zmqacclab" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.setglg.labdspflg" data-path=".setmod.setglg.labdspflg" > </span>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Lttdav/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template> <template>
<div class="eContainer"> <div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="200px" size="small" :validate-on-rule-change="false"> <!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick"> <c-function-btn
:handleSubmit="handleSubmit"
<!--PD000045 --> :handleCheck="handleCheck"
<el-tab-pane label="davp" name="davp"> :handleStash="handleStash"
<m-davp :model="model" :codes="codes"/> >
<el-button size="small">流程附言</el-button>
<el-button size="small">交易历史</el-button>
<el-button size="small">备忘录</el-button>
<el-button size="small">影像信息</el-button>
<!-- <el-button size="small">保存模板</el-button> -->
<!-- <el-button size="small">使用模板</el-button> -->
<el-button size="small">制裁信息</el-button>
<!-- <el-button size="small">拆分报文</el-button> -->
<el-button size="small">智能提示</el-button>
</c-function-btn>
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="150px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--lttdav PD000045 Advice Received -->
<el-tab-pane label="Advice Received" name="davp">
<m-davp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--bttp PD000282 Advice of Discrepancy -->
<!--PD000296 --> <el-tab-pane label="Advice of Discrepancy" name="mt750p" v-if="model.btdgrp.rec.advtyp=='750'">
<el-tab-pane label="Discr./Instr" name="dscinsp"> <m-mt750p :model="model" :codes="codes" />
<m-dscinsp :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--bttp PD000296 Discr./Instr. -->
<!--PD000027 --> <el-tab-pane label="Discr./Instr." name="dscinsp" v-if="model.btdgrp.rec.advtyp=='750'">
<el-tab-pane label="Engagement" name="engp"> <m-dscinsp :model="model" :codes="codes" />
<m-engp :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--bttp PD000268 Advice of Payment -->
<!--PD000000 --> <el-tab-pane label="Advice of Payment" name="mt754p" v-if="model.btdgrp.rec.advtyp=='754'">
<el-tab-pane label="Settlement" name="setpan"> <m-mt754p :model="model" :codes="codes" />
<m-setpan :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--setmod PD000000 Settlement -->
<!--PD000001 --> <el-tab-pane label="Settlement" name="setpan">
<el-tab-pane label="GLE Booking" name="glepan"> <m-setpan :model="model" :codes="codes" />
<m-glepan :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--coninf PD000000 Completion -->
<!--PD000000 -->
<el-tab-pane label="Completion" name="coninfp"> <el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes"/> <m-coninfp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--trndoc PD000529 &Messages -->
<!--PD000529 --> <el-tab-pane label="Messages" name="docpan">
<el-tab-pane label="Message" name="docpan"> <m-docpan :model="model" :codes="codes" />
<m-docpan :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--trndoc PD000546 Attachments -->
<!--PD000546 -->
<el-tab-pane label="Attachments" name="doctre"> <el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes"/> <m-doctre :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty"
>
</c-grid-ety-prompt-dialog>
<c-grid-ety-prompt-dialog
ref="doxpDialog"
:isPty="false"
:promptData="promptData"
@select-ety="selectMsg"
>
</c-grid-ety-prompt-dialog>
</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 Lttdav from "~/model/Lttdav" import Lttdav from "~/model/Lttdav";
import commonProcess from "~/mixin/commonProcess" import commonProcess from "~/mixin/commonProcess";
import Check from "~/model/Lttdav/Check" import commonFuncs from "~/mixin/commonFuncs";
import Default from "~/model/Lttdav/Default" import Check from "~/model/Lttdav/Check";
import Pattern from "~/model/Lttdav/Pattern" import Default from "~/model/Lttdav/Default";
import Davp from "./Davp" import Pattern from "~/model/Lttdav/Pattern";
import Dscinsp from "./Dscinsp" import Davp from "./Davp";
import Engp from "./Engp" import Mt750p from "./Mt750p";
import Setpan from "./Setpan" import Dscinsp from "./Dscinsp";
import Glepan from "./Glepan" import Mt754p from "./Mt754p";
import Coninfp from "./Coninfp" import Setpan from "~/views/Public/Setpan";
import Docpan from "./Docpan" import Coninfp from "~/views/Public/Coninfp";
import Doctre from "./Doctre" import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre";
export default { export default {
components:{ name: "Lttdav",
"m-davp" : Davp, components: {
"m-dscinsp" : Dscinsp, "m-davp": Davp,
"m-engp" : Engp, "m-mt750p": Mt750p,
"m-setpan" : Setpan, "m-dscinsp": Dscinsp,
"m-glepan" : Glepan, "m-mt754p": Mt754p,
"m-coninfp" : Coninfp, "m-setpan": Setpan,
"m-docpan" : Docpan, "m-coninfp": Coninfp,
"m-doctre" : Doctre, "m-docpan": Docpan,
"m-doctre": Doctre,
}, },
provide() { provide() {
return { return {
root: this root: this,
} };
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){ data() {
return { return {
tabVal: "", tabVal: "davp",
trnName: "lttdav", trnName: "lttdav",
trnType: "",
model: new Lttdav().data, model: new Lttdav().data,
checkRules: Check, checkRules: Check,
defaultRules: Default, defaultRules: Default,
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
codes: { codes: {
...CodeTable,
}, },
} };
}, },
methods:{ methods: {
tabClick(){ myTabClick(tab) {
} this.tabClick(tab);
/**
* do it yourself
**/
}, },
created:async function(){ },
created: async function () {
console.log("进入lttdav交易"); console.log("进入lttdav交易");
let rtnmsg = await this.init({}) let rtnmsg = await this.init({});
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{ this.updateModel(rtnmsg.data);
//TODO 处理数据逻辑 if (this.isInDisplay) {
this.restoreDisplay();
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
} }
} },
};
</script> </script>
<style> <style>
</style> </style>
...@@ -218,7 +218,7 @@ ...@@ -218,7 +218,7 @@
width="60%" width="60%"
center center
> >
<el-form label-width="100px" :model="dialog"> <el-form label-width="100px" :model="dialog" :disabled="suppress">
<c-row> <c-row>
<c-col :span="12"> <c-col :span="12">
<c-col> <c-col>
...@@ -423,12 +423,12 @@ ...@@ -423,12 +423,12 @@
</el-date-picker </el-date-picker
></el-form-item> ></el-form-item>
</c-col> </c-col>
<c-col <c-col v-if="this.suppress!=true"
><el-form-item label="Contact" ><el-form-item label="Contact"
><el-input v-model="dialog.ptcnam" ><el-input v-model="dialog.ptcnam"
/></el-form-item> /></el-form-item>
</c-col> </c-col>
<c-col :span="22" <c-col :span="22" v-if="this.suppress!=true"
><el-form-item ><el-form-item
:label=" :label="
title == 'MT799' title == 'MT799'
...@@ -453,7 +453,7 @@ ...@@ -453,7 +453,7 @@
</div> </div>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="2"> <c-col :span="2" v-if="this.suppress!=true">
<c-button size="mini" icon="el-icon-more"> </c-button> <c-button size="mini" icon="el-icon-more"> </c-button>
</c-col> </c-col>
</c-row> </c-row>
...@@ -463,6 +463,15 @@ ...@@ -463,6 +463,15 @@
<c-button type="primary" @click="saveDialog" <c-button type="primary" @click="saveDialog"
>确 定</c-button >确 定</c-button
> >
<c-button type="primary" @click="activateDialog" v-if="dialog.delflg=='D'"
>应用</c-button
>
<c-button type="primary" @click="suppressDialog" v-else-if="dialog.lev=='1'||dialog.mliflg!=''"
>禁用</c-button
>
<c-button type="primary" @click="activateDialog" v-else
>删除</c-button
>
<c-button @click="centerDialogVisible = false" <c-button @click="centerDialogVisible = false"
>取 消</c-button >取 消</c-button
> >
...@@ -505,6 +514,7 @@ export default { ...@@ -505,6 +514,7 @@ export default {
], ],
data: [], data: [],
}, },
suppress:false,
}; };
}, },
watch: { watch: {
...@@ -535,6 +545,26 @@ export default { ...@@ -535,6 +545,26 @@ export default {
} }
}) })
}, },
activateDialog() {
this.executeRule("trnmod.trndoc.doccur.butdel").then(res => {
if(res.respCode==SUCCESS){
//TODO
}else{
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
})
},
suppressDialog() {
this.executeRule("trnmod.trndoc.doccur.butdel").then(res => {
if(res.respCode==SUCCESS){
//TODO
this.suppress=true;
}else{
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
})
},
async handleDisplay(index, row,doceot){ async handleDisplay(index, row,doceot){
//后续要根据快照模式切换请求方式 //后续要根据快照模式切换请求方式
let cortyp = row.cortyp let cortyp = row.cortyp
......
...@@ -219,6 +219,7 @@ const ReviewRouter = [ ...@@ -219,6 +219,7 @@ const ReviewRouter = [
{ path: "cltset", component: ReviewCltset, name: "ReviewCltset", meta: { title: "复核-Cltset" } }, { path: "cltset", component: ReviewCltset, name: "ReviewCltset", meta: { title: "复核-Cltset" } },
{ path: "clttra", component: ReviewClttra, name: "ReviewClttra", meta: { title: "复核-Clttra" } }, { path: "clttra", component: ReviewClttra, name: "ReviewClttra", meta: { title: "复核-Clttra" } },
{ path: "lttdck", component: ReviewLttdck, name: "ReviewLttdck", meta: { title: "复核-Lttdck" } },
{ path: "Cptati", component: ReviewCptati, name: "ReviewCptati", meta: { title: "复核-Cptati" } }, { path: "Cptati", component: ReviewCptati, name: "ReviewCptati", meta: { title: "复核-Cptati" } },
{ path: "Cptato", component: ReviewCptato, name: "ReviewCptato", meta: { title: "复核-Cptato" } }, { path: "Cptato", component: ReviewCptato, name: "ReviewCptato", meta: { title: "复核-Cptato" } },
{ path: "Cptcan", component: ReviewCptcan, name: "ReviewCptcan", meta: { title: "复核-Cptcan" } }, { path: "Cptcan", component: ReviewCptcan, name: "ReviewCptcan", meta: { title: "复核-Cptcan" } },
......
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