Commit c7cc3267 by wangyanjiao

botdav&botdcr&botrad

parent 2cb88c13
...@@ -129,7 +129,8 @@ export default { ...@@ -129,7 +129,8 @@ export default {
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"bodgrp.rec.matpercnt":[ "bodgrp.rec.matpercnt":[
{type: "number", required: true, message: "必输项"} {type: "number" ,required: true, message: "必输项"},
{type: "number" ,max: 999,message:"长度不能超过3"}
], ],
"bodgrp.rec.paydocnum":[ "bodgrp.rec.paydocnum":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
...@@ -201,7 +202,7 @@ export default { ...@@ -201,7 +202,7 @@ export default {
"bodgrp.blk.chgtxt":[ "bodgrp.blk.chgtxt":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
......
...@@ -78,7 +78,7 @@ export default { ...@@ -78,7 +78,7 @@ export default {
], ],
"bodgrp.blk.resrej":[ "bodgrp.blk.resrej":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
...@@ -89,7 +89,7 @@ export default { ...@@ -89,7 +89,7 @@ export default {
"bodgrp.blk.chgtxt":[ "bodgrp.blk.chgtxt":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
......
...@@ -2,173 +2,173 @@ import Api from "~/service/Api" ...@@ -2,173 +2,173 @@ import Api from "~/service/Api"
import Pts from "../Common/Pts" import Pts from "../Common/Pts"
import Pub from "../Public" import Pub from "../Public"
export default class Botdcr{ export default class Botdcr {
constructor () { constructor() {
this.data = { this.data = {
botdrrl1blk:"", botdrrl1blk: "",
botdrrl2blk:"", botdrrl2blk: "",
botcoll1blk:"", botcoll1blk: "",
liaall: new Pub().data.Liaall, liaall: new Pub().data.Liaall,
bodgrp:{ bodgrp: {
rec:{ rec: {
matpertyp:"", // Days/Months or Years for Maturity Period .bodgrp.rec.matpertyp matpertyp: "", // Days/Months or Years for Maturity Period .bodgrp.rec.matpertyp
ownref:"", // Reference .bodgrp.rec.ownref ownref: "", // Reference .bodgrp.rec.ownref
nam:"", // Name .bodgrp.rec.nam nam: "", // Name .bodgrp.rec.nam
doctypcod:"", // Collection Condition .bodgrp.rec.doctypcod doctypcod: "", // Collection Condition .bodgrp.rec.doctypcod
docsta:"", // Document Set Status .bodgrp.rec.docsta docsta: "", // Document Set Status .bodgrp.rec.docsta
matdat:"", // Maturity Date .bodgrp.rec.matdat matdat: "", // Maturity Date .bodgrp.rec.matdat
matpercnt:"", // Tenor Specification .bodgrp.rec.matpercnt matpercnt: "", // Tenor Specification .bodgrp.rec.matpercnt
matperbeg:"", // Start of Maturity Period MATBEG .bodgrp.rec.matperbeg matperbeg: "", // Start of Maturity Period MATBEG .bodgrp.rec.matperbeg
rcvdat:"", // Order Date .bodgrp.rec.rcvdat rcvdat: "", // Order Date .bodgrp.rec.rcvdat
predat:"", // Presentation Date .bodgrp.rec.predat predat: "", // Presentation Date .bodgrp.rec.predat
chato:"", // Our Charges to .bodgrp.rec.chato chato: "", // Our Charges to .bodgrp.rec.chato
focflg:"", // Free of Payment .bodgrp.rec.focflg focflg: "", // Free of Payment .bodgrp.rec.focflg
waicolcod:"", // Protest Instructions .bodgrp.rec.waicolcod waicolcod: "", // Protest Instructions .bodgrp.rec.waicolcod
wairmtcod:"", // Waive Remitting Bank Charges .bodgrp.rec.wairmtcod wairmtcod: "", // Waive Remitting Bank Charges .bodgrp.rec.wairmtcod
othins:"", // Defer Payment until .bodgrp.rec.othins othins: "", // Defer Payment until .bodgrp.rec.othins
lescom:"", // Warehouse/Insurance .bodgrp.rec.lescom lescom: "", // Warehouse/Insurance .bodgrp.rec.lescom
}, },
cbs:{ cbs: {
max:{ max: {
cur:"", // Document Amount .bodgrp.cbs.max.cur cur: "", // Document Amount .bodgrp.cbs.max.cur
amt:"", // Document Amount .bodgrp.cbs.max.amt amt: "", // Document Amount .bodgrp.cbs.max.amt
}, },
opn1:{ opn1: {
cur:"", // Warehouse/Insurance .bodgrp.cbs.opn1.cur cur: "", // Warehouse/Insurance .bodgrp.cbs.opn1.cur
amt:"", // Open Amount .bodgrp.cbs.opn1.amt amt: "", // Open Amount .bodgrp.cbs.opn1.amt
}, },
}, },
drr:{ drr: {
pts:new Pts().data, pts: new Pts().data,
namelc:"", // 名称 .bodgrp.drr.namelc namelc: "", // 名称 .bodgrp.drr.namelc
adrelc:"", // 地址 .bodgrp.drr.adrelc adrelc: "", // 地址 .bodgrp.drr.adrelc
dbfadrblkcn:"", // Chinese address .bodgrp.drr.dbfadrblkcn dbfadrblkcn: "", // Chinese address .bodgrp.drr.dbfadrblkcn
}, },
col:{ col: {
pts:new Pts().data, pts: new Pts().data,
namelc:"", // 名称 .bodgrp.col.namelc namelc: "", // 名称 .bodgrp.col.namelc
adrelc:"", // 地址 .bodgrp.col.adrelc adrelc: "", // 地址 .bodgrp.col.adrelc
dbfadrblkcn:"", // Chinese address .bodgrp.col.dbfadrblkcn dbfadrblkcn: "", // Chinese address .bodgrp.col.dbfadrblkcn
}, },
dre:{ dre: {
pts:new Pts().data, pts: new Pts().data,
namelc:"", // 名称 .bodgrp.dre.namelc namelc: "", // 名称 .bodgrp.dre.namelc
adrelc:"", // 地址 .bodgrp.dre.adrelc adrelc: "", // 地址 .bodgrp.dre.adrelc
dbfadrblkcn:"", // Chinese address .bodgrp.dre.dbfadrblkcn dbfadrblkcn: "", // Chinese address .bodgrp.dre.dbfadrblkcn
}, },
blk:{ blk: {
resrej:"", // Reason for Non-Payment/Non-Acceptance .bodgrp.blk.resrej resrej: "", // Reason for Non-Payment/Non-Acceptance .bodgrp.blk.resrej
colins:"", // Collection Instructions .bodgrp.blk.colins colins: "", // Collection Instructions .bodgrp.blk.colins
colinsflg:"", // Collection instructions modified .bodgrp.blk.colinsflg colinsflg: "", // Collection instructions modified .bodgrp.blk.colinsflg
dftins:"", // Draft Instructions .bodgrp.blk.dftins dftins: "", // Draft Instructions .bodgrp.blk.dftins
proins:"", // Protest Instructions .bodgrp.blk.proins proins: "", // Protest Instructions .bodgrp.blk.proins
othins:"", // Other Instructions .bodgrp.blk.othins othins: "", // Other Instructions .bodgrp.blk.othins
chgtxt:"", // Charges Text .bodgrp.blk.chgtxt chgtxt: "", // Charges Text .bodgrp.blk.chgtxt
delins:"", // Delivery instructions .bodgrp.blk.delins delins: "", // Delivery instructions .bodgrp.blk.delins
}, },
},
botp: {
recget: {
sdamod: {
dadsnd: "", // Drag Drop Sender .botp.recget.sdamod.dadsnd
seainf: "", // .botp.recget.sdamod.seainf
},
},
matp: {
mattxtlab: "", // Label for MATTXT .botp.matp.mattxtlab
},
docgrdm: {
docdsclab: "", // Label of document description .botp.docgrdm.docdsclab
docgrd: [], //docgrdm.docgrd
},
drrp: {
ptsget: {
sdamod: {
seainf: "", // .botp.drrp.ptsget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .botp.drrp.ptsget.sdamod.dadsnd
},
},
},
colp: {
ptsget: {
sdamod: {
seainf: "", // .botp.colp.ptsget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .botp.colp.ptsget.sdamod.dadsnd
},
},
},
drep: {
ptsget: {
sdamod: {
seainf: "", // .botp.drep.ptsget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .botp.drep.ptsget.sdamod.dadsnd
}, },
botp:{ },
recget:{ },
sdamod:{ ptsaddp: {
dadsnd:"", // Drag Drop Sender .botp.recget.sdamod.dadsnd ptsaddg: [], // .botp.ptsaddp.ptsaddg
seainf:"", // .botp.recget.sdamod.seainf },
}, },
}, rejtypsel: "", // .rejtypsel
matp:{ mtabut: {
mattxtlab:"", // Label for MATTXT .botp.matp.mattxtlab clsflg: "", // Close Flag .mtabut.clsflg
}, coninf: {
docgrdm:{ oitinf: {
docdsclab:"", // Label of document description .botp.docgrdm.docdsclab labinftxt: "", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
docgrd:[], //docgrdm.docgrd oit: {
}, inftxt: "", // Infotext .mtabut.coninf.oitinf.oit.inftxt
drrp:{ inflev: "", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
ptsget:{
sdamod:{
seainf:"", // .botp.drrp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .botp.drrp.ptsget.sdamod.dadsnd
},
},
},
colp:{
ptsget:{
sdamod:{
seainf:"", // .botp.colp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .botp.colp.ptsget.sdamod.dadsnd
},
},
},
drep:{
ptsget:{
sdamod:{
seainf:"", // .botp.drep.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .botp.drep.ptsget.sdamod.dadsnd
},
},
},
ptsaddp:{
ptsaddg:[], // .botp.ptsaddp.ptsaddg
},
}, },
rejtypsel:"", // .rejtypsel },
mtabut:{ oitset: {
clsflg:"", // Close Flag .mtabut.clsflg labinftxt: "", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
coninf:{ oit: {
oitinf:{ inftxt: "", // Infotext .mtabut.coninf.oitset.oit.inftxt
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt inflev: "", // Infotext Level .mtabut.coninf.oitset.oit.inflev
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
},
},
}, },
// setmod:{ },
// docamttyplab:"", // settled amount description as label .setmod.docamttyplab conexedat: "", // 执行日期 .mtabut.coninf.conexedat
// retmsg:"", // Label showing Retry overflow condition .setmod.retmsg usr: {
// ref:"", // our reference .setmod.ref extkey: "", // User ID .mtabut.coninf.usr.extkey
// doccur:"", // document currency .setmod.doccur },
// docamt:"", // document amount .setmod.docamt },
// dspflg:"", // Type of settlement .setmod.dspflg },
// xreflg:"", // Recalculate Rates .setmod.xreflg // setmod:{
// setglg:{ // docamttyplab:"", // settled amount description as label .setmod.docamttyplab
// labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg // retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
// }, // ref:"", // our reference .setmod.ref
// zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab // doccur:"", // document currency .setmod.doccur
// zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc // docamt:"", // document amount .setmod.docamt
// }, // dspflg:"", // Type of settlement .setmod.dspflg
// trnmod:{ // xreflg:"", // Recalculate Rates .setmod.xreflg
// trndoc:{ // setglg:{
// advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel // labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg
// amdnam:"", // AMDNAM .trnmod.trndoc.amdnam // },
// advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc // zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
// advnam:"", // 国内证落款 .trnmod.trndoc.advnam // zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
// amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl // },
// doclbl:"", // Lable for CONDOCSTM .trnmod.trndoc.doclbl // trnmod:{
// doctrestm:"", // Document tree .trnmod.trndoc.doctrestm // trndoc:{
// shwinc:"", // Show Incoming Messages .trnmod.trndoc.shwinc // advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel
// shwout:"", // Show Outgoing Messages .trnmod.trndoc.shwout // amdnam:"", // AMDNAM .trnmod.trndoc.amdnam
// condocstm:"", // Connected Documents .trnmod.trndoc.condocstm // advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc
// rcvatt:{ // advnam:"", // 国内证落款 .trnmod.trndoc.advnam
// seainf:"", // .trnmod.trndoc.rcvatt.seainf // amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl
// }, // doclbl:"", // Lable for CONDOCSTM .trnmod.trndoc.doclbl
// filrecv:"", // File Receiver .trnmod.trndoc.filrecv // doctrestm:"", // Document tree .trnmod.trndoc.doctrestm
// }, // shwinc:"", // Show Incoming Messages .trnmod.trndoc.shwinc
// }, // shwout:"", // Show Outgoing Messages .trnmod.trndoc.shwout
setmod: new Pub().data.Setmod, // condocstm:"", // Connected Documents .trnmod.trndoc.condocstm
trnmod: new Pub().data.Trnmod, // rcvatt:{
pageId: "" // ctx的key // seainf:"", // .trnmod.trndoc.rcvatt.seainf
} // },
} // filrecv:"", // File Receiver .trnmod.trndoc.filrecv
// },
// },
setmod: new Pub().data.Setmod,
trnmod: new Pub().data.Trnmod,
pageId: "" // ctx的key
}
}
} }
\ No newline at end of file
...@@ -17,7 +17,7 @@ export default { ...@@ -17,7 +17,7 @@ export default {
], ],
"bodgrp.cbs.max.amt":[ "bodgrp.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位" }
], ],
...@@ -27,7 +27,7 @@ export default { ...@@ -27,7 +27,7 @@ export default {
], ],
"bodgrp.cbs.opn1.amt":[ "bodgrp.cbs.opn1.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位" }
], ],
...@@ -53,8 +53,7 @@ export default { ...@@ -53,8 +53,7 @@ export default {
{type: "date", required: false, message: "输入正确的日期"} {type: "date", required: false, message: "输入正确的日期"}
], ],
"bodgrp.rec.matpercnt":[ "bodgrp.rec.matpercnt":[
{type: "string", required: false, message: "必输项"}, {type: "number", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
], ],
"bodgrp.dre.pts.ref":[ "bodgrp.dre.pts.ref":[
...@@ -73,7 +72,7 @@ export default { ...@@ -73,7 +72,7 @@ export default {
{type: "date", required: false, message: "输入正确的日期"} {type: "date", required: false, message: "输入正确的日期"}
], ],
"bodgrp.blk.colinssnm":[ "bodgrp.blk.colinssnm":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 60,message:"长度不能超过60"} {max: 60,message:"长度不能超过60"}
], ],
......
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 Botrad{ export default class Botrad {
constructor () { constructor() {
this.data = { this.data = {
bodgrp:{ botdrrl1blk: "",
rec:{ botdrrl2blk: "",
matpertyp:"", // Days/Months or Years for Maturity Period .bodgrp.rec.matpertyp botcoll1blk: "",
ownref:"", // Reference .bodgrp.rec.ownref liaall: new Pub().data.Liaall,
nam:"", // Name .bodgrp.rec.nam setmod: new Pub().data.Setmod,
doctypcod:"", // Collection Condition .bodgrp.rec.doctypcod trnmod: new Pub().data.Trnmod,
docsta:"", // Document Set Status .bodgrp.rec.docsta
matdat:"", // Maturity Date .bodgrp.rec.matdat mtabut: {
matpercnt:"", // Tenor Specification .bodgrp.rec.matpercnt clsflg: "", // Close Flag .mtabut.clsflg
matperbeg:"", // Starting from .bodgrp.rec.matperbeg coninf: {
rcvdat:"", // Order Date .bodgrp.rec.rcvdat oitinf: {
predat:"", // Presentation Date .bodgrp.rec.predat labinftxt: "", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
trpdoctyp:"", // Transport Doc. Type .bodgrp.rec.trpdoctyp oit: {
trpdocnum:"", // Transport Doc. Ref. .bodgrp.rec.trpdocnum inftxt: "", // Infotext .mtabut.coninf.oitinf.oit.inftxt
tradat:"", // Document Dated .bodgrp.rec.tradat inflev: "", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
tramod:"", // Mode of Transport .bodgrp.rec.tramod },
shpfro:"", // Shipment from .bodgrp.rec.shpfro },
shpto:"", // For Transportation to .bodgrp.rec.shpto oitset: {
chato:"", // Our Charges to .bodgrp.rec.chato labinftxt: "", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
focflg:"", // Free of Payment .bodgrp.rec.focflg oit: {
waicolcod:"", // Protest Instructions .bodgrp.rec.waicolcod inftxt: "", // Infotext .mtabut.coninf.oitset.oit.inftxt
wairmtcod:"", // Waive Remitting Bank Charges .bodgrp.rec.wairmtcod inflev: "", // Infotext Level .mtabut.coninf.oitset.oit.inflev
othins:"", // Defer Payment until .bodgrp.rec.othins },
lescom:"", // Warehouse/Insurance .bodgrp.rec.lescom },
dircolflg:"", // Direct Collection .bodgrp.rec.dircolflg conexedat: "", // 执行日期 .mtabut.coninf.conexedat
resflg:"", // Reservated Contract .bodgrp.rec.resflg usr: {
shpdat:"", // Shipment date .bodgrp.rec.shpdat extkey: "", // User ID .mtabut.coninf.usr.extkey
advdat:"", // Dispatched on .bodgrp.rec.advdat },
stacty:"", // Country Code Risk Country! .bodgrp.rec.stacty },
stagod:"", // Goods Code .bodgrp.rec.stagod },
invtyp:"", // Maturity Date .bodgrp.rec.invtyp
paydoctyp:"", // Financial Document .bodgrp.rec.paydoctyp bodgrp: {
paydocnum:"", // Document Number .bodgrp.rec.paydocnum rec: {
issdat:"", // Issued on .bodgrp.rec.issdat matpertyp: "", // Days/Months or Years for Maturity Period .bodgrp.rec.matpertyp
ccdndrflg:"", // Truncation - Physical Document Kept w OWN .bodgrp.rec.ccdndrflg ownref: "", // Reference .bodgrp.rec.ownref
ccdpurflg:"", // Payment Under Reserve .bodgrp.rec.ccdpurflg nam: "", // Name .bodgrp.rec.nam
}, doctypcod: "", // Collection Condition .bodgrp.rec.doctypcod
cbs:{ docsta: "", // Document Set Status .bodgrp.rec.docsta
max:{ matdat: "", // Maturity Date .bodgrp.rec.matdat
cur:"", // Document Amount .bodgrp.cbs.max.cur matpercnt: "", // Tenor Specification .bodgrp.rec.matpercnt
amt:"", // Document Amount .bodgrp.cbs.max.amt matperbeg: "", // Starting from .bodgrp.rec.matperbeg
}, rcvdat: "", // Order Date .bodgrp.rec.rcvdat
opn1:{ predat: "", // Presentation Date .bodgrp.rec.predat
cur:"", // Open Amount .bodgrp.cbs.opn1.cur trpdoctyp: "", // Transport Doc. Type .bodgrp.rec.trpdoctyp
amt:"", // Open Amount .bodgrp.cbs.opn1.amt trpdocnum: "", // Transport Doc. Ref. .bodgrp.rec.trpdocnum
}, tradat: "", // Document Dated .bodgrp.rec.tradat
}, tramod: "", // Mode of Transport .bodgrp.rec.tramod
drr:{ shpfro: "", // Shipment from .bodgrp.rec.shpfro
pts:new Pts().data, shpto: "", // For Transportation to .bodgrp.rec.shpto
namelc:"", // 名称 .bodgrp.drr.namelc chato: "", // Our Charges to .bodgrp.rec.chato
adrelc:"", // 地址 .bodgrp.drr.adrelc focflg: "", // Free of Payment .bodgrp.rec.focflg
dbfadrblkcn:"", // Chinese address .bodgrp.drr.dbfadrblkcn waicolcod: "", // Protest Instructions .bodgrp.rec.waicolcod
}, wairmtcod: "", // Waive Remitting Bank Charges .bodgrp.rec.wairmtcod
col:{ othins: "", // Defer Payment until .bodgrp.rec.othins
pts:new Pts().data, lescom: "", // Warehouse/Insurance .bodgrp.rec.lescom
namelc:"", // 名称 .bodgrp.col.namelc dircolflg: "", // Direct Collection .bodgrp.rec.dircolflg
adrelc:"", // 地址 .bodgrp.col.adrelc resflg: "", // Reservated Contract .bodgrp.rec.resflg
dbfadrblkcn:"", // Chinese address .bodgrp.col.dbfadrblkcn shpdat: "", // Shipment date .bodgrp.rec.shpdat
}, advdat: "", // Dispatched on .bodgrp.rec.advdat
dre:{ stacty: "", // Country Code Risk Country! .bodgrp.rec.stacty
pts:new Pts().data, stagod: "", // Goods Code .bodgrp.rec.stagod
namelc:"", // 名称 .bodgrp.dre.namelc invtyp: "", // Maturity Date .bodgrp.rec.invtyp
adrelc:"", // 地址 .bodgrp.dre.adrelc paydoctyp: "", // Financial Document .bodgrp.rec.paydoctyp
dbfadrblkcn:"", // Chinese address .bodgrp.dre.dbfadrblkcn paydocnum: "", // Document Number .bodgrp.rec.paydocnum
}, issdat: "", // Issued on .bodgrp.rec.issdat
blk:{ ccdndrflg: "", // Truncation - Physical Document Kept w OWN .bodgrp.rec.ccdndrflg
colinssnm:"", // Instructions for Second Mail .bodgrp.blk.colinssnm ccdpurflg: "", // Payment Under Reserve .bodgrp.rec.ccdpurflg
vesselnam:"", // Vessel Name .bodgrp.blk.vesselnam },
goddes:"", // Description of Goods .bodgrp.blk.goddes cbs: {
colins:"", // Collection Instructions .bodgrp.blk.colins max: {
colinsflg:"", // Collection instructions modified .bodgrp.blk.colinsflg cur: "", // Document Amount .bodgrp.cbs.max.cur
dftins:"", // Draft Instructions .bodgrp.blk.dftins amt: "", // Document Amount .bodgrp.cbs.max.amt
proins:"", // Protest Instructions .bodgrp.blk.proins },
othins:"", // Other Instructions .bodgrp.blk.othins opn1: {
chgtxt:"", // Charges Text .bodgrp.blk.chgtxt cur: "", // Open Amount .bodgrp.cbs.opn1.cur
delins:"", // Delivery instructions .bodgrp.blk.delins amt: "", // Open Amount .bodgrp.cbs.opn1.amt
bogdet:"", // Tenor Details Text .bodgrp.blk.bogdet },
cctinsrcv:"", // Instructions Received .bodgrp.blk.cctinsrcv },
cctinscol:"", // Collection Instruction .bodgrp.blk.cctinscol drr: {
intins:"", // Interest Instructions .bodgrp.blk.intins pts: new Pts().data,
setinsbo:"", // Settlement insrtrctions .bodgrp.blk.setinsbo namelc: "", // 名称 .bodgrp.drr.namelc
agtaut:"", // Authority of Agent .bodgrp.blk.agtaut adrelc: "", // 地址 .bodgrp.drr.adrelc
}, dbfadrblkcn: "", // Chinese address .bodgrp.drr.dbfadrblkcn
},
col: {
pts: new Pts().data,
namelc: "", // 名称 .bodgrp.col.namelc
adrelc: "", // 地址 .bodgrp.col.adrelc
dbfadrblkcn: "", // Chinese address .bodgrp.col.dbfadrblkcn
},
dre: {
pts: new Pts().data,
namelc: "", // 名称 .bodgrp.dre.namelc
adrelc: "", // 地址 .bodgrp.dre.adrelc
dbfadrblkcn: "", // Chinese address .bodgrp.dre.dbfadrblkcn
},
blk: {
colinssnm: "", // Instructions for Second Mail .bodgrp.blk.colinssnm
vesselnam: "", // Vessel Name .bodgrp.blk.vesselnam
goddes: "", // Description of Goods .bodgrp.blk.goddes
colins: "", // Collection Instructions .bodgrp.blk.colins
colinsflg: "", // Collection instructions modified .bodgrp.blk.colinsflg
dftins: "", // Draft Instructions .bodgrp.blk.dftins
proins: "", // Protest Instructions .bodgrp.blk.proins
othins: "", // Other Instructions .bodgrp.blk.othins
chgtxt: "", // Charges Text .bodgrp.blk.chgtxt
delins: "", // Delivery instructions .bodgrp.blk.delins
bogdet: "", // Tenor Details Text .bodgrp.blk.bogdet
cctinsrcv: "", // Instructions Received .bodgrp.blk.cctinsrcv
cctinscol: "", // Collection Instruction .bodgrp.blk.cctinscol
intins: "", // Interest Instructions .bodgrp.blk.intins
setinsbo: "", // Settlement insrtrctions .bodgrp.blk.setinsbo
agtaut: "", // Authority of Agent .bodgrp.blk.agtaut
},
},
botp: {
recget: {
sdamod: {
dadsnd: "", // Drag Drop Sender .botp.recget.sdamod.dadsnd
seainf: "", // .botp.recget.sdamod.seainf
},
},
matp: {
mattxtlab: "", // Label for MATTXT .botp.matp.mattxtlab
},
docgrdm: {
docgrd:"",
docdsclab: "", // Label of document description .botp.docgrdm.docdsclab
},
usr: {
extkey: "", // Responsible User .botp.usr.extkey
},
usrget: {
sdamod: {
seainf: "", // .botp.usrget.sdamod.seainf
},
},
drrp: {
ptsget: {
sdamod: {
seainf: "", // .botp.drrp.ptsget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .botp.drrp.ptsget.sdamod.dadsnd
},
},
},
colp: {
ptsget: {
sdamod: {
seainf: "", // .botp.colp.ptsget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .botp.colp.ptsget.sdamod.dadsnd
}, },
botp:{ },
recget:{ },
sdamod:{ drep: {
dadsnd:"", // Drag Drop Sender .botp.recget.sdamod.dadsnd ptsget: {
seainf:"", // .botp.recget.sdamod.seainf sdamod: {
}, seainf: "", // .botp.drep.ptsget.sdamod.seainf
}, dadsnd: "", // Drag Drop Sender .botp.drep.ptsget.sdamod.dadsnd
matp:{
mattxtlab:"", // Label for MATTXT .botp.matp.mattxtlab
},
docgrdm:{
docdsclab:"", // Label of document description .botp.docgrdm.docdsclab
},
usr:{
extkey:"", // Responsible User .botp.usr.extkey
},
usrget:{
sdamod:{
seainf:"", // .botp.usrget.sdamod.seainf
},
},
drrp:{
ptsget:{
sdamod:{
seainf:"", // .botp.drrp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .botp.drrp.ptsget.sdamod.dadsnd
},
},
},
colp:{
ptsget:{
sdamod:{
seainf:"", // .botp.colp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .botp.colp.ptsget.sdamod.dadsnd
},
},
},
drep:{
ptsget:{
sdamod:{
seainf:"", // .botp.drep.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .botp.drep.ptsget.sdamod.dadsnd
},
},
},
ptsaddp:{
ptsaddg:[], // .botp.ptsaddp.ptsaddg
},
}, },
oridre:"", // Original Documents Passed to Drawee .oridre },
botcoll1blk:"", // XMLPanel botcoll1的内置block .botcoll1blk },
botdrrl1blk:"", // XMLPanel botdrrl1的内置block .botdrrl1blk ptsaddp: {
botcoll2blk:"", // XMLPanel botcoll2的内置block .botcoll2blk ptsaddg: [], // .botp.ptsaddp.ptsaddg
pageId: "" // ctx的key },
} },
} oridre: "", // Original Documents Passed to Drawee .oridre
pageId: "" // ctx的key
}
}
} }
\ No newline at end of file
...@@ -26,9 +26,9 @@ ...@@ -26,9 +26,9 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="是否报送跨境人民币2106表" label-width="30%" prop="cnybop.libflg"> <el-form-item label="是否报送跨境人民币2106表" label-width="30%" prop="cnybop.libflg" >
<c-select v-model="model.cnybop.libflg" style="width:100%" placeholder="请选择是否报送跨境人民币2106表" <c-select v-model="model.cnybop.libflg" style="width:100%" placeholder="请选择是否报送跨境人民币2106表"
:code="codes.libflg" :disabled="true"> :code="codes.libflg" :disabled="model.bodgrp.cbs.max.cur != 'CNY'">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
...@@ -193,7 +193,7 @@ ...@@ -193,7 +193,7 @@
<el-form-item label="Changes Condition" prop="bodgrp.rec.chato" style="padding-top:15px"> <el-form-item label="Changes Condition" prop="bodgrp.rec.chato" style="padding-top:15px">
<c-select v-model="model.bodgrp.rec.chato" style="width:100%" placeholder="请选择Our Charges to" <c-select v-model="model.bodgrp.rec.chato" style="width:100%" placeholder="请选择Our Charges to"
:code="codes.chato"> :code="codes.chadet">
</c-select> </c-select>
...@@ -309,7 +309,7 @@ ...@@ -309,7 +309,7 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="less comm" prop="bodgrp.cbs.opn1.cur" style="padding-top:15px"> <el-form-item label="less comm" prop="bodgrp.cbs.opn1.cur" style="padding-top:15px">
<c-select v-model="model.bodgrp.cbs.opn1.cur" style="width: %" placeholder="请选择Document Amount" <c-select v-model="model.bodgrp.cbs.opn1.cur" style="width: %" placeholder="请选择Document Amount" :disabled="true"
:code="codes.cur"> :code="codes.cur">
</c-select> </c-select>
......
...@@ -122,7 +122,7 @@ ...@@ -122,7 +122,7 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Tenor Specification" prop="bodgrp.rec.matpercnt"> <el-form-item label="Tenor Specification" prop="bodgrp.rec.matpercnt">
<c-input v-model="model.bodgrp.rec.matpercnt" placeholder="请输入Tenor Specification" <c-input v-model.number="model.bodgrp.rec.matpercnt" placeholder="请输入Tenor Specification" onkeyup="value=value.replace(/[^\d]/g,' ')"
:disabled="model.bodgrp.rec.doctypcod === 'P'"></c-input> :disabled="model.bodgrp.rec.doctypcod === 'P'"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
...@@ -187,7 +187,7 @@ ...@@ -187,7 +187,7 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="2st" width="auto" prop="cmail2"> <el-table-column label="2nd" width="auto" prop="cmail2">
<template slot-scope="scope"> <template slot-scope="scope">
<c-input v-model="scope.row.cmail2" :disabled="model.rejtypsel != 'R'"></c-input> <c-input v-model="scope.row.cmail2" :disabled="model.rejtypsel != 'R'"></c-input>
</template> </template>
...@@ -234,7 +234,6 @@ export default { ...@@ -234,7 +234,6 @@ export default {
mixins: [commonProcess], mixins: [commonProcess],
data() { data() {
return { return {
columns: ['0 0 "lst1" 100 ', '1 1 "lst2" 100', '2 2 "document" 200'],
codeTable: [ codeTable: [
{ label: "Airway Bills", value: "Airway Bills" }, { label: "Airway Bills", value: "Airway Bills" },
{ label: "Beneficiary's Declaration", value: "Beneficiary's Declaration" }, { label: "Beneficiary's Declaration", value: "Beneficiary's Declaration" },
......
...@@ -214,8 +214,8 @@ ...@@ -214,8 +214,8 @@
<c-col :span="24" style="width:100%"> <c-col :span="24" style="width:100%">
<el-form-item label="Charges Text" prop="bodgrp.blk.chgtxt" style="padding-top:15px"> <el-form-item label="Charges Text" prop="bodgrp.blk.chgtxt" style="padding-top:15px">
<c-input type="textarea" v-model="model.bodgrp.blk.chgtxt" maxlength="35" show-word-limit <c-input type="textarea" v-model="model.bodgrp.blk.chgtxt" maxlength="35" show-word-limit disabled
placeholder="请输入Charges Text"></c-input disabled> placeholder="请输入Charges Text"></c-input >
</el-form-item> </el-form-item>
......
...@@ -44,6 +44,11 @@ ...@@ -44,6 +44,11 @@
<m-setpan :model="model" :codes="codes" /> <m-setpan :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="Bookings" name="glepan">
<!--PD000001 -->
<m-glepan :model="model" :codes="codes" ref="glepan" />
</el-tab-pane>
<!--PD000000 --> <!--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" />
...@@ -79,6 +84,7 @@ import Ptyp from "./Ptyp" ...@@ -79,6 +84,7 @@ import Ptyp from "./Ptyp"
import Setpan from "~/views/Public/Setpan" import Setpan from "~/views/Public/Setpan"
import Coninfp from "~/views/Public/Coninfp" import Coninfp from "~/views/Public/Coninfp"
import Docpan from "~/views/Public/Docpan" import Docpan from "~/views/Public/Docpan"
import Glepan from "~/views/Public/Glepan"
import Doctre from "~/views/Public/Doctre" import Doctre from "~/views/Public/Doctre"
...@@ -88,6 +94,7 @@ export default { ...@@ -88,6 +94,7 @@ export default {
"m-botdcrp1": Botdcrp1, "m-botdcrp1": Botdcrp1,
"m-inst": Inst, "m-inst": Inst,
"m-ptyp": Ptyp, "m-ptyp": Ptyp,
"m-glepan": Glepan,
"m-setpan": Setpan, "m-setpan": Setpan,
"m-coninfp": Coninfp, "m-coninfp": Coninfp,
"m-engp": Engp, "m-engp": Engp,
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="XMLPanel botcoll2的内置block" prop="botcoll2blk">
<c-input type="textarea" v-model="model.botcoll2blk" maxlength="200" show-word-limit placeholder="请输入XMLPanel botcoll2的内置block" ></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/Botrad/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="XMLPanel botdrrl1的内置block" prop="botdrrl1blk">
<c-input type="textarea" v-model="model.botdrrl1blk" maxlength="200" show-word-limit placeholder="请输入XMLPanel botdrrl1的内置block" ></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/Botrad/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template> <template>
<c-row>
<!-- =================顶部====================== -->
<c-col :span="24">
<c-col :span="11">
<c-col :span="20">
<el-form-item label="Reference" prop="bodgrp.rec.ownref" style="width: 100%">
<c-input v-model="model.bodgrp.rec.ownref" maxlength="16" placeholder="请输入Reference" style="width: 95%"
disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<c-button style="margin:0 10px 0 0;padding: 0 10px;" size="small" type="primary" icon="el-icon-search"></c-button>
</c-button>
</c-col>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="摘要" prop="bodgrp.rec.nam">
<c-input text-align="middle" v-model="model.bodgrp.rec.nam" maxlength="40" disabled
placeholder="请输入Externally Displayed Name to Identify the Contract"></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- ====================左边======================= -->
<c-col :span="11">
<c-col :span="12">
<el-form-item label="Document Amount" prop="bodgrp.cbs.max.cur">
<c-select disabled v-model="model.bodgrp.cbs.max.cur" style="width: 100%" placeholder="请选择Currency">
<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="bodgrp.cbs.max.amt">
<c-input-currency v-model="model.bodgrp.cbs.max.amt" style="text-align: left; width: 100%"
placeholder="请输入Document Amount" disabled
@keyup.enter.native="defaultFunction('bodgrp.cbs.max.amt', model.bodgrp.cbs.max.amt)"></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Warehouse/Insurance" prop="bodgrp.cbs.opn1.cur">
<c-select disabled v-model="model.bodgrp.cbs.opn1.cur" style="width: 100%" placeholder="请选择Currency">
<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="bodgrp.cbs.opn1.amt">
<c-input-currency v-model="model.bodgrp.cbs.opn1.amt" style="text-align: left; width: 100%"
placeholder="请输入Warehouse/Insurance" disabled
@keyup.enter.native="defaultFunction('bodgrp.cbs.opn1.amt', model.bodgrp.cbs.opn1.amt)"></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Collection Condition" prop="bodgrp.rec.doctypcod">
<c-select v-model="model.bodgrp.rec.doctypcod" style="width:100%" placeholder="请选择Collection Condition"
disabled>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Document Set Status" prop="bodgrp.rec.docsta">
<c-input v-model="model.bodgrp.rec.docsta" maxlength="40" placeholder="请输入Document Set Status" disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Maturity Date" prop="bodgrp.rec.matdat">
<c-date-picker type="date" v-model="model.bodgrp.rec.matdat" style="width:100%" placeholder="请选择Maturity Date"
disabled></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Tenor Specification" prop="bodgrp.rec.matpercnt">
<c-input v-model="model.bodgrp.rec.matpercnt" placeholder="请输入Tenor Specification" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label=" " prop="bodgrp.rec.matperbeg">
<c-select v-model="model.bodgrp.rec.matperbeg" style="width:100%"
placeholder="请选择Start of Maturity Period MATBEG" disabled>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Order Date" prop="bodgrp.rec.rcvdat">
<c-date-picker type="date" v-model="model.bodgrp.rec.rcvdat" style="width:100%" placeholder="请选择Order Date"
disabled></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Presentation Date" prop="bodgrp.rec.predat">
<c-date-picker type="date" v-model="model.bodgrp.rec.predat" style="width:100%"
placeholder="请选择Presentation Date" disabled></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Instructions for Second Mail" prop="bodgrp.blk.colinssnm" >
<c-input type="textarea" v-model="model.bodgrp.blk.colinssnm" maxlength="60" show-word-limit placeholder="请输入Instructions for Second Mail" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.oridre" padding="15">Original Documents Passed to Drawee</c-checkbox>
</c-col>
</c-col>
<!-- ====================右边======================= -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="Drawer" prop="bodgrp.drr.pts.ref">
<c-input v-model="model.bodgrp.drr.pts.ref" maxlength="16" placeholder="请输入Drawer" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Name of Party" prop="bodgrp.drr.pts.nam">
<c-input v-model="model.bodgrp.drr.pts.nam" maxlength="40" placeholder="请输入Name of Party" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Collecting Bank" prop="bodgrp.col.pts.ref">
<c-input v-model="model.bodgrp.col.pts.ref" maxlength="16" placeholder="请输入Collecting Bank" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Name of Party" prop="bodgrp.col.pts.nam">
<c-input v-model="model.bodgrp.col.pts.nam" maxlength="40" placeholder="请输入Name of Party" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Drawee" prop="bodgrp.dre.pts.ref">
<c-input v-model="model.bodgrp.dre.pts.ref" maxlength="16" placeholder="请输入Drawee" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Name of Party" prop="bodgrp.dre.pts.nam">
<c-input v-model="model.bodgrp.dre.pts.nam" maxlength="40" placeholder="请输入Name of Party" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24" style="height: 24px; margin-top: -10px">
<el-form-item :label="model.botp.docgrdm.docdsclab" class="messageLabel">
<c-button style="float: right" @click="addTableValue" type="primary">新增单据</c-button>
</el-form-item>
</c-col>
<c-col :span="24" style="margin-bottom: 30px;">
<c-table height="200px" style="text-align: center" :list="this.model.botp.docgrdm.docgrd || []"
:paginationShow="false" :border="true">
<el-table-column label="1st" width="auto">
<template slot-scope="scope">
<c-input v-model="scope.row.cmail1"></c-input>
</template>
</el-table-column>
<el-table-column label="2st" width="auto">
<template slot-scope="scope">
<c-input v-model="scope.row.cmail2"></c-input>
</template>
</el-table-column>
<el-table-column label="Document" prop="docnam" width="auto">
<template slot-scope="scope">
<!-- {{scope.row.docnam}} -->
<c-select style="width: 100%" placeholder="请选择" v-model="scope.row.docnam">
<el-option v-for="item in codeTable" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</template>
</el-table-column>
<el-table-column label="操作" width="170px" fixed="right">
<template slot-scope="scope">
<c-button @click="deleteTable(scope.$index)" type="primary">删除</c-button>
</template>
</el-table-column>
</c-table>
</c-col>
</c-col>
</c-row>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Botdcr/Event"
import Utils from "~/utils";
import Ptap from "~/views/Public/Ptap";
export default {
components: { "c-ptap": Ptap },
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
columns: ['0 0 "lst1" 100 ', '1 1 "lst2" 100', '2 2 "document" 200'],
codeTable: [
{ label: "Airway Bills", value: "Airway Bills" },
{ label: "Beneficiary's Declaration", value: "Beneficiary's Declaration" },
{ label: "Bill of Lading Copies", value: "Bill of Lading Copies" },
{ label: "Bill of Lading Originals", value: "Bill of Lading Originals" },
{ label: "Certificate", value: "Certificate" },
{ label: "Certificate of Analysis", value: "Certificate of Analysis" },
{ label: "Certificate of Origin", value: "Certificate of Origin" },
{ label: "Certificate of Quality", value: "Certificate of Quality" },
{ label: "Certificate of Quantity", value: "Certificate of Quantity" },
{ label: "Commercial Invoice", value: "Commercial Invoice" },
{ label: "Courier Receipt", value: "Courier Receipt" },
{ label: "Draft", value: "Draft" },
{ label: "Export Licence", value: "Export Licence" },
{ label: "Fax Report", value: "Fax Report" },
{ label: "Inspection Cert", value: "Inspection Cert" },
{ label: "Insurance Policy", value: "Insurance Policy" },
{ label: "Packing List", value: "Packing List" },
{ label: "Shipment Advice", value: "Shipment Advice" },
{ label: "Weight List", value: "Weight List" },
],
TableValue: [
{
id: 0,
cmail1: "",
cmail2: "",
docnam: "",
description: "",
serialNum: "",
tableName: "",
tcddoc: "",
},
],
newValue: {
id: 0,
cmail1: "",
cmail2: "",
docnam: "",
description: "",
serialNum: "",
tableName: "",
tcddoc: "",
},
}
},
methods: {
...Event,
addTableValue(index) {
var newTableValue = Object.assign({}, this.newValue);
const serial = Utils.generateUUID();
newTableValue.serialNum = serial;
this.model.botp.docgrdm.docgrd.splice(index - 1, 0, newTableValue);
},
deleteTable(index) {
this.model.botp.docgrdm.docgrd.splice(index, 1);
},
},
created: function () {
console.log(this.root);
}
}
</script>
<style>
.messageLabel>>>.el-form-item__label {
text-align: left;
font-weight: bold;
font-size: 12px;
}
</style>
<!-- <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-col :span="12"> <c-col :span="12">
...@@ -58,8 +338,8 @@ ...@@ -58,8 +338,8 @@
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Open Amount" prop="bodgrp.drr.pts.nam"> <el-form-item label="Name of Party" prop="bodgrp.drr.pts.nam">
<c-input v-model="model.bodgrp.drr.pts.nam" maxlength="40" placeholder="请输入Open Amount"></c-input> <c-input v-model="model.bodgrp.drr.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -115,8 +395,8 @@ ...@@ -115,8 +395,8 @@
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Starting from" prop="bodgrp.rec.matperbeg"> <el-form-item label="Start of Maturity Period MATBEG" prop="bodgrp.rec.matperbeg">
<c-select v-model="model.bodgrp.rec.matperbeg" style="width:100%" placeholder="请选择Starting from"> <c-select v-model="model.bodgrp.rec.matperbeg" style="width:100%" placeholder="请选择Start of Maturity Period MATBEG">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -177,4 +457,4 @@ export default { ...@@ -177,4 +457,4 @@ export default {
</script> </script>
<style> <style>
</style> </style> -->
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Transport Doc. Type" prop="bodgrp.rec.trpdoctyp">
<c-select v-model="model.bodgrp.rec.trpdoctyp" style="width:100%" placeholder="请选择Transport Doc. Type">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Transport Doc. Ref." prop="bodgrp.rec.trpdocnum">
<c-input v-model="model.bodgrp.rec.trpdocnum" maxlength="40" placeholder="请输入Transport Doc. Ref."></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Document Dated" prop="bodgrp.rec.tradat">
<c-date-picker type="date" v-model="model.bodgrp.rec.tradat" style="width:100%" placeholder="请选择Document Dated"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Mode of Transport" prop="bodgrp.rec.tramod">
<c-select v-model="model.bodgrp.rec.tramod" style="width:100%" placeholder="请选择Mode of Transport">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Vessel Name" prop="bodgrp.blk.vesselnam">
<c-input v-model="model.bodgrp.blk.vesselnam" maxlength="40" placeholder="请输入Vessel Name"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Shipment from" prop="bodgrp.rec.shpfro">
<c-input v-model="model.bodgrp.rec.shpfro" maxlength="40" placeholder="请输入Shipment from"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="For Transportation to" prop="bodgrp.rec.shpto">
<c-input v-model="model.bodgrp.rec.shpto" maxlength="40" placeholder="请输入For Transportation to"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Description of Goods" prop="bodgrp.blk.goddes">
<c-input type="textarea" v-model="model.bodgrp.blk.goddes" maxlength="65" show-word-limit placeholder="请输入Description of Goods" ></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/Botrad/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
...@@ -2,10 +2,23 @@ ...@@ -2,10 +2,23 @@
<div class="eibs-tab"> <div class="eibs-tab">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="XMLPanel botcoll1的内置block" prop="botcoll1blk"> <c-button size="small" type="primary" @click="onFrmcnf">
<c-input type="textarea" v-model="model.botcoll1blk" maxlength="200" show-word-limit placeholder="请输入XMLPanel botcoll1的内置block" ></c-input> &Load
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Redirect" prop="mtabut.frmloa">
<c-select v-model="model.mtabut.frmloa" style="width:100%" placeholder="请选择Redirect">
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onFrmcls">
&Close
</c-button>
</c-col>
</div> </div>
</template> </template>
<script> <script>
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Collection Instructions" prop="bodgrp.blk.colins">
<c-input type="textarea" v-model="model.bodgrp.blk.colins" maxlength="65" show-word-limit placeholder="请输入Collection Instructions" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Our Charges to" prop="bodgrp.rec.chato">
<c-select v-model="model.bodgrp.rec.chato" style="width:100%" placeholder="请选择Our Charges to">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onColinsButtxmsel">
...
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Charges Text" prop="bodgrp.blk.chgtxt">
<c-input type="textarea" v-model="model.bodgrp.blk.chgtxt" maxlength="35" show-word-limit placeholder="请输入Charges Text" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bodgrp.blk.colinsflg">Collection instructions modified</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="Draft Instructions" prop="bodgrp.blk.dftins">
<c-input type="textarea" v-model="model.bodgrp.blk.dftins" maxlength="65" show-word-limit placeholder="请输入Draft Instructions" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onDftinsButtxmsel">
...
</c-button>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bodgrp.rec.focflg">Free of Payment</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="Protest Instructions" prop="bodgrp.rec.waicolcod">
<c-select v-model="model.bodgrp.rec.waicolcod" style="width:100%" placeholder="请选择Protest Instructions">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Protest Instructions" prop="bodgrp.blk.proins">
<c-input type="textarea" v-model="model.bodgrp.blk.proins" maxlength="65" show-word-limit placeholder="请输入Protest Instructions" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onProinsButtxmsel">
...
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Waive Remitting Bank Charges" prop="bodgrp.rec.wairmtcod">
<c-select v-model="model.bodgrp.rec.wairmtcod" style="width:100%" placeholder="请选择Waive Remitting Bank Charges">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Other Instructions" prop="bodgrp.blk.othins">
<c-input type="textarea" v-model="model.bodgrp.blk.othins" maxlength="65" show-word-limit placeholder="请输入Other Instructions" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onOthins1Buttxmsel">
...
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Defer Payment until" prop="bodgrp.rec.othins">
<c-select v-model="model.bodgrp.rec.othins" style="width:100%" placeholder="请选择Defer Payment until">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Warehouse/Insurance" prop="bodgrp.rec.lescom">
<c-input v-model="model.bodgrp.rec.lescom" placeholder="请输入Warehouse/Insurance"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Delivery instructions" prop="bodgrp.blk.delins">
<c-input type="textarea" v-model="model.bodgrp.blk.delins" maxlength="65" show-word-limit placeholder="请输入Delivery instructions" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onWhinsButtxmsel">
...
</c-button>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Botrad/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="Interest Instructions" prop="bodgrp.blk.intins">
<c-input type="textarea" v-model="model.bodgrp.blk.intins" maxlength="65" show-word-limit placeholder="请输入Interest Instructions" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Settlement insrtrctions" prop="bodgrp.blk.setinsbo">
<c-input type="textarea" v-model="model.bodgrp.blk.setinsbo" maxlength="65" show-word-limit placeholder="请输入Settlement insrtrctions" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onSetinsButtxmsel">
...
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Authority of Agent" prop="bodgrp.blk.agtaut">
<c-input type="textarea" v-model="model.bodgrp.blk.agtaut" maxlength="35" show-word-limit placeholder="请输入Authority of Agent" ></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/Botrad/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">
<c-button size="small" type="primary" @click="onBotpButgetref">
Get Ref
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Responsible User" prop="botp.usr.extkey">
<c-input v-model="model.botp.usr.extkey" maxlength="8" placeholder="请输入Responsible User"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="botp.usrget.sdamod.seainf">
<c-input v-model="model.botp.usrget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bodgrp.rec.dircolflg">Direct Collection</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bodgrp.rec.resflg">Reservated Contract</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="botp.drrp.ptsget.sdamod.dadsnd">
<c-input v-model="model.botp.drrp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External Key of Address" prop="bodgrp.drr.pts.extkey">
<c-input v-model="model.bodgrp.drr.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="botp.drrp.ptsget.sdamod.seainf">
<c-input v-model="model.botp.drrp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onDrrpDet">
Details
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="名称" prop="bodgrp.drr.namelc">
<c-input type="textarea" v-model="model.bodgrp.drr.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Address Block" prop="bodgrp.drr.pts.adrblk">
<c-input type="textarea" v-model="model.bodgrp.drr.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Chinese address" prop="bodgrp.drr.dbfadrblkcn">
<c-input type="textarea" v-model="model.bodgrp.drr.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Financial Document" prop="bodgrp.rec.paydoctyp">
<c-select v-model="model.bodgrp.rec.paydoctyp" style="width:100%" placeholder="请选择Financial Document">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Shipment date" prop="bodgrp.rec.shpdat">
<c-date-picker type="date" v-model="model.bodgrp.rec.shpdat" style="width:100%" placeholder="请选择Shipment date"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="地址" prop="bodgrp.drr.adrelc">
<c-input type="textarea" v-model="model.bodgrp.drr.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Dispatched on" prop="bodgrp.rec.advdat">
<c-date-picker type="date" v-model="model.bodgrp.rec.advdat" style="width:100%" placeholder="请选择Dispatched on"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="botp.colp.ptsget.sdamod.dadsnd">
<c-input v-model="model.botp.colp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External Key of Address" prop="bodgrp.col.pts.extkey">
<c-input v-model="model.bodgrp.col.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="botp.colp.ptsget.sdamod.seainf">
<c-input v-model="model.botp.colp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onColpDet">
Details
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Maturity Date" prop="bodgrp.rec.matdat">
<c-date-picker type="date" v-model="model.bodgrp.rec.matdat" style="width:100%" placeholder="请选择Maturity Date"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Maturity Date" prop="bodgrp.rec.invtyp">
<c-select v-model="model.bodgrp.rec.invtyp" style="width:100%" placeholder="请选择Maturity Date">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="名称" prop="bodgrp.col.namelc">
<c-input type="textarea" v-model="model.bodgrp.col.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Address Block" prop="bodgrp.col.pts.adrblk">
<c-input type="textarea" v-model="model.bodgrp.col.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Chinese address" prop="bodgrp.col.dbfadrblkcn">
<c-input type="textarea" v-model="model.bodgrp.col.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Document Number" prop="bodgrp.rec.paydocnum">
<c-input v-model="model.bodgrp.rec.paydocnum" maxlength="16" placeholder="请输入Document Number"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="地址" prop="bodgrp.col.adrelc">
<c-input type="textarea" v-model="model.bodgrp.col.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Issued on" prop="bodgrp.rec.issdat">
<c-date-picker type="date" v-model="model.bodgrp.rec.issdat" style="width:100%" placeholder="请选择Issued on"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bodgrp.rec.ccdndrflg">Truncation - Physical Document Kept w OWN</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="Tenor Details Text" prop="bodgrp.blk.bogdet">
<c-input type="textarea" v-model="model.bodgrp.blk.bogdet" maxlength="43" show-word-limit placeholder="请输入Tenor Details Text" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bodgrp.rec.ccdpurflg">Payment Under Reserve</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="Instructions Received" prop="bodgrp.blk.cctinsrcv">
<c-input type="textarea" v-model="model.bodgrp.blk.cctinsrcv" maxlength="35" show-word-limit placeholder="请输入Instructions Received" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="botp.drep.ptsget.sdamod.dadsnd">
<c-input v-model="model.botp.drep.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External Key of Address" prop="bodgrp.dre.pts.extkey">
<c-input v-model="model.bodgrp.dre.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="botp.drep.ptsget.sdamod.seainf">
<c-input v-model="model.botp.drep.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onDrepDet">
Details
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="名称" prop="bodgrp.dre.namelc">
<c-input type="textarea" v-model="model.bodgrp.dre.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Address Block" prop="bodgrp.dre.pts.adrblk">
<c-input type="textarea" v-model="model.bodgrp.dre.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Chinese address" prop="bodgrp.dre.dbfadrblkcn">
<c-input type="textarea" v-model="model.bodgrp.dre.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="地址" prop="bodgrp.dre.adrelc">
<c-input type="textarea" v-model="model.bodgrp.dre.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Collection Instruction" prop="bodgrp.blk.cctinscol">
<c-input type="textarea" v-model="model.bodgrp.blk.cctinscol" maxlength="35" show-word-limit placeholder="请输入Collection Instruction" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Country Code Risk Country!" prop="bodgrp.rec.stacty">
<c-select v-model="model.bodgrp.rec.stacty" style="width:100%" placeholder="请选择Country Code Risk Country!">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Goods Code" prop="bodgrp.rec.stagod">
<c-select v-model="model.bodgrp.rec.stagod" style="width:100%" placeholder="请选择Goods Code">
</c-select>
</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/Botrad/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Botrad/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"> <c-row>
<c-col :span="11">
<c-col :span="24"> <c-ptap
<div class="e-table-wrapper"> :model="model"
<el-table :argadr="{
:data="model.botp.ptsaddp.ptsaddg" title: 'Drawer',
style="width: 100%" grp: 'bodgrp',
> rol: 'drr',
<el-table-column }"
prop="rol" :disabledRef="false"
label="角色" :disabledExtkey="true"
sortable :disabled="true"
width="100"> @onSeainf="onSeainf"
</el-table-column> @onAplpDet="onBenpDet"
<el-table-column >
prop="ptyextkey" </c-ptap>
label="机构"
sortable <c-ptap
width="100"> :model="model"
</el-table-column> :argadr="{
<el-table-column title: 'Drawee',
prop="nam" grp: 'bodgrp',
label="" rol: 'dre',
sortable }"
width="100"> :disabledRef="true"
</el-table-column> :disabledExtkey="true"
<el-table-column :disabled="true"
prop="ref" @onSeainf="onSeainf"
label="名称" @onAplpDet="onBenpDet"
sortable >
width="100"> </c-ptap>
</el-table-column> </c-col>
</el-table> <c-col :span="11" :offset="1">
<el-pagination <c-ptap
layout="prev, pager, next" :model="model"
:total="pager.botp_ptsaddp_ptsaddg.total"> :argadr="{
</el-pagination> title: 'Collecting Bank',
</div> grp: 'bodgrp',
</c-col> rol: 'col',
</div> }"
:disabledRef="true"
:disabledExtkey="true"
:disabled="true"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
>
</c-ptap>
</c-col>
<c-col :span="24">
<c-edit-table :model="model" v-bind="ptsaddg" >
<el-table-column label="操作" text-align="center">
<template slot-scope="scope">
<el-button
size="mini"
@click="handleEdit(scope.$index, scope.row)"
type="primary"
>详情</el-button
>
</template>
</el-table-column>
</c-edit-table>
</c-col>
</c-row>
</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/Botrad/Event" import Event from "~/model/Botdcr/Event"
import Utils from "~/utils";
import Ptap from "~/views/Public/Ptap";
export default { export default {
components: { "c-ptap": Ptap },
inject: ['root'], inject: ['root'],
props:["model","codes"], props:["model","codes"],
mixins: [commonProcess], mixins: [commonProcess],
data(){ data(){
return { return {
ptsaddg: {
columns: [
{
title: "角色",
width: "120px",
dataIndex: "rol",
show: "select",
code: [
{ label: "1st Third Party", value: "TP1" },
{ label: "2nd Third Party", value: "TP2" },
]
},
{
title: "机构实体",
width: "180px",
dataIndex: "ptyextkey",
show: "input",
},
{
title: "名称",
width: "300px",
dataIndex: "nam",
},
{
title: "参考地址",
width: "300px",
dataIndex: "ref",
},
],
urls: "botp.ptsaddp.ptsaddg",
},
} }
}, },
methods:{...Event}, methods:{...Event},
created:function(){ created:function(){
onsole.log(this.root);
} }
} }
</script> </script>
<style> <style>
</style> </style>
<template> <template>
<div class="eContainer"> <c-page title="出口托收二次寄单">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false"> <div class="eContainer">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> <c-function-btn :handleSubmit="handleSubmit" :handleCheck="handleCheck" :handleStash="handleStash">
<el-button size="small">备忘录</el-button>
<!--PD000015 --> <el-button size="small">影像信息</el-button>
<el-tab-pane label="PD000015" name="botrad"> <el-button size="small">保存模板</el-button>
<m-botrad :model="model" :codes="codes"/> <el-button size="small">使用模板</el-button>
</el-tab-pane> <el-button size="small">制裁信息</el-button>
<el-button size="small">拆分报文</el-button>
<!--PD000018 --> <el-button size="small">智能提示</el-button>
<el-tab-pane label="PD000018" name="botcoll1"> </c-function-btn>
<m-botcoll1 :model="model" :codes="codes"/> <el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right"
</el-tab-pane> size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000019 -->
<el-tab-pane label="PD000019" name="botdrrl1"> <!--PD000015 -->
<m-botdrrl1 :model="model" :codes="codes"/> <el-tab-pane label="Overview" name="botrad1">
</el-tab-pane> <m-botrad1 :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000021 -->
<el-tab-pane label="PD000021" name="botcoll2"> <!--PD000266 -->
<m-botcoll2 :model="model" :codes="codes"/> <el-tab-pane label="Party" name="ptyp">
</el-tab-pane> <m-ptyp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000015 -->
<el-tab-pane label="PD000015" name="detp"> <!-- PD000207
<m-detp :model="model" :codes="codes"/> <el-tab-pane label="PD000207" name="frmloapan">
</el-tab-pane> <m-frmloapan :model="model" :codes="codes"/>
</el-tab-pane> -->
<!--PD000049 -->
<el-tab-pane label="PD000049" name="inst"> <el-tab-pane label="Liability" name="engp">
<m-inst :model="model" :codes="codes"/> <m-engp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000262 --> <!--PD000000 -->
<el-tab-pane label="PD000262" name="ovwp"> <el-tab-pane label="Settlement" name="setpan">
<m-ovwp :model="model" :codes="codes"/> <m-setpan :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000266 --> <!--PD000000 -->
<el-tab-pane label="PD000266" name="ptyp"> <el-tab-pane label="Completion" name="coninfp">
<m-ptyp :model="model" :codes="codes"/> <m-coninfp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000280 --> <!--PD000529 -->
<el-tab-pane label="PD000280" name="instrecp"> <el-tab-pane label="Messages" name="docpan">
<m-instrecp :model="model" :codes="codes"/> <m-docpan :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000059 --> <!--PD000546 -->
<el-tab-pane label="PD000059" name="ptsp150"> <el-tab-pane label="Attachments" name="doctre">
<m-ptsp150 :model="model" :codes="codes"/> <m-doctre :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
</div> </div>
</c-page>
</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 Botrad from "~/model/Botrad" import commonFuncs from "~/mixin/commonFuncs";
import Botrad from "~/model/Botrad"
import commonProcess from "~/mixin/commonProcess" import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Botrad/Check" import Check from "~/model/Botrad/Check"
import Default from "~/model/Botrad/Default" import Default from "~/model/Botrad/Default"
import Engp from "~/views/Public/Engp"
import Setpan from "~/views/Public/Setpan"
import Pattern from "~/model/Botrad/Pattern" import Pattern from "~/model/Botrad/Pattern"
import Botrad from "./Botrad" import Coninfp from "~/views/Public/Coninfp"
import Botcoll1 from "./Botcoll1" import Docpan from "~/views/Public/Docpan"
import Botdrrl1 from "./Botdrrl1" import Doctre from "~/views/Public/Doctre"
import Botcoll2 from "./Botcoll2" import Botrad1 from "./Botrad"
import Detp from "./Detp"
import Inst from "./Inst"
import Ovwp from "./Ovwp"
import Ptyp from "./Ptyp" import Ptyp from "./Ptyp"
import Instrecp from "./Instrecp" // import Frmloapan from "./Frmloapan"
import Ptsp150 from "./Ptsp150"
export default { export default {
name: "Botrad", name: "Botrad",
components:{ components: {
"m-botrad" : Botrad, "m-botrad1": Botrad1,
"m-botcoll1" : Botcoll1, "m-ptyp": Ptyp,
"m-botdrrl1" : Botdrrl1, // "m-frmloapan": Frmloapan,
"m-botcoll2" : Botcoll2, "m-setpan": Setpan,
"m-detp" : Detp, "m-coninfp": Coninfp,
"m-inst" : Inst, "m-engp": Engp,
"m-ovwp" : Ovwp, "m-docpan": Docpan,
"m-ptyp" : Ptyp, "m-doctre": Doctre,
"m-instrecp" : Instrecp,
"m-ptsp150" : Ptsp150,
}, },
provide() { provide() {
return { return {
root: this root: this
} }
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){ data() {
return { return {
tabVal: "", tabVal: "botrad1",
trnName: "botrad", trnName: "botrad",
model: new Botrad().data, model: new Botrad().data,
checkRules: Check, checkRules: Check,
...@@ -106,33 +104,34 @@ export default { ...@@ -106,33 +104,34 @@ export default {
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
codes: { codes: {
...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("进入botrad交易"); console.log("进入botrad交易");
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 处理数据逻辑 if (this.isInDisplay) {
this.restoreDisplay();
}
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
} }
} }
</script> </script>
<style> <style>
</style> </style>
<template>
<ReviewWrapper>
<Bdtdcr></Bdtdcr>
</ReviewWrapper>
</template>
<script>
import Bdtdcr from "~/views/Business/Bdtdcr";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewBdtdcr",
components: { ReviewWrapper, Bdtdcr },
created() {},
mounted() {},
};
</script>
<style></style>
<template>
<ReviewWrapper>
<Bdteus></Bdteus>
</ReviewWrapper>
</template>
<script>
import Bdteus from "~/views/Business/Bdteus";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewBdteus",
components: { ReviewWrapper, Bdteus },
created() {},
mounted() {},
};
</script>
<style></style>
...@@ -9,6 +9,8 @@ import ReviewDetdrv from "./Business/ReviewDetdrv.vue"; ...@@ -9,6 +9,8 @@ import ReviewDetdrv from "./Business/ReviewDetdrv.vue";
import ReviewBdtdck from "./Business/ReviewBdtdck.vue"; import ReviewBdtdck from "./Business/ReviewBdtdck.vue";
import ReviewBotdav from "./Business/ReviewBotdav.vue"; import ReviewBotdav from "./Business/ReviewBotdav.vue";
import ReviewLetnot from "./Business/ReviewLetnot.vue"; import ReviewLetnot from "./Business/ReviewLetnot.vue";
import ReviewBdtdcr from "./Business/ReviewBdtdcr.vue";
import ReviewBdteus from "./Business/ReviewBdteus.vue";
const ReviewRouter = [ const ReviewRouter = [
{ path: "ditopn", component: ReviewDitopn, name: "ReviewDitopn", meta: { title: "复核-买方信用证开立" } }, { path: "ditopn", component: ReviewDitopn, name: "ReviewDitopn", meta: { title: "复核-买方信用证开立" } },
...@@ -19,8 +21,10 @@ const ReviewRouter = [ ...@@ -19,8 +21,10 @@ const ReviewRouter = [
{ path: "getset", component: ReviewGetset, name: "ReviewGetset", meta: { title: "复核-Getset" } }, { path: "getset", component: ReviewGetset, name: "ReviewGetset", meta: { title: "复核-Getset" } },
{ path: "detopn", component: ReviewDetopn, name: "ReviewDetopn", meta: { title: "复核-Detopn" } }, { path: "detopn", component: ReviewDetopn, name: "ReviewDetopn", meta: { title: "复核-Detopn" } },
{ path: "detdrv", component: ReviewDetdrv, name: "ReviewDetdrv", meta: { title: "复核-Detdrv" } }, { path: "detdrv", component: ReviewDetdrv, name: "ReviewDetdrv", meta: { title: "复核-Detdrv" } },
{ path: "bdtdcr", component: ReviewBdtdcr, name: "ReviewBdtdcr", meta: { title: "复核-Bdtdcr" } },
{ path: "bdteus", component: ReviewBdteus, name: "ReviewBdteus", meta: { title: "复核-Bdteus" } },
{ path: "bdtdck", component: ReviewBdtdck, name: "ReviewBdtdck", meta: { title: "复核-Bdtdck" } }, { path: "bdtdck", component: ReviewBdtdck, name: "ReviewBdtdck", meta: { title: "复核-Bdtdck" } },
{ path: "botdav", component: ReviewBotdav, name: "ReviewBotdav", meta: { title: "复核-botdav" } }, { path: "botdav", component: ReviewBotdav, name: "ReviewBotdav", meta: { title: "复核-botdav" } },
{ path: "letnot", component: ReviewLetnot, name: "ReviewLetnot", meta: { title: "复核-Letnot" } }, { path: "letnot", component: ReviewLetnot, name: "ReviewLetnot", meta: { title: "复核-Letnot" } },
]; ];
......
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