Commit ef723d69 by liushikai

Merge remote-tracking branch 'origin/master'

# Conflicts:
#	src/views/Layout/SideMenu.vue
parents ea295337 a47bc1c4
import Utils from "~/utils"
/**
* Bopsel Check规则
*/
let checkObj = {
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Bopsel Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"dblstm" :Utils.defaultFunction,
"bopquep.frmdat" :Utils.defaultFunction,
"bopquep.boptyp" :Utils.defaultFunction,
"errsel.msgstm" :Utils.defaultFunction,
"bopquep.staflg" :Utils.defaultFunction,
"bopquep.tildat" :Utils.defaultFunction,
"bopquep.ownextkey" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onSerbut(){
let rtnmsg = await this.executeRule("serbut")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDtlbut(){
let rtnmsg = await this.executeRule("dtlbut")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onAddbut(){
let rtnmsg = await this.executeRule("addbut")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onAmebut(){
let rtnmsg = await this.executeRule("amebut")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDelbut(){
let rtnmsg = await this.executeRule("delbut")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onPrtbut(){
let rtnmsg = await this.executeRule("prtbut")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onExpbut(){
let rtnmsg = await this.executeRule("expbut")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onExpbop(){
let rtnmsg = await this.executeRule("expbop")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onExi(){
let rtnmsg = await this.executeRule("exi")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onErrselSerbut(){
let rtnmsg = await this.executeRule("errsel.serbut")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onErrselCorbut(){
let rtnmsg = await this.executeRule("errsel.corbut")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onExi(){
let rtnmsg = await this.executeRule("exi")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"bopquep.frmdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bopquep.tildat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bopquep.staflg":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"bopquep.dattyp":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"bopquep.rptno":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"bopquep.ptynam":[
{type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"bopquep.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bopquep.sum":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"dblstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"errsel.rptno":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"bopquep.frmdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bopquep.tildat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"errsel.msgstm":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Bopsel{
constructor () {
this.data = {
dblstm:"", // Selection .dblstm
bopquep:{
ownextkey:"", // Initial Code .bopquep.ownextkey
frmdat:"", // From .bopquep.frmdat
tildat:"", // Until .bopquep.tildat
boptyp:"", // 申报类型 .bopquep.boptyp
staflg:"", // 至 .bopquep.staflg
dattyp:"", // 查询日期类型 .bopquep.dattyp
medtyp:"", // 结算方式 .bopquep.medtyp
rptno:"", // 申报号码 .bopquep.rptno
ptytyp:"", // 客户类型 .bopquep.ptytyp
ptynam:"", // 客户名称 .bopquep.ptynam
ownref:"", // 业务编号 .bopquep.ownref
sum:"", // 笔数 .bopquep.sum
},
errsel:{
msgstm:"", // Select Error Message .errsel.msgstm
rptno:"", // 申报编号 .errsel.rptno
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Brtame Check规则
*/
let checkObj = {
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Brtame Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
}
\ No newline at end of file
export default {
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Brtame{
constructor () {
this.data = {
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Brtcan Check规则
*/
let checkObj = {
"liaall.misamt" :null,
"liaall.limmod.limpts.oth.pts.extkey" :null,
"liaall.limmod.ownref" :null,
"liaall.limmod.ecifno" :null,
"liaall.limmod.othp.ptsget.sdamod.dadsnd" :null,
"liaall.limmod.limpts.oth.pts.nam" :null,
"setmod.dspflg" :null,
"brtp0.recget.sdamod.dadsnd" :null,
"liaall.limmod.limpts.wrk.pts.nam" :null,
"brtp0.lidget.sdamod.dadsnd" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null,
"mtabut.coninf.conexedat" :null,
"liaall.limmod.limpts.nonrevflg1" :null,
"liaall.limmod.wrkp.ptsget.sdamod.dadsnd" :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
/**
* Brtcan Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction,
"brdgrp.prb.pts.nam" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
"liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.extkey" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"brdgrp.rec.ownref" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam" :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,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"brdgrp.apl.pts.nam" :Utils.defaultFunction,
"brdgrp.ben.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"lidgrp.rec.ownref" :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 {
"brtp0.lidget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"lidgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brtp0.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位" }
],
"brtp0.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brtp0.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.ben.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"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"
export default class Brtcan{
constructor () {
this.data = {
strinf:"", // Narrative .strinf
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
},
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
},
},
},
brtp0:{
lidget:{
sdamod:{
seainf:"", // .brtp0.lidget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .brtp0.lidget.sdamod.dadsnd
},
},
recget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .brtp0.recget.sdamod.dadsnd
seainf:"", // .brtp0.recget.sdamod.seainf
},
},
matp:{
mattxtlab:"", // Label for MATTXT .brtp0.matp.mattxtlab
},
},
sndmsg:"", // Send Message .sndmsg
rebkpflg:"", // Booking Procedure .rebkpflg
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
import Utils from "~/utils"
/**
* Brtlat Check规则
*/
let checkObj = {
"brdgrp.acb.namelc" :null,
"brdgrp.cbs.max.amt" :null,
"brdgrp.blk.docdis" :null,
"brtp.furide" :null,
"brdgrp.acb.adrelc" :null,
"brtp.acbp.ptsget.sdamod.dadsnd" :null,
"brdgrp.shp.namelc" :null,
"brtp.shpp.ptsget.sdamod.dadsnd" :null,
"brdgrp.acb.pts.extkey" :null,
"brdgrp.rec.disdat" :null,
"brdgrp.acb.pts.adrblk" :null,
"brdgrp.shp.adrelc" :null,
"brdgrp.shp.pts.adrblk" :null,
"brdgrp.blk.setinsbr" :null,
"brdgrp.blk.comcon" :null,
"brdgrp.shp.pts.extkey" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Brtlat Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"brdgrp.cbs.max2.amt" :Utils.defaultFunction,
"brdgrp.shp.pts.extkey" :Utils.defaultFunction,
"brdgrp.shp.adrelc" :Utils.defaultFunction,
"brdgrp.shp.namelc" :Utils.defaultFunction,
"brdgrp.shp.dbfadrblkcn" :Utils.defaultFunction,
"brdgrp.shp.pts.adrblk" :Utils.defaultFunction,
"brdgrp.rec.advtyp" :Utils.defaultFunction,
"brdgrp.acb.pts.adrblk" :Utils.defaultFunction,
"brdgrp.blk.docdisflg" :Utils.defaultFunction,
"brdgrp.cbs.max.amt" :Utils.defaultFunction,
"brdgrp.cbs.max.cur" :Utils.defaultFunction,
"brdgrp.blk.docdis" :Utils.defaultFunction,
"brdgrp.acb.pts.extkey" :Utils.defaultFunction,
"brdgrp.acb.adrelc" :Utils.defaultFunction,
"brdgrp.acb.namelc" :Utils.defaultFunction,
"brdgrp.acb.dbfadrblkcn" :Utils.defaultFunction,
"brtp.cre752flg" :Utils.defaultFunction,
"brdgrp.rec.rtoaplflg" :Utils.defaultFunction,
"brdgrp.rec.relgodflg" :Utils.defaultFunction,
"brdgrp.rec.approvcod" :Utils.defaultFunction,
"brdgrp.rec.disdat" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onDocdisButtxmsel(){
console.log("接口调试入口2====>>>");
let rtnmsg = await this.executeRule("docdis.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSetinstxmButtxmsel(){
console.log("接口调试入口2====>>>");
let rtnmsg = await this.executeRule("setinstxm.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onShppDet(){
console.log("接口调试入口3====>>>");
let rtnmsg = await this.executeRule("shpp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onAcbpDet(){
console.log("接口调试入口4====>>>");
let rtnmsg = await this.executeRule("acbp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"brtapll1blk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
"brdgrp.blk.docdis":[
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"brdgrp.rec.totdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"brdgrp.rec.disdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"brdgrp.blk.comcon":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"brdgrp.blk.setinsbr":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"brtp.connum":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brdgrp.rec.relgoddat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"brdgrp.rec.expdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"brdgrp.blk.carnam":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brdgrp.rec.blnum":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"brdgrp.rec.trpdocnum":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"brdgrp.rec.tradat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"brdgrp.blk.relstoadr":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brdgrp.blk.vesnam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"brdgrp.blk.pordis":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"brtp.shpp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brdgrp.blk.delplc":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"brdgrp.shp.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brtp.shpp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"brdgrp.shp.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brdgrp.blk.roggod":[
{type: "string", required: true, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"brdgrp.shp.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brdgrp.shp.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brdgrp.shp.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brdgrp.blk.notpty":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brdgrp.blk.porlod":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"brdgrp.blk.voynum":[
{type: "string", required: false, message: "必输项"},
{max: 30,message:"长度不能超过30"}
],
"brdgrp.cbs.max.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"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.cbs.max2.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"brdgrp.blk.chaded":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brdgrp.blk.chaadd":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brdgrp.rec.totcur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"brdgrp.rec.totamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"brtp.acbp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brdgrp.acb.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brtp.acbp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"brdgrp.acb.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brdgrp.acb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brdgrp.acb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brdgrp.acb.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Brtlat{
constructor () {
this.data = {
brtapll1blk:"", // XMLPanel brtapll1的内置block .brtapll1blk
brdgrp:{
blk:{
comcon:"", // Comments and Conclusions .brdgrp.blk.comcon
setinsbr:"", // Settlement Instructions BR .brdgrp.blk.setinsbr
docdis:"", // 不符点 .brdgrp.blk.docdis
docdisflg:"", // discrepancies modified .brdgrp.blk.docdisflg
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
chaded:"", // Charges Deducted .brdgrp.blk.chaded
chaadd:"", // Charges Added .brdgrp.blk.chaadd
},
rec:{
igndisflg:"", // Ignore Discrepancies .brdgrp.rec.igndisflg
advtyp:"", // Type of Advice Received .brdgrp.rec.advtyp
totdat:"", // 付款日期 .brdgrp.rec.totdat
disdat:"", // Discrepancy Advice Dated .brdgrp.rec.disdat
approvcod:"", // Documents on Approval Basis .brdgrp.rec.approvcod
relgodflg:"", // Release of Goods .brdgrp.rec.relgodflg
reltyp:"", // Release Type .brdgrp.rec.reltyp
relgoddat:"", // issue date .brdgrp.rec.relgoddat
expdat:"", // Expiry Date of Shipping Guarantee .brdgrp.rec.expdat
trpdoctyp:"", // Transport Doc. Type .brdgrp.rec.trpdoctyp
trpdocnum:"", // Transport Doc. No. .brdgrp.rec.trpdocnum
tradat:"", // shipment date .brdgrp.rec.tradat
tramod:"", // Mode of Transport .brdgrp.rec.tramod
rtoaplflg:"", // Release Goods to Applicant ? .brdgrp.rec.rtoaplflg
ngrcod:"", // Goods code .brdgrp.rec.ngrcod
blnum:"", // B/L Number .brdgrp.rec.blnum
totcur:"", // Amount to be Paid .brdgrp.rec.totcur
totamt:"", // Total Amount to be Paid .brdgrp.rec.totamt
},
shp:{
pts:new Pts().data,
namelc:"", // 名称 .brdgrp.shp.namelc
adrelc:"", // 地址 .brdgrp.shp.adrelc
dbfadrblkcn:"", // Chinese address .brdgrp.shp.dbfadrblkcn
},
cbs:{
max:{
cur:"", // 单据金额 .brdgrp.cbs.max.cur
amt:"", // Balance .brdgrp.cbs.max.amt
},
opn2:{
cur:"", // 附加金额 .brdgrp.cbs.opn2.cur
},
max2:{
amt:"", // 附加金额 .brdgrp.cbs.max2.amt
},
},
acb:{
pts:new Pts().data,
namelc:"", // 名称 .brdgrp.acb.namelc
adrelc:"", // 地址 .brdgrp.acb.adrelc
dbfadrblkcn:"", // Chinese address .brdgrp.acb.dbfadrblkcn
},
},
brtp:{
docgrdm:{
docdsclab:"", // Label of document description .brtp.docgrdm.docdsclab
},
cre752flg:"", // Create 752 .brtp.cre752flg
furide:"", // Further Identification .brtp.furide
cre732flg:"", // Create MT 732 .brtp.cre732flg
shpp:{
ptsget:{
sdamod:{
seainf:"", // .brtp.shpp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .brtp.shpp.ptsget.sdamod.dadsnd
},
},
},
connum:"", // Contract Number .brtp.connum
acbp:{
ptsget:{
sdamod:{
seainf:"", // .brtp.acbp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .brtp.acbp.ptsget.sdamod.dadsnd
},
},
},
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Fctcan Check规则
*/
let checkObj = {
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Fctcan Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
}
\ No newline at end of file
export default {
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Fctcan{
constructor () {
this.data = {
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Fctopn Check规则
*/
let checkObj = {
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Fctopn Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
}
\ No newline at end of file
export default {
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Fctopn{
constructor () {
this.data = {
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
......@@ -7,15 +7,14 @@ let checkObj = {
"bddgrp.rec.disdat" :null,
"recpan.recget.sdamod.dadsnd" :null,
"bddgrp.blk.docdis" :null,
"bddgrp.shp.namelc" :null,
"recpan.furide" :null,
"bddgrp.shp.pts.adrblk" :null,
"bddgrp.apl.pts.nam" :null,
"bddgrp.prb.pts.nam" :null,
"bddgrp.ben.pts.nam" :null,
"bddgrp.blk.comcon" :null,
"infcon.seaamtto" :null,
"mtabut.coninf.conexedat" :null,
"bddgrp.shp.adrelc" :null,
"recpan.didget.sdamod.dadsnd" :null,
"bddgrp.shp.pts.extkey" :null,
"recpan.shpp.ptsget.sdamod.dadsnd" :null,
}
for (const key in checkObj) {
......
......@@ -6,11 +6,14 @@ import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"infcon.usr.extkey" :Utils.defaultFunction,
"infcon.sptcor" :Utils.defaultFunction,
"infcon.sptreg" :Utils.defaultFunction,
"infcon.sptdel" :Utils.defaultFunction,
"infcon.sptinc" :Utils.defaultFunction,
"infcon.sptpen" :Utils.defaultFunction,
"infcon.seapty" :Utils.defaultFunction,
"infcon.pty.extkey" :Utils.defaultFunction,
"infcon.fepfeecod" :Utils.defaultFunction,
"infcon.fepdsp" :Utils.defaultFunction,
"infcon.sepdelflg" :Utils.defaultFunction,
......@@ -22,12 +25,8 @@ export default {
"infcon.smhcortyp" :Utils.defaultFunction,
"bddgrp.blk.docdisflg" :Utils.defaultFunction,
"bddgrp.blk.docdis" :Utils.defaultFunction,
"bddgrp.shp.pts.extkey" :Utils.defaultFunction,
"bddgrp.shp.adrelc" :Utils.defaultFunction,
"bddgrp.shp.namelc" :Utils.defaultFunction,
"bddgrp.shp.dbfadrblkcn" :Utils.defaultFunction,
"bddgrp.shp.pts.adrblk" :Utils.defaultFunction,
"bddgrp.rec.advtyp" :Utils.defaultFunction,
"infbut.dspstm" :Utils.defaultFunction,
"bddgrp.rec.ownref" :Utils.defaultFunction,
"bddgrp.ben.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
......@@ -53,7 +52,7 @@ export default {
"infcon.chksubcon" :Utils.defaultFunction,
"infcon.chktrnsta" :Utils.defaultFunction,
"infcon.cbctxt" :Utils.defaultFunction,
"bddgrp.rec.rtoaplflg" :Utils.defaultFunction,
"infcon.ordstm" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"recpan.cre752flg" :Utils.defaultFunction,
......
......@@ -2,9 +2,9 @@ import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onDocdisButtxmsel(){
let rtnmsg = await this.executeRule("docdis_buttxmsel")
if(rtnmsg.retcod == SUCCESS)
async onInfbutSearow(){
let rtnmsg = await this.executeRule("infbut.searow")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -14,9 +14,69 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onShppDet(){
let rtnmsg = await this.executeRule("shpp_det")
if(rtnmsg.retcod == SUCCESS)
async onInfbutDsp(){
let rtnmsg = await this.executeRule("infbut.dsp")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutUserow(){
let rtnmsg = await this.executeRule("infbut.userow")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutClr(){
let rtnmsg = await this.executeRule("infbut.clr")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutButprt(){
let rtnmsg = await this.executeRule("infbut.butprt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutExi(){
let rtnmsg = await this.executeRule("infbut.exi")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDocdisButtxmsel(){
let rtnmsg = await this.executeRule("docdis.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -27,8 +87,20 @@ export default {
}
},
async onInfconButshw(){
let rtnmsg = await this.executeRule("infcon_butshw")
if(rtnmsg.retcod == SUCCESS)
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 处理数据逻辑
......
export default {
"infcon.seaownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"infcon.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"infcon.searef":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"infcon.pty.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 24,message:"长度不能超过24"}
],
"infcon.pty.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"infcon.seapty":[
{type: "string", required: false, message: "必输项"},
{max: 24,message:"长度不能超过24"}
],
"infcon.opndatfrom":[
{type: "date", required: false, message: "输入正确的日期"}
],
"infcon.opndatto":[
{type: "date", required: false, message: "输入正确的日期"}
],
"infcon.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"infcon.seaamtfr":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"infcon.seaamtto":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"infbut.dspstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"recpan.didget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
......@@ -122,98 +185,6 @@ export default {
],
"recpan.connum":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bddgrp.rec.relgoddat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bddgrp.rec.expdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bddgrp.blk.carnam":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bddgrp.rec.blnum":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"bddgrp.rec.trpdocnum":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bddgrp.rec.tradat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bddgrp.blk.relstoadr":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bddgrp.blk.vesnam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bddgrp.blk.pordis":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"recpan.shpp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bddgrp.blk.delplc":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bddgrp.shp.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"recpan.shpp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"bddgrp.shp.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bddgrp.blk.roggod":[
{type: "string", required: true, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bddgrp.shp.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bddgrp.shp.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bddgrp.shp.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bddgrp.blk.notpty":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bddgrp.blk.porlod":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bddgrp.blk.voynum":[
{type: "string", required: false, message: "必输项"},
{max: 30,message:"长度不能超过30"}
],
"mtabut.coninf.oitinf.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
......@@ -267,24 +238,6 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"infcon.sepp.sepstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"infcon.sepp.fcpstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"infcon.sepp.fepstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"infcon.sepp.glpstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"infcon.seabucdatfro":[
{type: "date", required: false, message: "输入正确的日期"}
],
......@@ -332,12 +285,17 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trnmod.docimm.prtswtrpblk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
"infcon.liastm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trnmod.docimm.xmldocblk":[
"prtpanblk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
"infcon.ordstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
}
\ No newline at end of file
......@@ -4,6 +4,73 @@ import Pts from "../Common/Pts"
export default class Infbdd{
constructor () {
this.data = {
infcon:{
seaownref:"", // Own Reference .infcon.seaownref
nam:"", // Name .infcon.nam
searef:"", // Party Reference .infcon.searef
pty:{
extkey:"", // Select Single Party .infcon.pty.extkey
nam:"", // External Visible Name .infcon.pty.nam
},
seapty:"", // Party Name/BIC .infcon.seapty
searol:"", // Role .infcon.searol
opndatfrom:"", // Opening between .infcon.opndatfrom
opndatto:"", // Open Date to .infcon.opndatto
usr:{
extkey:"", // User ID .infcon.usr.extkey
},
seasta:"", // Status .infcon.seasta
seacur:"", // Currency .infcon.seacur
seaamtfr:"", // Amount between .infcon.seaamtfr
seaamtto:"", // Amount to .infcon.seaamtto
relflg:"", // Release Status .infcon.relflg
cxmflg:"", // 是否显示查询码 .infcon.cxmflg
hndtyp:"", // Handling Type .infcon.hndtyp
chksubcon:"", // incl. all subcontracts .infcon.chksubcon
chktrnsta:"", // only active transactions .infcon.chktrnsta
trnstm:"", // stream for TRN to selected contract .infcon.trnstm
cbctxt:"", // CBS Column .infcon.cbctxt
cbbstm:"", // stream of CBBs .infcon.cbbstm
cbestm:"", // stream of CBEs .infcon.cbestm
feptxtlbl:"", // label used on FEP-Panel .infcon.feptxtlbl
fcptxtlbl:"", // Text label used on FCP-panel .infcon.fcptxtlbl
fepfeecod:"", // Fee Code .infcon.fepfeecod
fepdsp:"", // Disposition .infcon.fepdsp
fepstm:"", // stream for FEPs to selected contract .infcon.fepstm
fcpstm:"", // stream of foreign charges .infcon.fcpstm
fcpdsp:"", // Disposition .infcon.fcpdsp
setflg:"", // show temporary settlement that already settled .infcon.setflg
sepdelflg:"", // show temporary settlement that already deleted .infcon.sepdelflg
sepstm:"", // stream of SEPs .infcon.sepstm
seabucdatfro:"", // Booking date from .infcon.seabucdatfro
seabucdatto:"", // Booking date till used on GLEINFP .infcon.seabucdatto
seatrninr:"", // Transaction INR .infcon.seatrninr
glestm:"", // Stream of GLEs .infcon.glestm
smhcortyp:"", // Type of Document .infcon.smhcortyp
smhdatfrom:"", // Created between .infcon.smhdatfrom
smhdatto:"", // created till .infcon.smhdatto
smhdir:"", // Direction .infcon.smhdir
chktrn:"", // Active only .infcon.chktrn
smhstm:"", // stream of documents to selected contract .infcon.smhstm
sptinc:"", // Incoming .infcon.sptinc
sptreg:"", // Registered .infcon.sptreg
sptpen:"", // Pending .infcon.sptpen
sptcor:"", // Correction .infcon.sptcor
sptdel:"", // Deleted .infcon.sptdel
sptstm:"", // stream for SPT to selected contract .infcon.sptstm
diadatfrom:"", // Date from .infcon.diadatfrom
diadatto:"", // date till .infcon.diadatto
diasta:"", // Status .infcon.diasta
diastm:"", // stream for diaries to selected contract .infcon.diastm
liastm:"", // Stream for all engagements to selected contract .infcon.liastm
ordstm:"", // Stream for Orders for Contract .infcon.ordstm
},
seadocflg:"", // Document Type .seadocflg
infbut:{
dspstm:"", // display stream .infbut.dspstm
},
jyqflg:"", // 假远期信用证 .jyqflg
elcflg:"", // 是否通过电证系统 .elcflg
bddgrp:{
rec:{
ownref:"", // 单据参考号 .bddgrp.rec.ownref
......@@ -19,17 +86,6 @@ export default class Infbdd{
totdat:"", // 付款日期 .bddgrp.rec.totdat
disdat:"", // 不符点通知日期 .bddgrp.rec.disdat
approvcod:"", // Documents on Approval Basis .bddgrp.rec.approvcod
relgodflg:"", // Release of Goods .bddgrp.rec.relgodflg
reltyp:"", // Release Type .bddgrp.rec.reltyp
relgoddat:"", // issue date .bddgrp.rec.relgoddat
expdat:"", // Expiry Date of Shipping Guarantee .bddgrp.rec.expdat
trpdoctyp:"", // Transport Doc. Type .bddgrp.rec.trpdoctyp
trpdocnum:"", // Transport Doc. No. .bddgrp.rec.trpdocnum
tradat:"", // shipment date .bddgrp.rec.tradat
tramod:"", // Mode of Transport .bddgrp.rec.tramod
rtoaplflg:"", // Release Goods to Applicant ? .bddgrp.rec.rtoaplflg
ngrcod:"", // Goods code .bddgrp.rec.ngrcod
blnum:"", // B/L Number .bddgrp.rec.blnum
},
cbs:{
max:{
......@@ -55,21 +111,6 @@ export default class Infbdd{
docdis:"", // Discrepancies .bddgrp.blk.docdis
docdisflg:"", // discrepancies modified .bddgrp.blk.docdisflg
accrmk:"", // 到期付款确认备注 .bddgrp.blk.accrmk
vesnam:"", // Vessel Name .bddgrp.blk.vesnam
pordis:"", // Port of Discharge .bddgrp.blk.pordis
delplc:"", // Place of Delivery .bddgrp.blk.delplc
roggod:"", // Covered Goods .bddgrp.blk.roggod
relstoadr:"", // Release to Address .bddgrp.blk.relstoadr
porlod:"", // Port of loading .bddgrp.blk.porlod
voynum:"", // Voyage numer .bddgrp.blk.voynum
notpty:"", // Notify Party .bddgrp.blk.notpty
carnam:"", // Carrier .bddgrp.blk.carnam
},
shp:{
pts:new Pts().data,
namelc:"", // 名称 .bddgrp.shp.namelc
adrelc:"", // 地址 .bddgrp.shp.adrelc
dbfadrblkcn:"", // Chinese address .bddgrp.shp.dbfadrblkcn
},
},
didgrp:{
......@@ -106,15 +147,6 @@ export default class Infbdd{
cre752flg:"", // Create 752 .recpan.cre752flg
furide:"", // Further Identification .recpan.furide
cre732flg:"", // Create MT 732 .recpan.cre732flg
shpp:{
ptsget:{
sdamod:{
seainf:"", // .recpan.shpp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .recpan.shpp.ptsget.sdamod.dadsnd
},
},
},
connum:"", // Contract Number .recpan.connum
},
mtabut:{
coninf:{
......@@ -138,58 +170,8 @@ export default class Infbdd{
},
},
},
infcon:{
chksubcon:"", // incl. all subcontracts .infcon.chksubcon
chktrnsta:"", // only active transactions .infcon.chktrnsta
trnstm:"", // stream for TRN to selected contract .infcon.trnstm
cbctxt:"", // CBS Column .infcon.cbctxt
cbbstm:"", // stream of CBBs .infcon.cbbstm
cbestm:"", // stream of CBEs .infcon.cbestm
feptxtlbl:"", // label used on FEP-Panel .infcon.feptxtlbl
fcptxtlbl:"", // Text label used on FCP-panel .infcon.fcptxtlbl
fepfeecod:"", // Fee Code .infcon.fepfeecod
fepdsp:"", // Disposition .infcon.fepdsp
fepstm:"", // stream for FEPs to selected contract .infcon.fepstm
fcpstm:"", // stream of foreign charges .infcon.fcpstm
fcpdsp:"", // Disposition .infcon.fcpdsp
setflg:"", // show temporary settlement that already settled .infcon.setflg
sepdelflg:"", // show temporary settlement that already deleted .infcon.sepdelflg
sepstm:"", // stream of SEPs .infcon.sepstm
sepp:{
feptxtlbl:"", // label used for FEP-Stream .infcon.sepp.feptxtlbl
fcptxtlbl:"", // label used for FCP-Stream .infcon.sepp.fcptxtlbl
sepstm:"", // Stream of selected SEP .infcon.sepp.sepstm
fcpstm:"", // Stream of FCP .infcon.sepp.fcpstm
fepstm:"", // Stream of FEP .infcon.sepp.fepstm
glpstm:"", // Stream of GLP .infcon.sepp.glpstm
},
seabucdatfro:"", // Booking date from .infcon.seabucdatfro
seabucdatto:"", // Booking date till used on GLEINFP .infcon.seabucdatto
seatrninr:"", // Transaction INR .infcon.seatrninr
glestm:"", // Stream of GLEs .infcon.glestm
smhcortyp:"", // Type of Document .infcon.smhcortyp
smhdatfrom:"", // Created between .infcon.smhdatfrom
smhdatto:"", // created till .infcon.smhdatto
smhdir:"", // Direction .infcon.smhdir
chktrn:"", // Active only .infcon.chktrn
smhstm:"", // stream of documents to selected contract .infcon.smhstm
sptinc:"", // Incoming .infcon.sptinc
sptreg:"", // Registered .infcon.sptreg
sptpen:"", // Pending .infcon.sptpen
sptcor:"", // Correction .infcon.sptcor
sptdel:"", // Deleted .infcon.sptdel
sptstm:"", // stream for SPT to selected contract .infcon.sptstm
diadatfrom:"", // Date from .infcon.diadatfrom
diadatto:"", // date till .infcon.diadatto
diasta:"", // Status .infcon.diasta
diastm:"", // stream for diaries to selected contract .infcon.diastm
},
trnmod:{
docimm:{
prtswtrpblk:"", // XMLPanel prtswtrp的内置block .trnmod.docimm.prtswtrpblk
xmldocblk:"", // XMLPanel xmldoc的内置block .trnmod.docimm.xmldocblk
},
},
prtpanblk:"", // XMLPanel prtpan的内置block .prtpanblk
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Inflid Check规则
*/
let checkObj = {
"infcon.seaamtto" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Inflid Default规则
*/
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,
"infbut.dspstm" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onInfbutSearow(){
const that = this.root;
let rtnmsg = await that.executeRule("infbut.searow")
if(rtnmsg.respCode == "AAAAAA")
{
// 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: '查询成功!'
});
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutDsp(){
let rtnmsg = await this.executeRule("infbut.dsp")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutUserow(){
let rtnmsg = await this.executeRule("infbut.userow")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutClr(){
let rtnmsg = await this.executeRule("infbut.clr")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutButprt(){
let rtnmsg = await this.executeRule("infbut.butprt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutExi(){
let rtnmsg = await this.executeRule("infbut.exi")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"infcon.seaownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"infcon.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"infcon.searef":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"infcon.pty.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 24,message:"长度不能超过24"}
],
"infcon.pty.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"infcon.seapty":[
{type: "string", required: false, message: "必输项"},
{max: 24,message:"长度不能超过24"}
],
"infcon.opndatfrom":[
{type: "date", required: true, message: "必输项"}
],
"infcon.opndatto":[
{type: "date", required: true, message: "必输项"}
],
"infcon.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"infcon.seaamtfr":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"infcon.seaamtto":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"infbut.dspstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Inflid{
constructor () {
this.data = {
infcon:{
seaownref:"", // Own Reference .infcon.seaownref
nam:"", // Name .infcon.nam
searef:"", // Party Reference .infcon.searef
pty:{
extkey:"", // Select Single Party .infcon.pty.extkey
nam:"", // External Visible Name .infcon.pty.nam
},
seapty:"", // Party Name/BIC .infcon.seapty
searol:"", // Role .infcon.searol
opndatfrom:"", // Opening between .infcon.opndatfrom
opndatto:"", // Open Date to .infcon.opndatto
usr:{
extkey:"", // User ID .infcon.usr.extkey
},
seasta:"", // Status .infcon.seasta
seacur:"", // Currency .infcon.seacur
seaamtfr:"", // Amount between .infcon.seaamtfr
seaamtto:"", // Amount to .infcon.seaamtto
relflg:"", // Release Status .infcon.relflg
cxmflg:"", // 是否显示查询码 .infcon.cxmflg
hndtyp:"", // Handling Type .infcon.hndtyp
},
seacnfdet:"", // Confirmation Status .seacnfdet
sealcrtyp:"", // form of L/C .sealcrtyp
infbut:{
dspstm:"", // display stream .infbut.dspstm
},
seagodcod:"", // Goods Code .seagodcod
pageId: "" , // ctx的key
lidgrp:{
rec:{
inr:"",
ownref:""
}
}
}
}
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Inftrd Check规则
*/
let checkObj = {
"infcon.seaamtto" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Inftrd Default规则
*/
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,
"infbut.dspstm" :Utils.defaultFunction,
"trdgrp.rec.oseflg" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onInfbutSearow(){
const that = this.root;
let rtnmsg = await that.executeRule("infbut.searow")
if(rtnmsg.respCode == "AAAAAA")
{
// 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: '查询成功!'
});
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutDsp(){
let rtnmsg = await this.executeRule("infbut.dsp")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutUserow(){
let rtnmsg = await this.executeRule("infbut.userow")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutClr(){
let rtnmsg = await this.executeRule("infbut.clr")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutButprt(){
let rtnmsg = await this.executeRule("infbut.butprt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutExi(){
let rtnmsg = await this.executeRule("infbut.exi")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"infcon.seaownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"infcon.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"infcon.searef":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"infcon.pty.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 24,message:"长度不能超过24"}
],
"infcon.pty.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"infcon.seapty":[
{type: "string", required: false, message: "必输项"},
{max: 24,message:"长度不能超过24"}
],
"infcon.opndatfrom":[
{type: "date", required: false, message: "输入正确的日期"}
],
"infcon.opndatto":[
{type: "date", required: false, message: "输入正确的日期"}
],
"infcon.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"infcon.seaamtfr":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"infcon.seaamtto":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"infbut.dspstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Inftrd{
constructor () {
this.data = {
infcon:{
seaownref:"", // Own Reference .infcon.seaownref
nam:"", // Name .infcon.nam
searef:"", // Party Reference .infcon.searef
pty:{
extkey:"", // Select Single Party .infcon.pty.extkey
nam:"", // External Visible Name .infcon.pty.nam
},
seapty:"", // Party Name/BIC .infcon.seapty
searol:"", // Role .infcon.searol
opndatfrom:"", // Opening between .infcon.opndatfrom
opndatto:"", // Open Date to .infcon.opndatto
usr:{
extkey:"", // User ID .infcon.usr.extkey
},
seasta:"", // Status .infcon.seasta
seacur:"", // Currency .infcon.seacur
seaamtfr:"", // Amount between .infcon.seaamtfr
seaamtto:"", // Amount to .infcon.seaamtto
relflg:"", // Release Status .infcon.relflg
cxmflg:"", // 是否显示查询码 .infcon.cxmflg
hndtyp:"", // Handling Type .infcon.hndtyp
},
seafintyp:"", // Financing Type .seafintyp
infbut:{
dspstm:"", // display stream .infbut.dspstm
},
trdgrp:{
rec:{
ovdflg:"", // Overdue Flag .trdgrp.rec.ovdflg
oseflg:"", // 海外代付 .trdgrp.rec.oseflg
},
},
seagodcod:"", // Goods Code .seagodcod
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Letsel Check规则
*/
let checkObj = {
"bedget.sdamod.dadsnd" :null,
"recget.sdamod.dadsnd" :null,
"bpdget.sdamod.dadsnd" :null,
"trdget.sdamod.dadsnd" :null,
"fpdget.sdamod.dadsnd" :null,
"btdget.sdamod.dadsnd" :null,
"ltdget.sdamod.dadsnd" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Letsel Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"btdgrp.be2.pts.nam" :Utils.defaultFunction,
"trpnttyp" :Utils.defaultFunction,
"bedgrp.prb.pts.nam" :Utils.defaultFunction,
"sptpenltbt" :Utils.defaultFunction,
"sptpenltbt_descr" :Utils.defaultFunction,
"bppnttyp" :Utils.defaultFunction,
"bpdgrp.rec.ownref" :Utils.defaultFunction,
"ledgrp.rec.ownref" :Utils.defaultFunction,
"selbut.trnpenlab" :Utils.defaultFunction,
"selbut.trnpenlab_descr" :Utils.defaultFunction,
"trnpenltbt" :Utils.defaultFunction,
"trnpenltbt_descr" :Utils.defaultFunction,
"btdgrp.cbs.max.amt" :Utils.defaultFunction,
"ltdgrp.adt.pts.nam" :Utils.defaultFunction,
"fpdgrp.inv.pts.nam" :Utils.defaultFunction,
"bpdgrp.fia.pts.nam" :Utils.defaultFunction,
"ledgrp.ben.pts.nam" :Utils.defaultFunction,
"bedgrp.apl.pts.nam" :Utils.defaultFunction,
"btdgrp.cbs.max.cur" :Utils.defaultFunction,
"ltdgrp.be1.pts.nam" :Utils.defaultFunction,
"clsflg" :Utils.defaultFunction,
"ltdgrp.rec.ownref" :Utils.defaultFunction,
"cfgfil.subtrn1" :Utils.defaultFunction,
"selbut.sptpenlab_descr" :Utils.defaultFunction,
"selbut.sptpenlab" :Utils.defaultFunction,
"bedgrp.rec.ownref" :Utils.defaultFunction,
"ltdgrp.avt.pts.nam" :Utils.defaultFunction,
"sptpentrbp" :Utils.defaultFunction,
"sptpentrbp_descr" :Utils.defaultFunction,
"ledgrp.iss.pts.nam" :Utils.defaultFunction,
"fpdgrp.rec.opndat" :Utils.defaultFunction,
"btdgrp.be1.pts.nam" :Utils.defaultFunction,
"bpdgrp.rec.fintyp" :Utils.defaultFunction,
"bedgrp.cbs.max.cur" :Utils.defaultFunction,
"ledgrp.apl.pts.nam" :Utils.defaultFunction,
"ledgrp.rec.revflg" :Utils.defaultFunction,
"cfgfil.subtxt10" :Utils.defaultFunction,
"cfgfil.subtrn10" :Utils.defaultFunction,
"cfgfil.subtrn11" :Utils.defaultFunction,
"cfgfil.subtxt11" :Utils.defaultFunction,
"btdgrp.rec.ownref" :Utils.defaultFunction,
"cfgfil.subtxt1" :Utils.defaultFunction,
"cfgfil.subtrn9" :Utils.defaultFunction,
"cfgfil.subtxt9" :Utils.defaultFunction,
"cfgfil.subtrn8" :Utils.defaultFunction,
"cfgfil.subtxt8" :Utils.defaultFunction,
"cfgfil.subtrn7" :Utils.defaultFunction,
"cfgfil.subtxt7" :Utils.defaultFunction,
"cfgfil.subtrn6" :Utils.defaultFunction,
"cfgfil.subtxt6" :Utils.defaultFunction,
"cfgfil.subtrn5" :Utils.defaultFunction,
"cfgfil.subtxt5" :Utils.defaultFunction,
"cfgfil.subtrn4" :Utils.defaultFunction,
"cfgfil.subtxt4" :Utils.defaultFunction,
"cfgfil.subtrn3" :Utils.defaultFunction,
"cfgfil.subtxt3" :Utils.defaultFunction,
"cfgfil.subtrn2" :Utils.defaultFunction,
"cfgfil.subtxt2" :Utils.defaultFunction,
"fpdgrp.rec.ownref" :Utils.defaultFunction,
"trdgrp.fip.pts.nam" :Utils.defaultFunction,
"bedgrp.iss.pts.nam" :Utils.defaultFunction,
"trdgrp.rec.ownref" :Utils.defaultFunction,
"fpdgrp.sel.pts.nam" :Utils.defaultFunction,
"trnpentrbp_descr" :Utils.defaultFunction,
"trnpentrbp" :Utils.defaultFunction,
"ltdgrp.be2.pts.nam" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Litcan Check规则
*/
let checkObj = {
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Litcan Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
}
\ No newline at end of file
export default {
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Litcan{
constructor () {
this.data = {
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Litdav Check规则
*/
let checkObj = {
"brtp.rmbp.ptsget.sdamod.dadsnd" :null,
"liaall.limmod.limpts.oth.pts.extkey" :null,
"brdgrp.rmb.pts.adrblk" :null,
"liaall.limmod.ownref" :null,
"brtp.bebp.ptsget.sdamod.dadsnd" :null,
"brdgrp.acb.namelc" :null,
"liaall.limmod.ecifno" :null,
"brtp.lidget.sdamod.dadsnd" :null,
"brdgrp.prb.adrelc" :null,
"brdgrp.cbs.max.amt" :null,
"brdgrp.blk.docdis" :null,
"brdgrp.acb.adrelc" :null,
"brdgrp.beb.pts.adrblk" :null,
"liaall.limmod.othp.ptsget.sdamod.dadsnd" :null,
"brdgrp.prb.pts.adrblk" :null,
"brtp.acbp.ptsget.sdamod.dadsnd" :null,
"brdgrp.beb.adrelc" :null,
"brdgrp.prb.namelc" :null,
"liaall.limmod.limpts.oth.pts.nam" :null,
"setmod.dspflg" :null,
"brdgrp.rmb.pts.extkey" :null,
"brdgrp.acb.pts.extkey" :null,
"brdgrp.beb.pts.extkey" :null,
"brdgrp.rec.advdat" :null,
"brdgrp.beb.namelc" :null,
"brdgrp.rec.disdat" :null,
"brdgrp.prb.pts.nam" :null,
"brdgrp.ben.pts.nam" :null,
"liaall.limmod.limpts.wrk.pts.nam" :null,
"brdgrp.acb.pts.adrblk" :null,
"brdgrp.prb.pts.extkey" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null,
"mtabut.coninf.conexedat" :null,
"brdgrp.prb.pts.ref" :null,
"liaall.limmod.limpts.nonrevflg1" :null,
"brdgrp.apl.pts.nam" :null,
"liaall.limmod.wrkp.ptsget.sdamod.dadsnd" :null,
"brdgrp.rmb.namelc" :null,
"setmod.docamt" :null,
"brtp.prbp.ptsget.sdamod.dadsnd" :null,
"brtp.recget.sdamod.dadsnd" :null,
"brdgrp.rec.advtyp" :null,
"brdgrp.rmb.adrelc" :null,
"brdgrp.rec.docprbrol" :null,
"brdgrp.rec.totamt" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Litdav Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"brdgrp.blk.docdis" :Utils.defaultFunction,
"brdgrp.rmb.pts.extkey" :Utils.defaultFunction,
"brdgrp.rmb.adrelc" :Utils.defaultFunction,
"brdgrp.rmb.namelc" :Utils.defaultFunction,
"brdgrp.rmb.dbfadrblkcn" :Utils.defaultFunction,
"brdgrp.rmb.pts.adrblk" :Utils.defaultFunction,
"brdgrp.prb.pts.extkey" :Utils.defaultFunction,
"brdgrp.prb.adrelc" :Utils.defaultFunction,
"brdgrp.prb.namelc" :Utils.defaultFunction,
"brdgrp.prb.dbfadrblkcn" :Utils.defaultFunction,
"brdgrp.rec.advtyp" :Utils.defaultFunction,
"lidgrp.rec.ownref" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction,
"brdgrp.prb.pts.nam" :Utils.defaultFunction,
"brdgrp.prb.pts.adrblk" :Utils.defaultFunction,
"liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction,
"brdgrp.cbs.max2.amt" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.extkey" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam" :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,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"brdgrp.acb.pts.adrblk" :Utils.defaultFunction,
"brdgrp.beb.pts.extkey" :Utils.defaultFunction,
"brdgrp.beb.adrelc" :Utils.defaultFunction,
"brdgrp.beb.namelc" :Utils.defaultFunction,
"brdgrp.beb.dbfadrblkcn" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
"brdgrp.blk.docdisflg" :Utils.defaultFunction,
"lidgrp.rec.expdat" :Utils.defaultFunction,
"lidgrp.rec.shpdat" :Utils.defaultFunction,
"brdgrp.cbs.max.amt" :Utils.defaultFunction,
"lidgrp.cbs.opn1.amt" :Utils.defaultFunction,
"lidgrp.rec.avbby" :Utils.defaultFunction,
"brdgrp.cbs.max.cur" :Utils.defaultFunction,
"brdgrp.apl.pts.nam" :Utils.defaultFunction,
"brdgrp.beb.pts.adrblk" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"brdgrp.blk.chaded" :Utils.defaultFunction,
"brdgrp.blk.chaadd" :Utils.defaultFunction,
"brdgrp.acb.pts.extkey" :Utils.defaultFunction,
"brdgrp.acb.adrelc" :Utils.defaultFunction,
"brdgrp.acb.namelc" :Utils.defaultFunction,
"brdgrp.acb.dbfadrblkcn" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction,
"brdgrp.rec.ownref" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"lidgrp.rec.redclsflg" :Utils.defaultFunction,
"brdgrp.rec.advdat" :Utils.defaultFunction,
"brdgrp.rec.disdat" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"lidgrp.cbs.nom1.cur" :Utils.defaultFunction,
"brdgrp.ben.pts.nam" :Utils.defaultFunction,
"brdgrp.rec.docprbrol" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onPrbpDet(){
let rtnmsg = await this.executeRule("prbp.det")
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: '服务请求失败!'});
}
},
async onAcbpDet(){
let rtnmsg = await this.executeRule("acbp.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 onBebpDet(){
let rtnmsg = await this.executeRule("bebp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSeainf() {
},
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Litdav{
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
},
},
setnowflg:"", // Register to Send and Settle Document .brtp.setnowflg
dcrflg:"", // Register to Handle Discrepancies .brtp.dcrflg
prbp:{
ptsget:{
sdamod:{
seainf:"", // .brtp.prbp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .brtp.prbp.ptsget.sdamod.dadsnd
},
},
},
acbp:{
ptsget:{
sdamod:{
seainf:"", // .brtp.acbp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .brtp.acbp.ptsget.sdamod.dadsnd
},
},
},
rmbp:{
ptsget:{
sdamod:{
seainf:"", // .brtp.rmbp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .brtp.rmbp.ptsget.sdamod.dadsnd
},
},
},
bebp:{
ptsget:{
sdamod:{
seainf:"", // .brtp.bebp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .brtp.bebp.ptsget.sdamod.dadsnd
},
},
},
},
brdgrp:{
apl:{
pts:new Pts().data,
},
ben:{
pts:new Pts().data,
},
prb:{
pts:new Pts().data,
namelc:"", // 名称 .brdgrp.prb.namelc
adrelc:"", // 地址 .brdgrp.prb.adrelc
dbfadrblkcn:"", // Chinese address .brdgrp.prb.dbfadrblkcn
},
rec:{
ownref:"", // Document Reference .brdgrp.rec.ownref
advtyp:"", // Type of Advice .brdgrp.rec.advtyp
advdat:"", // Payment advised on .brdgrp.rec.advdat
disdat:"", // Discrep. advised on .brdgrp.rec.disdat
docprbrol:"", // Presented by .brdgrp.rec.docprbrol
nam:"", // Name .brdgrp.rec.nam
totcur:"", // Total Amount Claimed .brdgrp.rec.totcur
totamt:"", // Total Amount to be Paid .brdgrp.rec.totamt
totdat:"", // Date to be Paid .brdgrp.rec.totdat
},
cbs:{
max:{
cur:"", // Document Amount .brdgrp.cbs.max.cur
amt:"", // Balance .brdgrp.cbs.max.amt
},
opn2:{
cur:"", // 附加金额 .brdgrp.cbs.opn2.cur
},
max2:{
amt:"", // 附加金额 .brdgrp.cbs.max2.amt
},
},
blk:{
chaded:"", // Charges Deducted .brdgrp.blk.chaded
chaadd:"", // Charges .brdgrp.blk.chaadd
docdis:"", // 不符点 .brdgrp.blk.docdis
docdisflg:"", // discrepancies modified .brdgrp.blk.docdisflg
nartxt77a:"", // Narrative TAG 77A of MT754 .brdgrp.blk.nartxt77a
},
acb:{
pts:new Pts().data,
namelc:"", // 名称 .brdgrp.acb.namelc
adrelc:"", // 地址 .brdgrp.acb.adrelc
dbfadrblkcn:"", // Chinese address .brdgrp.acb.dbfadrblkcn
},
rmb:{
pts:new Pts().data,
namelc:"", // 名称 .brdgrp.rmb.namelc
adrelc:"", // 地址 .brdgrp.rmb.adrelc
dbfadrblkcn:"", // Chinese address .brdgrp.rmb.dbfadrblkcn
},
beb:{
pts:new Pts().data,
namelc:"", // 名称 .brdgrp.beb.namelc
adrelc:"", // 地址 .brdgrp.beb.adrelc
dbfadrblkcn:"", // Chinese address .brdgrp.beb.dbfadrblkcn
},
},
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
setgll:[]
},
zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
setfog:{
setfol:[]
},
setfeg:{
setfel:[]
},
glemod:{
gleshwstm: {}
}
},
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
},
doceot:[],
filrecv:"", // File Receiver .trnmod.trndoc.filrecv
},
},
liaall:{
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
},
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Litdck Check规则
*/
let checkObj = {
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Litdck Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
}
\ No newline at end of file
export default {
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Litdck{
constructor () {
this.data = {
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Litopn Check规则
*/
let checkObj = {
"liaall.misamt" :null,
"lidgrp.apl.namelc" :null,
"lidgrp.rec.prepers18" :null,
"lidgrp.rec.lcrtyp" :null,
"lidgrp.cbs.nom1.cur" :null,
"lidgrp.rec.apprul" :null,
"cnybop.cnylib.doccurdate" :null,
"lidgrp.blk.lcrgod" :null,
"lidgrp.rec.nomtop" :null,
"lidgrp.rec.nomton" :null,
"cnybop.outflg" :null,
"bcbtyp7" :null,
"litp.drwp.ptsget.sdamod.dadsnd" :null,
"lidgrp.rec.stacty" :null,
"cnybop.cnylib.sbankorgcode" :null,
"lidgrp.cbs.nom1.amt" :null,
"lidgrp.blk.lcrdoc" :null,
"liaall.limmod.limpts.oth.pts.nam" :null,
"setmod.dspflg" :null,
"lidgrp.a2b.namelc" :null,
"lidgrp.rec.expdat" :null,
"cnybop.cnylib.stermtype" :null,
"lidgrp.avb.pts.adrblk" :null,
"bccls5" :null,
"bccls6" :null,
"bccls7" :null,
"liaall.liaccv.totcovamt" :null,
"bccls1" :null,
"bccls2" :null,
"bccls3" :null,
"bccls4" :null,
"cnybop.cnylib.currencycode" :null,
"liaall.limmod.limpts.wrk.pts.nam" :null,
"cnybop.cnyflg" :null,
"lidgrp.blk.preper" :null,
"litp.conp.ptsget.sdamod.dadsnd" :null,
"lidgrp.rec.guaflg" :null,
"lidgrp.rec.cnfdet" :null,
"lidgrp.avb.adrelc" :null,
"cnybop.cnylib.dcreditenddate" :null,
"lidgrp.ini.pts.extkey" :null,
"lidgrp.rmb.pts.extkey" :null,
"lidgrp.rec.rptref" :null,
"lidgrp.adv.pts.extkey" :null,
"trnmod.trndia.diarec.dat" :null,
"lidgrp.adv.adrelc" :null,
"lidgrp.ben.pts.extkey" :null,
"lidgrp.cbs.max2.amt" :null,
"lidgrp.rec.preadvdt" :null,
"lidgrp.a2b.pts.extkey" :null,
"lidgrp.blk.defdet" :null,
"liaall.limmod.wrkp.ptsget.sdamod.dadsnd" :null,
"lidgrp.apl.pts.adrblk" :null,
"cnybop.cnylib.famt" :null,
"cnybop.saddwordlib" :null,
"lidgrp.rmb.pts.nam" :null,
"cnybop.cnylib.stransattr" :null,
"lidgrp.con.adrelc" :null,
"lidgrp.con.pts.adrblk" :null,
"lidgrp.blk.dftat" :null,
"hmdmod2.bennam" :null,
"lidgrp.rec.tenmaxday" :null,
"cnybop.sforeignorgname" :null,
"lidgrp.ben.namelc" :null,
"litp.avbp.ptsget.sdamod.dadsnd" :null,
"lidgrp.drw.pts.adrblk" :null,
"lidgrp.drw.namelc" :null,
"lidgrp.rec.shpdat" :null,
"liaall.limmod.limpts.oth.pts.extkey" :null,
"label5" :null,
"litp.aplp.ptsget.sdamod.dadsnd" :null,
"liaall.limmod.ownref" :null,
"liaall.limmod.ecifno" :null,
"litp.a2bp.ptsget.sdamod.dadsnd" :null,
"lidgrp.rec.apprultxt" :null,
"lidgrp.adv.pts.adrblk" :null,
"lidgrp.blk.addamtcov" :null,
"lidgrp.blk.adlcnd" :null,
"lidgrp.ini.namelc" :null,
"litp.inip.ptsget.sdamod.dadsnd" :null,
"lidgrp.cbs.max.amt" :null,
"lidgrp.ini.pts.adrblk" :null,
"liaall.limmod.othp.ptsget.sdamod.dadsnd" :null,
"cnybop.traflg" :null,
"cnybop.sbankname" :null,
"lidgrp.apl.adrelc" :null,
"litp.usr.extkey" :null,
"lidgrp.rec.avbwth" :null,
"lidgrp.rec.stagod" :null,
"lidgrp.rec.opndat" :null,
"cnybop.cnylib.stranstype" :null,
"lidgrp.rec.ownref" :null,
"lidgrp.a2b.adrelc" :null,
"litp.advp.ptsget.sdamod.dadsnd" :null,
"trnmod.trndia.diarec.nam" :null,
"lidgrp.avb.namelc" :null,
"cnybop.cnylib.sbanktrano" :null,
"lidgrp.blk.feetxt" :null,
"trnmod.trndia.diarec.cod" :null,
"litp.recget.sdamod.dadsnd" :null,
"lidgrp.ben.adrelc" :null,
"cnybop.cnylib.sforbankswiftbic" :null,
"cnybop.cnylib.denddate" :null,
"lidgrp.a2b.pts.adrblk" :null,
"lidgrp.adv.namelc" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null,
"lidgrp.blk.mixdet" :null,
"trnmod.trndia.atpget.sdamod.dadsnd" :null,
"lidgrp.drw.adrelc" :null,
"lidgrp.blk.shpper" :null,
"litp.rmbp.ptsget.sdamod.dadsnd" :null,
"lidgrp.rec.expplc" :null,
"cnybop.sorgname" :null,
"mtabut.coninf.conexedat" :null,
"lidgrp.rec.avbby" :null,
"lidgrp.avb.pts.extkey" :null,
"liaall.limmod.limpts.nonrevflg1" :null,
"lidgrp.blk.spcrcb" :null,
"lidgrp.blk.spcben" :null,
"cnybop.libflg" :null,
"cnybop.cnylib.sorgcode" :null,
"lidgrp.blk.insbnk" :null,
"litp.benp.ptsget.sdamod.dadsnd" :null,
"cnybop.fexchangeamt" :null,
"lidgrp.con.pts.extkey" :null,
"setmod.docamt" :null,
"lidgrp.ini.adrelc" :null,
"lidgrp.ben.pts.adrblk" :null,
"liaall.liaccv.cshpct" :null,
"lidgrp.drw.pts.extkey" :null,
"lidgrp.apl.pts.extkey" :null,
"cnybop.cnylib.sforeigncountrycode" :null,
"lidgrp.con.namelc" :null,
"liaall.liaccv.relcshpct" :null,
"cnybop.vouflg" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Litopn Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"lidgrp.rec.expdat" :Utils.defaultFunction,
"lidgrp.blk.preper" :Utils.defaultFunction,
"lidgrp.rec.shpdat" :Utils.defaultFunction,
"lidgrp.rec.prepers18" :Utils.defaultFunction,
"lidgrp.cbs.nom1.cur" :Utils.defaultFunction,
"lidgrp.cbs.nom1.amt" :Utils.defaultFunction,
"lidgrp.rec.stacty" :Utils.defaultFunction,
"lidgrp.rmb.pts.nam" :Utils.defaultFunction,
"lidgrp.con.pts.extkey" :Utils.defaultFunction,
"lidgrp.con.adrelc" :Utils.defaultFunction,
"lidgrp.con.namelc" :Utils.defaultFunction,
"lidgrp.con.dbfadrblkcn" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.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.rmbflg" :Utils.defaultFunction,
"lidgrp.ben.pts.extkey" :Utils.defaultFunction,
"lidgrp.adv.pts.extkey" :Utils.defaultFunction,
"lidgrp.avb.pts.extkey" :Utils.defaultFunction,
"hmdmod2.bennam" :Utils.defaultFunction,
"liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction,
"lidgrp.drw.pts.extkey" :Utils.defaultFunction,
"lidgrp.drw.adrelc" :Utils.defaultFunction,
"lidgrp.drw.namelc" :Utils.defaultFunction,
"lidgrp.drw.dbfadrblkcn" :Utils.defaultFunction,
"lidgrp.rec.avbwth" :Utils.defaultFunction,
"lidgrp.avb.adrelc" :Utils.defaultFunction,
"lidgrp.avb.namelc" :Utils.defaultFunction,
"lidgrp.avb.dbfadrblkcn" :Utils.defaultFunction,
"lidgrp.avb.pts.adrblk" :Utils.defaultFunction,
"cnybop.libflg" :Utils.defaultFunction,
"trnmod.trndia.dspstm" :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.rec.dkflg" :Utils.defaultFunction,
"lidgrp.blk.avbwthtxt" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.extkey" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :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,
"trnmod.trndoc.condocstm" :Utils.defaultFunction,
"trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction,
"lidgrp.rmb.pts.extkey" :Utils.defaultFunction,
"lidgrp.rec.preadvdt" :Utils.defaultFunction,
"lidgrp.rec.avbby" :Utils.defaultFunction,
"lidgrp.blk.defdet" :Utils.defaultFunction,
"lidgrp.blk.lcrgod" :Utils.defaultFunction,
"lidgrp.ben.pts.adrblk" :Utils.defaultFunction,
"lidgrp.apl.pts.extkey" :Utils.defaultFunction,
"lidgrp.apl.adrelc" :Utils.defaultFunction,
"lidgrp.apl.namelc" :Utils.defaultFunction,
"lidgrp.apl.dbfadrblkcn" :Utils.defaultFunction,
"lidgrp.apl.pts.adrblk" :Utils.defaultFunction,
"lidgrp.rec.opndat" :Utils.defaultFunction,
"lidgrp.rec.cnfdet" :Utils.defaultFunction,
"lidgrp.con.pts.adrblk" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"lidgrp.drw.pts.adrblk" :Utils.defaultFunction,
"trnmod.trndia.usr.extkey" :Utils.defaultFunction,
"lidgrp.blk.shpper" :Utils.defaultFunction,
"liaall.liaccv.cshpct" :Utils.defaultFunction,
"label5" :Utils.defaultFunction,
"lidgrp.rec.spcrcbflg" :Utils.defaultFunction,
"lidgrp.cbs.max2.amt" :Utils.defaultFunction,
"lidgrp.cbs.max2.cur" :Utils.defaultFunction,
"lidgrp.blk.addamtcov" :Utils.defaultFunction,
"litp.aamp.aammod.addamtflg" :Utils.defaultFunction,
"setmod.glemod.gleshwstm" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
"lidgrp.rec.nomtop" :Utils.defaultFunction,
"lidgrp.ini.pts.adrblk" :Utils.defaultFunction,
"litp.usr.extkey" :Utils.defaultFunction,
"lidgrp.rec.spcbenflg" :Utils.defaultFunction,
"lidgrp.rec.porloa" :Utils.defaultFunction,
"lidgrp.rec.shpto" :Utils.defaultFunction,
"lidgrp.rec.pordis" :Utils.defaultFunction,
"lidgrp.rec.shpfro" :Utils.defaultFunction,
"lidgrp.adv.adrelc" :Utils.defaultFunction,
"lidgrp.adv.namelc" :Utils.defaultFunction,
"lidgrp.adv.dbfadrblkcn" :Utils.defaultFunction,
"trnmod.trndia.atp.cod" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"liaall.liaccv.addinf" :Utils.defaultFunction,
"liaall.liaccv.newamt" :Utils.defaultFunction,
"liaall.liaccv.totcovamt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"cnybop.outflg" :Utils.defaultFunction,
"cnybop.vouflg" :Utils.defaultFunction,
"lidgrp.rec.ownref" :Utils.defaultFunction,
"bcbtyp6" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction,
"liaall.liaccv.concur" :Utils.defaultFunction,
"lidgrp.rec.prepertxts18" :Utils.defaultFunction,
"lidgrp.blk.lcrdoc" :Utils.defaultFunction,
"lidgrp.ben.adrelc" :Utils.defaultFunction,
"lidgrp.ben.namelc" :Utils.defaultFunction,
"lidgrp.ben.dbfadrblkcn" :Utils.defaultFunction,
"lidgrp.blk.preperflg" :Utils.defaultFunction,
"lidgrp.rec.shptrs" :Utils.defaultFunction,
"lidgrp.rec.shptrss18" :Utils.defaultFunction,
"lidgrp.rec.revflg" :Utils.defaultFunction,
"cnybop.traflg" :Utils.defaultFunction,
"trnmod.trndia.diarec.cod" :Utils.defaultFunction,
"lidgrp.rec.apprul" :Utils.defaultFunction,
"lidgrp.rec.shppars18" :Utils.defaultFunction,
"lidgrp.rec.shppar" :Utils.defaultFunction,
"cnybop.cnyflg" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"lidgrp.blk.spcben" :Utils.defaultFunction,
"lidgrp.blk.spcrcb" :Utils.defaultFunction,
"cnybop.cnylib.sforeigncountrycode" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Utils from "~/utils"
/**
* Litsel Check规则
*/
let checkObj = {
"bpdget.sdamod.dadsnd" :null,
"trdget.sdamod.dadsnd" :null,
"lidget.sdamod.dadsnd" :null,
"brdget.sdamod.dadsnd" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Litsel Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"brdgrp.prb.pts.nam" :Utils.defaultFunction,
"trpnttyp" :Utils.defaultFunction,
"sptpentrbp" :Utils.defaultFunction,
"sptpentrbp_descr" :Utils.defaultFunction,
"dfdgrp.dff.pts.nam" :Utils.defaultFunction,
"lidgrp.rec.ownref" :Utils.defaultFunction,
"brdgrp.rec.ownref" :Utils.defaultFunction,
"bpdgrp.rec.ownref" :Utils.defaultFunction,
"bpdgrp.rec.fintyp" :Utils.defaultFunction,
"selbut.trnpenlab" :Utils.defaultFunction,
"selbut.trnpenlab_descr" :Utils.defaultFunction,
"brdgrp.apl.pts.nam" :Utils.defaultFunction,
"cfgfil.subtxt10" :Utils.defaultFunction,
"cfgfil.subtxt11" :Utils.defaultFunction,
"brdgrp.cbs.max.cur" :Utils.defaultFunction,
"brdgrp.rec.shgref" :Utils.defaultFunction,
"bpdgrp.fia.pts.nam" :Utils.defaultFunction,
"lidgrp.ben.pts.nam" :Utils.defaultFunction,
"dfdgrp.apl.pts.nam" :Utils.defaultFunction,
"dfdgrp.rec.ownref" :Utils.defaultFunction,
"cfgfil.subtxt1" :Utils.defaultFunction,
"cfgfil.subtxt9" :Utils.defaultFunction,
"cfgfil.subtxt8" :Utils.defaultFunction,
"cfgfil.subtxt7" :Utils.defaultFunction,
"cfgfil.subtxt6" :Utils.defaultFunction,
"cfgfil.subtxt5" :Utils.defaultFunction,
"cfgfil.subtxt4" :Utils.defaultFunction,
"cfgfil.subtxt3" :Utils.defaultFunction,
"cfgfil.subtxt2" :Utils.defaultFunction,
"selbut.sptpenlab" :Utils.defaultFunction,
"trdgrp.fip.pts.nam" :Utils.defaultFunction,
"trdgrp.rec.ownref" :Utils.defaultFunction,
"trnpentrbp_descr" :Utils.defaultFunction,
"trnpentrbp" :Utils.defaultFunction,
"lidgrp.apl.pts.nam" :Utils.defaultFunction,
"lidgrp.adv.pts.nam" :Utils.defaultFunction,
"brdgrp.ben.pts.nam" :Utils.defaultFunction,
"selbut.sptpenlab_descr" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
}
\ No newline at end of file
export default class Blk {
constructor() {
this.data = {
revcls: "", // Revolving Clause .didgrp.blk.revcls
revnotes: "", // Notes to Applicant .didgrp.blk.revnotes
lcrgod: "", // Description of Goods .didgrp.blk.lcrgod
lcrdoc: "", // 单据要求 .didgrp.blk.lcrdoc
adlcnd: "", // 附加条款 .didgrp.blk.adlcnd
insbnk: "", // 付行的指示 .didgrp.blk.insbnk
rmbcha: "", // Other Charges .didgrp.blk.rmbcha
defdet: "", // Deferred Payment Details .didgrp.blk.defdet
preper: "", // Presentation Period .didgrp.blk.preper
preperflg: "", // Presentation Period modified .didgrp.blk.preperflg
}
}
}
export default class Cbs {
constructor() {
this.data = {
nom1: {
cur: "", // Currency .xxxgrp.cbs.nom1.cur
amt: "", // 信用证金额 .xxxgrp.cbs.nom1.amt
},
max: {
cur: "", // Currency .xxxgrp.cbs.max.cur
amt: "", // 信用证最大金额 .xxxgrp.cbs.max.amt
},
max2: {
cur: "", // Additional Amount .xxxgrp.cbs.max2.cur
amt: "", // Additional Amount .xxxgrp.cbs.max2.amt
},
opn2: {
cur: "", // Open Add. Amount .xxxgrp.cbs.opn2.cur
amt: "", // Open Add. Amount .xxxgrp.cbs.opn2.amt
},
}
}
}
\ No newline at end of file
export default class Did {
constructor() {
this.data = {
ownref: "", // Reference .didgrp.rec.ownref
opndat: "", // Date L/C Opened/Issued .didgrp.rec.opndat
shpdat: "", // Shipment Date .didgrp.rec.shpdat
expdat: "", // Date of Expiry .didgrp.rec.expdat
nam: "", // Externally Displayed Name to Identify the Contract .didgrp.rec.nam
resflg: "", // Reserved Contract .didgrp.rec.resflg
nomtop: "", // Amount Tolerance - Positive .didgrp.rec.nomtop
nomton: "", // Amount Tolerance - Negative .didgrp.rec.nomton
expplc: "", // Place of Expiry .didgrp.rec.expplc
elcflg: "", // 是否通过电证系统 .didgrp.rec.elcflg
guaflg: "", // 货押标识 .didgrp.rec.guaflg
jyqflg: "", // 假远期信用证 .didgrp.rec.jyqflg
mytype: "", // 槸易类型 .didgrp.rec.mytype
dkflg: "", // 开证类型 .didgrp.rec.dkflg
idcode: "", // 申请人统一社会信用代码 .didgrp.rec.idcode
revtyp: "", // Revolving Type .didgrp.rec.revtyp
revtimes: "", // Revolve Times .didgrp.rec.revtimes
revnbr: "", // Number of Revolvings under L/C .didgrp.rec.revnbr
revdat: "", // Next Revolve Date .didgrp.rec.revdat
revawapl: "", // Awaiting Applicant's Request .didgrp.rec.revawapl
revcum: "", // Credit is Marked as Cumulative .didgrp.rec.revcum
redclsflg: "", // Red/Green Clause .didgrp.rec.redclsflg
rmbcha: "", // Charges Definition .didgrp.rec.rmbcha
rmbact: "", // Reimbursing Bank Account Identification .didgrp.rec.rmbact
apprulrmb: "", // Applicable Rules RMB .didgrp.rec.apprulrmb
autdat: "", // Date of Authorisation to Reimburse .didgrp.rec.autdat
avbby: "", // Available by .didgrp.rec.avbby
shppar: "", // Partial Shipment .didgrp.rec.shppar
shptrs: "", // Transshipment .didgrp.rec.shptrs
conno: "", // 合同编号 .didgrp.rec.conno
concur: "", // 合同币种 .didgrp.rec.concur
shpfro: "", // Shipment from .didgrp.rec.shpfro
shpto: "", // For Transportation to .didgrp.rec.shpto
shppro: "", // 服务提供地点 .didgrp.rec.shppro
tenmaxday: "", // Maximum tenor in days .didgrp.rec.tenmaxday
tratyp: "", // 运输方式 .didgrp.rec.tratyp
fqtime: "", // 分期时镧表 .didgrp.rec.fqtime
sdsrfs: "", // 输入运输方式 .didgrp.rec.sdsrfs
fqzytgfw: "", // 分期装运/提供服务 .didgrp.rec.fqzytgfw
conamt: "", // 合同金额 .didgrp.rec.conamt
tzref: "", // 通知行编号 .didgrp.rec.tzref
avbwth: "", // 指定的有关银行 .didgrp.rec.avbwth
fenctg: "", // 是否可议付 .didgrp.rec.fenctg
bdflg: "", // 是否可保兑 .didgrp.rec.bdflg
lcrtyp: "", // Form of Documentary Credit .didgrp.rec.lcrtyp
}
}
}
import Rec from './Did'
import Cbs from '../Cbs'
import Rol from '../Rol'
import Blk from '../Blk'
export default class Didgrp {
constructor() {
this.data = {
rec: new Rec().data,
cbs: {
nom1: new Cbs().data.nom1,
max: new Cbs().data.max,
},
apl: new Rol().data.apl,
ben: new Rol().data.ben,
beb: new Rol().data.beb,
apb: new Rol().data.apb,
blk: new Blk().data,
rmb: new Rol().data.rmb,
adv: new Rol().data.adv,
iss: new Rol().data.iss,
apc: new Rol().data.apc,
avb: new Rol().data.avb,
cmb: new Rol().data.cmb,
}
}
}
\ No newline at end of file
import Rolp from '../Rolp'
export default class Ditp {
constructor() {
this.data = {
recget: {
sdamod: {
seainf: "", // .ditp.recget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .ditp.recget.sdamod.dadsnd
},
},
usr: {
extkey: "", // User ID .ditp.usr.extkey
},
usrget: {
sdamod: {
seainf: "", // .ditp.usrget.sdamod.seainf
},
},
aplp: new Rolp().data,
benp: new Rolp().data,
zchday: "", // 最迟装运/服务提供日 .ditp.zchday
amt: "", // 大写金额 .ditp.amt
hwfwms: "", // 槧物/服务描述 .ditp.hwfwms
rmbp: new Rolp().data,
rmbnar: "", // MT747 :77A: .ditp.rmbnar
fenzhu: "", // 分期装运 .ditp.fenzhu
hwzydi: "", // 槧运装运地/服务提供低 .ditp.hwzydi
sdysfs: "", // 手输运输方式/服务提供方式 .ditp.sdysfs
signam: "", // name of authorized signatory .ditp.signam
bennam: "", // english name .ditp.bennam
aplname: "", // apl english name .ditp.aplname
remark: "", // Remark .ditp.remark
}
}
}
\ No newline at end of file
import Ditp from './Ditp'
import Didgrp from './Didgrp'
export default class Dids {
constructor() {
this.data = {
Didgrp: new Didgrp().data,
Ditp: new Ditp().data
}
}
}
\ No newline at end of file
export default class Rec {
constructor() {
this.data = {
ownref: "", // Reference .ledgrp.rec.ownref
nam: "", // Name .ledgrp.rec.nam
lcrtyp: "", // Form of L/C .ledgrp.rec.lcrtyp
collflg: "", // Collateralized L/C .ledgrp.rec.collflg
nomtop: "", // Amount Tolerance +/- .ledgrp.rec.nomtop
nomton: "", // Amount Tolerance - Negative .ledgrp.rec.nomton
nomspc: "", // Amount Specification .ledgrp.rec.nomspc
inctrf: "", // Incoming Transfer .ledgrp.rec.inctrf
resflg: "", // Reserved Contract .ledgrp.rec.resflg
opndat: "", // Issued on .ledgrp.rec.opndat
preadvdt: "", // Date Pre-advised .ledgrp.rec.preadvdt
shpdat: "", // Shipment Date .ledgrp.rec.shpdat
advdat: "", // Released on .ledgrp.rec.advdat
expdat: "", // Expiring on .ledgrp.rec.expdat
expplc: "", // in (Place)/ counters of .ledgrp.rec.expplc
cnfdet: "", // Confirmation Instruct. .ledgrp.rec.cnfdet
apprul: "", // Applicable Rules .ledgrp.rec.apprul
apprultxt: "", // Other Applicable Rules .ledgrp.rec.apprultxt
shppar: "", // Partial Shipment .ledgrp.rec.shppar
shptrs: "", // Transshipment .ledgrp.rec.shptrs
revflg: "", // Revolving Flag .ledgrp.rec.revflg
nonban: "", // Non-Bank Issuer .ledgrp.rec.nonban
teskeyunc: "", // Test Key Unconfirmity .ledgrp.rec.teskeyunc
dbtflg: "", // Authorization to Debit .ledgrp.rec.dbtflg
oppbnk: "", // 境内外对手行代码 .ledgrp.rec.oppbnk
shppars18: "", // Partial Shipment .ledgrp.rec.shppars18
shptrss18: "", // Transshipment .ledgrp.rec.shptrss18
avbwth: "", // Available with .ledgrp.rec.avbwth
avbby: "", // Available by .ledgrp.rec.avbby
shpfro: "", // Dispatch from .ledgrp.rec.shpfro
porloa: "", // Air-/Port of Departure .ledgrp.rec.porloa
pordis: "", // Air-/Port of Destination .ledgrp.rec.pordis
shpto: "", // Final Destination .ledgrp.rec.shpto
chato: "", // Own Charges Borne by .ledgrp.rec.chato
stacty: "", // Country Code for Statistics .ledgrp.rec.stacty
tenmaxday: "", // Maximum Tenor .ledgrp.rec.tenmaxday
prepers18: "", // Days of presentation period .ledgrp.rec.prepers18
prepertxts18: "", // Presentation period text .ledgrp.rec.prepertxts18
cnfins: "", // Confirm. Instruct. .ledgrp.rec.cnfins
aplbnkdirsnd: "", // Send Directly to Applicant's Bank .ledgrp.rec.aplbnkdirsnd
stagod: "", // Goods Code .ledgrp.rec.stagod
redclsflg: "", // Red/Green Clause .ledgrp.rec.redclsflg
spcbenflg: "", // Special payment conditions for beneficiary exists .ledgrp.rec.spcbenflg
spcrcbflg: "", // Special payment conditions for receiving bank exists .ledgrp.rec.spcrcbflg
revtyp: "", // Revolving Type .ledgrp.rec.revtyp
revcum: "", // Credit is Marked as Cumulative .ledgrp.rec.revcum
revtimes: "", // Revolve Times .ledgrp.rec.revtimes
revnbr: "", // Revolving Count .ledgrp.rec.revnbr
revdat: "", // Next Revolve Date .ledgrp.rec.revdat
}
}
}
\ No newline at end of file
import Rec from './Led'
import Cbs from '../Cbs'
import Rol from '../Rol'
import Blk from '../Blk'
export default class Ledgrp {
constructor() {
this.data = {
rec: new Rec().data,
cbs: new Cbs().data,
preadvflg: "", // PreAdvice or Notification .ledgrp.preadvflg
ben: new Rol().data.ben,
iss: new Rol().data.iss,
apl: new Rol().data.apl,
avb: new Rol().data.avb,
blk: new Blk().data,
drw: new Rol().data.drw,
adv: new Rol().data.adv,
a2b: new Rol().data.a2b,
apb: new Rol().data.apb,
rmb: new Rol().data.rmb,
con: new Rol().data.con,
}
}
}
import Rolp from '../Rolp'
export default class Letp {
constructor() {
this.data = {
recget: {
sdamod: {
seainf: "", // .letp.recget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .letp.recget.sdamod.dadsnd
},
},
ptsaddp: {
ptsaddg: [], // .letp.ptsaddp.ptsaddg
},
usr: {
extkey: "", // Responsible User .letp.usr.extkey
},
usrget: {
sdamod: {
seainf: "", // .letp.usrget.sdamod.seainf
},
},
aamp: {
aammod: {
addamtflg: "", // Add. Amount .letp.aamp.aammod.addamtflg
},
},
benp: new Rolp().data,
issp: new Rolp().data,
aplp: new Rolp().data,
oppbnkl: "", // 对手行代码 .letp.oppbnkl
avbp: new Rolp().data,
drwp: new Rolp().data,
labdefdet: "", // DEFDAT LAbel .letp.labdefdet
advp: new Rolp().data,
a2bp: new Rolp().data,
apbp: new Rolp().data,
rmbp: new Rolp().data,
conp: new Rolp().data,
}
}
}
\ No newline at end of file
import Letp from './Letp'
import Ledgrp from './Ledgrp'
export default class Leds {
constructor() {
this.data = {
Ledgrp: new Ledgrp().data,
Letp: new Letp().data
}
}
}
\ No newline at end of file
import Pts from "./Pts"
export default class Liaall {
constructor() {
this.data = {
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: "",
liaallg: [], // Total booking amount external assinged .liaall.exttotamt
limmod: {
limgrd: [],
lmegrd: [],
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
},
liaccv: {
newamt: "", // 合同金额 .liaall.liaccv.newamt
concur: "", // 应付保证金金额 .liaall.liaccv.concur
totcovamt: "", // 金额总和 .liaall.liaccv.totcovamt
newresamt: "", // Reserved Amount .liaall.liaccv.newresamt
addinf: "", // Additional Information .liaall.liaccv.addinf
cshpct: "", // 保证金应收比例 .liaall.liaccv.cshpct
relcshpct: "", // 保证金实收比例 .liaall.liaccv.relcshpct
gleflg: "", // Create gle flag .liaall.liaccv.gleflg
chgcurflg: "", // Change currency flag .liaall.liaccv.chgcurflg
pctresamt: "", // reserve amount based percent .liaall.liaccv.pctresamt
liaccvg: [],
},
}
}
}
\ No newline at end of file
export default class Mtabut {
constructor() {
this.data = {
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
},
},
}
}
}
\ No newline at end of file
export default class Pts {
constructor() {
this.data = {
constructor() {
this.data = {
inr: '',
objtyp: '',
objinr: '',
rol: '',
ptainr: '',
ptyinr: '',
extkey: '',
adrblk: '',
ref: '',
nam: '',
ownref: '',
dftcur: '',
dftdsp: '',
dftact: '',
dftfeecur: '',
dftactptainr: '',
glggrpflg: '',
extact: '',
ver: '',
issbaninf: '',
bankno: '',
jigomc: '', //联行名称 电证用
dizhii: '', //地址 电证用
youzbm: '', //邮编 电证用
dihdig: '', //电话 电证用
inr: '',
objtyp: '',
objinr: '',
rol: '',
ptainr: '',
ptyinr: '',
extkey: '',
adrblk: '',
ref: '',
nam: '',
ownref: '',
dftcur: '',
dftdsp: '',
dftact: '',
dftfeecur: '',
dftactptainr: '',
glggrpflg: '',
extact: '',
ver: '',
issbaninf: '',
bankno: '',
jigomc: '', //联行名称 电证用
dizhii: '', //地址 电证用
youzbm: '', //邮编 电证用
dihdig: '', //电话 电证用
//pts表所需内容
// ptyNo: '', //当事人编号
// ptyAddrInfoNo: '', //当事人地址信息编号
// ptyNameAddrInfo: '', //当事人名称地址信息(界面回显修改/修改后的值)
// accNo: '', //账号
// ptyCnName: '', //当事人中文名称
// ptyEnName: '', //当事人英文名称
// ptyCnAddr: '', //当事人中文地址
// ptyEnAddr: '', //当事人英文地址
// hvPaybankNo:'', // 大额支付行号
// paySysBankNm:'',// 大额支付行名(中文)
// addr:'', // 大额支付银行地址
// postCd:'', // 大额支付银行邮编
// tel:'', // 大额支付银行电话
// certificateNo:'',// 统一社会信用代码
// orgInstCode:'', // 组织机构代码
// ptyRelateRefNo:"",//参考号
// //其它(暂定)
// pubprvtFlagCd: '', //公私标识代码
// belongInstNo: '', //所属机构号
// withPsbcRelCd: '', //与我行关系代码
// blstCustFlag: '', //是否黑名单客户标志
// establshTestKeyFlag: '', //是否建立密押标志
// partInoutCrClrFlag: '', //是否参与境内外币清算标志
// swiftNo: '', //SWIFT编号
// countryRegionCode: '' ,//国家地区代码
// accnoTypeCode: '',//账号类型代码
// outAccno: '',//外部账号
// accNoName: '', //账号名称
// accNoDesc: '',//账号描述
// accBankAccnoTypeCode: '', //账户行账号类型代码
// currCode: '',//币种代码
// belongPtyNo: '', //所属当事人编号
// belongInstName: '',//所属机构名称
// belongInstAddr: '', //所属机构地址
// validFlag: '', //是否有效标志
//pts表所需内容
// ptyNo: '', //当事人编号
// ptyAddrInfoNo: '', //当事人地址信息编号
// ptyNameAddrInfo: '', //当事人名称地址信息(界面回显修改/修改后的值)
// accNo: '', //账号
// ptyCnName: '', //当事人中文名称
// ptyEnName: '', //当事人英文名称
// ptyCnAddr: '', //当事人中文地址
// ptyEnAddr: '', //当事人英文地址
// hvPaybankNo:'', // 大额支付行号
// paySysBankNm:'',// 大额支付行名(中文)
// addr:'', // 大额支付银行地址
// postCd:'', // 大额支付银行邮编
// tel:'', // 大额支付银行电话
// certificateNo:'',// 统一社会信用代码
// orgInstCode:'', // 组织机构代码
// ptyRelateRefNo:"",//参考号
// //其它(暂定)
// pubprvtFlagCd: '', //公私标识代码
// belongInstNo: '', //所属机构号
// withPsbcRelCd: '', //与我行关系代码
// blstCustFlag: '', //是否黑名单客户标志
// establshTestKeyFlag: '', //是否建立密押标志
// partInoutCrClrFlag: '', //是否参与境内外币清算标志
// swiftNo: '', //SWIFT编号
// countryRegionCode: '' ,//国家地区代码
// accnoTypeCode: '',//账号类型代码
// outAccno: '',//外部账号
// accNoName: '', //账号名称
// accNoDesc: '',//账号描述
// accBankAccnoTypeCode: '', //账户行账号类型代码
// currCode: '',//币种代码
// belongPtyNo: '', //所属当事人编号
// belongInstName: '',//所属机构名称
// belongInstAddr: '', //所属机构地址
// validFlag: '', //是否有效标志
}
}
}
}
}
\ No newline at end of file
import Pts from './Pts'
export default class Rec {
constructor() {
this.data = {
apl: {
pts: new Pts().data,
namelc: "", // 名称 .didgrp.apl.namelc
adrelc: "", // 地址 .didgrp.apl.adrelc
dbfadrblkcn: "", // Chinese address .didgrp.apl.dbfadrblkcn
rolsetflg: "", // 备查表相关字段
},
ben: {
pts: new Pts().data,
namelc: "", // 名称 .ledgrp.ben.namelc
adrelc: "", // 地址 .ledgrp.ben.adrelc
dbfadrblkcn: "", // Chinese address .ledgrp.ben.dbfadrblkcn
},
iss: {
pts: new Pts().data,
namelc: "", // 名称 .ledgrp.iss.namelc
adrelc: "", // 地址 .ledgrp.iss.adrelc
dbfadrblkcn: "", // Chinese address .ledgrp.iss.dbfadrblkcn
},
beb: {
pts: new Pts().data,
},
avb: {
pts: new Pts().data,
namelc: "", // 名称 .ledgrp.avb.namelc
adrelc: "", // 地址 .ledgrp.avb.adrelc
dbfadrblkcn: "", // Chinese address .ledgrp.avb.dbfadrblkcn
},
drw: {
pts: new Pts().data,
namelc: "", // 名称 .ledgrp.drw.namelc
adrelc: "", // 地址 .ledgrp.drw.adrelc
dbfadrblkcn: "", // Chinese address .ledgrp.drw.dbfadrblkcn
},
adv: {
pts: new Pts().data,
namelc: "", // 名称 .ledgrp.adv.namelc
adrelc: "", // 地址 .ledgrp.adv.adrelc
dbfadrblkcn: "", // Chinese address .ledgrp.adv.dbfadrblkcn
},
a2b: {
pts: new Pts().data,
namelc: "", // 名称 .ledgrp.a2b.namelc
adrelc: "", // 地址 .ledgrp.a2b.adrelc
dbfadrblkcn: "", // Chinese address .ledgrp.a2b.dbfadrblkcn
},
apb: {
pts: new Pts().data,
namelc: "", // 名称 .ledgrp.apb.namelc
adrelc: "", // 地址 .ledgrp.apb.adrelc
dbfadrblkcn: "", // Chinese address .ledgrp.apb.dbfadrblkcn
},
rmb: {
pts: new Pts().data,
namelc: "", // 名称 .ledgrp.rmb.namelc
adrelc: "", // 地址 .ledgrp.rmb.adrelc
dbfadrblkcn: "", // Chinese address .ledgrp.rmb.dbfadrblkcn
},
con: {
pts: new Pts().data,
},
apc: {
pts: new Pts().data,
},
cmb: {
pts: new Pts().data,
},
}
}
}
\ No newline at end of file
export default class Rolp {
constructor() {
this.data = {
ptsget: {
sdamod: {
seainf: "", // .letp.aplp.ptsget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .letp.aplp.ptsget.sdamod.dadsnd
},
},
}
}
}
\ No newline at end of file
export default class Setmod {
constructor() {
this.data = {
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
setgll: []
},
zmqacclab: "", // 主�'�号LABEL .setmod.zmqacclab
zmqacc: "", // 自�'�区主�'�号 .setmod.zmqacc
setfog: {
setfol: []
},
setfeg: {
setfel: []
},
glemod: {
gleshwstm: {}
}
}
}
}
\ No newline at end of file
export default class Trnmod {
constructor() {
this.data = {
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
doceot: [],
},
}
}
}
import Trnmod from "./Trnmod";
import Mtabut from './Mtabut'
import Setmod from './Setmod'
import Liaall from './Liaall'
import Blk from './Blk'
import Pts from './Pts'
export default class Publics {
constructor() {
this.data = {
Trnmod: new Trnmod().data,
Mtabut: new Mtabut().data,
Setmod: new Setmod().data,
Liaall: new Liaall().data,
Blk: new Blk().data,
Pts: new Pts().data,
}
}
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Trtame Check规则
*/
let checkObj = {
"newmatdat" :null,
"liaall.misamt" :null,
"liaall.limmod.limpts.oth.pts.extkey" :null,
"trtmod.finmod.flttyp" :null,
"liaall.limmod.ownref" :null,
"cfatrt.recgrp.bas.currence" :null,
"liaall.limmod.ecifno" :null,
"cfatrt.recgrp.bas.debtorname" :null,
"trdgrp.fip.pts.nam" :null,
"cfatrt.recgrp.bas.dofoexlotype" :null,
"cfatrt.cfaflg" :null,
"liaall.limmod.othp.ptsget.sdamod.dadsnd" :null,
"trtmod.finmod.act1" :null,
"trtmod.finmod.act3" :null,
"liaall.limmod.limpts.oth.pts.nam" :null,
"setmod.dspflg" :null,
"trtp0.brdget.sdamod.dadsnd" :null,
"cfatrt.ownextkey" :null,
"trtmod.finmod.ratchgtyp" :null,
"cfatrt.recgrp.bas.maturity" :null,
"cfatrt.recgrp.bas.actiondesc" :null,
"trtp0.bedget.sdamod.dadsnd" :null,
"trtmod.finmod.ratchgprd" :null,
"trtp0.ledget.sdamod.dadsnd" :null,
"cfatrt.cda.useofunds" :null,
"trdgrp.rec.lprtyp" :null,
"liaall.limmod.limpts.wrk.pts.nam" :null,
"trtmod.finmod.dinmod.jzllgz" :null,
"cfatrt.recgrp.bas.dofoexlocode" :null,
"cfatrt.recgrp.bas.valuedate" :null,
"cfatrt.recgrp.bas.lenagree" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null,
"cfatrt.recgrp.bas.actiontype" :null,
"cfatrt.recgrp.bas.contractamount" :null,
"cfatrt.cda.cfeogudamount" :null,
"trtmod.finmod.ovdinttyp" :null,
"mtabut.coninf.conexedat" :null,
"trtmod.finmod.fltval" :null,
"liaall.limmod.limpts.nonrevflg1" :null,
"trtp0.recget.sdamod.dadsnd" :null,
"ametyp" :null,
"liaall.limmod.wrkp.ptsget.sdamod.dadsnd" :null,
"cfatrt.recgrp.bas.debtorcode" :null,
"cfatrt.recgrp.bas.lenproname" :null,
"cfatrt.cda.cfeogudcurr" :null,
"cfatrt.recgrp.bas.creditorcode" :null,
"setmod.docamt" :null,
"cfatrt.recgrp.bas.anninrate" :null,
"trtmod.finmod.ovdintrat" :null,
"trtmod.finmod.intdat" :null,
"trtp0.bcdget.sdamod.dadsnd" :null,
"trtmod.finmod.ratchgdat" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Trtame Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction,
"trtmod.finmod.acttyp" :Utils.defaultFunction,
"trtmod.finmod.act3" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"trdgrp.cbs.max.amt" :Utils.defaultFunction,
"trdgrp.rec.stttendat" :Utils.defaultFunction,
"trdgrp.rec.matdat" :Utils.defaultFunction,
"trdgrp.rec.actrat" :Utils.defaultFunction,
"trtmod.finmod.intprd" :Utils.defaultFunction,
"trnmod.trndoc.condocstm" :Utils.defaultFunction,
"trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction,
"cfatrt.cdaflg" :Utils.defaultFunction,
"trtmod.finmod.ovdinttyp" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.extkey" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
"trtmod.finmod.wjdkfl" :Utils.defaultFunction,
"trdgrp.rec.fintyp" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction,
"trdgrp.cbs.max.cur" :Utils.defaultFunction,
"cfatrt.recgrp.bas.actiontype" :Utils.defaultFunction,
"cfatrt.recp.pubp.acp" :Utils.defaultFunction,
"cfatrt.basflg" :Utils.defaultFunction,
"trdgrp.rec.ownref" :Utils.defaultFunction,
"newmatdat" :Utils.defaultFunction,
"liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction,
"cfatrt.cfaflg" :Utils.defaultFunction,
"trtmod.finmod.ratchgtyp" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"trtmod.finmod.intdat" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"trtmod.finmod.flttyp" :Utils.defaultFunction,
"trdgrp.fip.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"trtmod.finmod.dinmod.jzllgz" :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: '服务请求失败!'});
}
},
async onSav(){
let rtnmsg = await this.executeRule("sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onChk(){
let rtnmsg = await this.executeRule("chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCutpErr(){
let rtnmsg = await this.executeRule("cutp.err")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCan(){
let rtnmsg = await this.executeRule("can")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment