Commit 1b6796f1 by 潘际乾
parents f08d78b2 175392bd
......@@ -4,6 +4,30 @@ import Utils from "~/utils"
* Brtame Check规则
*/
let checkObj = {
"liaall.misamt" :null,
"liaall.limmod.limpts.oth.pts.extkey" :null,
"liaall.limmod.ownref" :null,
"liaall.limmod.ecifno" :null,
"brdgrp.rec.relgodflg" :null,
"brdgrp.rec.expdat" :null,
"brdgrp.cbs.max.amt" :null,
"brdgrp.rec.reltyp" :null,
"liaall.limmod.limpts.oth.pts.nam" :null,
"brdgrp.shp.namelc" :null,
"setmod.dspflg" :null,
"brdgrp.prb.pts.nam" :null,
"brdgrp.ben.pts.nam" :null,
"liaall.limmod.limpts.wrk.pts.nam" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null,
"brdgrp.shp.adrelc" :null,
"mtabut.coninf.conexedat" :null,
"liaall.limmod.limpts.nonrevflg1" :null,
"brdgrp.apl.pts.nam" :null,
"setmod.docamt" :null,
"brdgrp.shp.pts.adrblk" :null,
"brdgrp.blk.relstoadr" :null,
"brdgrp.rec.trpdocnum" :null,
"brdgrp.shp.pts.extkey" :null,
}
for (const key in checkObj) {
......
......@@ -6,5 +6,47 @@ import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"trnmod.trndoc.condocstm" :Utils.defaultFunction,
"trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.extkey" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
"brdgrp.shp.pts.extkey" :Utils.defaultFunction,
"lidgrp.cbs.nom1.cur" :Utils.defaultFunction,
"brdgrp.ben.pts.nam" :Utils.defaultFunction,
"brdgrp.cbs.max.amt" :Utils.defaultFunction,
"brdgrp.apl.pts.nam" :Utils.defaultFunction,
"brdgrp.cbs.max.cur" :Utils.defaultFunction,
"lidgrp.rec.ownref" :Utils.defaultFunction,
"liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"brdgrp.rec.relgodflg" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"brdgrp.rec.reltyp" :Utils.defaultFunction,
"brdgrp.shp.pts.adrblk" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction,
"brdgrp.shp.adrelc" :Utils.defaultFunction,
"brdgrp.shp.namelc" :Utils.defaultFunction,
"brdgrp.shp.dbfadrblkcn" :Utils.defaultFunction,
"brdgrp.rec.ownref" :Utils.defaultFunction,
"brdgrp.prb.pts.nam" :Utils.defaultFunction,
"lidgrp.rec.expdat" :Utils.defaultFunction,
"lidgrp.rec.shpdat" :Utils.defaultFunction,
"lidgrp.cbs.opn1.amt" :Utils.defaultFunction,
"lidgrp.rec.avbby" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"lidgrp.rec.redclsflg" :Utils.defaultFunction,
"brdgrp.rec.rtoaplflg" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -2,5 +2,185 @@ import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onShppDet(){
let rtnmsg = await this.executeRule("shpp.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: '服务请求失败!'});
}
},
async onWrkpDet(){
let rtnmsg = await this.executeRule("wrkp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOthpDet(){
let rtnmsg = await this.executeRule("othp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimptsGet1(){
let rtnmsg = await this.executeRule("limpts.get1")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimptsGet2(){
let rtnmsg = await this.executeRule("limpts.get2")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimmodTrycal(){
let rtnmsg = await this.executeRule("limmod.trycal")
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 Brtame{
constructor () {
this.data = {
lidgrp:{
rec:{
ownref:"", // 参考号 .lidgrp.rec.ownref
nam:"", // 简略信息 .lidgrp.rec.nam
revflg:"", // Revolving Flag .lidgrp.rec.revflg
avbby:"", // Available by .lidgrp.rec.avbby
redclsflg:"", // Red/Green Clause .lidgrp.rec.redclsflg
opndat:"", // 开证日期 .lidgrp.rec.opndat
shpdat:"", // 最迟装运日期 .lidgrp.rec.shpdat
expdat:"", // 到期日/到期地点 .lidgrp.rec.expdat
expplc:"", // 到期日/到期地点 .lidgrp.rec.expplc
lcrtyp:"", // 信用证类型 .lidgrp.rec.lcrtyp
},
cbs:{
nom1:{
cur:"", // 信用证金额 .lidgrp.cbs.nom1.cur
amt:"", // 信用证金额 .lidgrp.cbs.nom1.amt
},
opn1:{
cur:"", // 信用证余额 .lidgrp.cbs.opn1.cur
amt:"", // Balance .lidgrp.cbs.opn1.amt
},
},
avbnam:"", // 指定银行 .lidgrp.avbnam
},
brtp:{
lidget:{
sdamod:{
seainf:"", // .brtp.lidget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .brtp.lidget.sdamod.dadsnd
},
},
aammod:{
addamtflg:"", // Add. Amount .brtp.aammod.addamtflg
},
recget:{
sdamod:{
seainf:"", // .brtp.recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .brtp.recget.sdamod.dadsnd
},
},
shpp:{
ptsget:{
sdamod:{
seainf:"", // .brtp.shpp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .brtp.shpp.ptsget.sdamod.dadsnd
},
},
},
connum:"", // Contract Number .brtp.connum
},
brdgrp:{
apl:{
pts:new Pts().data,
},
ben:{
pts:new Pts().data,
},
prb:{
pts:new Pts().data,
},
rec:{
ownref:"", // Document Set Ref. .brdgrp.rec.ownref
nam:"", // Name .brdgrp.rec.nam
shgref:"", // SG Reference .brdgrp.rec.shgref
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
},
cbs:{
max:{
cur:"", // Amount of Shipment .brdgrp.cbs.max.cur
amt:"", // Balance .brdgrp.cbs.max.amt
},
},
blk:{
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
},
shp:{
pts:new Pts().data,
namelc:"", // 名称 .brdgrp.shp.namelc
adrelc:"", // 地址 .brdgrp.shp.adrelc
dbfadrblkcn:"", // Chinese address .brdgrp.shp.dbfadrblkcn
},
},
liaall: new Pub().data.Liaall,
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
pageId: "" // ctx的key
}
}
......
......@@ -7,7 +7,7 @@ export default class Brtdck {
this.data = {
setmod: new Pub().data.Setmod, //加入公共面板账务字段
// mtabut: new Pub().data.Mtabut,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod, //加入公共面板面函的字段
brtapll2blk: "", //加入公共面板面函的字段
brtapll1blk: "",
......@@ -243,28 +243,28 @@ export default class Brtdck {
// zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
// zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
// },
mtabut: {
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
},
},
},
// mtabut: {
// 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
......
import Utils from "~/utils"
/**
* Brteus Check规则
*/
let checkObj = {
"liaall.misamt" :null,
"liaall.limmod.limpts.oth.pts.extkey" :null,
"liaall.limmod.ownref" :null,
"liaall.limmod.ecifno" :null,
"liaall.limmod.limpts.oth.pts.nam" :null,
"setmod.dspflg" :null,
"brdgrp.prb.pts.nam" :null,
"brdgrp.ben.pts.nam" :null,
"liaall.limmod.limpts.wrk.pts.nam" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null,
"mtabut.coninf.conexedat" :null,
"liaall.limmod.limpts.nonrevflg1" :null,
"brdgrp.apl.pts.nam" :null,
"setmod.docamt" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Brteus Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"trnmod.trndoc.condocstm" :Utils.defaultFunction,
"trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.extkey" :Utils.defaultFunction,
"strinf" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
"brdgrp.ben.pts.nam" :Utils.defaultFunction,
"brdgrp.cbs.max.amt" :Utils.defaultFunction,
"brdgrp.apl.pts.nam" :Utils.defaultFunction,
"brdgrp.cbs.max.cur" :Utils.defaultFunction,
"lidgrp.rec.ownref" :Utils.defaultFunction,
"liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"brdgrp.rec.advdat" :Utils.defaultFunction,
"brdgrp.rec.docsta" :Utils.defaultFunction,
"brdgrp.rec.rcvdat" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"brdgrp.rec.stadat" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.nam" :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,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
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: '服务请求失败!'});
}
},
async onWrkpDet(){
let rtnmsg = await this.executeRule("wrkp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOthpDet(){
let rtnmsg = await this.executeRule("othp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimptsGet1(){
let rtnmsg = await this.executeRule("limpts.get1")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimptsGet2(){
let rtnmsg = await this.executeRule("limpts.get2")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimmodTrycal(){
let rtnmsg = await this.executeRule("limmod.trycal")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"brtp.lidget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"lidgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brtp.lidget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"lidgrp.rec.expdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"lidgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"lidgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"brtp.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brtp.recget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"brdgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"brdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"brdgrp.apl.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brdgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"brdgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"brdgrp.apl.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"brdgrp.rec.rcvdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"brdgrp.rec.advdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"brdgrp.ben.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brdgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"brdgrp.rec.stadat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"brdgrp.ben.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"brdgrp.rec.tenmaxday":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"brdgrp.prb.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brdgrp.prb.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"strinf":[
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"liaall.outamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.outpct":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"liaall.concur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"liaall.misamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.exttotoldamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.exttotamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"setmod.docamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.zmqacc":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"mtabut.coninf.oitinf.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.oitset.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.conexedat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"mtabut.coninf.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"trnmod.trndoc.advnam":[
{type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"trnmod.trndoc.amdapl":[
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"trnmod.trndoc.advdoc":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trnmod.trndoc.filrecv":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"trnmod.trndoc.doctrestm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trnmod.trndoc.condocstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trnmod.trndoc.rcvatt.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"liaall.limmod.ecifno":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"liaall.limmod.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"liaall.limmod.wrkp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"liaall.limmod.othp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"liaall.limmod.limpts.wrk.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"liaall.limmod.wrkp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"liaall.limmod.limpts.oth.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"liaall.limmod.othp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"liaall.limmod.comamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.limmod.limpts.wrk.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"liaall.limmod.limpts.oth.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"liaall.limmod.ccvamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.limmod.limpts.pfcod1":[
{type: "string", required: false, message: "必输项"},
{max: 14,message:"长度不能超过14"}
],
"liaall.limmod.limpts.pfcod2":[
{type: "string", required: false, message: "必输项"},
{max: 14,message:"长度不能超过14"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "../Public" //引入公共面板
export default class Brteus{
constructor () {
this.data = {
setmod: new Pub().data.Setmod, //加入公共面板账务字段
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod, //加入公共面板面函的字段
brtapll1blk: "", //加入公共面板面函的字段
brtprbl1blk: "",
liaall: new Pub().data.Liaall, //加入公共面板表外字段
brdgrp:{
rec:{
ownref:"", // 单据参考号 .brdgrp.rec.ownref
nam:"", // Name of Bill Contract .brdgrp.rec.nam
rcvdat:"", // 到单日期 .brdgrp.rec.rcvdat
advdat:"", // Date of Advice of Payment .brdgrp.rec.advdat
docflg:"", // 单据类型 .brdgrp.rec.docflg
docsta:"", // 单据状态 .brdgrp.rec.docsta
matdat:"", // Maturity Date .brdgrp.rec.matdat
tenmaxday:"", // Tenor day .brdgrp.rec.tenmaxday
stadat:"", // 远期单据到期日 .brdgrp.rec.stadat
},
cbs:{
max:{
cur:"", // 单据金额 .brdgrp.cbs.max.cur
amt:"", // 单据金额 .brdgrp.cbs.max.amt
},
opn1:{
cur:"", // 单据余额 .brdgrp.cbs.opn1.cur
amt:"", // Balance .brdgrp.cbs.opn1.amt
},
},
apl:{
pts:new Pts().data,
},
ben:{
pts:new Pts().data,
},
prb:{
pts:new Pts().data,
},
},
lidgrp:{
rec:{
ownref:"", // 信用证编号 .lidgrp.rec.ownref
expdat:"", // Date of Expiry .lidgrp.rec.expdat
},
cbs:{
opn1:{
cur:"", // Currency .lidgrp.cbs.opn1.cur
amt:"", // Balance .lidgrp.cbs.opn1.amt
},
},
},
brtp:{
lidget:{
sdamod:{
seainf:"", // .brtp.lidget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .brtp.lidget.sdamod.dadsnd
},
},
recget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .brtp.recget.sdamod.dadsnd
seainf:"", // .brtp.recget.sdamod.seainf
},
},
matp:{
mattxtlab:"", // Label for MATTXT .brtp.matp.mattxtlab
},
},
strinf:"", // Narrative .strinf
// liaall:{
// 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
// limmod:{
// limpts:{
// wrklab:"", // Label .liaall.limmod.limpts.wrklab
// othlab:"", // Label .liaall.limmod.limpts.othlab
// othlabss:"", // Label .liaall.limmod.limpts.othlabss
// wrk:{
// pts:new Pts().data,
// },
// oth:{
// pts:new Pts().data,
// },
// lsh:"", // 合同流�'号 .liaall.limmod.limpts.lsh
// nonrevflg1:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg1
// pfcod1:"", // 合同流�'号 .liaall.limmod.limpts.pfcod1
// nonrevflg2:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg2
// pfcod2:"", // 合同流�'号 .liaall.limmod.limpts.pfcod2
// },
// wrkp:{
// ptsget:{
// sdamod:{
// dadsnd:"", // Drag Drop Sender .liaall.limmod.wrkp.ptsget.sdamod.dadsnd
// seainf:"", // .liaall.limmod.wrkp.ptsget.sdamod.seainf
// },
// },
// },
// othp:{
// ptsget:{
// sdamod:{
// dadsnd:"", // Drag Drop Sender .liaall.limmod.othp.ptsget.sdamod.dadsnd
// seainf:"", // .liaall.limmod.othp.ptsget.sdamod.seainf
// },
// },
// },
// ownref:"", // 国结业务编号 .liaall.limmod.ownref
// comamt:"", // 业务余额 .liaall.limmod.comamt
// ccvamt:"", // 保证金余额 .liaall.limmod.ccvamt
// ecifno:"", // ECIFNO .liaall.limmod.ecifno
// },
// },
// setmod:{
// docamttyplab:"", // settled amount description as label .setmod.docamttyplab
// retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
// ref:"", // our reference .setmod.ref
// doccur:"", // document currency .setmod.doccur
// docamt:"", // document amount .setmod.docamt
// dspflg:"", // Type of settlement .setmod.dspflg
// xreflg:"", // Recalculate Rates .setmod.xreflg
// setglg:{
// labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg
// },
// zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
// zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
// },
// mtabut:{
// 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
// },
// },
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
......@@ -4,7 +4,62 @@ import Utils from "~/utils"
* Inflid Check规则
*/
let checkObj = {
"lidgrp.rec.prepers18" :null,
"lidgrp.apl.namelc" :null,
"lidgrp.rec.lcrtyp" :null,
"lidgrp.rec.apprul" :null,
"lidgrp.rec.apprultxt" :null,
"lidgrp.blk.lcrgod" :null,
"lidgrp.adv.pts.adrblk" :null,
"lidgrp.blk.adlcnd" :null,
"lidgrp.ini.namelc" :null,
"lidgrp.rec.stacty" :null,
"lidgrp.ini.pts.adrblk" :null,
"lidgrp.blk.lcrdoc" :null,
"lidgrp.a2b.namelc" :null,
"lidgrp.apl.adrelc" :null,
"recpan.usr.extkey" :null,
"lidgrp.avb.pts.adrblk" :null,
"lidgrp.rec.avbwth" :null,
"lidgrp.rec.opndat" :null,
"lidgrp.a2b.adrelc" :null,
"lidgrp.avb.namelc" :null,
"lidgrp.blk.feetxt" :null,
"lidgrp.blk.preper" :null,
"lidgrp.ben.adrelc" :null,
"lidgrp.rec.cnfdet" :null,
"lidgrp.avb.adrelc" :null,
"lidgrp.a2b.pts.adrblk" :null,
"lidgrp.adv.namelc" :null,
"lidgrp.blk.mixdet" :null,
"lidgrp.ini.pts.extkey" :null,
"lidgrp.drw.adrelc" :null,
"infcon.seaamtto" :null,
"lidgrp.rec.expplc" :null,
"lidgrp.rmb.pts.extkey" :null,
"mtabut.coninf.conexedat" :null,
"lidgrp.adv.pts.extkey" :null,
"lidgrp.adv.adrelc" :null,
"lidgrp.avb.pts.extkey" :null,
"lidgrp.ben.pts.extkey" :null,
"lidgrp.a2b.pts.extkey" :null,
"lidgrp.blk.defdet" :null,
"lidgrp.blk.insbnk" :null,
"lidgrp.con.pts.extkey" :null,
"lidgrp.apl.pts.adrblk" :null,
"lidgrp.ini.adrelc" :null,
"lidgrp.ben.pts.adrblk" :null,
"lidgrp.rmb.pts.nam" :null,
"lidgrp.drw.pts.extkey" :null,
"lidgrp.con.adrelc" :null,
"lidgrp.blk.dftat" :null,
"lidgrp.con.pts.adrblk" :null,
"lidgrp.apl.pts.extkey" :null,
"lidgrp.rec.tenmaxday" :null,
"lidgrp.ben.namelc" :null,
"lidgrp.drw.pts.adrblk" :null,
"lidgrp.drw.namelc" :null,
"lidgrp.con.namelc" :null,
}
for (const key in checkObj) {
......
......@@ -6,9 +6,112 @@ import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"infcon.usr.extkey" :Utils.defaultFunction,
"infcon.seapty" :Utils.defaultFunction,
"infcon.pty.extkey" :Utils.defaultFunction,
"lidgrp.adv.pts.extkey" :Utils.defaultFunction,
"lidgrp.rec.avbwth" :Utils.defaultFunction,
"lidgrp.avb.pts.extkey" :Utils.defaultFunction,
"lidgrp.avb.adrelc" :Utils.defaultFunction,
"lidgrp.avb.namelc" :Utils.defaultFunction,
"lidgrp.avb.dbfadrblkcn" :Utils.defaultFunction,
"lidgrp.avb.pts.adrblk" :Utils.defaultFunction,
"infcon.usr.extkey" :Utils.defaultFunction,
"recpan.aamp.aammod.addamtflg" :Utils.defaultFunction,
"recpan.usr.extkey" :Utils.defaultFunction,
"lidgrp.rec.avbby" :Utils.defaultFunction,
"lidgrp.rec.opndat" :Utils.defaultFunction,
"lidgrp.blk.avbwthtxt" :Utils.defaultFunction,
"infcon.trnstm" :Utils.defaultFunction,
"lidgrp.apl.pts.extkey" :Utils.defaultFunction,
"lidgrp.apl.adrelc" :Utils.defaultFunction,
"lidgrp.apl.namelc" :Utils.defaultFunction,
"lidgrp.apl.dbfadrblkcn" :Utils.defaultFunction,
"infcon.sepdelflg" :Utils.defaultFunction,
"infcon.setflg" :Utils.defaultFunction,
"infcon.fcpdsp" :Utils.defaultFunction,
"lidgrp.cbs.nom1.cur" :Utils.defaultFunction,
"lidgrp.rec.rmbflg" :Utils.defaultFunction,
"lidgrp.rec.revflg" :Utils.defaultFunction,
"lidgrp.con.pts.adrblk" :Utils.defaultFunction,
"lidgrp.ben.pts.extkey" :Utils.defaultFunction,
"lidgrp.ben.adrelc" :Utils.defaultFunction,
"lidgrp.ben.namelc" :Utils.defaultFunction,
"lidgrp.ben.dbfadrblkcn" :Utils.defaultFunction,
"infcon.cbctxt" :Utils.defaultFunction,
"lidgrp.rec.shptrs" :Utils.defaultFunction,
"lidgrp.rec.shptrss18" :Utils.defaultFunction,
"infcon.smhdatfrom" :Utils.defaultFunction,
"infcon.smhdir" :Utils.defaultFunction,
"infcon.chktrn" :Utils.defaultFunction,
"infcon.smhdatto" :Utils.defaultFunction,
"infcon.smhcortyp" :Utils.defaultFunction,
"lidgrp.adv.adrelc" :Utils.defaultFunction,
"lidgrp.adv.namelc" :Utils.defaultFunction,
"lidgrp.adv.dbfadrblkcn" :Utils.defaultFunction,
"lidgrp.adv.pts.adrblk" :Utils.defaultFunction,
"lidgrp.rec.shppars18" :Utils.defaultFunction,
"lidgrp.rec.shppar" :Utils.defaultFunction,
"lidgrp.rec.expdat" :Utils.defaultFunction,
"lidgrp.a2b.pts.extkey" :Utils.defaultFunction,
"lidgrp.a2b.adrelc" :Utils.defaultFunction,
"lidgrp.a2b.namelc" :Utils.defaultFunction,
"lidgrp.a2b.dbfadrblkcn" :Utils.defaultFunction,
"lidgrp.a2b.pts.adrblk" :Utils.defaultFunction,
"lidgrp.con.pts.extkey" :Utils.defaultFunction,
"lidgrp.drw.pts.extkey" :Utils.defaultFunction,
"lidgrp.ini.pts.extkey" :Utils.defaultFunction,
"lidgrp.ini.adrelc" :Utils.defaultFunction,
"lidgrp.ini.namelc" :Utils.defaultFunction,
"lidgrp.ini.dbfadrblkcn" :Utils.defaultFunction,
"lidgrp.rec.ownref" :Utils.defaultFunction,
"lidgrp.apl.pts.adrblk" :Utils.defaultFunction,
"lidgrp.drw.adrelc" :Utils.defaultFunction,
"lidgrp.drw.namelc" :Utils.defaultFunction,
"lidgrp.drw.dbfadrblkcn" :Utils.defaultFunction,
"lidgrp.drw.pts.adrblk" :Utils.defaultFunction,
"lidgrp.rmb.pts.extkey" :Utils.defaultFunction,
"lidgrp.rec.nomtop" :Utils.defaultFunction,
"lidgrp.cbs.nom1.amt" :Utils.defaultFunction,
"lidgrp.rec.porloa" :Utils.defaultFunction,
"lidgrp.rec.shpto" :Utils.defaultFunction,
"lidgrp.rec.pordis" :Utils.defaultFunction,
"lidgrp.rec.shpfro" :Utils.defaultFunction,
"infcon.seatrninr" :Utils.defaultFunction,
"infcon.seabucdatto" :Utils.defaultFunction,
"infcon.seabucdatfro" :Utils.defaultFunction,
"lidgrp.blk.preper" :Utils.defaultFunction,
"lidgrp.rec.shpdat" :Utils.defaultFunction,
"infcon.sptcor" :Utils.defaultFunction,
"infcon.sptreg" :Utils.defaultFunction,
"infcon.sptdel" :Utils.defaultFunction,
"infcon.sptinc" :Utils.defaultFunction,
"infcon.sptpen" :Utils.defaultFunction,
"infcon.chksubcon" :Utils.defaultFunction,
"infcon.chktrnsta" :Utils.defaultFunction,
"lidgrp.con.adrelc" :Utils.defaultFunction,
"lidgrp.con.namelc" :Utils.defaultFunction,
"lidgrp.con.dbfadrblkcn" :Utils.defaultFunction,
"lidgrp.rec.spcrcbflg" :Utils.defaultFunction,
"lidgrp.rec.apprul" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"infcon.fepfeecod" :Utils.defaultFunction,
"infcon.fepdsp" :Utils.defaultFunction,
"lidgrp.ini.pts.adrblk" :Utils.defaultFunction,
"lidgrp.rec.spcbenflg" :Utils.defaultFunction,
"lidgrp.ben.pts.adrblk" :Utils.defaultFunction,
"infbut.dspstm" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"infcon.diasta" :Utils.defaultFunction,
"infcon.diadatfrom" :Utils.defaultFunction,
"infcon.diadatto" :Utils.defaultFunction,
"lidgrp.rec.prepers18" :Utils.defaultFunction,
"lidgrp.rec.stacty" :Utils.defaultFunction,
"lidgrp.rmb.pts.nam" :Utils.defaultFunction,
"lidgrp.cbs.max.cur" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"infcon.ordstm" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -3,25 +3,17 @@ import Utils from "~/utils"
export default {
async onInfbutSearow(){
const that = this.root;
let rtnmsg = await that.executeRule("infbut.searow")
if(rtnmsg.respCode == "AAAAAA")
let rtnmsg = await this.executeRule("infbut.searow")
if(rtnmsg.respCode == SUCCESS)
{
// Utils.copyValueFromVO(this.model,rtnmsg.data);
//console.log("afdsafdsa");
// this.model.infbut.dspstm = rtnmsg.data.infbut_dspstm.rows
this.model.infbut.dspstm = rtnmsg.data.infbut_dspstm.rows
// console.log("第一条数据" + rtnmsg.data.infbut_dspstm.rows[0]);
this.$message({
type: 'success',
message: '查询成功!'
});
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
},
async onInfbutDsp(){
let rtnmsg = await this.executeRule("infbut.dsp")
if(rtnmsg.respCode == SUCCESS)
......@@ -82,5 +74,243 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRecpanButgetref(){
let rtnmsg = await this.executeRule("recpan.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 onAdvpDet(){
let rtnmsg = await this.executeRule("advp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBenpDet(){
let rtnmsg = await this.executeRule("benp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onPreperButtxmsel(){
let rtnmsg = await this.executeRule("preper.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onAvbpDet(){
let rtnmsg = await this.executeRule("avbp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onChariaButtxmsel(){
let rtnmsg = await this.executeRule("charia.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDrwpDet(){
let rtnmsg = await this.executeRule("drwp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInipDet(){
let rtnmsg = await this.executeRule("inip.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onA2bpDet(){
let rtnmsg = await this.executeRule("a2bp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRmbpDet(){
let rtnmsg = await this.executeRule("rmbp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onConpDet(){
let rtnmsg = await this.executeRule("conp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLcrdocButtxmsel(){
let rtnmsg = await this.executeRule("lcrdoc.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onAdlcndButtxmsel(){
let rtnmsg = await this.executeRule("adlcnd.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInsbnkButtxmsel(){
let rtnmsg = await this.executeRule("insbnk.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfconButshw(){
let rtnmsg = await this.executeRule("infcon.butshw")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfconButshword(){
let rtnmsg = await this.executeRule("infcon.butshword")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLcrgodButtxmsel(){
let rtnmsg = await this.executeRule("lcrgod.buttxmsel")
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
......@@ -47,23 +47,22 @@ export default {
{max: 16,message:"长度不能超过16"}
],
"brdgrp.ben.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"lidgrp.rec.opndat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"lidgrp.rec.shpdat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"brdgrp.prb.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"lidgrp.rec.expdat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"lidgrp.rec.expplc":[
{type: "string", required: false, message: "必输项"},
......@@ -93,10 +92,10 @@ export default {
"brdgrp.rec.advdat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"brdgrp.rec.disdat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"brdgrp.prb.pts.ref":[
{type: "string", required: false, message: "必输项"},
......@@ -123,7 +122,7 @@ export default {
],
"brdgrp.prb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 40,message:"长度不能超过35"}
{max: 80,message:"80"}
],
"brdgrp.prb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -167,7 +166,7 @@ export default {
],
"mtabut.coninf.conexedat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"mtabut.coninf.usr.extkey":[
{type: "string", required: false, message: "必输项"},
......@@ -410,6 +409,6 @@ export default {
{max: 40,message:"长度不能超过40"}
],
"brdgrp.rec.totdat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
}
\ No newline at end of file
......@@ -4,6 +4,13 @@ import Pub from "../Public"
export default class Litdav{
constructor () {
this.data = {
ptspta:{
pts:{
adrblk:"",
extkey:"",
ref:"",
}
},
litapll1blk:"",
litapll2blk:"",
litapll3blk:"",
......
......@@ -12,8 +12,8 @@ let checkObj = {
"lidgrp.rec.apprul" :null,
"cnybop.cnylib.doccurdate" :null,
"lidgrp.blk.lcrgod" :null,
"lidgrp.rec.nomtop" :null,
"lidgrp.rec.nomton" :null,
// "lidgrp.rec.nomtop" :null,
// "lidgrp.rec.nomton" :null,
"cnybop.outflg" :null,
"bcbtyp7" :null,
"litp.drwp.ptsget.sdamod.dadsnd" :null,
......
......@@ -54,7 +54,7 @@ export default {
"setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"lidgrp.cbs.max.cur" :Utils.defaultFunction,
// "lidgrp.cbs.max.cur" :Utils.defaultFunction,
"lidgrp.cbs.max.amt" :Utils.defaultFunction,
"lidgrp.blk.adlcnd" :Utils.defaultFunction,
"lidgrp.adv.pts.adrblk" :Utils.defaultFunction,
......@@ -89,7 +89,7 @@ export default {
"setmod.glemod.gleshwstm" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
"lidgrp.rec.nomtop" :Utils.defaultFunction,
// "lidgrp.rec.nomtop" :Utils.defaultFunction,
"lidgrp.ini.pts.adrblk" :Utils.defaultFunction,
"litp.usr.extkey" :Utils.defaultFunction,
"lidgrp.rec.spcbenflg" :Utils.defaultFunction,
......
......@@ -63,12 +63,12 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"lidgrp.rec.nomtop":[
{type: "string", required: false, message: "必输项"},
{max: 2,message:"长度不能超过2"}
{type: "number", required: false, message: ""},
],
"lidgrp.rec.nomton":[
{type: "string", required: false, message: "必输项"},
{max: 2,message:"长度不能超过2"}
{type: "number", required: false, message: ""},
],
"lidgrp.apl.adrelc":[
{type: "string", required: true, message: "必输项"},
......@@ -81,7 +81,7 @@ export default {
],
"lidgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: ""},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......
......@@ -183,7 +183,7 @@ export default class Litsel{
mattxtlab:"", // Label for MATTXT .matp.mattxtlab
},
cfgfil:{
btnstm: "", //按钮数据
btnstm: [], //按钮数据
bitmap:"", // Bitmap for folder .cfgfil.bitmap
regside1:"", // Regside .cfgfil.regside1
regside2:"", // Regside .cfgfil.regside2
......
<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>
<!-- S0000579 : Display Type -->
<c-col :span="12">
<c-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="$t('other.please_enter')+'Infotext'" ></c-input>
</c-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="$t('other.please_enter')+'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>
<!-- S0000579 : Display Type -->
<c-col :span="12">
<c-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="$t('other.please_enter')+'Infotext'" ></c-input>
</c-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="$t('other.please_enter')+'Infotext Level'">
</c-select>
</el-form-item>
</c-col>
<!-- SF000019 : 执行日期 -->
<c-col :span="12">
<el-form-item :label="$t('coninf.SF000019')" prop="mtabut.coninf.conexedat">
<c-date-picker type="date" v-model="model.mtabut.coninf.conexedat" style="width:100%" :placeholder="$t('other.please_enter')+$t('coninf.SF000019')"></c-date-picker>
</el-form-item>
</c-col>
<!-- SF000020 : Send for Release to -->
<c-col :span="12">
<c-form-item label="User ID" prop="mtabut.coninf.usr.extkey">
<c-input v-model="model.mtabut.coninf.usr.extkey" maxlength="8" :placeholder="$t('other.please_enter')+'User ID'"></c-input>
</c-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/Brtame/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- SF000545 : Correspondence -->
<c-col :span="12">
<span v-text="model.trnmod.trndoc.advlabel" data-path=".trnmod.trndoc.advlabel" > </span>
</c-col>
<c-col :span="12">
<c-form-item label="国内证落款" prop="trnmod.trndoc.advnam">
<c-input v-model="model.trnmod.trndoc.advnam" maxlength="50" :placeholder="$t('other.please_enter')+'国内证落款'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="修改申请人名称" prop="trnmod.trndoc.amdapl">
<c-input type="textarea" v-model="model.trnmod.trndoc.amdapl" maxlength="50" show-word-limit :placeholder="$t('other.please_enter')+'修改申请人名称'" ></c-input>
</c-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">
<c-form-item label="国内证通知书" prop="trnmod.trndoc.advdoc">
<c-input v-model="model.trnmod.trndoc.advdoc" maxlength="1" :placeholder="$t('other.please_enter')+'国内证通知书'"></c-input>
</c-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/Brtame/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- S0000552 : Outgoing Correspondence, Attachments and other Documents -->
<c-col :span="12">
<c-form-item label="File Receiver" prop="trnmod.trndoc.filrecv">
<c-input v-model="model.trnmod.trndoc.filrecv" :placeholder="$t('other.please_enter')+'File Receiver'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Document tree" prop="trnmod.trndoc.doctrestm">
<c-input v-model="model.trnmod.trndoc.doctrestm" :placeholder="$t('other.please_enter')+'Document tree'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButshw">
{{$t('trndoc.CF000547')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButadd">
{{$t('trndoc.CF000548')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButnew">
{{$t('trndoc.CF000553')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButattto">
{{$t('trndoc.CG001184')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" icon="el-icon-delete" @click="onTrndocButdel">
{{$t('trndoc.CF000549')}}
</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">{{$t('trndoc.CF000556')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.trnmod.trndoc.shwout">{{$t('trndoc.CF000557')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButatt">
{{$t('trndoc.CF000551')}}
</c-button>
</c-col>
<c-col :span="12">
<c-form-item label="Connected Documents" prop="trnmod.trndoc.condocstm">
<c-input v-model="model.trnmod.trndoc.condocstm" :placeholder="$t('other.please_enter')+'Connected Documents'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="trnmod.trndoc.rcvatt.seainf">
<c-input v-model="model.trnmod.trndoc.rcvatt.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
</c-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/Brtame/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- SF000062 : Liability -->
<!-- SF000085 : Sight Amount -->
<c-col :span="12">
<c-form-item :label="$t('liaall.SF000085')" prop="liaall.outamt">
<c-input v-model="model.liaall.outamt" :placeholder="$t('other.please_enter')+$t('liaall.SF000085')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Sight Amount Percentage" prop="liaall.outpct">
<c-input v-model="model.liaall.outpct" :placeholder="$t('other.please_enter')+'Sight Amount Percentage'"></c-input>
</c-form-item>
</c-col>
<!-- SF000088 : % -->
<!-- SF000063 : Amount not yet assigned -->
<c-col :span="12">
<c-form-item :label="$t('liaall.S0000099')" prop="liaall.concur">
<c-input v-model="model.liaall.concur" maxlength="3" :placeholder="$t('other.please_enter')+$t('liaall.S0000099')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('liaall.SF000063')" prop="liaall.misamt">
<c-input v-model="model.liaall.misamt" :placeholder="$t('other.please_enter')+$t('liaall.SF000063')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLiaallButmisamt">
{{$t('liaall.CF000061')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLiaallButmissig">
{{$t('liaall.CF000083')}}
</c-button>
</c-col>
<!-- S0000098 : Old Amount booked externally -->
<c-col :span="12">
<c-form-item :label="$t('liaall.S0000098')" prop="liaall.exttotoldamt">
<c-input v-model="model.liaall.exttotoldamt" :placeholder="$t('other.please_enter')+$t('liaall.S0000098')"></c-input>
</c-form-item>
</c-col>
<!-- S0000099 : External Booking Amount -->
<c-col :span="12">
<c-form-item label="Total booking amount external assinged" prop="liaall.exttotamt">
<c-input v-model="model.liaall.exttotamt" :placeholder="$t('other.please_enter')+'Total booking amount external assinged'"></c-input>
</c-form-item>
</c-col>
<!-- SF000065 : Change Plan -->
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Brtame/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-form-item label="ECIFNO" prop="liaall.limmod.ecifno">
<c-input v-model="model.liaall.limmod.ecifno" maxlength="22" :placeholder="$t('other.please_enter')+'ECIFNO'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.liaall.limmod.limpts.wrklab" data-path=".liaall.limmod.limpts.wrklab" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.liaall.limmod.limpts.othlab" data-path=".liaall.limmod.limpts.othlab" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.liaall.limmod.limpts.othlabss" data-path=".liaall.limmod.limpts.othlabss" > </span>
</c-col>
<!-- S0001138 : 业务编号 -->
<c-col :span="12">
<c-form-item label="国结业务编号" prop="liaall.limmod.ownref">
<c-input v-model="model.liaall.limmod.ownref" maxlength="16" :placeholder="$t('other.please_enter')+'国结业务编号'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="liaall.limmod.wrkp.ptsget.sdamod.dadsnd">
<c-input v-model="model.liaall.limmod.wrkp.ptsget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="liaall.limmod.othp.ptsget.sdamod.dadsnd">
<c-input v-model="model.liaall.limmod.othp.ptsget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="External Key of Address" prop="liaall.limmod.limpts.wrk.pts.extkey">
<c-input v-model="model.liaall.limmod.limpts.wrk.pts.extkey" maxlength="16" :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="liaall.limmod.wrkp.ptsget.sdamod.seainf">
<c-input v-model="model.liaall.limmod.wrkp.ptsget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onWrkpDet">
{{$t('ptsp.CF000082')}}
</c-button>
</c-col>
<c-col :span="12">
<c-form-item label="External Key of Address" prop="liaall.limmod.limpts.oth.pts.extkey">
<c-input v-model="model.liaall.limmod.limpts.oth.pts.extkey" maxlength="16" :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="liaall.limmod.othp.ptsget.sdamod.seainf">
<c-input v-model="model.liaall.limmod.othp.ptsget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onOthpDet">
{{$t('ptsp.CF000082')}}
</c-button>
</c-col>
<!-- S0001135 : 业务余额 -->
<c-col :span="12">
<c-form-item label="业务余额" prop="liaall.limmod.comamt">
<c-input v-model="model.liaall.limmod.comamt" :placeholder="$t('other.please_enter')+'业务余额'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Name of Party" prop="liaall.limmod.limpts.wrk.pts.nam">
<c-input v-model="model.liaall.limmod.limpts.wrk.pts.nam" maxlength="40" :placeholder="$t('other.please_enter')+'Name of Party'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Name of Party" prop="liaall.limmod.limpts.oth.pts.nam">
<c-input v-model="model.liaall.limmod.limpts.oth.pts.nam" maxlength="40" :placeholder="$t('other.please_enter')+'Name of Party'"></c-input>
</c-form-item>
</c-col>
<!-- S0001136 : 保证金 -->
<!-- S0000011 : 额度类型 -->
<c-col :span="12">
<c-form-item label="保证金余额" prop="liaall.limmod.ccvamt">
<c-input v-model="model.liaall.limmod.ccvamt" :placeholder="$t('other.please_enter')+'保证金余额'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Flag to Mark Non-revolving Limits" prop="liaall.limmod.limpts.nonrevflg1">
<c-select v-model="model.liaall.limmod.limpts.nonrevflg1" style="width:100%" :placeholder="$t('other.please_enter')+'Flag to Mark Non-revolving Limits'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLimptsGet1">
{{$t('limpts.C0000013')}}
</c-button>
</c-col>
<!-- S0000012 : 额度类型 -->
<c-col :span="12">
<el-form-item label="Flag to Mark Non-revolving Limits" prop="liaall.limmod.limpts.nonrevflg2">
<c-select v-model="model.liaall.limmod.limpts.nonrevflg2" style="width:100%" :placeholder="$t('other.please_enter')+'Flag to Mark Non-revolving Limits'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLimptsGet2">
{{$t('limpts.C0000014')}}
</c-button>
</c-col>
<!-- S0001137 : 余额 -->
<c-col :span="12">
<span v-text="model.liaall.limmod.limpts.lsh" data-path=".liaall.limmod.limpts.lsh" > </span>
</c-col>
<c-col :span="12">
<c-form-item label="合同流�'号" prop="liaall.limmod.limpts.pfcod1">
<c-input v-model="model.liaall.limmod.limpts.pfcod1" maxlength="14" :placeholder="$t('other.please_enter')+'合同流�'号'"></c-input>
</c-form-item>
</c-col>
<!-- S0000018 : 合同流水号 -->
<c-col :span="12">
<c-form-item label="合同流�'号" prop="liaall.limmod.limpts.pfcod2">
<c-input v-model="model.liaall.limmod.limpts.pfcod2" maxlength="14" :placeholder="$t('other.please_enter')+'合同流�'号'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLimmodTrycal">
{{$t('limmod.C0000005')}}
</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/Brtame/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- S0000002 : 参考号 -->
<c-col :span="12">
<c-form-item label="our reference" prop="setmod.ref">
<c-input v-model="model.setmod.ref" maxlength="16" :placeholder="$t('other.please_enter')+'our reference'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.docamttyplab" data-path=".setmod.docamttyplab" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="document currency" prop="setmod.doccur">
<c-select v-model="model.setmod.doccur" style="width:100%" :placeholder="$t('other.please_enter')+'document currency'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="document amount" prop="setmod.docamt">
<c-input v-model="model.setmod.docamt" :placeholder="$t('other.please_enter')+'document amount'"></c-input>
</c-form-item>
</c-col>
<!-- S0000003 : 类型 -->
<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="$t('other.please_enter')+'Type of settlement'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.setmod.xreflg">{{$t('setmod.CF000011')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSetmodDet">
{{$t('setmod.CF000032')}}
</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">
<c-form-item label="自�'�区主�'�号" prop="setmod.zmqacc">
<c-input v-model="model.setmod.zmqacc" maxlength="20" :placeholder="$t('other.please_enter')+'自�'�区主�'�号'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.zmqacclab" data-path=".setmod.zmqacclab" > </span>
</c-col>
<!-- S0000001 : Foreign Commission / Charges: -->
<!-- S0000001 : Own Commission / Charges: -->
<!-- SF000001 : Settlement: -->
<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/Brtame/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<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">
<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"
>
<!--brtame PD000057 Release Goods -->
<el-tab-pane label="Release Goods" name="rog">
<m-rog :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="Shipping Details" name="shpdet">
<m-shpdet :model="model" :codes="codes" />
</el-tab-pane>
<!--liaall PD000027 Liability -->
<el-tab-pane label="或有" name="engp">
<m-engp :model="model" :codes="codes" />
</el-tab-pane>
<!--setmod PD000000 Settlement -->
<el-tab-pane label="账务" name="setpan">
<m-setpan :model="model" :codes="codes" />
</el-tab-pane>
<!--coninf PD000000 Completion -->
<el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--trndoc PD000529 &Messages -->
<el-tab-pane label="面函" name="docpan">
<m-docpan :model="model" :codes="codes" />
</el-tab-pane>
<!--trndoc PD000546 Attachments -->
<el-tab-pane label="附件" name="doctre">
<m-doctre :model="model" :codes="codes" />
</el-tab-pane>
<!--limmod PD000001 统一授信 -->
<el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Brtame from "~/model/Brtame"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Brtame/Check"
import Default from "~/model/Brtame/Default"
import Pattern from "~/model/Brtame/Pattern"
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Brtame from "~/model/Brtame";
import commonProcess from "~/mixin/commonProcess";
import Check from "~/model/Brtame/Check";
import Default from "~/model/Brtame/Default";
import Pattern from "~/model/Brtame/Pattern";
import Rog from "./Rog";
import Shpdet from "./Shpdet";
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 {
components:{
name: "Brtame",
components: {
"m-rog": Rog,
"m-shpdet": Shpdet,
"m-engp": Engp,
"m-setpan": Setpan,
"m-coninfp": Coninfp,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-limitbody": Limitbody,
},
provide() {
return {
root: this
}
root: this,
};
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
data() {
return {
tabVal: "",
tabVal: "rog",
trnName: "brtame",
trnType: "",
model: new Brtame().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
codes: {},
};
},
}
methods: {
myTabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
},
methods:{
tabClick(){
}
},
created:async function(){
created: async function () {
console.log("进入brtame交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
},
};
</script>
<style>
</style>
......@@ -16,6 +16,7 @@
<el-button size="small">imgyge</el-button>
<!-- <el-button size="small">拆分报文</el-button> -->
<el-button size="small">img</el-button>
<el-button size="small">His.img</el-button>
</c-function-btn>
......
<template>
<c-page title="进口信用证单据展期">
<div class="eContainer">
<!-- <c-bus-button :$pntvm="this"></c-bus-button> j加操作按钮-->
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
<el-button size="small">查询</el-button>
<el-button size="small">用户确认</el-button>
<el-button size="small">检核</el-button>
<el-button size="small">日志</el-button>
<!-- <el-button size="small">保存模板</el-button> -->
<!-- <el-button size="small">使用模板</el-button> -->
<el-button size="small">imgyge</el-button>
<!-- <el-button size="small">拆分报文</el-button> -->
<el-button size="small">img</el-button>
<el-button size="small">His.img</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">
<!--PD000024 -->
<el-tab-pane label="Extend Usance" name="brteus">
<m-brteus :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="Liability" name="engp">
<m-engp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Settlement" name="setpan">
<m-setpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="Messages" name="docpan">
<m-docpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</c-page>
</template>
<script>
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Brteus from "~/model/Brteus";
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Brteus/Check";
import Default from "~/model/Brteus/Default";
import Pattern from "~/model/Brteus/Pattern";
import Brteuss from "./Brteus";
// import Engp from "./Engp"
// import Setpan from "./Setpan"
// import Coninfp from "./Coninfp"
// import Docpan from "./Docpan"
// import Doctre from "./Doctre"
// import Limitbody from "./Limitbody"
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: "Brteus",
components: {
"m-brteus": Brteuss,
"m-engp": Engp,
"m-setpan": Setpan,
"m-coninfp": Coninfp,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-limitbody": Limitbody,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "brteus",
trnName: "brteus",
model: new Brteus().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
...CodeTable//...即返回到views同级,关联码表
},
}
},
methods: {
myTabClick(tab) {
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created: async function () {
console.log("进入brteus交易");
let rtnmsg = await this.init({})
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
}
}
</script>
<style>
</style>
......@@ -146,6 +146,7 @@ import Fund from "./Fund"
import Brtdck from "./Brtdck"
import Brtcsg from "./Brtcsg"
import Brteus from "./Brteus"
import Brtudp from "./Brtudp"
import Brtcan from "./Brtcan"
......@@ -155,6 +156,7 @@ import Litsel from "./Litsel"
import Litame from "./Litame"
import Brtdcr from "./Brtdcr"
import Brtacp from "./Brtacp"
import Brtame from "./Brtame"
/**
* 带有name的才会被添加进顶部的标签页里
......@@ -255,6 +257,7 @@ const BusRouter = [
{ path: 'trtame', component: Trtame, name: 'Trtame', meta: { title: '进口融资修改' } },
{ path: 'trtsel', component: Trtsel, name: 'Trtsel', meta: { title: '进口融资入口交易' } },
{ path: 'brtdck', component: Brtdck, name: 'Brtdck', meta: { title: '进口信用证单据改单/二次到单' } },
{ path: 'brteus', component: Brteus, name: 'Brteus', meta: { title: '进口信用证单据展期' } },//brteus路由
{ path: 'brtudp', component: Brtudp, name: 'Brtudp', meta: { title: '进口信用证单据承兑' } },
{ path: 'brtcsg', component: Brtcsg, name: 'Brtcsg', meta: { title: '进口信用证单据提货担保注销' } },
{ path: 'brtcan', component: Brtcan, name: 'Brtcan', meta: { title: '进口信用证单据注销' } },
......@@ -322,6 +325,7 @@ const BusRouter = [
{ path: 'Litame', component: Litame, name: 'Litame', meta: { title: '进口信用证修改' } },
{ path: 'Brtdcr', component: Brtdcr, name: 'Brtdcr', meta: { title: 'Brtdcr' } },
{ path: 'Brtacp', component: Brtacp, name: 'Brtacp', meta: { title: 'Brtacp' } },
{ path: 'Brtame', component: Brtame, name: 'Brtame', meta: { title: 'Brtame' } },
]
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Additional Conditions" prop="lidgrp.blk.adlcnd">
<c-input type="textarea" v-model="model.lidgrp.blk.adlcnd" maxlength="65" show-word-limit placeholder="请输入Additional Conditions" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onAdlcndButtxmsel">
...
</c-button>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.lidgrp.rec.spcbenflg">Special payment conditions for beneficiary exists</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.lidgrp.rec.spcrcbflg">Special Payment Conditions for specified Bank only</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.lidgrp.rec.redclsflg">Red/Green Clause</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="Instructions to Pay.," prop="lidgrp.blk.insbnk">
<c-input type="textarea" v-model="model.lidgrp.blk.insbnk" maxlength="65" show-word-limit placeholder="请输入Instructions to Pay.," ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onInsbnkButtxmsel">
...
</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/Inflid/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="busnavbar">
<div class="busnavbar-items">
<c-button v-for="(item,index) in codeList" v-bind:key="index" @click.native="onNarBtnClick(item.code,index)" :title="item.title" :disabled="item.isDis==='N'">{{item.label}}</c-button>
<c-button
style="margin-left:7px;"
size="medium"
type="primary"
class="medium_bcs"
v-for="(item,index) in codeList"
v-bind:key="index"
@click.native="onNarBtnClick(item.code,index)"
:title="item.title"
:disabled="item.isDis==='N'"
>{{item.label}}</c-button>
</div>
</div>
</template>
......@@ -23,7 +34,7 @@ export default {
trnName:'litsel',
model:new Litsel().data,
navcode:[
{code:"",label:"",isDis:"",title:""},
// {code:"",label:"",isDis:"",title:""},
],
}
},
......@@ -34,9 +45,10 @@ export default {
let rtnmsg = await this.executeRule("cfgfil.hotsub1")
console.log("cfgfil.code:" + this.model.cfgfil.subtrn1);
if(rtnmsg.respCode == SUCCESS){
this.navcode=[]
this.$emit("onChoose",code.toLowerCase());
}else{
this.$notify.error({title: "错误", message: "服务请求失败!"})
}
},
......@@ -47,6 +59,7 @@ export default {
//将model中的数据映射成数组
return this.navcode.map(item=>{
let entireItem = {...item}
this.navcode=[];
//TODO 根据数据判断当前的code,是否可以继续
// entireItem.enable = item.isDis
return entireItem
......@@ -66,22 +79,27 @@ export default {
mounted(){
this.$nextTick(function(){
this.$on('childmethods',async function(){
this.navcode = []
//请求按钮数据
this.model.lidgrp.rec.ownref = this.ownref
this.model.lidget.lid.ownref = this.ownref
console.log("ownref:" + this.ownref );
let rtnmsg = await this.executeRule("lidgrp.rec.ownref")
let rtnmsg = await this.executeRule("lidget.lid.ownref");//lidget.lid.ownref
if(rtnmsg.respCode == SUCCESS){
//重置数组
this.navcode.length = 0
this.model.cfgfil.btnstm = rtnmsg.data.cfgfil_btnstm.rows
this.navcode = []
this.updateModel(rtnmsg.data)
//this.model.cfgfil.btnstm = rtnmsg.data.cfgfil_btnstm.rows
//给inr赋值,后面弹窗里面的按钮请求会用到
this.model.lidgrp.rec.inr = rtnmsg.data.lidgrp_rec_inr
const idx = this.model.cfgfil.btnstm.length
let btnStr = this.model.cfgfil.btnstm
// console.log("btnstmStr:"+btnStr);
for(let i=0; i < idx; i++){
//this.model.didgrp.rec.inr = rtnmsg.data.didgrp_rec_inr
const length = this.model.cfgfil.btnstm.rows.length
let btnStr = this.model.cfgfil.btnstm.rows
let j = 0;
let m = 0;
const buttonIndex = ['信用证修改','减额修改接受','到单','修改通知行']
for(let i=0; i < length; i++){
//获取数组中每行的数据
if(!( btnStr[i].indexOf("保证金") >= 0) && !(btnStr[i].indexOf("开立信用证") >= 0)){
let arr = btnStr[i].split("\t");
let newList = {
code:arr[0],
......@@ -89,12 +107,23 @@ export default {
isDis:arr[2],
title:arr[3]
}
m++;
j = buttonIndex.indexOf(arr[1].replace(/(^\s*)|(\s*$)/g, ""));
if(j<0){
j = m;
}
//添加到navcode数组中
this.navcode.splice(i,0,newList)
this.navcode.splice(j,0,newList)
}
}
}else{
this.navcode = []
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
})
})
}
......@@ -103,7 +132,4 @@ export default {
}
</script>
<style>
.busnavbar-items{
/*TODO完善按钮间隔等样式 */
}
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="stream of CBEs" prop="infcon.cbestm">
<c-input v-model="model.infcon.cbestm" placeholder="请输入stream of CBEs"></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/Inflid/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="CBS Column" prop="infcon.cbctxt">
<c-select v-model="model.infcon.cbctxt" style="width:100%" placeholder="请选择CBS Column">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="stream of CBBs" prop="infcon.cbbstm">
<c-input v-model="model.infcon.cbbstm" placeholder="请输入stream of CBBs"></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/Inflid/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.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/Inflid/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="Description. of Goods" prop="lidgrp.blk.lcrgod">
<c-input type="textarea" v-model="model.lidgrp.blk.lcrgod" maxlength="65" show-word-limit placeholder="请输入Description. of Goods" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onLcrgodButtxmsel">
...
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Goods Code " prop="lidgrp.rec.stagod">
<c-select v-model="model.lidgrp.rec.stagod" style="width:100%" placeholder="请选择Goods Code ">
</c-select>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Inflid/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="Documents Required" prop="lidgrp.blk.lcrdoc">
<c-input type="textarea" v-model="model.lidgrp.blk.lcrdoc" maxlength="65" show-word-limit placeholder="请输入Documents Required" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onLcrdocButtxmsel">
...
</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/Inflid/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="Fee Code" prop="infcon.fepfeecod">
<c-select v-model="model.infcon.fepfeecod" style="width:100%" placeholder="请选择Fee Code">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Disposition" prop="infcon.fepdsp">
<c-select v-model="model.infcon.fepdsp" style="width:100%" placeholder="请选择Disposition">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="stream for FEPs to selected contract" prop="infcon.fepstm">
<c-input v-model="model.infcon.fepstm" placeholder="请输入stream for FEPs to selected contract"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.infcon.feptxtlbl" data-path=".infcon.feptxtlbl" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Disposition" prop="infcon.fcpdsp">
<c-select v-model="model.infcon.fcpdsp" style="width:100%" placeholder="请选择Disposition">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="stream of foreign charges" prop="infcon.fcpstm">
<c-input v-model="model.infcon.fcpstm" placeholder="请输入stream of foreign charges"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.infcon.fcptxtlbl" data-path=".infcon.fcptxtlbl" > </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/Inflid/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 date from" prop="infcon.seabucdatfro">
<c-date-picker type="date" v-model="model.infcon.seabucdatfro" style="width:100%" placeholder="请选择Booking date from"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Booking date till used on GLEINFP" prop="infcon.seabucdatto">
<c-date-picker type="date" v-model="model.infcon.seabucdatto" style="width:100%" placeholder="请选择Booking date till used on GLEINFP"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Transaction INR" prop="infcon.seatrninr">
<c-input v-model="model.infcon.seatrninr" maxlength="8" placeholder="请输入Transaction INR"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Stream of GLEs" prop="infcon.glestm">
<c-input v-model="model.infcon.glestm" placeholder="请输入Stream of GLEs"></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/Inflid/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="Stream for all engagements to selected contract" prop="infcon.liastm">
<c-input v-model="model.infcon.liastm" placeholder="请输入Stream for all engagements to selected contract"></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/Inflid/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="Stream for Orders for Contract" prop="infcon.ordstm">
<c-input v-model="model.infcon.ordstm" placeholder="请输入Stream for Orders for Contract"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onInfconButshword">
&Display
</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/Inflid/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-checkbox v-model="model.infcon.sptinc">Incoming</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.infcon.sptreg">Registered</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.infcon.sptpen">Pending</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.infcon.sptcor">Correction</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.infcon.sptdel">Deleted</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="stream for SPT to selected contract" prop="infcon.sptstm">
<c-input v-model="model.infcon.sptstm" placeholder="请输入stream for SPT to selected contract"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Date from" prop="infcon.diadatfrom">
<c-date-picker type="date" v-model="model.infcon.diadatfrom" style="width:100%" placeholder="请选择Date from"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="date till" prop="infcon.diadatto">
<c-date-picker type="date" v-model="model.infcon.diadatto" style="width:100%" placeholder="请选择date till"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Status" prop="infcon.diasta">
<c-select v-model="model.infcon.diasta" style="width:100%" placeholder="请选择Status">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="stream for diaries to selected contract" prop="infcon.diastm">
<c-input v-model="model.infcon.diastm" placeholder="请输入stream for diaries to selected contract"></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/Inflid/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="XMLPanel prtpan的内置block" prop="prtpanblk">
<c-input type="textarea" v-model="model.prtpanblk" maxlength="200" show-word-limit placeholder="请输入XMLPanel prtpan的内置block" ></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Inflid/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-checkbox v-model="model.infcon.setflg">show temporary settlement that already settled</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.infcon.sepdelflg">show temporary settlement that already deleted</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="stream of SEPs" prop="infcon.sepstm">
<c-input v-model="model.infcon.sepstm" placeholder="请输入stream of SEPs"></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/Inflid/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="Type of Document" prop="infcon.smhcortyp">
<c-select v-model="model.infcon.smhcortyp" style="width:100%" placeholder="请选择Type of Document">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.infcon.chktrn">Active only</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="Created between " prop="infcon.smhdatfrom">
<c-date-picker type="date" v-model="model.infcon.smhdatfrom" style="width:100%" placeholder="请选择Created between "></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="created till" prop="infcon.smhdatto">
<c-date-picker type="date" v-model="model.infcon.smhdatto" style="width:100%" placeholder="请选择created till"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Direction" prop="infcon.smhdir">
<c-select v-model="model.infcon.smhdir" style="width:100%" placeholder="请选择Direction">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="stream of documents to selected contract" prop="infcon.smhstm">
<c-input v-model="model.infcon.smhstm" placeholder="请输入stream of documents to selected contract"></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/Inflid/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-checkbox v-model="model.infcon.chksubcon">incl. all subcontracts</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.infcon.chktrnsta">only active transactions</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="stream for TRN to selected contract" prop="infcon.trnstm">
<c-input v-model="model.infcon.trnstm" placeholder="请输入stream for TRN to selected contract"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onInfconButshw">
&Display
</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/Inflid/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="200px" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000006 -->
<el-tab-pane label="进口信用证交易查询" name="infsea">
<m-infsea :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
<c-content>
<m-infsea :model="model" :codes="codes" ref="infsea" />
</c-content>
</el-form>
</div>
</template>
......
......@@ -208,7 +208,12 @@
<c-col :span="24" :offset="0">
<el-form-item label="External Key of Address" prop="brdgrp.prb.pts.extkey">
<c-fullbox>
<c-input v-model="model.brdgrp.prb.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
<c-input
v-model="model.brdgrp.prb.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
@keyup.enter.native="showGridPromptDialog('brdgrp.prb.pts.extkey')"
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
......@@ -234,7 +239,7 @@
<el-form-item label="Address Block" prop="brdgrp.prb.pts.adrblk">
<c-input
:rows="4"
disabled type="textarea" v-model="model.brdgrp.prb.pts.adrblk" maxlength="40" show-word-limit placeholder="请输入Address Block" ></c-input>
disabled type="textarea" v-model="model.brdgrp.prb.pts.adrblk" maxlength="80" show-word-limit placeholder="请输入Address Block" ></c-input>
</el-form-item>
</c-col>
</el-col>
......
......@@ -7,8 +7,8 @@
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item prop="brdgrp.cbs.max.amt">
<c-col :span="5">
<el-form-item label-width="10px" prop="brdgrp.cbs.max.amt">
<c-input v-model="model.brdgrp.cbs.max.amt" placeholder="请输入Balance"></c-input>
</el-form-item>
</c-col>
......@@ -22,8 +22,8 @@
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="" prop="brdgrp.cbs.max2.amt">
<c-col :span="5">
<el-form-item label-width="10px" prop="brdgrp.cbs.max2.amt">
<c-input v-model="model.brdgrp.cbs.max2.amt" placeholder="请输入附加金额"></c-input>
</el-form-item>
</c-col>
......@@ -62,7 +62,12 @@
<c-col>
<c-col :span="12">
<el-form-item label="External Key of Address" prop="brdgrp.acb.pts.extkey">
<c-input v-model="model.brdgrp.acb.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
<c-input
v-model="model.brdgrp.acb.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
@keyup.enter.native="showGridPromptDialog('brdgrp.acb.pts.extkey')"
></c-input>
</el-form-item>
</c-col>
......@@ -101,7 +106,7 @@
<c-col>
<c-col :span="12">
<el-form-item label="不符点" prop="brdgrp.blk.docdis">
<el-form-item label="Discrepancies" 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>
......
......@@ -3,12 +3,14 @@
<c-col>
<c-col :span="12">
<el-form-item label="Document Amount" prop="brdgrp.cbs.max.cur">
<c-input v-model="model.brdgrp.cbs.max.cur" maxlength="3" placeholder="请输入Document Amount"></c-input>
<c-input
disabled
v-model="model.brdgrp.cbs.max.cur" maxlength="3" placeholder="请输入Document Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Balance" prop="brdgrp.cbs.max.amt">
<el-form-item label="amt" prop="brdgrp.cbs.max.amt">
<c-input v-model="model.brdgrp.cbs.max.amt" placeholder="请输入Balance"></c-input>
</el-form-item>
</c-col>
......@@ -22,14 +24,16 @@
<c-col>
<c-col :span="12">
<el-form-item label="附加金额" prop="brdgrp.cbs.opn2.cur">
<c-select v-model="model.brdgrp.cbs.opn2.cur" style="width:100%" placeholder="请选择附加金额">
<el-form-item label="Drawn Add.Amount" prop="brdgrp.cbs.opn2.cur">
<c-select
disabled
v-model="model.brdgrp.cbs.opn2.cur" style="width:100%" placeholder="请选择附加金额">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="附加金额" prop="brdgrp.cbs.max2.amt">
<el-form-item label="amt" prop="brdgrp.cbs.max2.amt">
<c-input v-model="model.brdgrp.cbs.max2.amt" placeholder="请输入附加金额"></c-input>
</el-form-item>
</c-col>
......@@ -54,7 +58,9 @@
<c-col>
<c-col :span="12">
<el-form-item label="Total Amount Claimed" prop="brdgrp.rec.totcur">
<c-input v-model="model.brdgrp.rec.totcur" maxlength="3" placeholder="请输入Total Amount Claimed"></c-input>
<c-input
disabled
v-model="model.brdgrp.rec.totcur" maxlength="3" placeholder="请输入Total Amount Claimed"></c-input>
</el-form-item>
</c-col>
......@@ -65,19 +71,28 @@
</c-col>
</c-col>
<c-col>
<c-col :span="12">
<el-form-item label="External Key of Address" prop="brdgrp.rmb.pts.extkey">
<el-form-item label="Reimbursing Bank" prop="brdgrp.rmb.pts.extkey">
<c-fullbox>
<c-input v-model="model.brdgrp.rmb.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
<template slot="footer">
<c-button size="small" type="primary" @click="onBebpDet">
Details
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="12">
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onRmbpDet">
Details
</c-button>
</c-col>
</c-col>
</c-col> -->
<c-col>
<c-col :span="12">
<el-form-item label="名称" prop="brdgrp.rmb.namelc">
......@@ -106,28 +121,42 @@
<c-col>
<c-col :span="12">
<el-form-item label="External Key of Address" prop="brdgrp.acb.pts.extkey">
<el-form-item label="Account with Bank" prop="brdgrp.acb.pts.extkey">
<c-fullbox>
<c-input v-model="model.brdgrp.acb.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
<template slot="footer">
<c-button size="small" type="primary" @click="onBebpDet">
Details
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="12">
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onAcbpDet">
Details
</c-button>
</c-col>
</c-col> -->
<c-col :span="12">
<el-form-item label="External Key of Address" prop="brdgrp.beb.pts.extkey">
<el-form-item label="Beneficiary's Bank" prop="brdgrp.beb.pts.extkey">
<c-fullbox>
<c-input v-model="model.brdgrp.beb.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<template slot="footer">
<c-button size="small" type="primary" @click="onBebpDet">
Details
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
</c-col>
<c-col>
......
......@@ -3,7 +3,9 @@
<c-col>
<c-col :span="12">
<el-form-item label="Document Amount" prop="brdgrp.cbs.max.cur">
<c-input v-model="model.brdgrp.cbs.max.cur" maxlength="3" placeholder="请输入Document Amount"></c-input>
<c-input
disabled
v-model="model.brdgrp.cbs.max.cur" maxlength="3" placeholder="请输入Document Amount"></c-input>
</el-form-item>
</c-col>
......@@ -16,8 +18,10 @@
<c-col>
<c-col :span="12">
<el-form-item label="附加金额" prop="brdgrp.cbs.opn2.cur">
<c-select v-model="model.brdgrp.cbs.opn2.cur" style="width:100%" placeholder="请选择附加金额">
<el-form-item label="Drawn Add.Amount" prop="brdgrp.cbs.opn2.cur">
<c-select
disabled
v-model="model.brdgrp.cbs.opn2.cur" style="width:100%" placeholder="请选择附加金额">
</c-select>
</el-form-item>
</c-col>
......@@ -40,7 +44,9 @@
<c-col>
<c-col :span="12">
<el-form-item label="Total Amount Claimed" prop="brdgrp.rec.totcur">
<c-input v-model="model.brdgrp.rec.totcur" maxlength="3" placeholder="请输入Total Amount Claimed"></c-input>
<c-input
disabled
v-model="model.brdgrp.rec.totcur" maxlength="3" placeholder="请输入Total Amount Claimed"></c-input>
</el-form-item>
</c-col>
......@@ -51,35 +57,39 @@
</c-col>
</c-col>
<c-col>
<c-col :span="12">
<el-form-item label="External Key of Address" prop="brdgrp.acb.pts.extkey">
<el-form-item label="Account with Bank" prop="brdgrp.acb.pts.extkey">
<c-fullbox>
<c-input v-model="model.brdgrp.acb.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<template slot="footer">
<c-button size="small" type="primary" @click="onAcbpDet">
Details
</c-button>
</c-col>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="名称" prop="brdgrp.acb.namelc">
<c-input type="textarea" v-model="model.brdgrp.acb.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col>
<c-col :span="12">
<el-form-item label="Address Block" prop="brdgrp.acb.pts.adrblk">
<c-input type="textarea" v-model="model.brdgrp.acb.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12">
<el-form-item label="Chinese address" prop="brdgrp.acb.dbfadrblkcn">
<c-input type="textarea" v-model="model.brdgrp.acb.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
......@@ -93,19 +103,24 @@
</c-col>
</c-col>
<c-col>
<c-col :span="12">
<el-form-item label="External Key of Address" prop="brdgrp.beb.pts.extkey">
<c-input v-model="model.brdgrp.beb.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Beneficiary's Bank" prop="brdgrp.beb.pts.extkey">
<c-fullbox>
<c-input
disabled
v-model="model.brdgrp.beb.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
<template slot="footer">
<c-button size="small" type="primary" @click="onBebpDet">
Details
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
</c-col>
<c-col>
<c-col :span="12">
......
<template>
<c-page title="进口信用证通知">
<div class="eContainer">
<c-bus-button :$pntvm="this"></c-bus-button>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</c-function-btn>
<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">
......@@ -19,12 +24,16 @@
<!--PD000147 -->
<el-tab-pane v-if="model.brdgrp.rec.advtyp=='754'" label="Advice of Payment" name="mt754p">
<c-content>
<m-mt754p :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000213 -->
<el-tab-pane v-if="model.brdgrp.rec.advtyp=='oth'" label="Advice Details" name="othadvtypp">
<c-content>
<m-othadvtypp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane label="Liability" name="engp">
......@@ -66,6 +75,7 @@ import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Litdav from "~/model/Litdav"
import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs"
import Check from "~/model/Litdav/Check"
import Default from "~/model/Litdav/Default"
import Pattern from "~/model/Litdav/Pattern"
......@@ -108,7 +118,7 @@ export default {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
......
......@@ -306,7 +306,7 @@
<c-input
v-model="model.lidgrp.rec.apprultxt"
maxlength="35"
disabled
:disabled="this.flag"
placeholder="请输入Other Applicable Rules"
></c-input>
</el-form-item>
......@@ -699,11 +699,24 @@ export default {
data() {
return {
zmqflg: null,
flag:true,
};
},
methods: { ...Event },
created: function () {},
watch:{
"model.lidgrp.rec.apprul": {
immediate:true,
handler(val,oldVal){
if(val == "OTHR"){
this.flag=false;
}else{
this.flag=true;
}
}
}
},
computed: {
flag() {
return this.model.lidgrp.apl.pts.extkey == "";
......
......@@ -76,11 +76,11 @@
</el-tab-pane>
<!--PD000027 -->
<!-- <el-tab-pane label="Liability" name="engp">
<el-tab-pane label="Liability" name="engp">
<c-content>
<m-engp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane> -->
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="Cash Cover" name="ccvpan">
......
......@@ -75,8 +75,8 @@ export default {
{ inifrm: "betdrv", ininam: "出口信用证单据修改", pntmiu: "3" },
{ inifrm: "infbpd", ininam: "出口押汇查询", pntmiu: "3" },
{ inifrm: "4", ininam: "进口信用证", pntmiu: "" },
{ inifrm: "litsel", ininam: "进口信用证入口", pntmiu: "4" },
{ inifrm: "inflid", ininam: "进口信用证查询", pntmiu: "4" },
{ inifrm: "inflid", ininam: "进口信用证交易查询", pntmiu: "4" },
{ inifrm: "infbrd", ininam: "进口信用证单据查询", pntmiu: "4" },
// { inifrm: "litopn", ininam: "进口信用证开立", pntmiu: "4" },
// { inifrm: "litdav", ininam: "进口信用证通知到单", pntmiu: "4" },
// { inifrm: "litdck", ininam: "进口信用证到单", pntmiu: "4" },
......
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