Commit c7cc3267 by wangyanjiao

botdav&botdcr&botrad

parent 2cb88c13
......@@ -129,7 +129,8 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"bodgrp.rec.matpercnt":[
{type: "number", required: true, message: "必输项"}
{type: "number" ,required: true, message: "必输项"},
{type: "number" ,max: 999,message:"长度不能超过3"}
],
"bodgrp.rec.paydocnum":[
{type: "string", required: false, message: "必输项"},
......@@ -201,7 +202,7 @@ export default {
"bodgrp.blk.chgtxt":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
......
......@@ -78,7 +78,7 @@ export default {
],
"bodgrp.blk.resrej":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
......@@ -89,7 +89,7 @@ export default {
"bodgrp.blk.chgtxt":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
......
......@@ -2,173 +2,173 @@ import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "../Public"
export default class Botdcr{
constructor () {
this.data = {
botdrrl1blk:"",
botdrrl2blk:"",
botcoll1blk:"",
export default class Botdcr {
constructor() {
this.data = {
botdrrl1blk: "",
botdrrl2blk: "",
botcoll1blk: "",
liaall: new Pub().data.Liaall,
bodgrp:{
rec:{
matpertyp:"", // Days/Months or Years for Maturity Period .bodgrp.rec.matpertyp
ownref:"", // Reference .bodgrp.rec.ownref
nam:"", // Name .bodgrp.rec.nam
doctypcod:"", // Collection Condition .bodgrp.rec.doctypcod
docsta:"", // Document Set Status .bodgrp.rec.docsta
matdat:"", // Maturity Date .bodgrp.rec.matdat
matpercnt:"", // Tenor Specification .bodgrp.rec.matpercnt
matperbeg:"", // Start of Maturity Period MATBEG .bodgrp.rec.matperbeg
rcvdat:"", // Order Date .bodgrp.rec.rcvdat
predat:"", // Presentation Date .bodgrp.rec.predat
chato:"", // Our Charges to .bodgrp.rec.chato
focflg:"", // Free of Payment .bodgrp.rec.focflg
waicolcod:"", // Protest Instructions .bodgrp.rec.waicolcod
wairmtcod:"", // Waive Remitting Bank Charges .bodgrp.rec.wairmtcod
othins:"", // Defer Payment until .bodgrp.rec.othins
lescom:"", // Warehouse/Insurance .bodgrp.rec.lescom
},
cbs:{
max:{
cur:"", // Document Amount .bodgrp.cbs.max.cur
amt:"", // Document Amount .bodgrp.cbs.max.amt
},
opn1:{
cur:"", // Warehouse/Insurance .bodgrp.cbs.opn1.cur
amt:"", // Open Amount .bodgrp.cbs.opn1.amt
},
},
drr:{
pts:new Pts().data,
namelc:"", // 名称 .bodgrp.drr.namelc
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:{
resrej:"", // Reason for Non-Payment/Non-Acceptance .bodgrp.blk.resrej
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
},
bodgrp: {
rec: {
matpertyp: "", // Days/Months or Years for Maturity Period .bodgrp.rec.matpertyp
ownref: "", // Reference .bodgrp.rec.ownref
nam: "", // Name .bodgrp.rec.nam
doctypcod: "", // Collection Condition .bodgrp.rec.doctypcod
docsta: "", // Document Set Status .bodgrp.rec.docsta
matdat: "", // Maturity Date .bodgrp.rec.matdat
matpercnt: "", // Tenor Specification .bodgrp.rec.matpercnt
matperbeg: "", // Start of Maturity Period MATBEG .bodgrp.rec.matperbeg
rcvdat: "", // Order Date .bodgrp.rec.rcvdat
predat: "", // Presentation Date .bodgrp.rec.predat
chato: "", // Our Charges to .bodgrp.rec.chato
focflg: "", // Free of Payment .bodgrp.rec.focflg
waicolcod: "", // Protest Instructions .bodgrp.rec.waicolcod
wairmtcod: "", // Waive Remitting Bank Charges .bodgrp.rec.wairmtcod
othins: "", // Defer Payment until .bodgrp.rec.othins
lescom: "", // Warehouse/Insurance .bodgrp.rec.lescom
},
cbs: {
max: {
cur: "", // Document Amount .bodgrp.cbs.max.cur
amt: "", // Document Amount .bodgrp.cbs.max.amt
},
opn1: {
cur: "", // Warehouse/Insurance .bodgrp.cbs.opn1.cur
amt: "", // Open Amount .bodgrp.cbs.opn1.amt
},
},
drr: {
pts: new Pts().data,
namelc: "", // 名称 .bodgrp.drr.namelc
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: {
resrej: "", // Reason for Non-Payment/Non-Acceptance .bodgrp.blk.resrej
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
},
},
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:{
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
},
},
},
ptsaddp:{
ptsaddg:[], // .botp.ptsaddp.ptsaddg
},
},
},
ptsaddp: {
ptsaddg: [], // .botp.ptsaddp.ptsaddg
},
},
rejtypsel: "", // .rejtypsel
mtabut: {
clsflg: "", // Close Flag .mtabut.clsflg
coninf: {
oitinf: {
labinftxt: "", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
oit: {
inftxt: "", // Infotext .mtabut.coninf.oitinf.oit.inftxt
inflev: "", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
},
rejtypsel:"", // .rejtypsel
mtabut:{
clsflg:"", // Close Flag .mtabut.clsflg
coninf:{
oitinf:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitinf.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
},
},
oitset:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitset.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitset.oit.inflev
},
},
conexedat:"", // 执行日期 .mtabut.coninf.conexedat
usr:{
extkey:"", // User ID .mtabut.coninf.usr.extkey
},
},
},
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
},
// setmod:{
// docamttyplab:"", // settled amount description as label .setmod.docamttyplab
// retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
// ref:"", // our reference .setmod.ref
// doccur:"", // document currency .setmod.doccur
// docamt:"", // document amount .setmod.docamt
// dspflg:"", // Type of settlement .setmod.dspflg
// xreflg:"", // Recalculate Rates .setmod.xreflg
// setglg:{
// labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg
// },
// zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
// zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
// },
// trnmod:{
// trndoc:{
// advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel
// amdnam:"", // AMDNAM .trnmod.trndoc.amdnam
// advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc
// advnam:"", // 国内证落款 .trnmod.trndoc.advnam
// amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl
// doclbl:"", // Lable for CONDOCSTM .trnmod.trndoc.doclbl
// doctrestm:"", // Document tree .trnmod.trndoc.doctrestm
// shwinc:"", // Show Incoming Messages .trnmod.trndoc.shwinc
// shwout:"", // Show Outgoing Messages .trnmod.trndoc.shwout
// condocstm:"", // Connected Documents .trnmod.trndoc.condocstm
// rcvatt:{
// seainf:"", // .trnmod.trndoc.rcvatt.seainf
// },
// filrecv:"", // File Receiver .trnmod.trndoc.filrecv
// },
// },
setmod: new Pub().data.Setmod,
trnmod: new Pub().data.Trnmod,
pageId: "" // ctx的key
}
}
},
conexedat: "", // 执行日期 .mtabut.coninf.conexedat
usr: {
extkey: "", // User ID .mtabut.coninf.usr.extkey
},
},
},
// setmod:{
// docamttyplab:"", // settled amount description as label .setmod.docamttyplab
// retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
// ref:"", // our reference .setmod.ref
// doccur:"", // document currency .setmod.doccur
// docamt:"", // document amount .setmod.docamt
// dspflg:"", // Type of settlement .setmod.dspflg
// xreflg:"", // Recalculate Rates .setmod.xreflg
// setglg:{
// labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg
// },
// zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
// zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
// },
// trnmod:{
// trndoc:{
// advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel
// amdnam:"", // AMDNAM .trnmod.trndoc.amdnam
// advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc
// advnam:"", // 国内证落款 .trnmod.trndoc.advnam
// amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl
// doclbl:"", // Lable for CONDOCSTM .trnmod.trndoc.doclbl
// doctrestm:"", // Document tree .trnmod.trndoc.doctrestm
// shwinc:"", // Show Incoming Messages .trnmod.trndoc.shwinc
// shwout:"", // Show Outgoing Messages .trnmod.trndoc.shwout
// condocstm:"", // Connected Documents .trnmod.trndoc.condocstm
// rcvatt:{
// seainf:"", // .trnmod.trndoc.rcvatt.seainf
// },
// filrecv:"", // File Receiver .trnmod.trndoc.filrecv
// },
// },
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 {
],
"bodgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -27,7 +27,7 @@ export default {
],
"bodgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -53,8 +53,7 @@ export default {
{type: "date", required: false, message: "输入正确的日期"}
],
"bodgrp.rec.matpercnt":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
{type: "number", required: false, message: "必输项"},
],
"bodgrp.dre.pts.ref":[
......@@ -73,7 +72,7 @@ export default {
{type: "date", required: false, message: "输入正确的日期"}
],
"bodgrp.blk.colinssnm":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
......
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "../Public"
export default class Botrad{
constructor () {
this.data = {
bodgrp:{
rec:{
matpertyp:"", // Days/Months or Years for Maturity Period .bodgrp.rec.matpertyp
ownref:"", // Reference .bodgrp.rec.ownref
nam:"", // Name .bodgrp.rec.nam
doctypcod:"", // Collection Condition .bodgrp.rec.doctypcod
docsta:"", // Document Set Status .bodgrp.rec.docsta
matdat:"", // Maturity Date .bodgrp.rec.matdat
matpercnt:"", // Tenor Specification .bodgrp.rec.matpercnt
matperbeg:"", // Starting from .bodgrp.rec.matperbeg
rcvdat:"", // Order Date .bodgrp.rec.rcvdat
predat:"", // Presentation Date .bodgrp.rec.predat
trpdoctyp:"", // Transport Doc. Type .bodgrp.rec.trpdoctyp
trpdocnum:"", // Transport Doc. Ref. .bodgrp.rec.trpdocnum
tradat:"", // Document Dated .bodgrp.rec.tradat
tramod:"", // Mode of Transport .bodgrp.rec.tramod
shpfro:"", // Shipment from .bodgrp.rec.shpfro
shpto:"", // For Transportation to .bodgrp.rec.shpto
chato:"", // Our Charges to .bodgrp.rec.chato
focflg:"", // Free of Payment .bodgrp.rec.focflg
waicolcod:"", // Protest Instructions .bodgrp.rec.waicolcod
wairmtcod:"", // Waive Remitting Bank Charges .bodgrp.rec.wairmtcod
othins:"", // Defer Payment until .bodgrp.rec.othins
lescom:"", // Warehouse/Insurance .bodgrp.rec.lescom
dircolflg:"", // Direct Collection .bodgrp.rec.dircolflg
resflg:"", // Reservated Contract .bodgrp.rec.resflg
shpdat:"", // Shipment date .bodgrp.rec.shpdat
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
paydocnum:"", // Document Number .bodgrp.rec.paydocnum
issdat:"", // Issued on .bodgrp.rec.issdat
ccdndrflg:"", // Truncation - Physical Document Kept w OWN .bodgrp.rec.ccdndrflg
ccdpurflg:"", // Payment Under Reserve .bodgrp.rec.ccdpurflg
},
cbs:{
max:{
cur:"", // Document Amount .bodgrp.cbs.max.cur
amt:"", // Document Amount .bodgrp.cbs.max.amt
},
opn1:{
cur:"", // Open Amount .bodgrp.cbs.opn1.cur
amt:"", // Open Amount .bodgrp.cbs.opn1.amt
},
},
drr:{
pts:new Pts().data,
namelc:"", // 名称 .bodgrp.drr.namelc
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
},
export default class Botrad {
constructor() {
this.data = {
botdrrl1blk: "",
botdrrl2blk: "",
botcoll1blk: "",
liaall: new Pub().data.Liaall,
setmod: new Pub().data.Setmod,
trnmod: new Pub().data.Trnmod,
mtabut: {
clsflg: "", // Close Flag .mtabut.clsflg
coninf: {
oitinf: {
labinftxt: "", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
oit: {
inftxt: "", // Infotext .mtabut.coninf.oitinf.oit.inftxt
inflev: "", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
},
},
oitset: {
labinftxt: "", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
oit: {
inftxt: "", // Infotext .mtabut.coninf.oitset.oit.inftxt
inflev: "", // Infotext Level .mtabut.coninf.oitset.oit.inflev
},
},
conexedat: "", // 执行日期 .mtabut.coninf.conexedat
usr: {
extkey: "", // User ID .mtabut.coninf.usr.extkey
},
},
},
bodgrp: {
rec: {
matpertyp: "", // Days/Months or Years for Maturity Period .bodgrp.rec.matpertyp
ownref: "", // Reference .bodgrp.rec.ownref
nam: "", // Name .bodgrp.rec.nam
doctypcod: "", // Collection Condition .bodgrp.rec.doctypcod
docsta: "", // Document Set Status .bodgrp.rec.docsta
matdat: "", // Maturity Date .bodgrp.rec.matdat
matpercnt: "", // Tenor Specification .bodgrp.rec.matpercnt
matperbeg: "", // Starting from .bodgrp.rec.matperbeg
rcvdat: "", // Order Date .bodgrp.rec.rcvdat
predat: "", // Presentation Date .bodgrp.rec.predat
trpdoctyp: "", // Transport Doc. Type .bodgrp.rec.trpdoctyp
trpdocnum: "", // Transport Doc. Ref. .bodgrp.rec.trpdocnum
tradat: "", // Document Dated .bodgrp.rec.tradat
tramod: "", // Mode of Transport .bodgrp.rec.tramod
shpfro: "", // Shipment from .bodgrp.rec.shpfro
shpto: "", // For Transportation to .bodgrp.rec.shpto
chato: "", // Our Charges to .bodgrp.rec.chato
focflg: "", // Free of Payment .bodgrp.rec.focflg
waicolcod: "", // Protest Instructions .bodgrp.rec.waicolcod
wairmtcod: "", // Waive Remitting Bank Charges .bodgrp.rec.wairmtcod
othins: "", // Defer Payment until .bodgrp.rec.othins
lescom: "", // Warehouse/Insurance .bodgrp.rec.lescom
dircolflg: "", // Direct Collection .bodgrp.rec.dircolflg
resflg: "", // Reservated Contract .bodgrp.rec.resflg
shpdat: "", // Shipment date .bodgrp.rec.shpdat
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
paydocnum: "", // Document Number .bodgrp.rec.paydocnum
issdat: "", // Issued on .bodgrp.rec.issdat
ccdndrflg: "", // Truncation - Physical Document Kept w OWN .bodgrp.rec.ccdndrflg
ccdpurflg: "", // Payment Under Reserve .bodgrp.rec.ccdpurflg
},
cbs: {
max: {
cur: "", // Document Amount .bodgrp.cbs.max.cur
amt: "", // Document Amount .bodgrp.cbs.max.amt
},
opn1: {
cur: "", // Open Amount .bodgrp.cbs.opn1.cur
amt: "", // Open Amount .bodgrp.cbs.opn1.amt
},
},
drr: {
pts: new Pts().data,
namelc: "", // 名称 .bodgrp.drr.namelc
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:{
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
},
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
},
},
},
drep: {
ptsget: {
sdamod: {
seainf: "", // .botp.drep.ptsget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .botp.drep.ptsget.sdamod.dadsnd
},
oridre:"", // Original Documents Passed to Drawee .oridre
botcoll1blk:"", // XMLPanel botcoll1的内置block .botcoll1blk
botdrrl1blk:"", // XMLPanel botdrrl1的内置block .botdrrl1blk
botcoll2blk:"", // XMLPanel botcoll2的内置block .botcoll2blk
pageId: "" // ctx的key
}
}
},
},
ptsaddp: {
ptsaddg: [], // .botp.ptsaddp.ptsaddg
},
},
oridre: "", // Original Documents Passed to Drawee .oridre
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
......@@ -26,9 +26,9 @@
</c-col>
<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表"
:code="codes.libflg" :disabled="true">
:code="codes.libflg" :disabled="model.bodgrp.cbs.max.cur != 'CNY'">
</c-select>
</el-form-item>
</c-col>
......
......@@ -193,7 +193,7 @@
<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"
:code="codes.chato">
:code="codes.chadet">
</c-select>
......@@ -309,7 +309,7 @@
<c-col :span="12">
<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">
</c-select>
......
......@@ -122,7 +122,7 @@
<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"
<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>
</el-form-item>
</c-col>
......
......@@ -187,7 +187,7 @@
</template>
</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">
<c-input v-model="scope.row.cmail2" :disabled="model.rejtypsel != 'R'"></c-input>
</template>
......@@ -234,7 +234,6 @@ export default {
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" },
......
......@@ -214,8 +214,8 @@
<c-col :span="24" style="width:100%">
<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
placeholder="请输入Charges Text"></c-input disabled>
<c-input type="textarea" v-model="model.bodgrp.blk.chgtxt" maxlength="35" show-word-limit disabled
placeholder="请输入Charges Text"></c-input >
</el-form-item>
......
......@@ -44,6 +44,11 @@
<m-setpan :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="Bookings" name="glepan">
<!--PD000001 -->
<m-glepan :model="model" :codes="codes" ref="glepan" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
......@@ -79,6 +84,7 @@ import Ptyp from "./Ptyp"
import Setpan from "~/views/Public/Setpan"
import Coninfp from "~/views/Public/Coninfp"
import Docpan from "~/views/Public/Docpan"
import Glepan from "~/views/Public/Glepan"
import Doctre from "~/views/Public/Doctre"
......@@ -88,6 +94,7 @@ export default {
"m-botdcrp1": Botdcrp1,
"m-inst": Inst,
"m-ptyp": Ptyp,
"m-glepan": Glepan,
"m-setpan": Setpan,
"m-coninfp": Coninfp,
"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>
<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">
<c-col :span="12">
......@@ -58,8 +338,8 @@
</c-col>
<c-col :span="12">
<el-form-item label="Open Amount" prop="bodgrp.drr.pts.nam">
<c-input v-model="model.bodgrp.drr.pts.nam" maxlength="40" placeholder="请输入Open Amount"></c-input>
<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"></c-input>
</el-form-item>
</c-col>
......@@ -115,8 +395,8 @@
</c-col>
<c-col :span="12">
<el-form-item label="Starting from" prop="bodgrp.rec.matperbeg">
<c-select v-model="model.bodgrp.rec.matperbeg" style="width:100%" placeholder="请选择Starting from">
<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="请选择Start of Maturity Period MATBEG">
</c-select>
</el-form-item>
</c-col>
......@@ -177,4 +457,4 @@ export default {
</script>
<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 @@
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="XMLPanel botcoll1的内置block" prop="botcoll1blk">
<c-input type="textarea" v-model="model.botcoll1blk" maxlength="200" show-word-limit placeholder="请输入XMLPanel botcoll1的内置block" ></c-input>
<c-button size="small" type="primary" @click="onFrmcnf">
&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>
</c-col>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onFrmcls">
&Close
</c-button>
</c-col>
</div>
</template>
<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>
<div class="eibs-tab">
<c-col :span="24">
<div class="e-table-wrapper">
<el-table
:data="model.botp.ptsaddp.ptsaddg"
style="width: 100%"
>
<el-table-column
prop="rol"
label="角色"
sortable
width="100">
</el-table-column>
<el-table-column
prop="ptyextkey"
label="机构"
sortable
width="100">
</el-table-column>
<el-table-column
prop="nam"
label=""
sortable
width="100">
</el-table-column>
<el-table-column
prop="ref"
label="名称"
sortable
width="100">
</el-table-column>
</el-table>
<el-pagination
layout="prev, pager, next"
:total="pager.botp_ptsaddp_ptsaddg.total">
</el-pagination>
</div>
</c-col>
</div>
<c-row>
<c-col :span="11">
<c-ptap
:model="model"
:argadr="{
title: 'Drawer',
grp: 'bodgrp',
rol: 'drr',
}"
:disabledRef="false"
:disabledExtkey="true"
:disabled="true"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
>
</c-ptap>
<c-ptap
:model="model"
:argadr="{
title: 'Drawee',
grp: 'bodgrp',
rol: 'dre',
}"
:disabledRef="true"
:disabledExtkey="true"
:disabled="true"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
>
</c-ptap>
</c-col>
<c-col :span="11" :offset="1">
<c-ptap
:model="model"
:argadr="{
title: 'Collecting Bank',
grp: 'bodgrp',
rol: 'col',
}"
: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>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
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 {
components: { "c-ptap": Ptap },
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
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},
created:function(){
onsole.log(this.root);
}
}
</script>
<style>
</style>
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000015 -->
<el-tab-pane label="PD000015" name="botrad">
<m-botrad :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000018 -->
<el-tab-pane label="PD000018" name="botcoll1">
<m-botcoll1 :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000019 -->
<el-tab-pane label="PD000019" name="botdrrl1">
<m-botdrrl1 :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000021 -->
<el-tab-pane label="PD000021" name="botcoll2">
<m-botcoll2 :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000015 -->
<el-tab-pane label="PD000015" name="detp">
<m-detp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000049 -->
<el-tab-pane label="PD000049" name="inst">
<m-inst :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000262 -->
<el-tab-pane label="PD000262" name="ovwp">
<m-ovwp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000266 -->
<el-tab-pane label="PD000266" name="ptyp">
<m-ptyp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000280 -->
<el-tab-pane label="PD000280" name="instrecp">
<m-instrecp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000059 -->
<el-tab-pane label="PD000059" name="ptsp150">
<m-ptsp150 :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
<c-page title="出口托收二次寄单">
<div class="eContainer">
<c-function-btn :handleSubmit="handleSubmit" :handleCheck="handleCheck" :handleStash="handleStash">
<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="tabClick">
<!--PD000015 -->
<el-tab-pane label="Overview" name="botrad1">
<m-botrad1 :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000266 -->
<el-tab-pane label="Party" name="ptyp">
<m-ptyp :model="model" :codes="codes" />
</el-tab-pane>
<!-- PD000207
<el-tab-pane label="PD000207" name="frmloapan">
<m-frmloapan :model="model" :codes="codes"/>
</el-tab-pane> -->
<el-tab-pane label="Liability" name="engp">
<m-engp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Settlement" name="setpan">
<m-setpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="Messages" name="docpan">
<m-docpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</c-page>
</template>
<script>
import Api from "~/service/Api"
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 Check from "~/model/Botrad/Check"
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 Botrad from "./Botrad"
import Botcoll1 from "./Botcoll1"
import Botdrrl1 from "./Botdrrl1"
import Botcoll2 from "./Botcoll2"
import Detp from "./Detp"
import Inst from "./Inst"
import Ovwp from "./Ovwp"
import Coninfp from "~/views/Public/Coninfp"
import Docpan from "~/views/Public/Docpan"
import Doctre from "~/views/Public/Doctre"
import Botrad1 from "./Botrad"
import Ptyp from "./Ptyp"
import Instrecp from "./Instrecp"
import Ptsp150 from "./Ptsp150"
// import Frmloapan from "./Frmloapan"
export default {
name: "Botrad",
components:{
"m-botrad" : Botrad,
"m-botcoll1" : Botcoll1,
"m-botdrrl1" : Botdrrl1,
"m-botcoll2" : Botcoll2,
"m-detp" : Detp,
"m-inst" : Inst,
"m-ovwp" : Ovwp,
"m-ptyp" : Ptyp,
"m-instrecp" : Instrecp,
"m-ptsp150" : Ptsp150,
components: {
"m-botrad1": Botrad1,
"m-ptyp": Ptyp,
// "m-frmloapan": Frmloapan,
"m-setpan": Setpan,
"m-coninfp": Coninfp,
"m-engp": Engp,
"m-docpan": Docpan,
"m-doctre": Doctre,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "",
tabVal: "botrad1",
trnName: "botrad",
model: new Botrad().data,
checkRules: Check,
......@@ -106,33 +104,34 @@ export default {
pattern: Pattern,
rules: null,
codes: {
...CodeTable
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
methods: {
// myTabClick(tab) {
// this.tabClick(tab)
// /**
// * do it yourself
// **/
// }
},
created:async function(){
created: async function () {
console.log("进入botrad交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
if (this.isInDisplay) {
this.restoreDisplay();
}
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
}
}
</script>
<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";
import ReviewBdtdck from "./Business/ReviewBdtdck.vue";
import ReviewBotdav from "./Business/ReviewBotdav.vue";
import ReviewLetnot from "./Business/ReviewLetnot.vue";
import ReviewBdtdcr from "./Business/ReviewBdtdcr.vue";
import ReviewBdteus from "./Business/ReviewBdteus.vue";
const ReviewRouter = [
{ path: "ditopn", component: ReviewDitopn, name: "ReviewDitopn", meta: { title: "复核-买方信用证开立" } },
......@@ -19,8 +21,10 @@ const ReviewRouter = [
{ path: "getset", component: ReviewGetset, name: "ReviewGetset", meta: { title: "复核-Getset" } },
{ path: "detopn", component: ReviewDetopn, name: "ReviewDetopn", meta: { title: "复核-Detopn" } },
{ 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: "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" } },
];
......
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