Commit e79555a1 by Eivi

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs…

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs into development-202206
parents 575106f9 6da616a7
import Vue from "vue"
import Api from "~/service/Api" import Api from "~/service/Api"
import Pts from "../Common/Pts" import Pts from "../Common/Pts"
import Pub from "../Public" import Pub from "../Public"
......
...@@ -156,16 +156,14 @@ export default { ...@@ -156,16 +156,14 @@ export default {
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"bodgrp.drr.pts.adrblk":[ "bodgrp.drr.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
], ],
"bodgrp.drr.dbfadrblkcn":[ "bodgrp.drr.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"bodgrp.col.pts.adrblk":[ "bodgrp.col.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
], ],
"bodgrp.col.dbfadrblkcn":[ "bodgrp.col.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -197,8 +195,7 @@ export default { ...@@ -197,8 +195,7 @@ export default {
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"bodgrp.dre.pts.adrblk":[ "bodgrp.dre.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
], ],
"bodgrp.dre.dbfadrblkcn":[ "bodgrp.dre.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
......
...@@ -58,6 +58,7 @@ export default class Botdcr { ...@@ -58,6 +58,7 @@ export default class Botdcr {
dbfadrblkcn: "", // Chinese address .bodgrp.dre.dbfadrblkcn dbfadrblkcn: "", // Chinese address .bodgrp.dre.dbfadrblkcn
}, },
blk: { blk: {
docpre:"", // bodgrp.blk.docpre
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
......
import Utils from "~/utils"
/**
* Botpay Check规则
*/
let checkObj = {
"liaall.misamt" :null,
"bodgrp.rec.matperbeg" :null,
"bodgrp.rec.matpertyp" :null,
"bodgrp.blk.proins" :null,
"bodgrp.drr.pts.adrblk" :null,
"bodgrp.dre.adrelc" :null,
"bodgrp.dre.pts.nam" :null,
"setmod.dspflg" :null,
"bodgrp.col.adrelc" :null,
"bodgrp.col.pts.adrblk" :null,
"bodgrp.col.pts.extkey" :null,
"liaall.tenstm" :null,
"bodgrp.blk.dftins" :null,
"setmod.redamt" :null,
"bodgrp.blk.delins" :null,
"bodgrp.drr.pts.nam" :null,
"bodgrp.rec.focflg" :null,
"mtabut.coninf.conexedat" :null,
"bodgrp.col.namelc" :null,
"bodgrp.drr.adrelc" :null,
"bodgrp.dre.namelc" :null,
"bodgrp.blk.colins" :null,
"setmod.docamt" :null,
"bodgrp.drr.namelc" :null,
"bodgrp.col.pts.nam" :null,
"bodgrp.dre.pts.adrblk" :null,
"bodgrp.blk.othins" :null,
"bodgrp.dre.pts.extkey" :null,
"bodgrp.drr.pts.extkey" :null,
"mtabut.clsflg" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Botpay Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"bptbck.dscbckcur" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"trnmod.trndoc.condocstm" :Utils.defaultFunction,
"trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction,
"bodgrp.dre.pts.adrblk" :Utils.defaultFunction,
"bodgrp.rec.focflg" :Utils.defaultFunction,
"bodgrp.rec.doctypcod" :Utils.defaultFunction,
"bodgrp.drr.pts.extkey" :Utils.defaultFunction,
"bodgrp.drr.adrelc" :Utils.defaultFunction,
"bodgrp.drr.namelc" :Utils.defaultFunction,
"bodgrp.drr.dbfadrblkcn" :Utils.defaultFunction,
"bodgrp.drr.pts.adrblk" :Utils.defaultFunction,
"bodgrp.cbs.max.amt" :Utils.defaultFunction,
"bodgrp.drr.pts.nam" :Utils.defaultFunction,
"bodgrp.cbs.max.cur" :Utils.defaultFunction,
"bodgrp.col.pts.extkey" :Utils.defaultFunction,
"bodgrp.col.adrelc" :Utils.defaultFunction,
"bodgrp.col.namelc" :Utils.defaultFunction,
"bodgrp.col.dbfadrblkcn" :Utils.defaultFunction,
"setmod.glemod.gleshwstm" :Utils.defaultFunction,
"bodgrp.dre.pts.extkey" :Utils.defaultFunction,
"bodgrp.dre.adrelc" :Utils.defaultFunction,
"bodgrp.dre.namelc" :Utils.defaultFunction,
"bodgrp.dre.dbfadrblkcn" :Utils.defaultFunction,
"bodgrp.rec.ownref" :Utils.defaultFunction,
"bodgrp.dre.pts.nam" :Utils.defaultFunction,
"bodgrp.rec.predat" :Utils.defaultFunction,
"bodgrp.col.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"setmod.redamt" :Utils.defaultFunction,
"bodgrp.col.pts.adrblk" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.clsflg" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onColinsButtxmsel(){
let rtnmsg = await this.executeRule("colins.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDftinsButtxmsel(){
let rtnmsg = await this.executeRule("dftins.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onProinsButtxmsel(){
let rtnmsg = await this.executeRule("proins.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOthins1Buttxmsel(){
let rtnmsg = await this.executeRule("othins1.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onWhinsButtxmsel(){
let rtnmsg = await this.executeRule("whins.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDrrpDet(){
let rtnmsg = await this.executeRule("drrp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onColpDet(){
let rtnmsg = await this.executeRule("colp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDrepDet(){
let rtnmsg = await this.executeRule("drep.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLiaallButmisamt(){
let rtnmsg = await this.executeRule("liaall.butmisamt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLiaallButmissig(){
let rtnmsg = await this.executeRule("liaall.butmissig")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSetmodDet(){
let rtnmsg = await this.executeRule("setmod.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButshw(){
let rtnmsg = await this.executeRule("trndoc.butshw")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButadd(){
let rtnmsg = await this.executeRule("trndoc.butadd")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButnew(){
let rtnmsg = await this.executeRule("trndoc.butnew")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButattto(){
let rtnmsg = await this.executeRule("trndoc.butattto")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButdel(){
let rtnmsg = await this.executeRule("trndoc.butdel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButatt(){
let rtnmsg = await this.executeRule("trndoc.butatt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "../Public"
export default class Botpay{
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:"", // Start of Maturity Period MATBEG .bodgrp.rec.matperbeg
rcvdat:"", // Order Date .bodgrp.rec.rcvdat
predat:"", // Presentation Date .bodgrp.rec.predat
focflg:"", // Free of Payment .bodgrp.rec.focflg
chato:"", // Our Charges to .bodgrp.rec.chato
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:{
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
},
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
},
},
setmod:{
doccur:"", // document currency .setmod.doccur
docamt:"", // document amount .setmod.docamt
redamt:"", // Reduction Amount .setmod.redamt
docamttyplab:"", // settled amount description as label .setmod.docamttyplab
retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
ref:"", // our reference .setmod.ref
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
glemod:{
gleshwstm:"", // Booking stream to Display .setmod.glemod.gleshwstm
},
},
bptbck:{
bptbckg:[], // .bptbck.bptbckg
dscbckcur:"", // currency discount paid back .bptbck.dscbckcur
},
liaall:{
tenstm:"", // Tenor Stream .liaall.tenstm
misamt:"", // Amount not yet assigned .liaall.misamt
concur:"", // External Booking Amount .liaall.concur
outpct:"", // Sight Amount Percentage .liaall.outpct
outamt:"", // Sight Amount .liaall.outamt
exttotoldamt:"", // Old Amount booked externally .liaall.exttotoldamt
exttotamt:"", // Total booking amount external assinged .liaall.exttotamt
},
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
},
},
},
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,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
...@@ -178,12 +178,10 @@ export default { ...@@ -178,12 +178,10 @@ export default {
], ],
"bodgrp.drr.namelc":[ "bodgrp.drr.namelc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
], ],
"bodgrp.drr.pts.adrblk":[ "bodgrp.drr.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
], ],
"bodgrp.drr.dbfadrblkcn":[ "bodgrp.drr.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -194,8 +192,7 @@ export default { ...@@ -194,8 +192,7 @@ export default {
{type: "date", required: false, message: "输入正确的日期"} {type: "date", required: false, message: "输入正确的日期"}
], ],
"bodgrp.drr.adrelc":[ "bodgrp.drr.adrelc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
], ],
"bodgrp.rec.advdat":[ "bodgrp.rec.advdat":[
{type: "date", required: false, message: "输入正确的日期"} {type: "date", required: false, message: "输入正确的日期"}
...@@ -218,12 +215,10 @@ export default { ...@@ -218,12 +215,10 @@ export default {
], ],
"bodgrp.col.namelc":[ "bodgrp.col.namelc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
], ],
"bodgrp.col.pts.adrblk":[ "bodgrp.col.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
], ],
"bodgrp.col.dbfadrblkcn":[ "bodgrp.col.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -234,8 +229,7 @@ export default { ...@@ -234,8 +229,7 @@ export default {
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
], ],
"bodgrp.col.adrelc":[ "bodgrp.col.adrelc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
], ],
"bodgrp.rec.issdat":[ "bodgrp.rec.issdat":[
{type: "date", required: false, message: "输入正确的日期"} {type: "date", required: false, message: "输入正确的日期"}
...@@ -264,20 +258,17 @@ export default { ...@@ -264,20 +258,17 @@ export default {
], ],
"bodgrp.dre.namelc":[ "bodgrp.dre.namelc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
], ],
"bodgrp.dre.pts.adrblk":[ "bodgrp.dre.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
], ],
"bodgrp.dre.dbfadrblkcn":[ "bodgrp.dre.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"bodgrp.dre.adrelc":[ "bodgrp.dre.adrelc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
], ],
"bodgrp.blk.cctinscol":[ "bodgrp.blk.cctinscol":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
......
...@@ -102,6 +102,7 @@ export default class Botrad { ...@@ -102,6 +102,7 @@ export default class Botrad {
dbfadrblkcn: "", // Chinese address .bodgrp.dre.dbfadrblkcn dbfadrblkcn: "", // Chinese address .bodgrp.dre.dbfadrblkcn
}, },
blk: { blk: {
docpre:"", // bodgrp.blk.docpre
colinssnm: "", // Instructions for Second Mail .bodgrp.blk.colinssnm colinssnm: "", // Instructions for Second Mail .bodgrp.blk.colinssnm
vesselnam: "", // Vessel Name .bodgrp.blk.vesselnam vesselnam: "", // Vessel Name .bodgrp.blk.vesselnam
goddes: "", // Description of Goods .bodgrp.blk.goddes goddes: "", // Description of Goods .bodgrp.blk.goddes
......
...@@ -189,7 +189,7 @@ export default { ...@@ -189,7 +189,7 @@ export default {
], ],
"brtp.oth.pts.adrblk":[ "brtp.oth.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 140,message:"长度不能超过140"}
], ],
"brtp.oth.dbfadrblkcn":[ "brtp.oth.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -310,7 +310,7 @@ export default { ...@@ -310,7 +310,7 @@ export default {
], ],
"brdgrp.shp.pts.adrblk":[ "brdgrp.shp.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 140,message:"长度不能超过140"}
], ],
"brdgrp.shp.dbfadrblkcn":[ "brdgrp.shp.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
......
...@@ -130,7 +130,7 @@ export default { ...@@ -130,7 +130,7 @@ export default {
], ],
"brdgrp.prb.pts.adrblk":[ "brdgrp.prb.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 140,message:"长度不能超过140"}
], ],
"brdgrp.prb.dbfadrblkcn":[ "brdgrp.prb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -177,7 +177,7 @@ export default { ...@@ -177,7 +177,7 @@ export default {
], ],
"brtp.oth.pts.adrblk":[ "brtp.oth.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 140,message:"长度不能超过140"}
], ],
"brtp.oth.dbfadrblkcn":[ "brtp.oth.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
......
import Utils from "~/utils"
/**
* Infgcd Check规则
*/
let checkObj = {
"infcon.seaamtto" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Infgcd Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"infcon.seapty" :Utils.defaultFunction,
"infcon.pty.extkey" :Utils.defaultFunction,
"infcon.usr.extkey" :Utils.defaultFunction,
"infbut.dspstm" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onInfbutSearow(){
let rtnmsg = await this.executeRule("infbut.searow")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutDsp(){
let rtnmsg = await this.executeRule("infbut.dsp")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutUserow(){
let rtnmsg = await this.executeRule("infbut.userow")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutClr(){
let rtnmsg = await this.executeRule("infbut.clr")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutButprt(){
let rtnmsg = await this.executeRule("infbut.butprt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutExi(){
let rtnmsg = await this.executeRule("infbut.exi")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async handleSearch() {
this.stmData.data = [];
let opndatfrom = this.model.infcon.opndatfrom;
if(!opndatfrom || opndatfrom == ''){
this.$notify.error({ title: '错误', message: '查询开始日期必输!' });
return;
}
let opndatto = this.model.infcon.opndatto;
if(!opndatto || opndatto == ''){
this.$notify.error({ title: '错误', message: '查询结束日期必输!' });
return;
}
let rtnmsg = await this.executeRule("infbut.searow")
if (rtnmsg.respCode == SUCCESS) {
this.stmData.data = rtnmsg.data.infbut_dspstm.rows;
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
}
\ No newline at end of file
export default {
"infcon.seaownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"infcon.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"infcon.searef":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"infcon.pty.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 24,message:"长度不能超过24"}
],
"infcon.pty.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"infcon.seapty":[
{type: "string", required: false, message: "必输项"},
{max: 24,message:"长度不能超过24"}
],
"infcon.opndatfrom":[
{type: "date", required: false, message: "输入正确的日期"}
],
"infcon.opndatto":[
{type: "date", required: false, message: "输入正确的日期"}
],
"infcon.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"infcon.seaamtfr":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"infcon.seaamtto":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"infbut.dspstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Infgcd{
constructor () {
this.data = {
infcon:{
seaownref:"", // Own Reference .infcon.seaownref
nam:"", // Name .infcon.nam
searef:"", // Party Reference .infcon.searef
pty:{
extkey:"", // Select Single Party .infcon.pty.extkey
nam:"", // External Visible Name .infcon.pty.nam
},
seapty:"", // Party Name/BIC .infcon.seapty
searol:"", // Role .infcon.searol
opndatfrom:"", // Opening between .infcon.opndatfrom
opndatto:"", // Open Date to .infcon.opndatto
usr:{
extkey:"", // User ID .infcon.usr.extkey
},
seasta:"", // Status .infcon.seasta
seacur:"", // Currency .infcon.seacur
seaamtfr:"", // Amount between .infcon.seaamtfr
seaamtto:"", // Amount to .infcon.seaamtto
relflg:"", // Release Status .infcon.relflg
cxmflg:"", // 是否显示查询码 .infcon.cxmflg
hndtyp:"", // Handling Type .infcon.hndtyp
trnstm:"",
},
seagtyp:"", // Undertaking Type .seagtyp
infbut:{
dspstm:[], // display stream .infbut.dspstm
},
pageId: "", // ctx的key
gidgrp:{
rec:{
inr:"",
ownref:"", // Reference .gidgrp.rec.ownref
resflg:"", // Reserved Contract .gidgrp.rec.resflg
rejflg:"", // Direct rejection .gidgrp.rec.rejflg
drpreflg:"", // Type of Request .gidgrp.rec.drpreflg
purposin:"", // Incoming Purpose .gidgrp.rec.purposin
purpos:"", // Outgoing Purpose .gidgrp.rec.purpos
hndtyp:"", // Handling Type .gidgrp.rec.hndtyp
gartyp:"", // Type of Undertaking .gidgrp.rec.gartyp
gartypin:"", // Undertaking Type from Local Undertaking Seq. C .gidgrp.rec.gartypin
legfrm:"", // Form of Undertaking .gidgrp.rec.legfrm
demand:"", // Demand Indicator .gidgrp.rec.demand
giduil:"", // Language of Undertak. .gidgrp.rec.giduil
secuilflg:"", // Bilingual Guarantee .gidgrp.rec.secuilflg
gtxinr:"", // Choice of Text .gidgrp.rec.gtxinr
atxinr:"", // Choice of Text .gidgrp.rec.atxinr
exptyp:"", // Expiry Type .gidgrp.rec.exptyp
expdat:"", // Validity until .gidgrp.rec.expdat
liatypc:"", // Liability Type .gidgrp.rec.liatypc
liadat:"", // Our Liability until .gidgrp.rec.liadat
oldref:"", // Old Reference .gidgrp.rec.oldref
revflg:"", // Declaration of Indemnity .gidgrp.rec.revflg
autrnwflg:"", // Auto-Renewal .gidgrp.rec.autrnwflg
rmbflg:"", // Reimbursement Information .gidgrp.rec.rmbflg
orddat:"", // Order Date .gidgrp.rec.orddat
opndat:"", // Valid from .gidgrp.rec.opndat
expflg:"", // Unlimited Guarantee .gidgrp.rec.expflg
liaflg:"", // Unlimited Liability .gidgrp.rec.liaflg
nam:"", // Name .gidgrp.rec.nam
inudat:"", // Inure Date .gidgrp.rec.inudat
teskeyunc:"", // Test Key Unconfirmity .gidgrp.rec.teskeyunc
guaflg:"", // Mortgage Flag .gidgrp.rec.guaflg
cmtflg:"", // 跨境人民币保函 .gidgrp.rec.cmtflg
fingua:"", // 是否对外担保 .gidgrp.rec.fingua
cfaguatyp:"", // 对外担保类型 .gidgrp.rec.cfaguatyp
vrfdat:"", // 核销日期 .gidgrp.rec.vrfdat
fenlishi:"", // 是否分离式保函 .gidgrp.rec.fenlishi
stacty:"", // Risk Country .gidgrp.rec.stacty
orcref:"", // Contract Reference .gidgrp.rec.orcref
orcdat:"", // Date from Original Contract .gidgrp.rec.orcdat
tenclsdat:"", // Closing Date .gidgrp.rec.tenclsdat
orcrat:"", // Original Perc./ Rate .gidgrp.rec.orcrat
orccur:"", // Contract Amount .gidgrp.rec.orccur
orcamt:"", // Contract Amount .gidgrp.rec.orcamt
acc:"", // A/c for Adv. Paym. Guar. .gidgrp.rec.acc
jurlaws20:"", // Governing Law .gidgrp.rec.jurlaws20
jurlaw:"", // Law of Jurisdiction .gidgrp.rec.jurlaw
jurplc:"", // Place of Jurisdiction .gidgrp.rec.jurplc
tenref:"", // Tender Reference .gidgrp.rec.tenref
tendat:"", // Tender Date .gidgrp.rec.tendat
trmdat:"", // Latest Transmiss. Date .gidgrp.rec.trmdat
juscod:"", // 组织机构代码 .gidgrp.rec.juscod
cunqii:"", // 流动资金贷款利率档次 .gidgrp.rec.cunqii
bilvvv:"", // 上浮比率 .gidgrp.rec.bilvvv
bngcod:"", // 企业海关编码 .gidgrp.rec.bngcod
mannum:"", // 手册号码 .gidgrp.rec.mannum
},
cbs:{
max:{
cur:"", // Guarantee Amount .gidgrp.cbs.max.cur
amt:"", // Guarantee Amount .gidgrp.cbs.max.amt
},
opn1:{
cur:"", // Open Amount .gidgrp.cbs.opn1.cur
amt:"", // Balance .gidgrp.cbs.opn1.amt
},
},
blk:{
gartyptxtin:"", // Specification of Type of Undertaking - Counter Undertaking .gidgrp.blk.gartyptxtin
apprul:"", // Applicable Rules .gidgrp.blk.apprul
apprultxt:"", // Applicable Rules .gidgrp.blk.apprultxt
exptxt:"", // Expiry Condition/ Evt. .gidgrp.blk.exptxt
atxexptxt:"", // Expiry Condition/ Evt. .gidgrp.blk.atxexptxt
liatxtc:"", // Liability Condition .gidgrp.blk.liatxtc
atxliatxtc:"", // Liability Condition .gidgrp.blk.atxliatxtc
covgodsrv:"", // Object of Contract .gidgrp.blk.covgodsrv
orcplc:"", // Original Contract Place .gidgrp.blk.orcplc
addinf:"", // Additional Info .gidgrp.blk.addinf
atxcovgodsrv:"", // Underly. Transact. Det. .gidgrp.blk.atxcovgodsrv
gidtxt:"", // Guarantee Text .gidgrp.blk.gidtxt
gtxgidtxt:"", // Guarantee Text with Variables .gidgrp.blk.gtxgidtxt
},
apl:{
pts:new Pts().data,
namelc:"", // 名称 .gidgrp.apl.namelc
adrelc:"", // 地址 .gidgrp.apl.adrelc
dbfadrblkcn:"", // Chinese address .gidgrp.apl.dbfadrblkcn
},
ben:{
pts:new Pts().data,
namelc:"", // 名称 .gidgrp.ben.namelc
adrelc:"", // 地址 .gidgrp.ben.adrelc
dbfadrblkcn:"", // Chinese address .gidgrp.ben.dbfadrblkcn
},
iss:{
pts:new Pts().data,
namelc:"", // 名称 .gidgrp.iss.namelc
adrelc:"", // 地址 .gidgrp.iss.adrelc
dbfadrblkcn:"", // Chinese address .gidgrp.iss.dbfadrblkcn
},
adv:{
pts:new Pts().data,
namelc:"", // 名称 .gidgrp.adv.namelc
adrelc:"", // 地址 .gidgrp.adv.adrelc
dbfadrblkcn:"", // Chinese address .gidgrp.adv.dbfadrblkcn
},
ghd:{
segtyp:"", // 特殊保函类型 .gidgrp.ghd.segtyp
bustyp:"", // 业务类型 .gidgrp.ghd.bustyp
wahnum:"", // 仓库号 .gidgrp.ghd.wahnum
remark:"", // 备注 .gidgrp.ghd.remark
aplnam:"", // 申请人名称关税保函专用 .gidgrp.ghd.aplnam
},
gidcxm:{
warran:"", // 被保证人 .gidgrp.gidcxm.warran
cxmflg:"", // 是否显示查询码 .gidgrp.gidcxm.cxmflg
benefi:"", // 受益人名称 .gidgrp.gidcxm.benefi
},
ctr:{
pts:new Pts().data,
namelc:"", // 名称 .gidgrp.ctr.namelc
adrelc:"", // 地址 .gidgrp.ctr.adrelc
dbfadrblkcn:"", // Chinese address .gidgrp.ctr.dbfadrblkcn
},
atb:{
pts:new Pts().data,
namelc:"", // 名称 .gidgrp.atb.namelc
adrelc:"", // 地址 .gidgrp.atb.adrelc
dbfadrblkcn:"", // Chinese address .gidgrp.atb.dbfadrblkcn
},
con:{
pts:new Pts().data,
namelc:"", // 名称 .gidgrp.con.namelc
adrelc:"", // 地址 .gidgrp.con.adrelc
dbfadrblkcn:"", // Chinese address .gidgrp.con.dbfadrblkcn
},
bdb:{
pts:new Pts().data,
namelc:"", // 名称 .gidgrp.bdb.namelc
adrelc:"", // 地址 .gidgrp.bdb.adrelc
dbfadrblkcn:"", // Chinese address .gidgrp.bdb.dbfadrblkcn
},
},
}
}
}
\ No newline at end of file
...@@ -150,7 +150,7 @@ export default { ...@@ -150,7 +150,7 @@ export default {
], ],
"ledgrp.ben.pts.adrblk":[ "ledgrp.ben.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 140,message:"长度不能超过140"}
], ],
"ledgrp.ben.dbfadrblkcn":[ "ledgrp.ben.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -213,7 +213,7 @@ export default { ...@@ -213,7 +213,7 @@ export default {
], ],
"ledgrp.iss.pts.adrblk":[ "ledgrp.iss.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 140,message:"长度不能超过140"}
], ],
"ledgrp.iss.dbfadrblkcn":[ "ledgrp.iss.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -258,7 +258,7 @@ export default { ...@@ -258,7 +258,7 @@ export default {
], ],
"ledgrp.apl.pts.adrblk":[ "ledgrp.apl.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 140,message:"长度不能超过140"}
], ],
"ledgrp.apl.dbfadrblkcn":[ "ledgrp.apl.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
......
...@@ -56,7 +56,7 @@ export default { ...@@ -56,7 +56,7 @@ export default {
"ledgrp.ben.pts.adrblk":[ "ledgrp.ben.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 140,message:"长度不能超过140"}
], ],
"ledgrp.ben.dbfadrblkcn":[ "ledgrp.ben.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -119,7 +119,7 @@ export default { ...@@ -119,7 +119,7 @@ export default {
], ],
"ledgrp.iss.pts.adrblk":[ "ledgrp.iss.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 140,message:"长度不能超过140"}
], ],
"ledgrp.iss.dbfadrblkcn":[ "ledgrp.iss.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -165,7 +165,7 @@ export default { ...@@ -165,7 +165,7 @@ export default {
], ],
"ledgrp.apl.pts.adrblk":[ "ledgrp.apl.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 140,message:"长度不能超过140"}
], ],
"ledgrp.apl.dbfadrblkcn":[ "ledgrp.apl.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -232,7 +232,7 @@ export default { ...@@ -232,7 +232,7 @@ export default {
], ],
"ledgrp.avb.pts.adrblk":[ "ledgrp.avb.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 140,message:"长度不能超过140"}
], ],
"ledgrp.avb.dbfadrblkcn":[ "ledgrp.avb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -290,7 +290,7 @@ export default { ...@@ -290,7 +290,7 @@ export default {
], ],
"ledgrp.drw.pts.adrblk":[ "ledgrp.drw.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 140,message:"长度不能超过140"}
], ],
"ledgrp.drw.dbfadrblkcn":[ "ledgrp.drw.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -371,7 +371,7 @@ export default { ...@@ -371,7 +371,7 @@ export default {
"ledgrp.adv.pts.adrblk":[ "ledgrp.adv.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 140,message:"长度不能超过140"}
], ],
"ledgrp.adv.dbfadrblkcn":[ "ledgrp.adv.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -379,7 +379,7 @@ export default { ...@@ -379,7 +379,7 @@ export default {
], ],
"ledgrp.apb.pts.adrblk":[ "ledgrp.apb.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 140,message:"长度不能超过140"}
], ],
"ledgrp.apb.dbfadrblkcn":[ "ledgrp.apb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -437,7 +437,7 @@ export default { ...@@ -437,7 +437,7 @@ export default {
], ],
"ledgrp.a2b.pts.adrblk":[ "ledgrp.a2b.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 140,message:"长度不能超过140"}
], ],
"ledgrp.a2b.dbfadrblkcn":[ "ledgrp.a2b.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -445,7 +445,7 @@ export default { ...@@ -445,7 +445,7 @@ export default {
], ],
"ledgrp.rmb.pts.adrblk":[ "ledgrp.rmb.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 140,message:"长度不能超过140"}
], ],
"ledgrp.rmb.dbfadrblkcn":[ "ledgrp.rmb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
......
...@@ -4,104 +4,94 @@ import Utils from "~/utils" ...@@ -4,104 +4,94 @@ import Utils from "~/utils"
* Letopn Check规则 * Letopn Check规则
*/ */
let checkObj = { let checkObj = {
"ledgrp.apb.pts.extkey": null, "ledgrp.apb.pts.extkey" :null,
"liaall.misamt": null, "liaall.misamt" :null,
"letp.rmbp.ptsget.sdamod.dadsnd": null, "ledgrp.rec.opndat" :null,
"ledgrp.rec.opndat": null, "ledgrp.adv.namelc" :null,
"ledgrp.adv.namelc": null, "ledgrp.blk.shpper" :null,
"ledgrp.blk.shpper": null, "ledgrp.rmb.pts.extkey" :null,
"ledgrp.rmb.pts.extkey": null, "ledgrp.iss.pts.adrblk" :null,
"letp.avbp.ptsget.sdamod.dadsnd": null, "ledgrp.avb.adrelc" :null,
"ledgrp.a2b.pts.adrblk": null, "ledgrp.rec.tenmaxday" :null,
"letp.conp.ptsget.sdamod.dadsnd": null, "ledgrp.blk.mixdet" :null,
"ledgrp.iss.pts.adrblk": null, "ledgrp.avb.pts.extkey" :null,
"letp.issp.ptsget.sdamod.dadsnd": null, "ledgrp.drw.adrelc" :null,
"ledgrp.rec.revdat": null, "ledgrp.ben.pts.extkey" :null,
"ledgrp.blk.spcrcb": null, "setmod.dspflg" :null,
"ledgrp.blk.preper": null, "letp.usr.extkey" :null,
"ledgrp.adv.adrelc": null, "ledgrp.rec.nomspc" :null,
"ledgrp.ben.adrelc": null, "ledgrp.a2b.namelc" :null,
"ledgrp.avb.adrelc": null, "ledgrp.rec.revtyp" :null,
"ledgrp.rec.tenmaxday": null, "ledgrp.rec.avbby" :null,
"ledgrp.blk.mixdet": null, "ledgrp.rec.shpdat" :null,
"ledgrp.avb.pts.extkey": null, "ledgrp.rec.prepers18" :null,
"ledgrp.adv.pts.extkey": null, "ledgrp.iss.adrelc" :null,
"ledgrp.drw.adrelc": null, "ledgrp.apb.namelc" :null,
"ledgrp.ben.pts.extkey": null, "ledgrp.apl.namelc" :null,
"ledgrp.rmb.pts.adrblk": null, "ledgrp.cbs.max2.amt" :null,
"ledgrp.blk.lcrgod": null, "ledgrp.rec.stacty" :null,
"setmod.dspflg": null, "ledgrp.blk.lcrdoc" :null,
"ledgrp.a2b.adrelc": null, "ledgrp.blk.dftat" :null,
"ledgrp.avb.namelc": null, "ledgrp.blk.insbnk" :null,
"ledgrp.avb.pts.adrblk": null, "ledgrp.iss.pts.extkey" :null,
"ledgrp.apb.pts.adrblk": null, "ledgrp.blk.adlcnd" :null,
"letp.usr.extkey": null, "ledgrp.rec.expplc" :null,
"ledgrp.rec.nomspc": null, "ledgrp.a2b.pts.extkey" :null,
"ledgrp.a2b.namelc": null, "ledgrp.iss.pts.ref" :null,
"ledgrp.cbs.nom1.cur": null, "ledgrp.apl.pts.adrblk" :null,
"ledgrp.rec.revtyp": null, "ledgrp.rmb.adrelc" :null,
"ledgrp.rec.avbby": null, "ledgrp.drw.pts.adrblk" :null,
"ledgrp.rec.shpdat": null, "ledgrp.blk.spcben" :null,
"letp.a2bp.ptsget.sdamod.dadsnd": null, "ledgrp.a2b.pts.adrblk" :null,
"ledgrp.rec.prepers18": null, "ledgrp.rec.revdat" :null,
"ledgrp.rec.nomtop": null, "ledgrp.blk.spcrcb" :null,
"ledgrp.iss.adrelc": null, "ledgrp.blk.preper" :null,
"ledgrp.rec.nomton": null, "ledgrp.adv.adrelc" :null,
"ledgrp.rec.avbwth": null, "ledgrp.ben.adrelc" :null,
"ledgrp.apb.namelc": null, "ledgrp.adv.pts.extkey" :null,
"letp.drwp.ptsget.sdamod.dadsnd": null, "ledgrp.rmb.pts.adrblk" :null,
"ledgrp.rec.ownref": null, "ledgrp.blk.lcrgod" :null,
"ledgrp.rmb.namelc": null, "ledgrp.a2b.adrelc" :null,
"ledgrp.blk.feetxt": null, "ledgrp.avb.namelc" :null,
"ledgrp.apl.namelc": null, "ledgrp.avb.pts.adrblk" :null,
"ledgrp.blk.revcls": null, "ledgrp.apb.pts.adrblk" :null,
"ledgrp.cbs.max2.amt": null, "ledgrp.cbs.nom1.cur" :null,
"ledgrp.rec.stacty": null, "ledgrp.con.pts.nam" :null,
"ledgrp.adv.pts.adrblk": null, "ledgrp.rec.nomtop" :null,
"ledgrp.cbs.nom1.amt": null, "ledgrp.rec.nomton" :null,
"ledgrp.blk.lcrdoc": null, "ledgrp.rec.avbwth" :null,
"ledgrp.blk.defdet": null, "ledgrp.rec.ownref" :null,
"letp.apbp.ptsget.sdamod.dadsnd": null, "ledgrp.rmb.namelc" :null,
"ledgrp.rec.expdat": null, "ledgrp.blk.feetxt" :null,
"ledgrp.blk.dftat": null, "ledgrp.blk.revcls" :null,
"letp.benp.ptsget.sdamod.dadsnd": null, "ledgrp.adv.pts.adrblk" :null,
"ledgrp.rec.lcrtyp": null, "ledgrp.cbs.nom1.amt" :null,
"ledgrp.blk.insbnk": null, "ledgrp.blk.defdet" :null,
"mtabut.coninf.conexedat": null, "ledgrp.rec.expdat" :null,
"ledgrp.rec.apprul": null, "ledgrp.rec.lcrtyp" :null,
"ledgrp.apl.adrelc": null, "mtabut.coninf.conexedat" :null,
"ledgrp.iss.pts.extkey": null, "ledgrp.rec.apprul" :null,
"ledgrp.blk.adlcnd": null, "ledgrp.apl.adrelc" :null,
"ledgrp.iss.namelc": null, "ledgrp.iss.namelc" :null,
"ledgrp.rec.expplc": null, "ledgrp.drw.pts.extkey" :null,
"letp.advp.ptsget.sdamod.dadsnd": null, "ledgrp.ben.namelc" :null,
"ledgrp.drw.pts.extkey": null, "ledgrp.rec.preadvdt" :null,
"ledgrp.a2b.pts.extkey": null, "ledgrp.ben.pts.adrblk" :null,
"ledgrp.iss.pts.ref": null, "ledgrp.blk.addamtcov" :null,
"ledgrp.ben.namelc": null, "setmod.docamt" :null,
"ledgrp.apl.pts.adrblk": null, "ledgrp.rec.cnfins" :null,
"letp.recget.sdamod.dadsnd": null, "ledgrp.apb.adrelc" :null,
"ledgrp.rec.preadvdt": null, "ledgrp.drw.namelc" :null,
"ledgrp.ben.pts.adrblk": null, "ledgrp.apl.pts.extkey" :null,
"ledgrp.blk.addamtcov": null, "ledgrp.con.pts.extkey" :null,
"setmod.docamt": null, "ledgrp.rec.cnfdet" :null,
"ledgrp.rec.cnfins": null, "ledgrp.rec.apprultxt" :null,
"ledgrp.apb.adrelc": null,
"ledgrp.rmb.adrelc": null,
"ledgrp.drw.namelc": null,
"ledgrp.apl.pts.extkey": null,
"letp.aplp.ptsget.sdamod.dadsnd": null,
"ledgrp.con.pts.extkey": null,
"ledgrp.rec.cnfdet": null,
"ledgrp.drw.pts.adrblk": null,
"ledgrp.rec.apprultxt": null,
"ledgrp.blk.spcben": null,
} }
// for (const key in checkObj) { for (const key in checkObj) {
// if (Object.hasOwnProperty.call(checkObj, key)) { if (Object.hasOwnProperty.call(checkObj, key)) {
// checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key) checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
// } }
// } }
export default checkObj export default checkObj
...@@ -154,10 +154,10 @@ ...@@ -154,10 +154,10 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Delivery instructions" prop="bodgrp.blk.delins"> <el-form-item label="Warehouse/Insurance Instructions " prop="bodgrp.blk.delins">
<c-fullbox> <c-fullbox>
<c-input type="textarea" v-model="model.bodgrp.blk.delins" maxlength="65" show-word-limit <c-input type="textarea" v-model="model.bodgrp.blk.delins" maxlength="65" show-word-limit
placeholder="请输入Delivery instructions"></c-input> placeholder="请输入Warehouse/Insurance Instructions "></c-input>
<template slot="footer"> <template slot="footer">
<c-button size="small" type="primary"> <c-button size="small" type="primary">
... ...
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Address Block" prop="bodgrp.drr.pts.adrblk"> <el-form-item label="Address Block" prop="bodgrp.drr.pts.adrblk">
<c-input type="textarea" v-model="model.bodgrp.drr.pts.adrblk" maxlength="35" disabled <c-input type="textarea" v-model="model.bodgrp.drr.pts.adrblk" maxlength="50" disabled
show-word-limit placeholder="请输入Address Block"></c-input> show-word-limit placeholder="请输入Address Block"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Address Block" prop="bodgrp.col.pts.adrblk"> <el-form-item label="Address Block" prop="bodgrp.col.pts.adrblk">
<c-input type="textarea" v-model="model.bodgrp.col.pts.adrblk" maxlength="35" disabled <c-input type="textarea" v-model="model.bodgrp.col.pts.adrblk" maxlength="50" disabled
show-word-limit placeholder="请输入Address Block"></c-input> show-word-limit placeholder="请输入Address Block"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -107,7 +107,7 @@ ...@@ -107,7 +107,7 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Address Block" prop="bodgrp.dre.pts.adrblk"> <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 <c-input type="textarea" v-model="model.bodgrp.dre.pts.adrblk" maxlength="50" show-word-limit
placeholder="请输入Address Block"></c-input> placeholder="请输入Address Block"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
...@@ -36,14 +36,14 @@ ...@@ -36,14 +36,14 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="11"> <c-col :span="11">
<c-col :span="10"> <c-col :span="12">
<el-form-item label="Document Amount" prop="bodgrp.cbs.max.cur"> <el-form-item label="Document Amount" prop="bodgrp.cbs.max.cur">
<c-input v-model="model.bodgrp.cbs.max.cur" style="width:100%" placeholder="请选择Document Amount" <c-input v-model="model.bodgrp.cbs.max.cur" style="width:100%" placeholder="请选择Document Amount"
disabled> disabled>
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="13" :offset="1"> <c-col :span="12">
<el-form-item label="Document Amount" prop="bodgrp.cbs.max.amt"> <el-form-item label="Document Amount" prop="bodgrp.cbs.max.amt">
<c-input v-model="model.bodgrp.cbs.max.amt" placeholder="请输入Document Amount" disabled></c-input> <c-input v-model="model.bodgrp.cbs.max.amt" placeholder="请输入Document Amount" disabled></c-input>
</el-form-item> </el-form-item>
...@@ -59,14 +59,14 @@ ...@@ -59,14 +59,14 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="11"> <c-col :span="11">
<c-col :span="10"> <c-col :span="12">
<el-form-item label="Warehouse/Insurance" prop="bodgrp.cbs.opn1.cur"> <el-form-item label="Warehouse/Insurance" prop="bodgrp.cbs.opn1.cur">
<c-input v-model="model.bodgrp.cbs.opn1.cur" style="width:100%" <c-input v-model="model.bodgrp.cbs.opn1.cur" style="width:100%"
placeholder="请选择Warehouse/Insurance" disabled> placeholder="请选择Warehouse/Insurance" disabled>
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="13" :offset="1"> <c-col :span="12">
<el-form-item label="Open Amount" style="text-align: left" prop="bodgrp.cbs.opn1.amt"> <el-form-item label="Open Amount" style="text-align: left" prop="bodgrp.cbs.opn1.amt">
<c-input v-model="model.bodgrp.cbs.opn1.amt" style="width:100%" placeholder="请输入Open Amount" <c-input v-model="model.bodgrp.cbs.opn1.amt" style="width:100%" placeholder="请输入Open Amount"
disabled></c-input> disabled></c-input>
...@@ -113,7 +113,8 @@ ...@@ -113,7 +113,8 @@
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="" prop="bodgrp.col.pts.nam"> <el-form-item label="" prop="bodgrp.col.pts.nam">
<c-input v-model="model.bodgrp.col.pts.nam" maxlength="40" placeholder="bodgrp.col.pts.nam" disabled> <c-input v-model="model.bodgrp.col.pts.nam" maxlength="40" placeholder="bodgrp.col.pts.nam"
disabled>
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -122,46 +123,48 @@ ...@@ -122,46 +123,48 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="11"> <c-col :span="11">
<c-col :span="10"> <c-col :span="12">
<el-form-item label="Tenor Specification" prop="bodgrp.rec.matpercnt"> <el-form-item label="Tenor Specification" prop="bodgrp.rec.matdat">
<c-input v-model="model.bodgrp.rec.matdat" placeholder="" disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="9">
<el-form-item label="" prop="bodgrp.rec.matpercnt">
<c-input v-model="model.bodgrp.rec.matpercnt" placeholder="请输入Tenor Specification" disabled> <c-input v-model="model.bodgrp.rec.matpercnt" placeholder="请输入Tenor Specification" disabled>
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11" :offset="1"> <c-col :span="2" :offset="1">
<span v-text="model.bodgrp.rec.matpertyp" data-path=".bodgrp.rec.matpertyp"> </span> <span>Days</span>
</c-col> </c-col>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="Drawee Ref." 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>
<c-col :span="24">
<c-col :span="11">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Start of Maturity Period MATBEG" prop="bodgrp.rec.matperbeg"> <el-form-item label="" prop="bodgrp.rec.matperbeg">
<c-input v-model="model.bodgrp.rec.matperbeg" style="width:100%" <c-input v-model="model.bodgrp.rec.matperbeg" style="width:100%"
placeholder="请选择Start of Maturity Period MATBEG" disabled> placeholder="请选择Start of Maturity Period MATBEG" disabled>
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- <c-col :span="5">
<span v-text="model.bodgrp.rec.matpertyp" data-path=".bodgrp.rec.matpertyp"> </span>
</c-col> -->
</c-col> </c-col>
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Drawee Ref." prop="bodgrp.dre.pts.ref">
<c-input v-model="model.bodgrp.dre.pts.ref" maxlength="16" disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="bodgrp.dre.pts.nam"> <el-form-item label="" prop="bodgrp.dre.pts.nam">
<c-input v-model="model.bodgrp.dre.pts.nam" maxlength="40" placeholder="bodgrp.dre.pts.nam" disabled> <c-input v-model="model.bodgrp.dre.pts.nam" maxlength="40" placeholder="bodgrp.dre.pts.nam"
disabled>
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
...@@ -180,12 +183,12 @@ ...@@ -180,12 +183,12 @@
</c-col> </c-col>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24" style="margin-top:15px;border-top:2px solid #ddd;padding-top:15px" >
<c-col :span="24">
<c-col :span="11"> <c-col :span="11">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Amount Accepted" prop="setmod.doccur"> <el-form-item label="Amount Accepted" prop="setmod.doccur">
<c-input v-model="model.setmod.doccur" style="width:100%" placeholder="请选择document currency" disabled> <c-input v-model="model.setmod.doccur" style="width:100%" placeholder="请选择document currency"
disabled>
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -196,51 +199,45 @@ ...@@ -196,51 +199,45 @@
</c-col> </c-col>
</c-col> </c-col>
</c-col> </c-col>
<!-- <c-col :span="12"> <!-- <c-col :span="12">
<span v-text="model.botp.matp.mattxtlab" data-path=".botp.matp.mattxtlab"> </span> <span v-text="model.botp.matp.mattxtlab" data-path=".botp.matp.mattxtlab"> </span>
</c-col> --> </c-col> -->
<!-- <c-col :span="12"> <!-- <c-col :span="12">
<el-form-item label="Maturity Date" prop="bodgrp.rec.matdat"> <el-form-item label="Maturity Date" prop="bodgrp.rec.matdat">
<c-date-picker type="date" v-model="model.bodgrp.rec.matdat" style="width:100%" <c-date-picker type="date" v-model="model.bodgrp.rec.matdat" style="width:100%"
placeholder="请选择Maturity Date"></c-date-picker> placeholder="请选择Maturity Date"></c-date-picker>
</el-form-item> </el-form-item>
</c-col> --> </c-col> -->
<!-- <c-col :span="12"> <!-- <c-col :span="12">
<el-form-item label="currency discount paid back" prop="bptbck.dscbckcur"> <el-form-item label="currency discount paid back" prop="bptbck.dscbckcur">
<c-input v-model="model.bptbck.dscbckcur" maxlength="3" placeholder="请输入currency discount paid back"> <c-input v-model="model.bptbck.dscbckcur" maxlength="3" placeholder="请输入currency discount paid back">
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> --> </c-col> -->
<c-col :span="11">
<c-col :span="24"> <c-edit-table :model="model" v-bind="docgrd">
</c-edit-table>
</c-col>
<!-- <c-col :span="24">
<div class="e-table-wrapper"> <div class="e-table-wrapper">
<el-table :data="model.bptbck.bptbckg" style="width: 100%"> <el-table :data="model.bptbck.bptbckg" style="width: 100%">
<el-table-column prop="ownref" label="" sortable width="100"> <el-table-column prop="ownref" label="owner" sortable width="100">
</el-table-column> </el-table-column>
<el-table-column prop="opncur" label="" sortable width="100"> <el-table-column prop="opncur" label="opncur" sortable width="100">
</el-table-column> </el-table-column>
<el-table-column prop="opnamt" label="" sortable width="100"> <el-table-column prop="opnamt" label="opnamt" sortable width="100">
</el-table-column> </el-table-column>
<el-table-column prop="bckamt" label="" sortable width="100"> <el-table-column prop="bckamt" label="bckamt" sortable width="100">
</el-table-column> </el-table-column>
<el-table-column prop="butcal" label="" sortable width="100"> <el-table-column prop="butcal" label="butcal" sortable width="100">
</el-table-column> </el-table-column>
</el-table> </el-table> -->
<!-- <el-pagination <!-- <el-pagination
layout="prev, pager, next" layout="prev, pager, next"
:total="pager.bptbck_bptbckg.total"> :total="pager.bptbck_bptbckg.total">
</el-pagination> --> </el-pagination> -->
</div> <!-- </div>
</c-col> </c-col> -->
<!-- <c-col :span="12"> <!-- <c-col :span="12">
<el-form-item label="Tenor Stream" prop="liaall.tenstm"> <el-form-item label="Tenor Stream" prop="liaall.tenstm">
...@@ -261,6 +258,34 @@ export default { ...@@ -261,6 +258,34 @@ export default {
mixins: [commonProcess], mixins: [commonProcess],
data() { data() {
return { return {
docgrd: {
columns: [{
title: "Reference",
width: "80px",
dataIndex: "ownref",
show: "input",
},
{
title: "Cur",
width: "80px",
dataIndex: "opncur",
show: "input",
},
{
title: "Open Amount",
width: "80px",
dataIndex: "opnamt",
show: "input",
},
{
title: "Amount Paid",
width: "320px",
dataIndex: "bckamt",
show: "input",
},
],
urls: "bptbck.bptbckg.docgrd",
},
} }
}, },
......
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
// import Utils from "~/utils/index" import Utils from "~/utils/index"
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Botacc from "~/model/Botacc" import Botacc from "~/model/Botacc"
import commonFuncs from "~/mixin/commonFuncs"; import commonFuncs from "~/mixin/commonFuncs";
...@@ -71,13 +71,16 @@ import Pattern from "~/model/Botacc/Pattern" ...@@ -71,13 +71,16 @@ import Pattern from "~/model/Botacc/Pattern"
import Setp from "./Setp" import Setp from "./Setp"
import Inst from "./Inst" import Inst from "./Inst"
import Ptyp from "./Ptyp" import Ptyp from "./Ptyp"
import Engp from "./Engp" // import Engp from "./Engp"
// import Setpan from "./Setpan" // import Setpan from "./Setpan"
import Coninfp from "./Coninfp" // import Coninfp from "./Coninfp"
// import Docpan from "./Docpan" // import Docpan from "./Docpan"
import Doctre from "./Doctre" // import Doctre from "./Doctre"
import Setpan from "~/views/Public/Setpan" import Setpan from "~/views/Public/Setpan"
import Docpan from "~/views/Public/Docpan" import Docpan from "~/views/Public/Docpan"
import Engp from "~/views/Public/Engp"
import Doctre from "~/views/Public/Doctre"
import Coninfp from "~/views/Public/Coninfp"
export default { export default {
...@@ -100,7 +103,7 @@ export default { ...@@ -100,7 +103,7 @@ export default {
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() { data() {
return { return {
tabVal: "ptyp", tabVal: "setp",
trnName: "botacc", trnName: "botacc",
model: new Botacc().data, model: new Botacc().data,
checkRules: Check, checkRules: Check,
......
...@@ -153,7 +153,7 @@ ...@@ -153,7 +153,7 @@
</c-table> </c-table>
</c-col> --> </c-col> -->
<c-col :span="24" style="height: 24px; margin-top: -10px"> <!-- <c-col :span="24" style="height: 24px; margin-top: -10px">
<el-form-item :label="model.botp.docgrdm.docdsclab" class="messageLabel"> <el-form-item :label="model.botp.docgrdm.docdsclab" class="messageLabel">
<c-button style="float: right" @click="addTableValue" type="primary">新增单据</c-button> <c-button style="float: right" @click="addTableValue" type="primary">新增单据</c-button>
</el-form-item> </el-form-item>
...@@ -163,19 +163,18 @@ ...@@ -163,19 +163,18 @@
:paginationShow="false" :border="true"> :paginationShow="false" :border="true">
<el-table-column label="1st" width="auto"> <el-table-column label="1st" width="auto">
<template slot-scope="scope"> <template slot-scope="scope">
<c-input v-model="scope.row.cmail1" @change="docpre"></c-input> <c-input v-model="scope.row.cmail1" @change="docpre" maxlength="12"></c-input>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="2nd" width="auto"> <el-table-column label="2nd" width="auto">
<template slot-scope="scope"> <template slot-scope="scope">
<c-input v-model="scope.row.cmail2"></c-input> <c-input v-model="scope.row.cmail2" maxlength="12" @change="docpre"></c-input>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="Document" prop="docnam" width="auto"> <el-table-column label="Document" prop="docnam" width="auto">
<template slot-scope="scope"> <template slot-scope="scope">
<!-- {{scope.row.docnam}} --> <c-select style="width: 100%" placeholder="请选择" v-model="scope.row.docnam" @change="docpre">
<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 v-for="item in codeTable" :key="item.value" :label="item.label" :value="item.value">
</el-option> </el-option>
</c-select> </c-select>
...@@ -187,7 +186,16 @@ ...@@ -187,7 +186,16 @@
</template> </template>
</el-table-column> </el-table-column>
</c-table> </c-table>
</c-col> </c-col> -->
<c-docpre
:model="model"
:argadr="{
path:'bodgrp.blk.docpre',
grp: 'botp',
rol: 'blk',
}"></c-docpre>
</c-col> </c-col>
<!-- ====================右边======================= --> <!-- ====================右边======================= -->
...@@ -233,8 +241,12 @@ import CodeTable from "~/config/CodeTable" ...@@ -233,8 +241,12 @@ import CodeTable from "~/config/CodeTable"
import Event from "~/model/Botdav/Event" import Event from "~/model/Botdav/Event"
import Utils from "~/utils"; import Utils from "~/utils";
import Ptap from "~/views/Public/Ptap"; import Ptap from "~/views/Public/Ptap";
import Docpre from "~/views/Public/Docpre";
export default { export default {
components: { "c-ptap": Ptap }, components: {
"c-ptap": Ptap,
"c-docpre": Docpre,
},
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
......
...@@ -10,7 +10,8 @@ ...@@ -10,7 +10,8 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="4"> <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 style="margin:0 10px 0 0;padding: 0 10px;" size="small" type="primary" icon="el-icon-search">
</c-button>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
...@@ -56,14 +57,15 @@ ...@@ -56,14 +57,15 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Collection Condition" prop="bodgrp.rec.doctypcod"> <el-form-item label="Collection Condition" prop="bodgrp.rec.doctypcod">
<c-select v-model="model.bodgrp.rec.doctypcod" style="width:100%" placeholder="请选择Collection Condition" <c-select v-model="model.bodgrp.rec.doctypcod" style="width:100%" placeholder="请选择Collection Condition"
disabled> :code="codes.doctypcod" disabled>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Document Set Status" prop="bodgrp.rec.docsta"> <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-select v-model="model.bodgrp.rec.docsta" maxlength="40" placeholder="请输入Document Set Status" disabled
</c-input> :code="codes.docstabot">
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
...@@ -150,7 +152,8 @@ ...@@ -150,7 +152,8 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Collecting Bank" prop="bodgrp.col.pts.ref"> <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> <c-input v-model="model.bodgrp.col.pts.ref" maxlength="16" placeholder="请输入Collecting Bank" disabled>
</c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -170,7 +173,7 @@ ...@@ -170,7 +173,7 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24" style="height: 24px; margin-top: -10px"> <!-- <c-col :span="24" style="height: 24px; margin-top: -10px">
<el-form-item :label="model.botp.docgrdm.docdsclab" class="messageLabel"> <el-form-item :label="model.botp.docgrdm.docdsclab" class="messageLabel">
<div v-if="model.rejtypsel == 'R'"> <div v-if="model.rejtypsel == 'R'">
<c-button style="float: right" @click="addTableValue" type="primary">新增单据</c-button> <c-button style="float: right" @click="addTableValue" type="primary">新增单据</c-button>
...@@ -193,7 +196,6 @@ ...@@ -193,7 +196,6 @@
</el-table-column> </el-table-column>
<el-table-column label="Document" prop="docnam" width="auto"> <el-table-column label="Document" prop="docnam" width="auto">
<template slot-scope="scope"> <template slot-scope="scope">
<!-- {{scope.row.docnam}} -->
<c-select style="width: 100%" placeholder="请选择" v-model="scope.row.docnam" :disabled="model.rejtypsel != 'R'"> <c-select style="width: 100%" placeholder="请选择" v-model="scope.row.docnam" :disabled="model.rejtypsel != 'R'">
<el-option v-for="item in codeTable" :key="item.value" :label="item.label" :value="item.value"> <el-option v-for="item in codeTable" :key="item.value" :label="item.label" :value="item.value">
</el-option> </el-option>
...@@ -208,9 +210,17 @@ ...@@ -208,9 +210,17 @@
</template> </template>
</el-table-column> </el-table-column>
</c-table> </c-table>
</c-col> -->
<c-col>
<c-docpre :model="model" :argadr="{
path: 'bodgrp.blk.docpre',
grp: 'botp',
rol: 'blk',
}" :ifShowAdd="model.rejtypsel == 'R'" :ifShowDelete="model.rejtypsel == 'R'"></c-docpre>
</c-col> </c-col>
</c-col> </c-col>
...@@ -225,9 +235,13 @@ import CodeTable from "~/config/CodeTable" ...@@ -225,9 +235,13 @@ import CodeTable from "~/config/CodeTable"
import Event from "~/model/Botdcr/Event" import Event from "~/model/Botdcr/Event"
import Utils from "~/utils"; import Utils from "~/utils";
import Ptap from "~/views/Public/Ptap"; import Ptap from "~/views/Public/Ptap";
import Docpre from "~/views/Public/Docpre";
export default { export default {
components: { "c-ptap": Ptap }, components: {
"c-ptap": Ptap,
"c-docpre": Docpre,
},
inject: ['root'], inject: ['root'],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<span v-text="model.mtabut.coninf.oitinf.labinftxt" data-path=".mtabut.coninf.oitinf.labinftxt" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext" prop="mtabut.coninf.oitinf.oit.inftxt">
<c-input type="textarea" v-model="model.mtabut.coninf.oitinf.oit.inftxt" maxlength="60" show-word-limit placeholder="请输入Infotext" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext Level" prop="mtabut.coninf.oitinf.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitinf.oit.inflev" style="width:100%" placeholder="请选择Infotext Level">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.mtabut.coninf.oitset.labinftxt" data-path=".mtabut.coninf.oitset.labinftxt" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext" prop="mtabut.coninf.oitset.oit.inftxt">
<c-input type="textarea" v-model="model.mtabut.coninf.oitset.oit.inftxt" maxlength="60" show-word-limit placeholder="请输入Infotext" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext Level" prop="mtabut.coninf.oitset.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitset.oit.inflev" style="width:100%" placeholder="请选择Infotext Level">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="执行日期" prop="mtabut.coninf.conexedat">
<c-date-picker type="date" v-model="model.mtabut.coninf.conexedat" style="width:100%" placeholder="请选择执行日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="User ID" prop="mtabut.coninf.usr.extkey">
<c-input v-model="model.mtabut.coninf.usr.extkey" maxlength="8" placeholder="请输入User ID"></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Botpay/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">
<span v-text="model.trnmod.trndoc.advlabel" data-path=".trnmod.trndoc.advlabel" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="国内证落款" prop="trnmod.trndoc.advnam">
<c-input v-model="model.trnmod.trndoc.advnam" maxlength="50" placeholder="请输入国内证落款"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="修改申请人名称" prop="trnmod.trndoc.amdapl">
<c-input type="textarea" v-model="model.trnmod.trndoc.amdapl" maxlength="50" show-word-limit placeholder="请输入修改申请人名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.trnmod.trndoc.amdnam" data-path=".trnmod.trndoc.amdnam" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="国内证通知书" prop="trnmod.trndoc.advdoc">
<c-input v-model="model.trnmod.trndoc.advdoc" maxlength="1" placeholder="请输入国内证通知书"></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Botpay/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="File Receiver" prop="trnmod.trndoc.filrecv">
<c-input v-model="model.trnmod.trndoc.filrecv" placeholder="请输入File Receiver"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Document tree" prop="trnmod.trndoc.doctrestm">
<c-input v-model="model.trnmod.trndoc.doctrestm" placeholder="请输入Document tree"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButshw">
Sho&w
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButadd">
D&etails
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButnew">
&Add New
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButattto">
Attach to
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" icon="el-icon-delete" @click="onTrndocButdel">
Delete
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.trnmod.trndoc.doclbl" data-path=".trnmod.trndoc.doclbl" > </span>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.trnmod.trndoc.shwinc">Show Incoming Messages</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.trnmod.trndoc.shwout">Show Outgoing Messages</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButatt">
Attach
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Connected Documents" prop="trnmod.trndoc.condocstm">
<c-input v-model="model.trnmod.trndoc.condocstm" placeholder="请输入Connected Documents"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="trnmod.trndoc.rcvatt.seainf">
<c-input v-model="model.trnmod.trndoc.rcvatt.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Botpay/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="Sight Amount" prop="liaall.outamt">
<c-input v-model="model.liaall.outamt" placeholder="请输入Sight Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Sight Amount Percentage" prop="liaall.outpct">
<c-input v-model="model.liaall.outpct" placeholder="请输入Sight Amount Percentage"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External Booking Amount" prop="liaall.concur">
<c-input v-model="model.liaall.concur" maxlength="3" placeholder="请输入External Booking Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Amount not yet assigned" prop="liaall.misamt">
<c-input v-model="model.liaall.misamt" placeholder="请输入Amount not yet assigned"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLiaallButmisamt">
Add to Current Line
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLiaallButmissig">
Add to Sight Amount
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Old Amount booked externally" prop="liaall.exttotoldamt">
<c-input v-model="model.liaall.exttotoldamt" placeholder="请输入Old Amount booked externally"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Total booking amount external assinged" prop="liaall.exttotamt">
<c-input v-model="model.liaall.exttotamt" placeholder="请输入Total booking amount external assinged"></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Botpay/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Booking stream to Display" prop="setmod.glemod.gleshwstm">
<c-input v-model="model.setmod.glemod.gleshwstm" placeholder="请输入Booking stream to Display"></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Botpay/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">
<c-col :span="12">
<el-form-item label="Delivery of Documents Instructions" prop="bodgrp.blk.colins">
<c-fullbox>
<c-input type="textarea" v-model="model.bodgrp.blk.colins" maxlength="65" show-word-limit
placeholder="请输入Collection Instructions"></c-input>
<template slot="footer">
<c-button size="small" type="primary">
...
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Charges Condition" prop="bodgrp.rec.chato">
<c-select v-model="model.bodgrp.rec.chato" style="width:100%" placeholder="请选择Our Charges to">
<el-option v-for="item in codes.chato" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="" prop="bodgrp.blk.colinsflg">
<c-checkbox v-model="model.bodgrp.blk.colinsflg">Delivery Of Document Instructions modified</c-checkbox>
</el-form-item>
</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>
<!-- <c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onColinsButtxmsel">
...
</c-button>
</c-col> -->
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Draft Instructions" prop="bodgrp.blk.dftins">
<c-fullbox>
<c-input type="textarea" v-model="model.bodgrp.blk.dftins" maxlength="65" show-word-limit
placeholder="请输入Draft Instructions">
</c-input>
<template slot="footer">
<c-button size="small" type="primary">
...
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="bodgrp.blk.colinsflg">
<c-checkbox v-model="model.bodgrp.rec.focflg">Free of Payment</c-checkbox>
</el-form-item>
</c-col>
</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="24">
<c-col :span="12">
<el-form-item label="Protest Instructions" prop="bodgrp.blk.proins">
<c-fullbox>
<c-input type="textarea" v-model="model.bodgrp.blk.proins" maxlength="65" show-word-limit
placeholder="请输入Protest Instructions"></c-input>
<template slot="footer">
<c-button size="small" type="primary">
...
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Waive Collecting Bank Charges" prop="bodgrp.rec.waicolcod">
<c-select v-model="model.bodgrp.rec.waicolcod" style="width:100%"
placeholder="请选择Waive Remitting Bank Charges">
<el-option v-for="item in codes.waicolcod" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
<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">
<el-option v-for="item in codes.wairmtcod" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
</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">
<c-button size="small" type="primary" icon="el-icon-search" @click="onProinsButtxmsel">
...
</c-button>
</c-col> -->
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Other Instructions" prop="bodgrp.blk.othins">
<c-fullbox>
<c-input type="textarea" v-model="model.bodgrp.blk.othins" maxlength="65" show-word-limit
placeholder="请输入Other Instructions"></c-input>
<template slot="footer">
<c-button size="small" type="primary">
...
</c-button>
</template>
</c-fullbox>
</el-form-item>
</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">
<el-option v-for="item in codes.othins" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<!-- <c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onOthins1Buttxmsel">
...
</c-button>
</c-col> -->
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Warehouse/Insurance Instructions " prop="bodgrp.blk.delins">
<c-fullbox>
<c-input type="textarea" v-model="model.bodgrp.blk.delins" maxlength="65" show-word-limit
placeholder="请输入Warehouse/Insurance Instructions "></c-input>
<template slot="footer">
<c-button size="small" type="primary">
...
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="12">
<c-col :span="9">
<el-form-item label="less comm" prop="bodgrp.rec.lescom">
<c-select v-model="model.bodgrp.cbs.opn1.cur" style="width: %" placeholder="请选择Document Amount"
:disabled="true" :code="codes.cur">
</c-select>
</el-form-item>
</c-col>
<c-col :span="14" :offset="1">
<c-input v-model="model.bodgrp.rec.lescom" placeholder="请输入Warehouse/Insurance"></c-input>
</c-col>
</c-col>
</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/Botpay/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="our reference" prop="setmod.ref">
<c-input v-model="model.setmod.ref" maxlength="16" placeholder="请输入our reference"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.docamttyplab" data-path=".setmod.docamttyplab" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Type of settlement" prop="setmod.dspflg">
<c-select v-model="model.setmod.dspflg" style="width:100%" placeholder="请选择Type of settlement">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.setmod.xreflg">Recalculate Rates</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSetmodDet">
细节
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.retmsg" data-path=".setmod.retmsg" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="自�'�区主�'�号" prop="setmod.zmqacc">
<c-input v-model="model.setmod.zmqacc" maxlength="20" placeholder="请输入自�'�区主�'�号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.zmqacclab" data-path=".setmod.zmqacclab" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.setglg.labdspflg" data-path=".setmod.setglg.labdspflg" > </span>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Botpay/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<c-page title="出口托收结算">
<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">
<!--PD000027 -->
<el-tab-pane label="setp" name="setp">
<m-setp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000049 -->
<el-tab-pane label="inst" name="inst">
<m-inst :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000266 -->
<el-tab-pane label="ptyp" name="ptyp">
<m-ptyp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="engp" name="engp">
<m-engp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="setpan" name="setpan">
<m-setpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="glepan" name="glepan">
<m-glepan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="coninfp" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="docpan" name="docpan">
<m-docpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane label="doctre" 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 Utils from "~/utils/index"
import CodeTable from "~/config/CodeTable"
import Botpay from "~/model/Botpay"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Botpay/Check"
import Default from "~/model/Botpay/Default"
import Pattern from "~/model/Botpay/Pattern"
import Setp from "./Setp"
import Inst from "./Inst"
import Ptyp from "./Ptyp"
// import Engp from "./Engp"
// import Setpan from "./Setpan"
// import Glepan from "./Glepan"
// import Coninfp from "./Coninfp"
// import Docpan from "./Docpan"
// import Doctre from "./Doctre"
import Engp from "~/views/Public/Engp"
import Setpan from "~/views/Public/Setpan"
import Coninfp from "~/views/Public/Coninfp"
import Docpan from "~/views/Public/Docpan"
import Doctre from "~/views/Public/Doctre"
import Glepan from "~/views/Public/Glepan"
export default {
name: "Botpay",
components: {
"m-setp": Setp,
"m-inst": Inst,
"m-ptyp": Ptyp,
"m-engp": Engp,
"m-setpan": Setpan,
"m-glepan": Glepan,
"m-coninfp": Coninfp,
"m-docpan": Docpan,
"m-doctre": Doctre,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "setp",
trnName: "botpay",
model: new Botpay().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
},
methods: {
myTabClick(tab) {
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created: async function () {
console.log("进入botpay交易");
let rtnmsg = await this.init({})
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
}
}
</script>
<style>
</style>
...@@ -56,15 +56,15 @@ ...@@ -56,15 +56,15 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Collection Condition" prop="bodgrp.rec.doctypcod"> <el-form-item label="Collection Condition" prop="bodgrp.rec.doctypcod">
<c-select v-model="model.bodgrp.rec.doctypcod" style="width:100%" placeholder="请选择Collection Condition" <c-select v-model="model.bodgrp.rec.doctypcod" style="width:100%" placeholder="请选择Collection Condition" :code="codes.doctypcod" disabled
disabled> >
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Document Set Status" prop="bodgrp.rec.docsta"> <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-select v-model="model.bodgrp.rec.docsta" maxlength="40" placeholder="请输入Document Set Status" :code="codes.docstabot" disabled>
</c-input> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
......
...@@ -518,6 +518,7 @@ ...@@ -518,6 +518,7 @@
rol: 'prb', rol: 'prb',
}" }"
:disabled="true" :disabled="true"
@onSeainf="onSeainf" @onAplpDet="onPrbpDet"
> >
</c-ptap1> </c-ptap1>
</c-col> </c-col>
...@@ -538,11 +539,12 @@ ...@@ -538,11 +539,12 @@
:model="model" :model="model"
:argadr="{ :argadr="{
title: '', title: '',
grp: 'brdgrp', grp: 'brtp',
rol: 'prb', rol: 'oth',
}" }"
:disabled="true" :disabled="true"
disabled1 disabled1
@onSeainf="onSeainf" @onAplpDet="onOthpDet"
> >
</c-ptap1> </c-ptap1>
<!-- <c-ptap <!-- <c-ptap
...@@ -753,7 +755,7 @@ export default { ...@@ -753,7 +755,7 @@ export default {
data() { data() {
return {}; return {};
}, },
methods: { ...Event, onSeainf() {}, onDitpButgetref() {}, onBenpDet() {} }, methods: { ...Event},
created: function () {}, created: function () {},
computed: { computed: {
flag() { flag() {
......
...@@ -148,6 +148,7 @@ ...@@ -148,6 +148,7 @@
:disabled="true" :disabled="true"
:isAdrblk="false" :isAdrblk="false"
disabled1 disabled1
@onSeainf="onSeainf" @onAplpDet="onShppDet"
> >
</c-ptap1> </c-ptap1>
<!-- brdgrp.shp.pts.extkey 对应grp: 'brdgrp', rol: 'prb',--> <!-- brdgrp.shp.pts.extkey 对应grp: 'brdgrp', rol: 'prb',-->
......
...@@ -306,9 +306,9 @@ ...@@ -306,9 +306,9 @@
<c-col :span="24"> <c-col :span="24">
<c-ptap1 :model="model" :argadr="{ <c-ptap1 :model="model" :argadr="{
title: '', title: '',
grp: 'brtp', grp: 'brdgrp',
rol: 'oth', rol: 'prb',
}" :disabled="true" :isAdrblk="false"> }" :disabled="true" :isAdrblk="false" @onSeainf="onSeainf" @onAplpDet="onPrbpDet">
</c-ptap1> </c-ptap1>
</c-col> </c-col>
...@@ -325,7 +325,7 @@ ...@@ -325,7 +325,7 @@
title: '', title: '',
grp: 'brtp', grp: 'brtp',
rol: 'oth', rol: 'oth',
}" :disabled="true" :isAdrblk="false" disabled1> }" :disabled="true" :isAdrblk="false" disabled1 @onSeainf="onSeainf" @onAplpDet="onOthpDet">
</c-ptap1> </c-ptap1>
</c-col> </c-col>
...@@ -943,7 +943,7 @@ export default { ...@@ -943,7 +943,7 @@ export default {
data() { data() {
return {}; return {};
}, },
methods: { ...Event, onSeainf() { }, onDitpButgetref() { }, onAcctagButtxmsel() { }, }, methods: { ...Event },
created: function () { }, created: function () { },
computed: { computed: {
flag() { flag() {
......
...@@ -142,6 +142,7 @@ import Gitsel from "./Gitsel" ...@@ -142,6 +142,7 @@ import Gitsel from "./Gitsel"
import Infgid from "./Infgid" import Infgid from "./Infgid"
import Gitset from "./Gitset" import Gitset from "./Gitset"
import Gitcrq from "./Gitcrq" import Gitcrq from "./Gitcrq"
import Infgcd from "./Infgcd"
import Getsel from "./Getsel" import Getsel from "./Getsel"
import Getset from "./Getset" import Getset from "./Getset"
import Getcrq from "./Getcrq" import Getcrq from "./Getcrq"
...@@ -337,6 +338,7 @@ const BusRouter = [ ...@@ -337,6 +338,7 @@ const BusRouter = [
{ path: 'infgid', component: Infgid, name: 'Infgid', meta: { title: '进口保函入口交易' } }, { path: 'infgid', component: Infgid, name: 'Infgid', meta: { title: '进口保函入口交易' } },
{ path: 'gitset', component: Gitset, name: 'Gitset', meta: { title: '进口保函赔付' } }, { path: 'gitset', component: Gitset, name: 'Gitset', meta: { title: '进口保函赔付' } },
{ path: 'gitcrq', component: Gitcrq, name: 'Gitcrq', meta: { title: '进口保函索赔登记' } }, { path: 'gitcrq', component: Gitcrq, name: 'Gitcrq', meta: { title: '进口保函索赔登记' } },
{ path: 'infgcd', component: Infgcd, name: 'Infgcd', meta: { title: '保函赔付查询' } },
{ path: 'ditdav', component: Ditdav, name: 'Ditdav', meta: { title: '信用证收单' } }, { path: 'ditdav', component: Ditdav, name: 'Ditdav', meta: { title: '信用证收单' } },
......
...@@ -664,7 +664,12 @@ export default { ...@@ -664,7 +664,12 @@ export default {
data() { data() {
return {}; return {};
}, },
methods: { ...Event }, methods: {
...Event,
onSeainf(data) {
this.$emit("onSeainf", data);
},
},
created: function () {}, created: function () {},
}; };
</script> </script>
......
...@@ -107,7 +107,7 @@ ...@@ -107,7 +107,7 @@
<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"> <el-tab-pane v-if="bookings" label="Bookings" name="glepan">
<m-glepan :model="model" :codes="codes" /> <m-glepan :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
...@@ -121,18 +121,12 @@ ...@@ -121,18 +121,12 @@
<m-docpan :model="model" :codes="codes" /> <m-docpan :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="Attachments" name="doctre"> <el-tab-pane v-if="attachments" label="Attachments" name="doctre">
<c-content> <c-content>
<m-doctre :model="model" :codes="codes" /> <m-doctre :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!-- <el-tab-pane v-if="model.gitp.swiftflg=='N'&&model.gidgrp.ghd.segtyp=='02'" label="汇总征税" name="detpp">
<c-content>
<m-detpp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane> -->
<!--PD000001 --> <!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody"> <el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes" /> <m-limitbody :model="model" :codes="codes" />
...@@ -203,11 +197,18 @@ export default { ...@@ -203,11 +197,18 @@ export default {
codes: { codes: {
...CodeTable, ...CodeTable,
}, },
bookings: false,
attachments: false,
}; };
}, },
methods: { methods: {
myTabClick(tab) { myTabClick(tab) {
this.tabClick(tab); this.tabClick(tab);
if(tab.name === "setpan"){
this.bookings = true,
this.attachments = true
}
/** /**
* do it yourself * do it yourself
**/ **/
......
...@@ -178,7 +178,10 @@ ...@@ -178,7 +178,10 @@
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
<c-col :span="24" style="margin-top: 10px">
<c-button class="medium_bcs" size="medium" style="margin-left: 0px" type="primary" @click="toBctdav">寄单</c-button>
</c-col> </c-col>
...@@ -355,9 +358,9 @@ export ...@@ -355,9 +358,9 @@ export
this.$emit('updateShowPanel', true) this.$emit('updateShowPanel', true)
}, },
// toBotdav() { toBctdav() {
// this.$router.history.push("/business/botdav") this.$router.history.push("/business/bctdav")
// } }
}, },
created: function () { created: function () {
......
<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">
<!--PD000103 -->
<!-- <el-tab-pane label="PD000103" name="infsea">
<m-infsea :model="model" :codes="codes"/>
</el-tab-pane> -->
<c-content>
<m-infsea :model="model" :codes="codes" ref="infsea" />
</c-content>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Infgcd from "~/model/Infgcd"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Infgcd/Check"
import Default from "~/model/Infgcd/Default"
import Pattern from "~/model/Infgcd/Pattern"
import Infsea from "./Infsea"
export default {
name: "Infgcd",
components:{
"m-infsea" : Infsea,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
trnName: "infgcd",
model: new Infgcd().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
...CodeTable
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入infgcd交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
...@@ -715,12 +715,14 @@ export default { ...@@ -715,12 +715,14 @@ export default {
dialogTableVisible: false, dialogTableVisible: false,
trnData: { trnData: {
columns: [ columns: [
'1 1 "编号" 200', '0 1 "Trn ID" 100',
'2 2 "交易名称" 100', '1 2 "Reference" 200',
'3 3 "日期" 200', '2 3 "Transaction Name" 100',
'4 4 "状态" 50', '3 4 "Entry" 200',
'5 5 "币种" 80', '4 5 "Status" 50',
'6 6 "金额" 80', '5 6 "Cur." 80',
'6 7 "Relevant Amount" 80',
'7 8 "Signed" 80',
], ],
data: [], data: [],
}, },
...@@ -728,26 +730,26 @@ export default { ...@@ -728,26 +730,26 @@ export default {
columns: [ columns: [
'1 1 "Reference" 150', '1 1 "Reference" 150',
'2 2 "Resp. User" 150', '2 2 "Resp. User" 150',
'3 10 "Opened" 150',
'4 13 "Validity" 150',
'5 14 "Liability" 150',
'6 21"电子渠道类型" 150',
'7 22"OTHERSNO" 150',
'8 3 "保函品种" 150', '8 3 "保函品种" 150',
'9 20 "Handling Type" 150',
'10 11 "分行名称" 150',
'11 4 "Party Number" 150', '11 4 "Party Number" 150',
'12 5 "Applicant" 150', '12 5 "Applicant" 150',
'15 6 "Cur" 150',
'13 7 "Party Number" 150', '13 7 "Party Number" 150',
'14 8 "Beneficiary" 150', '14 8 "Beneficiary" 150',
'15 6 "Cur" 150',
'16 18 "Guar. Amount" 150',
'17 12 "Cur" 150',
'18 9 "Guarantee Amount(RMB)" 150', '18 9 "Guarantee Amount(RMB)" 150',
'3 10 "Opened" 150',
'10 11 "分行名称" 150',
'17 12 "Cur" 150',
'4 13 "Validity" 150',
'5 14 "Liability" 150',
'22 15 "Open Amount(RMB)" 150',
'19 16 "Cur" 150', '19 16 "Cur" 150',
'20 19 "Open Amount" 150',
'21 17 "Cur" 150', '21 17 "Cur" 150',
'22 15 "Open Amount(RMB)" 150', '16 18 "Guar. Amount" 150',
'20 19 "Open Amount" 150',
'9 20 "Handling Type" 150',
'6 21"电子渠道类型" 150',
'7 22"OTHERSNO" 150',
], ],
data: [], data: [],
}, },
......
...@@ -159,6 +159,9 @@ export default { ...@@ -159,6 +159,9 @@ export default {
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data) this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑 //TODO 处理数据逻辑
if (this.isInDisplay) {
this.restoreDisplay();
}
} }
else { else {
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
size="small" size="small"
:validate-on-rule-change="false" :validate-on-rule-change="false"
> >
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000017 --> <!--PD000017 -->
<el-tab-pane label="基本信息" name="ovwp"> <el-tab-pane label="基本信息" name="ovwp">
<c-content> <c-content>
...@@ -70,6 +70,16 @@ ...@@ -70,6 +70,16 @@
<m-doxp :model="model" :codes="codes" :dtyp="'adcp'" :rec="'led'" /> <m-doxp :model="model" :codes="codes" :dtyp="'adcp'" :rec="'led'" />
</el-tab-pane> </el-tab-pane>
<!--PD000317 -->
<el-tab-pane label="PD000317" name="revp">
<m-revp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="表外" name="engp">
<m-engp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 --> <!--PD000000 -->
<el-tab-pane label="账务" name="setpan"> <el-tab-pane label="账务" name="setpan">
<c-content> <c-content>
...@@ -92,16 +102,6 @@ ...@@ -92,16 +102,6 @@
<m-doctre :model="model" :codes="codes" /> <m-doctre :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="或有" name="engp">
<m-engp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000317 -->
<!-- <el-tab-pane label="PD000317" name="revp">
<m-revp :model="model" :codes="codes" />
</el-tab-pane> -->
<!--PD000394 --> <!--PD000394 -->
<el-tab-pane <el-tab-pane
v-if="model.ledgrp.rec.spcbenflg" v-if="model.ledgrp.rec.spcbenflg"
...@@ -116,6 +116,11 @@ ...@@ -116,6 +116,11 @@
/> />
</el-tab-pane> </el-tab-pane>
<!--PD000394 -->
<!-- <el-tab-pane label="PD000394" name="spcbenp">
<m-spcbenp :model="model" :codes="codes" />
</el-tab-pane> -->
<!--PD000395 --> <!--PD000395 -->
<el-tab-pane <el-tab-pane
v-if="model.ledgrp.rec.spcrcbflg" v-if="model.ledgrp.rec.spcrcbflg"
...@@ -129,6 +134,10 @@ ...@@ -129,6 +134,10 @@
:rec="'led'" :rec="'led'"
/> />
</el-tab-pane> </el-tab-pane>
<!--PD000422 -->
<!-- <el-tab-pane label="PD000422" name="spcrcvp">
<m-spcrcvp :model="model" :codes="codes" />
</el-tab-pane> -->
<!--PD000001 --> <!--PD000001 -->
<el-tab-pane label="分录信息" name="glepan"> <el-tab-pane label="分录信息" name="glepan">
...@@ -166,18 +175,25 @@ import Pattern from "~/model/Letopn/Pattern"; ...@@ -166,18 +175,25 @@ import Pattern from "~/model/Letopn/Pattern";
import Ovwp from "./Ovwp"; import Ovwp from "./Ovwp";
import Detp from "./Detp"; import Detp from "./Detp";
import Ptyp from "./Ptyp"; import Ptyp from "./Ptyp";
// import Dogp from './Dogp';
// import Dorp from './Dorp';
// import Adcp from './Adcp';
// import Setpan from "./Setpan"; // import Setpan from "./Setpan";
// import Coninfp from "./Coninfp"; // import Coninfp from "./Coninfp";
// import Docpan from "./Docpan"; // import Docpan from "./Docpan";
// import Glepan from "./Glepan"; // import Glepan from "./Glepan";
// import Engp from "./Engp"; // import Engp from "./Engp";
import Doctre from "./Doctre"; // import Doctre from "./Doctre";
import Revp from "./Revp"; import Revp from "./Revp";
import Aamp from "./Aamp"; import Aamp from "./Aamp";
// import Spcbenp from './Spcbenp'
// import Spcrcvp from './Spcrcvp'
// import Glepan from './Glepan'
import Coninfp from "~/views/Public/Coninfp"; import Coninfp from "~/views/Public/Coninfp";
import Setpan from "~/views/Public/Setpan"; import Setpan from "~/views/Public/Setpan";
import Docpan from "~/views/Public/Docpan"; import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre";
import Engp from "~/views/Public/Engp"; import Engp from "~/views/Public/Engp";
import Glepan from "~/views/Public/Glepan"; import Glepan from "~/views/Public/Glepan";
import Doxp from "~/views/Public/Doxp"; import Doxp from "~/views/Public/Doxp";
...@@ -217,7 +233,12 @@ export default { ...@@ -217,7 +233,12 @@ export default {
}; };
}, },
methods: { methods: {
tabClick() {}, myTabClick(tab) {
this.tabClick(tab)
/**
* do it yourself
**/
},
}, },
created: async function () { created: async function () {
console.log("进入letopn交易"); console.log("进入letopn交易");
...@@ -226,6 +247,7 @@ export default { ...@@ -226,6 +247,7 @@ export default {
//更新数据 //更新数据
this.updateModel(rtnmsg.data) this.updateModel(rtnmsg.data)
// Utils.copyValueFromVO(this.model, rtnmsg.data); // Utils.copyValueFromVO(this.model, rtnmsg.data);
//TODO 处理数据逻辑
if (this.isInDisplay) { if (this.isInDisplay) {
this.restoreDisplay(); this.restoreDisplay();
} }
......
...@@ -86,19 +86,19 @@ export default { ...@@ -86,19 +86,19 @@ export default {
// { inifrm: "inftrd", ininam: "进口押汇查询", pntmiu: "4" }, // { inifrm: "inftrd", ininam: "进口押汇查询", pntmiu: "4" },
// { inifrm: "trtame", ininam: "进口融资修改", pntmiu: "4" }, // { inifrm: "trtame", ininam: "进口融资修改", pntmiu: "4" },
// { inifrm: "inftxm", ininam: "条式语句查询", pntmiu: "4" }, // { inifrm: "inftxm", ininam: "条式语句查询", pntmiu: "4" },
{ inifrm: "5", ininam: "进口代收", pntmiu: "" }, { inifrm: "5", ininam: "进口代收", pntmiu: "" },
{ inifrm: "bctdav", ininam: "进口代收到单通知", pntmiu: "5" }, // { inifrm: "bctdav", ininam: "进口代收到单通知", pntmiu: "5" },
{ inifrm: "bctame", ininam: "进口代收修改", pntmiu: "5" }, // { inifrm: "bctame", ininam: "进口代收修改", pntmiu: "5" },
{ inifrm: "bctacc", ininam: "进口代收承兑", pntmiu: "5" }, // { inifrm: "bctacc", ininam: "进口代收承兑", pntmiu: "5" },
{ inifrm: "bctrad", ininam: "进口代收二次收单", pntmiu: "5" }, // { inifrm: "bctrad", ininam: "进口代收二次收单", pntmiu: "5" },
{ inifrm: "bctdor", ininam: "进口代收拒付", pntmiu: "5" }, // { inifrm: "bctdor", ininam: "进口代收拒付", pntmiu: "5" },
{ inifrm: "bctset", ininam: "进口代收付款", pntmiu: "5" }, // { inifrm: "bctset", ininam: "进口代收付款", pntmiu: "5" },
{ inifrm: "bctcan", ininam: "进口代收注销", pntmiu: "5" }, // { inifrm: "bctcan", ininam: "进口代收注销", pntmiu: "5" },
{ inifrm: "infbcd", ininam: "进口代收查询", pntmiu: "5" }, { inifrm: "infbcd", ininam: "进口代收查询", pntmiu: "5" },
{ inifrm: "6", ininam: "出口托收", pntmiu: "" }, { inifrm: "6", ininam: "出口托收", pntmiu: "" },
{ inifrm: "infbod", ininam: "出口托收入口交易", pntmiu: "6" }, { inifrm: "infbod", ininam: "出口托收入口交易", pntmiu: "6" },
{ inifrm: "botsel", ininam: "出口托收入口交易Botsel", pntmiu: "6" },
{ inifrm: "botdav", ininam: "出口托收寄单", pntmiu: "6" }, { inifrm: "botdav", ininam: "出口托收寄单", pntmiu: "6" },
{ inifrm: "botame", ininam: "出口托收修改", pntmiu: "6" }, { inifrm: "botame", ininam: "出口托收修改", pntmiu: "6" },
{ inifrm: "botdcr", ininam: "出口托收拒付/不符点", pntmiu: "6" }, { inifrm: "botdcr", ininam: "出口托收拒付/不符点", pntmiu: "6" },
......
<template>
<div>
<c-col :span="24" style="height: 24px; margin-top: -10px">
<el-form-item :label="model[argadr.grp].docgrdm.docdsclab" class="messageLabel" >
<div v-if="ifShowAdd">
<c-button style="float: right" @click="addTableValue" type="primary">新增单据</c-button>
</div>
</el-form-item>
</c-col>
<c-col :span="24" style="margin-bottom: 30px;">
<c-table height="200px" style="text-align: center" :list="this.model[argadr.grp].docgrdm.docgrd || []"
:paginationShow="false" :border="true">
<el-table-column label="1st" width="auto" prop="cmail1">
<template slot-scope="scope">
<c-input v-model="scope.row.cmail1" @change="docpre" :disabled="disabledCmail1">
</c-input>
</template>
</el-table-column>
<el-table-column label="2nd" width="auto" prop="cmail2">
<template slot-scope="scope">
<c-input v-model="scope.row.cmail2" @change="docpre" :disabled="disabledCmail2">
</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"
:disabled="disabledDocnam">
<el-option v-for="item in codeTable" :key="item.value" :label="item.label" @change="docpre"
:value="item.value">
</el-option>
</c-select>
</template>
</el-table-column>
<el-table-column label="操作" width="170px" fixed="right">
<template slot-scope="scope">
<div v-if="ifShowDelete">
<c-button @click="deleteTable(scope.$index)" type="primary">删除</c-button>
</div>
</template>
</el-table-column>
</c-table>
</c-col>
</div>
</template>
<script>
import commonProcess from "~/mixin/commonProcess";
export default {
inject: ["root"],
mixins: [commonProcess],
data() {
return {
data: [],
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: "",
},
],
};
},
watch: {},
props: {
model: {
type: Object,
default: undefined,
},
argadr: {
type: Object,
default: function () {
return {
grp: "", //所属模块 eg:bdtp,botp...
path: "", // path为存储数据字段所对应的default方法
};
},
},
disabledCmail1: {
type: Boolean,
default: false,
},
disabledCmail2: {
type: Boolean,
default: false,
},
disabledDocnam: {
type: Boolean,
default: false,
},
ifShowAdd: {
type: Boolean,
default: true,
},
ifShowDelete: {
type: Boolean,
default: true,
},
},
methods: {
...Event,
addTableValue(index) {
var newTableValue = Object.assign({}, this.newValue);
const serial = Utils.generateUUID();
newTableValue.serialNum = serial;
this.model[argadr.grp].docgrdm.docgrd.splice(index - 1, 0, newTableValue);
},
deleteTable(index) {
this.model[argadr.grp].docgrdm.docgrd.splice(index, 1);
},
async docpre() {
let rtnmsg = await this.executeDefault(this.argadr.path)
// let rtnmsg = await this.executeDefault('bodgrp.blk.docpre')
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data)
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
},
created: function () {
}
};
</script>
<style>
.messageLabel>>>.el-form-item__label {
text-align: left;
font-weight: bold;
font-size: 12px;
}
</style>
\ No newline at end of file
<template>
<ReviewWrapper>
<Letamc></Letamc>
</ReviewWrapper>
</template>
<script>
import Letamc from "~/views/Business/Letamc";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewLetamc",
components: { ReviewWrapper, Letamc },
created() {},
mounted() {},
};
</script>
<style></style>
<template>
<ReviewWrapper>
<Letame></Letame>
</ReviewWrapper>
</template>
<script>
import Letame from "~/views/Business/Letame";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewLetame",
components: { ReviewWrapper, Letame },
created() {},
mounted() {},
};
</script>
<style></style>
<template>
<ReviewWrapper>
<Letopn></Letopn>
</ReviewWrapper>
</template>
<script>
import Letopn from "~/views/Business/Letopn";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewLetopn",
components: { ReviewWrapper, Letopn },
created() {},
mounted() {},
};
</script>
<style></style>
...@@ -14,6 +14,9 @@ import ReviewBrtdck from "./Business/ReviewBrtdck.vue"; ...@@ -14,6 +14,9 @@ import ReviewBrtdck from "./Business/ReviewBrtdck.vue";
import ReviewBrtudp from "./Business/ReviewBrtudp.vue"; import ReviewBrtudp from "./Business/ReviewBrtudp.vue";
import ReviewBrteus from "./Business/ReviewBrteus.vue"; import ReviewBrteus from "./Business/ReviewBrteus.vue";
import ReviewLetnot from "./Business/ReviewLetnot.vue"; import ReviewLetnot from "./Business/ReviewLetnot.vue";
import ReviewLetopn from "./Business/ReviewLetopn.vue";
import ReviewLetamc from "./Business/ReviewLetamc.vue";
import ReviewLetame from "./Business/ReviewLetame.vue";
import ReviewBdtdcr from "./Business/ReviewBdtdcr.vue"; import ReviewBdtdcr from "./Business/ReviewBdtdcr.vue";
import ReviewBdteus from "./Business/ReviewBdteus.vue"; import ReviewBdteus from "./Business/ReviewBdteus.vue";
import ReviewBftsnd from "./Business/ReviewBftsnd.vue"; import ReviewBftsnd from "./Business/ReviewBftsnd.vue";
...@@ -40,6 +43,28 @@ const ReviewRouter = [ ...@@ -40,6 +43,28 @@ const ReviewRouter = [
{ path: "letnot", component: ReviewLetnot, name: "ReviewLetnot", meta: { title: "复核-Letnot" } }, { path: "letnot", component: ReviewLetnot, name: "ReviewLetnot", meta: { title: "复核-Letnot" } },
{ path: "bftsnd", component: ReviewBftsnd, name: "ReviewBftsnd", meta: { title: "复核-卖方信用证单据寄单" } }, { path: "bftsnd", component: ReviewBftsnd, name: "ReviewBftsnd", meta: { title: "复核-卖方信用证单据寄单" } },
{ path: "bftdcr", component: ReviewBftdcr, name: "ReviewBftdcr", meta: { title: "复核-卖方信用证单据电提不符点/开证行拒付" } }, { path: "bftdcr", component: ReviewBftdcr, name: "ReviewBftdcr", meta: { title: "复核-卖方信用证单据电提不符点/开证行拒付" } },
{ path: "ditopn", component: ReviewDitopn, name: "ReviewDitopn", meta: { title: "复核-买方信用证开立" } },
{ path: "ditdck", component: ReviewDitdck, name: "ReviewDitdck", meta: { title: "复核-买方信用证到单" } },
{ path: "bdtset", component: ReviewBdtset, name: "ReviewBdtset", meta: { title: "复核-买方信用证付款" } },
{ path: "cptadv", component: ReviewCptadv, name: "ReviewCptadv", meta: { title: "复核-汇入汇款" } },
{ path: "cptopn", component: ReviewCptopn, name: "ReviewCptopn", meta: { title: "复核-汇出汇款" } },
{ 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: "botdcr", component: ReviewBotdcr, name: "ReviewBotdcr", meta: { title: "复核-Botdcr" } },
{ path: "botrad", component: ReviewBotrad, name: "ReviewBotrad", meta: { title: "复核-Botrad" } },
{ path: "botdav", component: ReviewBotdav, name: "ReviewBotdav", meta: { title: "复核-botdav" } },
{ path: "brtdck", component: ReviewBrtdck, name: "ReviewBrtdck", meta: { title: "复核-Brtdck" } },
{ path: "brtudp", component: ReviewBrtudp, name: "ReviewBrtudp", meta: { title: "复核-Brtudp" } },
{ path: "brteus", component: ReviewBrteus, name: "ReviewBrteus", meta: { title: "复核-Brteus" } },
{ path: "letnot", component: ReviewLetnot, name: "ReviewLetnot", meta: { title: "复核-Letnot" } },
{ path: "letopn", component: ReviewLetopn, name: "ReviewLetopn", meta: { title: "复核-Letopn" } },
{ path: "letamc", component: ReviewLetamc, name: "ReviewLetamc", meta: { title: "复核-Letamc" } },
{ path: "letame", component: ReviewLetame, name: "ReviewLetame", meta: { title: "复核-Letame" } },
]; ];
export default ReviewRouter; export default ReviewRouter;
\ No newline at end of file
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