Commit ffe554ff by zhujiazhan

代码提交

parent a0bda5ff
......@@ -4,26 +4,27 @@ import Utils from "~/utils"
* Brtlat Check规则
*/
let checkObj = {
"brdgrp.acb.namelc" :null,
"liaall.misamt" :null,
"liaall.liaccv.dnfmod.lxzyzh" :null,
"brdgrp.cbs.max.amt" :null,
"brdgrp.blk.docdis" :null,
"brtp.furide" :null,
"brdgrp.acb.adrelc" :null,
"brdgrp.blk.prsdoc" :null,
"brdgrp.shp.namelc" :null,
"brdgrp.acb.pts.extkey" :null,
"brdgrp.rec.disdat" :null,
"setmod.dspflg" :null,
"liaall.liaccv.dnfmod.kehuzh" :null,
"liaall.liaccv.totcovamt" :null,
"brdgrp.prb.pts.nam" :null,
"brdgrp.ben.pts.nam" :null,
"brdgrp.acb.pts.adrblk" :null,
"brdgrp.shp.adrelc" :null,
"liaall.liaccv.dnfmod.qicuje" :null,
"setmod.redamt" :null,
"liaall.liaccv.dnfmod.zhqtyp" :null,
"liaall.liaccv.dnfmod.ccvtyp" :null,
"brdgrp.prb.pts.ref" :null,
"brdgrp.apl.pts.nam" :null,
"setmod.docamt" :null,
"brdgrp.shp.pts.adrblk" :null,
"brdgrp.blk.setinsbr" :null,
"brdgrp.blk.comcon" :null,
"brdgrp.shp.pts.extkey" :null,
"liaall.liaccv.cshpct" :null,
"liaall.liaccv.dnfmod.yewudh" :null,
"liaall.liaccv.dnfmod.zhruzh" :null,
"liaall.liaccv.dnfmod.tizamt" :null,
"liaall.liaccv.relcshpct" :null,
}
for (const key in checkObj) {
......
......@@ -6,40 +6,34 @@ import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"lidgrp.rec.ownref" :Utils.defaultFunction,
"brdgrp.prb.pts.nam" :Utils.defaultFunction,
"brdgrp.cbs.max2.amt" :Utils.defaultFunction,
"setmod.setamt" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"brdgrp.shp.pts.extkey" :Utils.defaultFunction,
"brdgrp.shp.adrelc" :Utils.defaultFunction,
"brdgrp.shp.namelc" :Utils.defaultFunction,
"brdgrp.shp.dbfadrblkcn" :Utils.defaultFunction,
"brdgrp.shp.pts.adrblk" :Utils.defaultFunction,
"brdgrp.rec.advtyp" :Utils.defaultFunction,
"brdgrp.acb.pts.adrblk" :Utils.defaultFunction,
"brdgrp.blk.docdisflg" :Utils.defaultFunction,
"lidgrp.rec.expdat" :Utils.defaultFunction,
"liaall.liaccv.dnfmod.zhqtyp" :Utils.defaultFunction,
"liaall.liaccv.dnfmod.yewudh" :Utils.defaultFunction,
"liaall.liaccv.dnfmod.ccvtyp" :Utils.defaultFunction,
"brdgrp.ben.pts.nam" :Utils.defaultFunction,
"brdgrp.cbs.max.amt" :Utils.defaultFunction,
"lidgrp.cbs.opn1.amt" :Utils.defaultFunction,
"brdgrp.rec.docflg" :Utils.defaultFunction,
"brdgrp.cbs.max.cur" :Utils.defaultFunction,
"brdgrp.blk.docdis" :Utils.defaultFunction,
"brdgrp.apl.pts.nam" :Utils.defaultFunction,
"brdgrp.acb.pts.extkey" :Utils.defaultFunction,
"brdgrp.acb.adrelc" :Utils.defaultFunction,
"brdgrp.acb.namelc" :Utils.defaultFunction,
"brdgrp.acb.dbfadrblkcn" :Utils.defaultFunction,
"brtp.cre752flg" :Utils.defaultFunction,
"brdgrp.rec.ownref" :Utils.defaultFunction,
"brdgrp.rec.rtoaplflg" :Utils.defaultFunction,
"brdgrp.cbs.max.cur" :Utils.defaultFunction,
"lidgrp.rec.ownref" :Utils.defaultFunction,
"setmod.glemod.gleshwstm" :Utils.defaultFunction,
"liaall.liaccv.newamt" :Utils.defaultFunction,
"liaall.liaccv.totcovamt" :Utils.defaultFunction,
"liaall.liaccv.cshpct" :Utils.defaultFunction,
"brdgrp.rec.advdat" :Utils.defaultFunction,
"brdgrp.rec.relgodflg" :Utils.defaultFunction,
"brdgrp.rec.approvcod" :Utils.defaultFunction,
"brdgrp.rec.docsta" :Utils.defaultFunction,
"brdgrp.rec.disdat" :Utils.defaultFunction,
"brdgrp.rec.rcvdat" :Utils.defaultFunction,
"brdgrp.ben.pts.nam" :Utils.defaultFunction,
"brdgrp.rec.stadat" :Utils.defaultFunction,
"liaall.liaccv.addinf" :Utils.defaultFunction,
"liaall.liaccv.concur" :Utils.defaultFunction,
"brdgrp.rec.ownref" :Utils.defaultFunction,
"brdgrp.prb.pts.nam" :Utils.defaultFunction,
"lidgrp.rec.expdat" :Utils.defaultFunction,
"lidgrp.cbs.opn1.amt" :Utils.defaultFunction,
"brdgrp.rec.docflg" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"liaall.liaccv.dnfmod.kehuzh" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -2,8 +2,8 @@ import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onAcbpDet(){
let rtnmsg = await this.executeRule("acbp.det")
async onLiaallButmisamt(){
let rtnmsg = await this.executeRule("liaall.butmisamt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -14,8 +14,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDocdisButtxmsel(){
let rtnmsg = await this.executeRule("docdis.buttxmsel")
async onLiaallButmissig(){
let rtnmsg = await this.executeRule("liaall.butmissig")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -26,8 +26,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSetinstxmButtxmsel(){
let rtnmsg = await this.executeRule("setinstxm.buttxmsel")
async onLiaccvAdd(){
let rtnmsg = await this.executeRule("liaccv.add")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -38,8 +38,92 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onShppDet(){
let rtnmsg = await this.executeRule("shpp.det")
async onLiaccvDel(){
let rtnmsg = await this.executeRule("liaccv.del")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDnfmodGet(){
let rtnmsg = await this.executeRule("dnfmod.get")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDnfmodQcget(){
let rtnmsg = await this.executeRule("dnfmod.qcget")
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 onMtdbutButapy(){
let rtnmsg = await this.executeRule("mtdbut.butapy")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onMtdbutButcan(){
let rtnmsg = await this.executeRule("mtdbut.butcan")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSyswrnButok(){
let rtnmsg = await this.executeRule("syswrn.butok")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSyswrnButcan(){
let rtnmsg = await this.executeRule("syswrn.butcan")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Liaall from "../Public/Liaall";
import Setmod from "../Public/Setmod";
import Mtabut from "../Public/Mtabut";
import Trnmod from "../Public/Trnmod";
export default class Brtlat{
constructor () {
this.data = {
brtapll1blk:"", // XMLPanel brtapll1的内置block .brtapll1blk
brdgrp:{
shp:{
pts:new Pts().data,
namelc:"", // 名称 .brdgrp.shp.namelc
adrelc:"", // 地址 .brdgrp.shp.adrelc
dbfadrblkcn:"", // Chinese address .brdgrp.shp.dbfadrblkcn
},
rec:{
ownref:"", // 单据参考号 .brdgrp.rec.ownref
nam:"", // Name of Bill Contract .brdgrp.rec.nam
......@@ -16,40 +26,29 @@ export default class Brtlat{
matdat:"", // Maturity Date .brdgrp.rec.matdat
tenmaxday:"", // Tenor day .brdgrp.rec.tenmaxday
stadat:"", // 远期单据到期日 .brdgrp.rec.stadat
totcur:"", // Amount to be Paid .brdgrp.rec.totcur
totamt:"", // Total Amount to be Paid .brdgrp.rec.totamt
igndisflg:"", // Ignore Discrepancies .brdgrp.rec.igndisflg
advtyp:"", // Type of Advice Received .brdgrp.rec.advtyp
totdat:"", // 付款日期 .brdgrp.rec.totdat
disdat:"", // Discrepancy Advice Dated .brdgrp.rec.disdat
approvcod:"", // Documents on Approval Basis .brdgrp.rec.approvcod
relgodflg:"", // Release of Goods .brdgrp.rec.relgodflg
reltyp:"", // Release Type .brdgrp.rec.reltyp
relgoddat:"", // issue date .brdgrp.rec.relgoddat
expdat:"", // Expiry Date of Shipping Guarantee .brdgrp.rec.expdat
trpdoctyp:"", // Transport Doc. Type .brdgrp.rec.trpdoctyp
trpdocnum:"", // Transport Doc. No. .brdgrp.rec.trpdocnum
tradat:"", // shipment date .brdgrp.rec.tradat
tramod:"", // Mode of Transport .brdgrp.rec.tramod
rtoaplflg:"", // Release Goods to Applicant ? .brdgrp.rec.rtoaplflg
ngrcod:"", // Goods code .brdgrp.rec.ngrcod
blnum:"", // B/L Number .brdgrp.rec.blnum
relgodflg: "", // Release of Goods .bddgrp.rec.relgodflg
reltyp: "", // Release Type .bddgrp.rec.reltyp
relgoddat: "", // issue date .bddgrp.rec.relgoddat
expdat: "", // Expiry Date of Shipping Guarantee .bddgrp.rec.expdat
trpdoctyp: "", // Transport Doc. Type .bddgrp.rec.trpdoctyp
trpdocnum: "", // Transport Doc. No. .bddgrp.rec.trpdocnum
tradat: "", // shipment date .bddgrp.rec.tradat
tramod: "", // Mode of Transport .bddgrp.rec.tramod
rtoaplflg: "", // Release Goods to Applicant ? .bddgrp.rec.rtoaplflg
ngrcod: "", // Goods code .bddgrp.rec.ngrcod
blnum: "", // B/L Number .bddgrp.rec.blnum
totcur: "", // Total Amount Claimed .bddgrp.rec.totcur
totamt: "", // Total Amount to be Paid .bddgrp.rec.totamt
},
cbs:{
max:{
cur:"", // 单据金额 .brdgrp.cbs.max.cur
amt:"", // Balance .brdgrp.cbs.max.amt
amt:"", // 单据金额 .brdgrp.cbs.max.amt
},
opn1:{
cur:"", // 单据余额 .brdgrp.cbs.opn1.cur
amt:"", // Balance .brdgrp.cbs.opn1.amt
},
opn2:{
cur:"", // 附加金额 .brdgrp.cbs.opn2.cur
},
max2:{
amt:"", // 附加金额 .brdgrp.cbs.max2.amt
},
},
apl:{
pts:new Pts().data,
......@@ -63,33 +62,21 @@ export default class Brtlat{
blk:{
prsdoc:"", // Documents Presented .brdgrp.blk.prsdoc
aplins:"", // Instructions Received from Applicant .brdgrp.blk.aplins
chaded:"", // Charges Deducted .brdgrp.blk.chaded
chaadd:"", // Charges Added .brdgrp.blk.chaadd
docdis:"", // Discrepancies .brdgrp.blk.docdis
docdisflg:"", // discrepancies modified .brdgrp.blk.docdisflg
comcon:"", // Comments and Conclusions .brdgrp.blk.comcon
setinsbr:"", // Settlement Instructions BR .brdgrp.blk.setinsbr
vesnam:"", // Vessel Name .brdgrp.blk.vesnam
pordis:"", // Port of Discharge .brdgrp.blk.pordis
delplc:"", // Place of Delivery .brdgrp.blk.delplc
roggod:"", // Covered Goods .brdgrp.blk.roggod
relstoadr:"", // Release to Address .brdgrp.blk.relstoadr
porlod:"", // Port of loading .brdgrp.blk.porlod
voynum:"", // Voyage numer .brdgrp.blk.voynum
notpty:"", // Notify Party .brdgrp.blk.notpty
carnam:"", // Carrier .brdgrp.blk.carnam
},
acb:{
pts:new Pts().data,
namelc:"", // 名称 .brdgrp.acb.namelc
adrelc:"", // 地址 .brdgrp.acb.adrelc
dbfadrblkcn:"", // Chinese address .brdgrp.acb.dbfadrblkcn
},
shp:{
pts:new Pts().data,
namelc:"", // 名称 .brdgrp.shp.namelc
adrelc:"", // 地址 .brdgrp.shp.adrelc
dbfadrblkcn:"", // Chinese address .brdgrp.shp.dbfadrblkcn
comcon: "", // Comments and Conclusions .bddgrp.blk.comcon
docdis: "", // Discrepancies .bddgrp.blk.docdis
docdisflg: "", // discrepancies modified .bddgrp.blk.docdisflg
accrmk: "", // 到期付款确认备注 .bddgrp.blk.accrmk
vesnam: "", // Vessel Name .bddgrp.blk.vesnam
pordis: "", // Port of Discharge .bddgrp.blk.pordis
delplc: "", // Place of Delivery .bddgrp.blk.delplc
roggod: "", // Covered Goods .bddgrp.blk.roggod
relstoadr: "", // Release to Address .bddgrp.blk.relstoadr
porlod: "", // Port of loading .bddgrp.blk.porlod
voynum: "", // Voyage numer .bddgrp.blk.voynum
notpty: "", // Notify Party .bddgrp.blk.notpty
carnam: "", // Carrier .bddgrp.blk.carnam
chaded: "", // Charges Deducted .bddgrp.blk.chaded
chaadd: "", // Charges .bddgrp.blk.chaadd
},
},
lidgrp:{
......@@ -120,20 +107,14 @@ export default class Brtlat{
matp:{
mattxtlab:"", // Label for MATTXT .brtp.matp.mattxtlab
},
acbp:{
prbp:{
ptsget:{
sdamod:{
seainf:"", // .brtp.acbp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .brtp.acbp.ptsget.sdamod.dadsnd
seainf:"", // .brtp.prbp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .brtp.prbp.ptsget.sdamod.dadsnd
},
},
},
docgrdm:{
docdsclab:"", // Label of document description .brtp.docgrdm.docdsclab
},
cre752flg:"", // Create 752 .brtp.cre752flg
furide:"", // Further Identification .brtp.furide
cre732flg:"", // Create MT 732 .brtp.cre732flg
shpp:{
ptsget:{
sdamod:{
......@@ -142,13 +123,19 @@ export default class Brtlat{
},
},
},
docgrdm:{
docgrd:"",
docdsclab:"", // Label of document description .brtp.docgrdm.docdsclab
},
prechkdat:"", // 预计核验日期 .brtp.prechkdat
ischktyp:"", // 是否需要核验 .brtp.ischktyp
connum:"", // Contract Number .brtp.connum
},
setmod:{
doccur:"", // document currency .setmod.doccur
docamt:"", // document amount .setmod.docamt
},
setmod:new Setmod().data,
gleflg:"", // 系统内付款且过�'� .gleflg
trnmod:new Trnmod().data,
liaall:new Liaall().data,
mtabut:new Mtabut().data,
pageId: "" // ctx的key
}
}
......
......@@ -5,44 +5,66 @@ import Utils from "~/utils"
*/
let checkObj = {
"liaall.misamt" :null,
"dftcre.dfdgrp.rec.resamt" :null,
"dftcre.dfdgrp.apl.namelc" :null,
"dftcre.dfdgrp.cbs.max.cur" :null,
"dftcre.dfdgrp.cbs.max.amt" :null,
"brdgrp.prb.adrelc" :null,
"cnybop.outflg" :null,
"cfatrt.cfaflg" :null,
"brdgrp.prb.pts.adrblk" :null,
"dftcre.dfdgrp.rec.bankno" :null,
"liaall.limmod.limpts.oth.pts.nam" :null,
"setmod.dspflg" :null,
"dftcre.dfdgrp.apl.pts.extkey" :null,
"cfatrt.ownextkey" :null,
"liaall.liaccv.totcovamt" :null,
"cfabrt.ownextkey" :null,
"dftcre.dfdgrp.dff.pts.extkey" :null,
"cfabrt.cfaflg" :null,
"cfatrt.cda.useofunds" :null,
"liaall.limmod.limpts.wrk.pts.nam" :null,
"cnybop.cnyflg" :null,
"dftcre.dfdgrp.rec.invtyp" :null,
"cfatrt.cda.cfeogudamount" :null,
"dftcre.dfdgrp.rec.stttendat" :null,
"brdgrp.prb.pts.ref" :null,
"brdgrp.apl.pts.nam" :null,
"cfadft.ownextkey" :null,
"brtp.ischktyp" :null,
"hmdmod2.bennam" :null,
"trnmod.swftyp" :null,
"dftcre.dfdgrp.dff.adrelc" :null,
"dftcre.dfdgrp.rec.fintyp" :null,
"liaall.limmod.limpts.oth.pts.extkey" :null,
"dftcre.dfdgrp.rec.matdat" :null,
"liaall.limmod.ownref" :null,
"dftcre.dfdgrp.rec.dfuflg" :null,
"liaall.limmod.ecifno" :null,
"dftcre.dfdgrp.rec.bankcn" :null,
"bopmod.szflg" :null,
"dftcre.dfdgrp.rec.trntyp" :null,
"brdgrp.cbs.max.amt" :null,
"cfadft.cfaflg" :null,
"cnybop.traflg" :null,
"brdgrp.prb.namelc" :null,
"dftcre.dfdgrp.apl.adrelc" :null,
"dftcre.dfdgrp.rec.flttyp" :null,
"dftcre.dfdgrp.rec.actrat" :null,
"brtp.prechkdat" :null,
"dftcre.dfdgrp.dff.pts.adrblk" :null,
"dftcre.dfdgrp.rec.intprd" :null,
"brdgrp.prb.pts.nam" :null,
"liaall.tenstm" :null,
"brdgrp.ben.pts.nam" :null,
"setmod.redamt" :null,
"aamset.utlamt2" :null,
"dftcre.dfdgrp.apl.pts.adrblk" :null,
"brdgrp.prb.pts.extkey" :null,
"trnmod.cmtflg" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null,
"bopmod.basflg" :null,
"dftcre.dfdgrp.dff.namelc" :null,
"brdgrp.rec.frepayflg" :null,
"mtabut.coninf.conexedat" :null,
"liaall.limmod.limpts.nonrevflg1" :null,
......
......@@ -6,6 +6,8 @@ import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"dftcre.dfdgrp.rec.dfuflg" :Utils.defaultFunction,
"dftcre.dfdgrp.rec.fintyp" :Utils.defaultFunction,
"bptbck.dscbckcur" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
......@@ -28,11 +30,18 @@ export default {
"bopmod.basflg" :Utils.defaultFunction,
"trnmod.swftyp" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.extkey" :Utils.defaultFunction,
"dftcre.dfdgrp.apl.pts.adrblk" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
"dftcre.dfdgrp.rec.trntyp" :Utils.defaultFunction,
"brtp.ischktyp" :Utils.defaultFunction,
"brdgrp.rec.frepayflg" :Utils.defaultFunction,
"trnmod.cmtflg" :Utils.defaultFunction,
"dftcre.dfdgrp.rec.ownref" :Utils.defaultFunction,
"dftcre.dfdgrp.apl.pts.extkey" :Utils.defaultFunction,
"dftcre.dfdgrp.apl.adrelc" :Utils.defaultFunction,
"dftcre.dfdgrp.apl.namelc" :Utils.defaultFunction,
"dftcre.dfdgrp.apl.dbfadrblkcn" :Utils.defaultFunction,
"cnybop.vouflg" :Utils.defaultFunction,
"bopmod.vrfflg" :Utils.defaultFunction,
"paypsb" :Utils.defaultFunction,
......@@ -45,10 +54,13 @@ export default {
"brdgrp.cbs.max.amt" :Utils.defaultFunction,
"brdgrp.apl.pts.nam" :Utils.defaultFunction,
"brdgrp.cbs.max.cur" :Utils.defaultFunction,
"dftcre.oricur" :Utils.defaultFunction,
"cfabrt.basflg" :Utils.defaultFunction,
"lidgrp.rec.ownref" :Utils.defaultFunction,
"liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction,
"dftcre.dfdgrp.dff.pts.adrblk" :Utils.defaultFunction,
"dftcre.dfdgrp.dff.pts.extkey" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"cfadft.basflg" :Utils.defaultFunction,
"setmod.glemod.gleshwstm" :Utils.defaultFunction,
......@@ -56,7 +68,11 @@ export default {
"brdgrp.rec.rcvdat" :Utils.defaultFunction,
"liaall.liaccv.newamt" :Utils.defaultFunction,
"liaall.liaccv.totcovamt" :Utils.defaultFunction,
"dftcre.dfdgrp.dff.adrelc" :Utils.defaultFunction,
"dftcre.dfdgrp.dff.namelc" :Utils.defaultFunction,
"dftcre.dfdgrp.dff.dbfadrblkcn" :Utils.defaultFunction,
"cfadft.cfaflg" :Utils.defaultFunction,
"dftcre.dfdgrp.cbs.max.cur" :Utils.defaultFunction,
"lidgrp.cbs.opn1.amt" :Utils.defaultFunction,
"liaall.liaccv.cshpct" :Utils.defaultFunction,
"brdgrp.rec.advdat" :Utils.defaultFunction,
......@@ -68,7 +84,9 @@ export default {
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"bopmod.dclflg" :Utils.defaultFunction,
"liaall.liaccv.addinf" :Utils.defaultFunction,
"dftcre.dfdgrp.rec.flttyp" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction,
"dftcre.dfdgrp.cbs.max.amt" :Utils.defaultFunction,
"cnybop.cnyflg" :Utils.defaultFunction,
"brdgrp.rec.ownref" :Utils.defaultFunction,
"brdgrp.prb.pts.nam" :Utils.defaultFunction,
......@@ -79,10 +97,13 @@ export default {
"aamset.utlamt2" :Utils.defaultFunction,
"brdgrp.cbs.opn1.amt" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"dftcre.dfdgrp.rec.resamt" :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,
"cnybop.outflg" :Utils.defaultFunction,
"dftcre.dfdgrp.rec.matdat" :Utils.defaultFunction,
"dftcre.dfdgrp.rec.stttendat" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -206,5 +206,42 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
onSeainf() {},
async onDftpButgetref(){
let rtnmsg = await this.executeRule("dftp.butgetref")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onAplpDet(){
let rtnmsg = await this.executeRule("aplp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDffpDet(){
let rtnmsg = await this.executeRule("dffp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSeainf() {},
}
\ No newline at end of file
......@@ -450,12 +450,156 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 14,message:"长度不能超过14"}
],
"bopmod.basflg":[
{required: true, message: "必输项"},
"dftcre.dfdgrp.rec.pntref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"dftcre.dfdgrp.rec.pntnam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"dftcre.dfdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"dftcre.dfdgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"dftcre.oriamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"dftcre.dfdgrp.apl.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"dftcre.dfdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"dftcre.dfdgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"dftcre.dftp.aplp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"dftcre.dfdgrp.apl.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"dftcre.dftp.aplp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"dftcre.dfdgrp.apl.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dftcre.dfdgrp.apl.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dftcre.dfdgrp.apl.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dftcre.dfdgrp.apl.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brtp.ischktyp":[
{required: true, message: "必输项"},
"dftcre.dfdgrp.rec.stttendat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"dftcre.dfdgrp.dff.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"dftcre.dfdgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"dftcre.dftp.dffp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"dftcre.dfdgrp.dff.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"dftcre.dftp.dffp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"dftcre.dfdgrp.rec.tenday":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"dftcre.dfdgrp.dff.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dftcre.dfdgrp.dff.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dftcre.dfdgrp.dff.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dftcre.dfdgrp.rec.actrat":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"dftcre.dfdgrp.dff.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dftcre.dfdgrp.rec.fltval":[
{type: "string", required: false, message: "必输项"},
{max: 9,message:"长度不能超过9"}
],
"dftcre.dfdgrp.rec.bankno":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"dftcre.dfdgrp.rec.bankcn":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"dftcre.dfuamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"dftcre.dfdgrp.rec.resamt":[
{type: "number", required: false, message: "必输项"},
{max: 12,message:"整数位不能超过8位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"dftcre.dfdgrp.rec.bnkact":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
}
\ No newline at end of file
......@@ -109,6 +109,76 @@ export default class Brtset{
trnmod:pub.data.Trnmod,
dftcre:{
dfflag:"", // 同业代付 .dftcre.dfflag
dfdgrp:{
rec:{
pntref:"", // Parent Reference .dftcre.dfdgrp.rec.pntref
pntnam:"", // Parent Contract Name .dftcre.dfdgrp.rec.pntnam
ownref:"", // 代付业务编号: .dftcre.dfdgrp.rec.ownref
nam:"", // Name of Loan Contract .dftcre.dfdgrp.rec.nam
fintyp:"", // 代付类型: .dftcre.dfdgrp.rec.fintyp
dfuflg:"", // 境内境外代付: .dftcre.dfdgrp.rec.dfuflg
trntyp:"", // 交易类型: .dftcre.dfdgrp.rec.trntyp
stttendat:"", // 代付起始日: . dftcre.dfdgrp.rec.stttendat
matdat:"", // 代付到期日: .dftcre.dfdgrp.rec.matdat
tenday:"", // 代付期限: .dftcre.dfdgrp.rec.tenday
intprd:"", // 计息周期: .dftcre.dfdgrp.rec.intprd
actrat:"", // 代付利率: .dftcre.dfdgrp.rec.actrat
flttyp:"", // 利率浮动方式: .dftcre.dfdgrp.rec.flttyp
guaflg:"", // 货押标识: .dftcre.dfdgrp.rec.guaflg
fltval:"", // 浮动值 .dftcre.dfdgrp.rec.fltval
bankcn:"", // 代付行中文名 .dftcre.dfdgrp.rec.bankcn
bankno:"", // 代付行核心客户号 .dftcre.dfdgrp.rec.bankno
bnkact:"", // 同业代付内部�'�号 .dftcre.dfdgrp.rec.bnkact
rescur:"", // 代付利息: .dftcre.dfdgrp.rec.rescur
resamt:"", // 代付利息 .dftcre.dfdgrp.rec.resamt
invtyp:"", // 发票类型 .dftcre.dfdgrp.rec.invtyp
},
cbs:{
max:{
amt:"", // 代付金额: .dftcre.dfdgrp.cbs.max.amt
cur:"", // 代付金额: .dftcre.dfdgrp.cbs.max.cur
},
opn1:{
amt:"", // 代付余额: .dftcre.dfdgrp.cbs.opn1.amt
cur:"", // 代付余额: .dftcre.dfdgrp.cbs.opn1.cur
},
},
apl:{
pts:new Pts().data,
namelc:"", // 名称 .dftcre.dfdgrp.apl.namelc
adrelc:"", // 地址 .dftcre.dfdgrp.apl.adrelc
dbfadrblkcn:"", // Chinese address .dftcre.dfdgrp.apl.dbfadrblkcn
},
dff:{
pts:new Pts().data,
namelc:"", // 名称 .dftcre.dfdgrp.dff.namelc
adrelc:"", // 地址 .dftcre.dfdgrp.dff.adrelc
dbfadrblkcn:"", // Chinese address .dftcre.dfdgrp.dff.dbfadrblkcn
},
},
dftp:{
pctlab:"", // Percentage Label .dftcre.dftp.pctlab
aplp:{
ptsget:{
sdamod:{
seainf:"", // .dftcre.dftp.aplp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .dftcre.dftp.aplp.ptsget.sdamod.dadsnd
},
},
},
dffp:{
ptsget:{
sdamod:{
seainf:"", // .dftcre.dftp.dffp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .dftcre.dftp.dffp.ptsget.sdamod.dadsnd
},
},
},
},
oricur:"", // 单据金额: .dftcre.oricur
oriamt:"", // 单据金额: .dftcre.oriamt
dfucur:"", // 代付金额: .dftcre.dfucur
dfuamt:"", // 代付金额: .dftcre.dfuamt
},
zcsdrq:"", // 最迟送达日期 .zcsdrq
bopmod:{
......@@ -116,7 +186,7 @@ export default class Brtset{
basflg:"", // 基础数据 .bopmod.basflg
dclflg:"", // 申报数据 .bopmod.dclflg
vrfflg:"", // 核销数据 .bopmod.vrfflg
ownextkey:"", // 地区机构号 .bopmod.ownextkey
ownextkey:"", // 地区机构号 .bopmod.ownextkey
acttyp:"", // 款项去向 .bopmod.acttyp
},
cfadft:{
......
......@@ -98,5 +98,5 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSeainf() {},
}
\ No newline at end of file
......@@ -128,7 +128,7 @@ export default {
],
"brdgrp.prb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 150,message:"长度不能超过150"}
],
"brdgrp.prb.adrelc":[
{type: "string", required: true, message: "必输项"},
......@@ -154,7 +154,7 @@ export default {
],
"brtp.oth.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 150,message:"长度不能超过150"}
],
"brtp.oth.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -171,7 +171,7 @@ export default {
"brdgrp.blk.docdis":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false},
{max: 50,message:"长度不能超过50"}
],
......@@ -183,7 +183,7 @@ export default {
{type: "date", required: false, message: "输入正确的日期"}
],
"brdgrp.blk.comcon":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false},
{max: 65,message:"长度不能超过65"}
],
......@@ -191,7 +191,7 @@ export default {
"brdgrp.blk.setinsbr":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false},
{max: 65,message:"长度不能超过65"}
],
......
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Liaall from "../Public/Liaall";
import Setmod from "../Public/Setmod";
import Mtabut from "../Public/Mtabut";
import Trnmod from "../Public/Trnmod";
export default class Brtsnd{
constructor () {
this.data = {
liaall:new Liaall().data,
setmod: new Setmod().data ,
mtabut:new Mtabut().data,
trnmod:new Trnmod().data,
brdgrp:{
rec:{
ownref:"", // 单据参考号 .brdgrp.rec.ownref
......@@ -83,6 +91,7 @@ export default class Brtsnd{
chaded:"", // Charges Deducted .brdgrp.blk.chaded
chaadd:"", // Charges .brdgrp.blk.chaadd
nartxt77a:"", // Narrative TAG 77A of MT754 .brdgrp.blk.nartxt77a
prsdoc:"",
},
shp:{
pts:new Pts().data,
......@@ -162,6 +171,7 @@ export default class Brtsnd{
prechkdat:"", // 预计核验日期 .brtp.prechkdat
ischktyp:"", // 是否需要核验 .brtp.ischktyp
docgrdm:{
docgrd:"",
docdsclab:"", // Label of document description .brtp.docgrdm.docdsclab
},
cre752flg:"", // Create 752 .brtp.cre752flg
......
......@@ -69,6 +69,22 @@ export default class Liaall {
pctresamt: "", // reserve amount based percent .liaall.liaccv.pctresamt
liaccvg: [],
stgstm:[],
dnfmod:{
kehuzh:"", //保证金账户 liaall.liaccv.dnfmod.kehuzh
ccvtyp:"", //操作类型 liaall.liaccv.dnfmod.ccvtyp
zhqtyp:"", //支取类型 liaall.liaccv.dnfmod.zhqtyp
zhqucs:"", //支取次数 liaall.liaccv.dnfmod.zhqucs
tizamt:"", //部分提支金额 liaall.liaccv.dnfmod.tizamt
yewudh:"", //业务代号 liaall.liaccv.dnfmod.yewudh
pridsp:"", //本金转入账户 liaall.liaccv.dnfmod.pridsp
zhruzh:"", //本金转入账户 liaall.liaccv.dnfmod.zhruzh
qicuje:"", //起存金额 liaall.liaccv.dnfmod.qicuje
intdsp:"", //利息转入账户 liaall.liaccv.dnfmod.intdsp
lxzyzh:"", //利息转入账户 liaall.liaccv.dnfmod.lxzyzh
zhhuye:"", //帐户余额 liaall.liaccv.dnfmod.zhhuye
stm8023:"", //8023STREAM liaall.liaccv.dnfmod.stm8023
},
},
}
}
......
......@@ -21,6 +21,9 @@ export default class Mtabut {
extkey: "", // User ID .mtabut.coninf.usr.extkey
},
},
syswrn:{
dsp:"", // Display .mtabut.syswrn.dsp
},
clsflg: "",
}
}
......
......@@ -57,6 +57,12 @@ export default class Trnmod {
filrecv: "", // File Receiver .trnmod.trndoc.filrecv
doceot: [],
},
docimm:{
ascin:"", // Message as stream .trnmod.docimm.ascin
prtswtrpblk:"", // XMLPanel prtswtrp的内置block .trnmod.docimm.prtswtrpblk
xmldocblk:"", // XMLPanel xmldoc的内置block .trnmod.docimm.xmldocblk
prtswtpblk:"", // XMLPanel prtswtp的内置block .trnmod.docimm.prtswtpblk
},
}
}
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-checkbox v-model="model.brdgrp.rec.igndisflg">Ignore Discrepancies</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onDocdisButtxmsel">
<span>搜索</span>
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="不符点" prop="brdgrp.blk.docdis">
<c-input type="textarea" v-model="model.brdgrp.blk.docdis" maxlength="50" show-word-limit placeholder="请输入不符点" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.brdgrp.blk.docdisflg">discrepancies modified</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="Type of Advice Received" prop="brdgrp.rec.advtyp">
<c-select v-model="model.brdgrp.rec.advtyp" style="width:100%" placeholder="请选择Type of Advice Received">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="付款日期" prop="brdgrp.rec.totdat">
<c-date-picker type="date" v-model="model.brdgrp.rec.totdat" style="width:100%" placeholder="请选择付款日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Discrepancy Advice Dated" prop="brdgrp.rec.disdat">
<c-date-picker type="date" v-model="model.brdgrp.rec.disdat" style="width:100%" placeholder="请选择Discrepancy Advice Dated"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Comments and Conclusions" prop="brdgrp.blk.comcon">
<c-input type="textarea" v-model="model.brdgrp.blk.comcon" maxlength="65" show-word-limit placeholder="请输入Comments and Conclusions" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.brdgrp.rec.approvcod">Documents on Approval Basis</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.brtp.cre752flg">Create 752</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="Further Identification" prop="brtp.furide">
<c-select v-model="model.brtp.furide" style="width:100%" placeholder="请选择Further Identification">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.brtp.cre732flg">Create MT 732</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="Settlement Instructions BR" prop="brdgrp.blk.setinsbr">
<c-input type="textarea" v-model="model.brdgrp.blk.setinsbr" maxlength="65" show-word-limit placeholder="请输入Settlement Instructions BR" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onSetinstxmButtxmsel">
<span>搜索</span>
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.brtp.docgrdm.docdsclab" data-path=".brtp.docgrdm.docdsclab" > </span>
</c-col>
<c-row>
<c-col :span="24">
<!-- ====================左边======================= -->
<c-col :span="11">
<c-col :span="24">
<c-col :span="21">
<el-form-item label="不符点" prop="brdgrp.blk.docdis">
<c-input type="textarea" v-model="model.brdgrp.blk.docdis" maxlength="50" show-word-limit placeholder="请输入不符点" :disabled="model.brdgrp.blk.docdisflg==''?true:false" rows="5" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="3">
<c-button size="small" type="primary" icon="el-icon-search" @click="onDocdisButtxmsel" :disabled="model.brdgrp.blk.docdisflg==''?true:false" disabled>
...
</c-button>
</c-col>
</c-col>
<c-col :span="21">
<el-form-item label="注释和结论" prop="brdgrp.blk.comcon">
<c-input type="textarea" v-model="model.brdgrp.blk.comcon" maxlength="65" show-word-limit placeholder="请输入Comments and Conclusions" rows="5" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="21">
<el-form-item label="结算指示" prop="brdgrp.blk.setinsbr">
<c-input type="textarea" v-model="model.brdgrp.blk.setinsbr" maxlength="65" show-word-limit placeholder="请输入Settlement Instructions BR" rows="3" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="3">
<c-button size="small" type="primary" icon="el-icon-search" @click="onSetinstxmButtxmsel" disabled>
...
</c-button>
</c-col>
</c-col>
<c-col :span="24">
<c-docpre :model="model"
:argadr="{
path:'brdgrp.blk.prsdoc',
grp:'brtp',
code:'docpre'
}"
></c-docpre>
</c-col>
</c-col>
<!-- ====================右边======================= -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<c-checkbox v-model="model.brdgrp.rec.igndisflg" disabled>忽略不符点</c-checkbox>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.brdgrp.blk.docdisflg" disabled>录入不符点</c-checkbox>
</c-col>
<c-col :span="24">
<el-form-item label="收到的通知类型" prop="brdgrp.rec.advtyp">
<c-select v-model="model.brdgrp.rec.advtyp" style="width:100%" placeholder="请选择Type of Advice Received" :code="codes.advtyp" disabled>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="付款日期" prop="brdgrp.rec.totdat">
<c-date-picker type="date" v-model="model.brdgrp.rec.totdat" style="width:100%" placeholder="请选择Date to be Paid" disabled></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="不符点通知日期" prop="brdgrp.rec.disdat">
<c-date-picker type="date" v-model="model.brdgrp.rec.disdat" style="width:100%" placeholder="请选择Discrepancy Advice Dated" disabled></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.brdgrp.rec.approvcod" disabled>Documents on Approval Basis</c-checkbox>
</c-col>
<c-col :span="24" v-show="false">
<c-checkbox v-model="model.brtp.cre752flg" disabled>Create 752</c-checkbox>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.brtp.cre732flg" disabled>Create MT 732</c-checkbox>
</c-col>
<c-col :span="12" v-show="false">
<el-form-item label="Further Identification" prop="brtp.furide">
<c-select v-model="model.brtp.furide" style="width:100%" placeholder="请选择Further Identification" disabled>
</c-select>
</el-form-item>
</c-col>
</c-col>
</c-col>
</c-row>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Brtlat/Event"
import Event from "~/model/Brtsnd/Event"
import Docpre from "~/views/Public/Docpre"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
components:{
"c-docpre":Docpre,
},
data(){
return {
......
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="left" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000031
<el-tab-pane label="PD000031" name="brtapll1">
<m-brtapll1 :model="model" :codes="codes"/>
</el-tab-pane>-->
<!--PD000062 -->
<el-tab-pane label="进口信用证单据" name="docpre">
<m-docpre :model="model" :codes="codes"/>
<!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
<el-button size="small">备忘录</el-button>
<el-button size="small" @click="setDraggableContent('cms', '影像信息')">影像信息</el-button>
<!-- <el-button size="small">保存模板</el-button> -->
<!-- <el-button size="small">使用模板</el-button> -->
<el-button size="small">制裁信息</el-button>
<!-- <el-button size="small">拆分报文</el-button> -->
<el-button size="small">智能提示</el-button>
</c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000018 -->
<el-tab-pane label="Late Payment" name="utlp">
<c-content>
<m-utlp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="Liability" name="engp">
<m-engp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="Cash Cover" name="ccvpan">
<m-ccvpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Settlement" name="setpan">
<m-setpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="Bookings" name="glepan">
<m-glepan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000079
<el-tab-pane label="进口信用证单据偿还垫款" name="shpdet">
<!--PD000000 -->
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="Message" name="docpan">
<m-docpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane label="Attachment" name="doctre">
<m-doctre :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000062 -->
<el-tab-pane label="不符点/说明" name="docpre">
<m-docpre :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000079 -->
<el-tab-pane label="Shipping Details" name="shpdet">
<m-shpdet :model="model" :codes="codes"/>
</el-tab-pane>-->
<!--PD000139 -->
<el-tab-pane label="查询" name="mt750p">
<m-mt750p :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="utlp" name="utlp">
<c-content :height="300">
<m-utlp :model="model" :codes="codes"/>
</c-content>
<!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes" />
</el-tab-pane>
<!--未找到相关panels-->
<!--PD000031
<el-tab-pane label="PD000031" name="brtapll1">
<m-brtapll1 :model="model" :codes="codes"/>
</el-tab-pane>-->
<!--PD000049
<el-tab-pane label="PD000049" name="prtswtr">
<m-prtswtr :model="model" :codes="codes"/>
</el-tab-pane>-->
<!--PD000062
<el-tab-pane label="PD000062" name="prtswtrp">
<m-prtswtrp :model="model" :codes="codes"/>
</el-tab-pane>-->
<!--PD000061
<el-tab-pane label="PD000061" name="xmldoc">
<m-xmldoc :model="model" :codes="codes"/>
</el-tab-pane>-->
<!--PD000060
<el-tab-pane label="PD000060" name="prtswtp">
<m-prtswtp :model="model" :codes="codes"/>
</el-tab-pane> -->
<!--PD000001
<el-tab-pane label="PD000001" name="dnfp">
<m-dnfp :model="model" :codes="codes"/>
</el-tab-pane>-->
<!--PD000020
<el-tab-pane label="PD000020" name="detp">
<m-detp :model="model" :codes="codes"/>
</el-tab-pane>-->
<!--PD000015
<el-tab-pane label="PD000015" name="cmnsetl1">
<m-cmnsetl1 :model="model" :codes="codes"/>
</el-tab-pane>-->
<!--PD000005
<el-tab-pane label="PD000005" name="syswrndisplay">
<m-syswrndisplay :model="model" :codes="codes"/>
</el-tab-pane>-->
</c-tabs>
</el-form>
</div>
......@@ -36,33 +121,68 @@ import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Brtlat from "~/model/Brtlat"
import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Brtlat/Check"
import Default from "~/model/Brtlat/Default"
import Pattern from "~/model/Brtlat/Pattern"
import Brtapll1 from "./Brtapll1"
import Utlp from "./Utlp"
import Prtswtr from "./Prtswtr"
import Prtswtrp from "./Prtswtrp"
import Xmldoc from "./Xmldoc"
import Prtswtp from "./Prtswtp"
import Dnfp from "./Dnfp"
import Detp from "./Detp"
import Docpre from "./Docpre"
import Shpdet from "./Shpdet"
import Mt750p from "./Mt750p"
import Utlp from "./Utlp"
import Cmnsetl1 from "./Cmnsetl1"
import Syswrndisplay from "./Syswrndisplay"
import Engp from "~/views/Public/Engp"
import Ccvpan from "~/views/Public/Ccvpan"
import Setpan from "~/views/Public/Setpan";
import Glepan from "~/views/Public/Glepan"
import Coninfp from "~/views/Public/Coninfp"
import Docpan from "~/views/Public/Docpan"
import Doctre from "~/views/Public/Doctre"
import Limitbody from "~/views/Public/Limitbody";
export default {
name: "Brtlat",
components:{
"m-brtapll1" : Brtapll1,
"m-docpre" : Docpre,
"m-shpdet" : Shpdet,
"m-mt750p" : Mt750p,
"m-utlp" :Utlp,
"m-brtapll1" : Brtapll1,
"m-utlp" : Utlp,
"m-prtswtr" : Prtswtr,
"m-prtswtrp" : Prtswtrp,
"m-xmldoc" : Xmldoc,
"m-prtswtp" : Prtswtp,
"m-engp" : Engp,
"m-ccvpan" : Ccvpan,
"m-coninfp" : Coninfp,
"m-docpan" : Docpan,
"m-doctre" : Doctre,
"m-dnfp" : Dnfp,
"m-setpan" : Setpan,
"m-detp" : Detp,
"m-glepan" : Glepan,
"m-cmnsetl1" : Cmnsetl1,
"m-syswrndisplay" : Syswrndisplay,
"m-limitbody": Limitbody,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
tabVal: "utlp",
trnName: "brtlat",
model: new Brtlat().data,
checkRules: Check,
......@@ -70,17 +190,24 @@ export default {
pattern: Pattern,
rules: null,
codes: {
...CodeTable
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入brtlat交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-checkbox v-model="model.brdgrp.rec.igndisflg">Ignore Discrepancies</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onDocdisButtxmsel">
...
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="不符点" prop="brdgrp.blk.docdis">
<c-input type="textarea" v-model="model.brdgrp.blk.docdis" maxlength="50" show-word-limit placeholder="请输入不符点" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.brdgrp.blk.docdisflg">discrepancies modified</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="Type of Advice Received" prop="brdgrp.rec.advtyp">
<c-select v-model="model.brdgrp.rec.advtyp" style="width:100%" placeholder="请选择Type of Advice Received">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Date to be Paid" prop="brdgrp.rec.totdat">
<c-date-picker type="date" v-model="model.brdgrp.rec.totdat" style="width:100%" placeholder="请选择Date to be Paid"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Discrepancy Advice Dated" prop="brdgrp.rec.disdat">
<c-date-picker type="date" v-model="model.brdgrp.rec.disdat" style="width:100%" placeholder="请选择Discrepancy Advice Dated"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Comments and Conclusions" prop="brdgrp.blk.comcon">
<c-input type="textarea" v-model="model.brdgrp.blk.comcon" maxlength="65" show-word-limit placeholder="请输入Comments and Conclusions" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.brdgrp.rec.approvcod">Documents on Approval Basis</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.brtp.cre752flg">Create 752</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="Further Identification" prop="brtp.furide">
<c-select v-model="model.brtp.furide" style="width:100%" placeholder="请选择Further Identification">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.brtp.cre732flg">Create MT 732</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="Settlement Instructions BR" prop="brdgrp.blk.setinsbr">
<c-input type="textarea" v-model="model.brdgrp.blk.setinsbr" maxlength="65" show-word-limit placeholder="请输入Settlement Instructions BR" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onSetinstxmButtxmsel">
...
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.brtp.docgrdm.docdsclab" data-path=".brtp.docgrdm.docdsclab" > </span>
</c-col>
<c-row>
<c-col :span="24">
<!-- ====================左边======================= -->
<c-col :span="11">
<c-col :span="24">
<c-col :span="21">
<el-form-item label="不符点" prop="brdgrp.blk.docdis">
<c-input type="textarea" v-model="model.brdgrp.blk.docdis" maxlength="50" show-word-limit placeholder="请输入不符点" :disabled="model.brdgrp.blk.docdisflg==''?true:false" rows="5"></c-input>
</el-form-item>
</c-col>
<c-col :span="3">
<c-button size="small" type="primary" icon="el-icon-search" @click="onDocdisButtxmsel" :disabled="model.brdgrp.blk.docdisflg==''?true:false" >
...
</c-button>
</c-col>
</c-col>
<c-col :span="21">
<el-form-item label="注释和结论" prop="brdgrp.blk.comcon">
<c-input type="textarea" v-model="model.brdgrp.blk.comcon" maxlength="65" show-word-limit placeholder="请输入Comments and Conclusions" rows="5"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="21">
<el-form-item label="结算指示" prop="brdgrp.blk.setinsbr">
<c-input type="textarea" v-model="model.brdgrp.blk.setinsbr" maxlength="65" show-word-limit placeholder="请输入Settlement Instructions BR" rows="3"></c-input>
</el-form-item>
</c-col>
<c-col :span="3">
<c-button size="small" type="primary" icon="el-icon-search" @click="onSetinstxmButtxmsel">
...
</c-button>
</c-col>
</c-col>
<c-col :span="24">
<c-docpre :model="model"
:argadr="{
path:'brdgrp.blk.prsdoc',
grp:'brtp',
code:'docpre'
}"
></c-docpre>
</c-col>
</c-col>
<!-- ====================右边======================= -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<c-checkbox v-model="model.brdgrp.rec.igndisflg">忽略不符点</c-checkbox>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.brdgrp.blk.docdisflg">录入不符点</c-checkbox>
</c-col>
<c-col :span="24">
<el-form-item label="收到的通知类型" prop="brdgrp.rec.advtyp">
<c-select v-model="model.brdgrp.rec.advtyp" style="width:100%" placeholder="请选择Type of Advice Received" :code="codes.advtyp">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="付款日期" prop="brdgrp.rec.totdat">
<c-date-picker type="date" v-model="model.brdgrp.rec.totdat" style="width:100%" placeholder="请选择Date to be Paid"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="不符点通知日期" prop="brdgrp.rec.disdat">
<c-date-picker type="date" v-model="model.brdgrp.rec.disdat" style="width:100%" placeholder="请选择Discrepancy Advice Dated"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.brdgrp.rec.approvcod">Documents on Approval Basis</c-checkbox>
</c-col>
<c-col :span="24" v-show="false">
<c-checkbox v-model="model.brtp.cre752flg" >Create 752</c-checkbox>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.brtp.cre732flg" disabled>Create MT 732</c-checkbox>
</c-col>
<c-col :span="12" v-show="false">
<el-form-item label="Further Identification" prop="brtp.furide">
<c-select v-model="model.brtp.furide" style="width:100%" placeholder="请选择Further Identification">
</c-select>
</el-form-item>
</c-col>
</c-col>
</c-col>
</c-row>
</div>
</template>
<script>
......@@ -87,11 +98,15 @@ import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Brtsnd/Event"
import Docpre from "~/views/Public/Docpre"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
components:{
"c-docpre":Docpre,
},
data(){
return {
......
<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-bus-button :$pntvm="this"></c-bus-button> -->
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
<el-button size="small">备忘录</el-button>
<el-button size="small" @click="setDraggableContent('cms', '影像信息')">影像信息</el-button>
<!-- <el-button size="small">保存模板</el-button> -->
<!-- <el-button size="small">使用模板</el-button> -->
<el-button size="small">制裁信息</el-button>
<!-- <el-button size="small">拆分报文</el-button> -->
<el-button size="small">智能提示</el-button>
</c-function-btn>
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="150px"
label-position="right"
size="small"
:validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000032 -->
<el-tab-pane label="PD000032" name="payp">
<m-payp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000137 -->
<el-tab-pane label="PD000137" name="ovwp">
<m-ovwp :model="model" :codes="codes"/>
<el-tab-pane label="Send Documents" name="payp">
<c-content>
<m-payp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000062 -->
<el-tab-pane label="PD000062" name="docpre">
<m-docpre :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000079 -->
<el-tab-pane label="PD000079" name="shpdet">
<el-tab-pane label="不符点/说明" name="docpre">
<m-docpre :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000079 -->
<el-tab-pane label="Shipping Details" name="shpdet">
<m-shpdet :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000139 -->
<el-tab-pane label="PD000139" name="mt750p">
<m-mt750p :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000147 -->
<el-tab-pane label="PD000147" name="mt754p">
<m-mt754p :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000213 -->
<el-tab-pane label="PD000213" name="othadvtypp">
<m-othadvtypp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="或有" name="engp">
<m-engp :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="账务" name="setpan">
<m-setpan :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000529-->
<el-tab-pane label="报文及面函" name="docpan">
<m-docpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000546-->
<el-tab-pane label="附件" name="doctre">
<m-doctre :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000137 未找到相关panels
<el-tab-pane label="PD000137" name="ovwp">
<m-ovwp :model="model" :codes="codes"/>
</el-tab-pane> -->
<!--PD000139 未找到相关panels
<el-tab-pane label="PD000139" name="mt750p">
<m-mt750p :model="model" :codes="codes"/>
</el-tab-pane> -->
<!--PD000147 未找到相关panels
<el-tab-pane label="PD000147" name="mt754p">
<m-mt754p :model="model" :codes="codes"/>
</el-tab-pane>-->
<!--PD000213 未找到相关panels
<el-tab-pane label="PD000213" name="othadvtypp">
<m-othadvtypp :model="model" :codes="codes"/>
</el-tab-pane> -->
</c-tabs>
</el-form>
</div>
......@@ -46,6 +105,7 @@ import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Brtsnd from "~/model/Brtsnd"
import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs"
import Check from "~/model/Brtsnd/Check"
import Default from "~/model/Brtsnd/Default"
import Pattern from "~/model/Brtsnd/Pattern"
......@@ -57,6 +117,13 @@ import Mt750p from "./Mt750p"
import Mt754p from "./Mt754p"
import Othadvtypp from "./Othadvtypp"
//公共面板导入
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 Limitbody from "~/views/Public/Limitbody";
export default {
name: "Brtsnd",
......@@ -68,16 +135,22 @@ export default {
"m-mt750p" : Mt750p,
"m-mt754p" : Mt754p,
"m-othadvtypp" : Othadvtypp,
"m-engp": Engp,
"m-setpan": Setpan,
"m-coninfp": Coninfp,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-limitbody": Limitbody,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
tabVal: "payp",
trnName: "brtsnd",
model: new Brtsnd().data,
checkRules: Check,
......@@ -85,6 +158,7 @@ export default {
pattern: Pattern,
rules: null,
codes: {
...CodeTable
},
}
},
......
......@@ -172,7 +172,7 @@ import Brteus from "./Brteus"
import Brtudp from "./Brtudp"
import Brtcan from "./Brtcan"
// import Brtsnd from "./Brtsnd"
import Brtsnd from "./Brtsnd"
import Litsel from "./Litsel"
import Litame from "./Litame"
......@@ -298,7 +298,7 @@ const BusRouter = [
{ path: 'brtudp', component: Brtudp, name: 'Brtudp', meta: { title: '进口信用证单据承兑' } },
{ path: 'brtcsg', component: Brtcsg, name: 'Brtcsg', meta: { title: '进口信用证单据提货担保注销' } },
{ path: 'brtcan', component: Brtcan, name: 'Brtcan', meta: { title: '进口信用证单据注销' } },
// { path: 'brtsnd', component: Brtsnd, name: 'Brtsnd', meta: { title: '进口信用证单据寄单' } },
{ path: 'brtsnd', component: Brtsnd, name: 'Brtsnd', meta: { title: '进口信用证单据寄单' } },
{ path: 'inftxm', component: Inftxm, name: 'Inftxm', meta: { title: '条式语句查询' } },
// { path: 'infdet', component: Infdet, name: 'Infdet', meta: { title: 'Infdet' } },
......
......@@ -30,7 +30,7 @@
</el-table-column>
<el-table-column label="Document" prop="docnam" width="auto">
<template slot="header" slot-scope="scope">
<row>
<c-row>
<c-col :span="12">
<span style="line-height: 36px;">Document</span>
</c-col>
......@@ -40,7 +40,7 @@
<span class="add_del_button" @click="deleteTable">-</span>
</div>
</c-col>
</row>
</c-row>
</template>
<template slot-scope="scope">
......
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