Commit 9484ed00 by zhoutian

litopn

parent e3ff1db5
......@@ -18,6 +18,11 @@ const CodeTable = {
{ label: "现钞户", value: "11" },
{ label: "现汇户", value: "12" },
],
cnfdet:[
{label: "MAY ADD", value: "A"},
{label: "CONFIRM", value: "C"},
{label: "WiTHOUT", value: "W"},
],
accounttype: [
{ label: "2107 资本项目-坏境权益交易外汇账户", value: "2107" },
{ label: "1103 经常项目-外汇资金集中管理账户", value: "1103" },
......@@ -5072,6 +5077,12 @@ const CodeTable = {
{ label: "远期", value: "2" },
{ label: "即期", value: "1" },
],
currencycode:[
{label: "人民币", value: "CNY"},
{label: "韩元", value: "KRW"},
{label: "新西兰元", value: "NZD"},
{label: "美元", value: "USD"},
],
stransattr: [
{ label: "负债(对应进口信用证、转让信用证开立、进口代收项下)", value: "AL02" },
{ label: "资产(对应出口信用证寄单、出口转让信用证寄单、出口托收项下)", value: "AL01" },
......
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: '服务请求失败!'});
}
},
async selpHandleSearch() {
let res = await this.executeRule("serbut");
if(res.respCode == SUCCESS)
{
//TODO 处理数据逻辑
this.stmData.data = res.data.dblstm.rows;
if(res.data.dblstm.rows.length == 0){
this.$notify({
title: '成功',
message: '搜索完毕,无满足条件记录',
type: 'success'
});
}else{
this.$notify({
title: '成功',
message: '查询成功',
type: 'success'
});
}
}
else
{
let errorMsg = "";
if(res.fieldErrors){
let errorMsgkey = "";
let errorMsgVal = "";
for (const key in res.fieldErrors) {
errorMsgkey = key;
errorMsgVal = res.fieldErrors[key];
}
errorMsg = errorMsgkey+':'+errorMsgVal;
}else if(res.respMsg){
errorMsg = res.respMsg;
}
this.$notify.error({title: '错误',message: '查询失败!错误信息['+errorMsg+']'});
}
},
async selpHandleReset(){
this.model.bopquep.boptyp = "ALL";
this.model.bopquep.dattyp = "";
this.model.bopquep.frmdat = new Date();
this.model.bopquep.tildat = new Date();
this.model.bopquep.rptno = "";
this.model.bopquep.ownextkey = "";
this.model.bopquep.ptytyp = "";
this.model.bopquep.ptynam = "";
this.model.bopquep.medtyp = "";
this.model.bopquep.ownref = "";
this.model.bopquep.sum = "";
this.model.bopquep.staflg = "";
},
async errpHandleSearch() {
let res = await this.executeRule("errsel.serbut");
if(res.respCode == SUCCESS)
{
//TODO 处理数据逻辑
this.stmData.data = res.data.errsel_msgstm.rows;
if(res.data.errsel_msgstm.rows.length == 0){
this.$notify({
title: '成功',
message: '搜索完毕,无满足条件记录',
type: 'success'
});
}else{
this.$notify({
title: '成功',
message: '查询成功',
type: 'success'
});
}
}
else
{
let errorMsg = "";
if(res.fieldErrors){
let errorMsgkey = "";
let errorMsgVal = "";
for (const key in res.fieldErrors) {
errorMsgkey = key;
errorMsgVal = res.fieldErrors[key];
}
errorMsg = errorMsgkey+':'+errorMsgVal;
}else if(res.respMsg){
errorMsg = res.respMsg;
}
this.$notify.error({title: '错误',message: '查询失败!错误信息['+errorMsg+']'});
}
},
async errpHandleReset(){
this.model.errsel.rptno = "";
this.model.bopquep.ownextkey = "";
this.model.bopquep.frmdat = new Date();
this.model.bopquep.tildat = new Date();
}
}
\ 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 Api from "~/service/Api"
import Utils from "~/utils/index"
export default {
async onDitpButgetref() {
let rtnmsg = await this.executeRule("ditp.butgetref")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.model.didgrp.rec.ownref = rtnmsg.data.didgrp_rec_ownref
this.$message({
type: 'success',
message: '获取成功!'
});
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onAplpDet() {
let rtnmsg = await this.executeRule("ditp.aplp.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
// console.log(rtnmsg.data);
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onBenpDet() {
let rtnmsg = await this.executeRule("benp_det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onRevclauseButtxmsel() {
let rtnmsg = await this.executeRule("revclause_buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLcrgodButtxmsel() {
let rtnmsg = await this.executeRule("lcrgod_buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLcrdocButtxmsel() {
let rtnmsg = await this.executeRule("lcrdoc_buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onAdlcndButtxmsel() {
let rtnmsg = await this.executeRule("adlcnd_buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInsbnkButtxmsel() {
let rtnmsg = await this.executeRule("insbnk_buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onRmbpDet() {
let rtnmsg = await this.executeRule("rmbp_det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onDefdetButtxmsel() {
let rtnmsg = await this.executeRule("defdet_buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onPreperButtxmsel() {
let rtnmsg = await this.executeRule("preper_buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onSetmodDet() {
let rtnmsg = await this.executeRule("setmod.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLiaallButmisamt() {
let rtnmsg = await this.executeRule("liaall_butmisamt")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLiaallButmissig() {
let rtnmsg = await this.executeRule("liaall_butmissig")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async 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 onSeaParty(path) {
let rtnmsg = await this.executeRule(path)
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model,rtnmsg.data);
}
},
onSeainf() {
},
async BlurBennam(e) {
let rtnmsg = await this.executeDefault("ditp.remark")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.model.ditp.remark = rtnmsg.data.ditp_remark
}
},
async BlurAplname(e) {
let rtnmsg = await this.executeDefault("ditp.remark")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.model.ditp.remark = rtnmsg.data.ditp_remark
}
},
async BlurSignam(e) {
let rtnmsg = await this.executeDefault("ditp.remark")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.model.ditp.remark = rtnmsg.data.ditp_remark
}
},
async onExtkey(e) {
},
// didgrp.iss.pts.extkey
async changeExtkey() {
let rtnmsg = await this.executeRule("didgrp.iss.pts.extkey")
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
}
}
}
\ No newline at end of file
import Api from "~/service/Api";
import Dids from "../Public/Dids"
import Pub from "../Public"
export default class Ditopn {
constructor() {
this.data = {
didgrp: new Dids().data.Didgrp,
ditp: new Dids().data.Ditp,
litbenl1blk: "", // XMLPanel litbenl1的内置block .litbenl1blk
litapll1blk: "", // XMLPanel litapll1的内置block .litapll1blk
litrmbl1blk: "", // XMLPanel litrmbl1的内置block .litrmbl1blk
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
litameadv: "", // 特殊规定 .litameadv
ameadvrmk: "", // 特殊规定条件 .ameadvrmk
godnam: "", // 槧物简称 .godnam
bchname: "", // branch name .bchname
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Infbdd Check规则
*/
let checkObj = {
"bddgrp.rec.disdat" :null,
"recpan.recget.sdamod.dadsnd" :null,
"bddgrp.blk.docdis" :null,
"recpan.furide" :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,
"recpan.didget.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
/**
* Infbdd Default规则
*/
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,
"infcon.setflg" :Utils.defaultFunction,
"infcon.smhdatfrom" :Utils.defaultFunction,
"infcon.smhdir" :Utils.defaultFunction,
"infcon.chktrn" :Utils.defaultFunction,
"infcon.smhdatto" :Utils.defaultFunction,
"infcon.smhcortyp" :Utils.defaultFunction,
"bddgrp.blk.docdisflg" :Utils.defaultFunction,
"bddgrp.blk.docdis" :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,
"infcon.seatrninr" :Utils.defaultFunction,
"infcon.seabucdatto" :Utils.defaultFunction,
"infcon.seabucdatfro" :Utils.defaultFunction,
"infcon.trnstm" :Utils.defaultFunction,
"infcon.diasta" :Utils.defaultFunction,
"infcon.diadatfrom" :Utils.defaultFunction,
"infcon.diadatto" :Utils.defaultFunction,
"bddgrp.cbs.max.amt" :Utils.defaultFunction,
"bddgrp.rec.docflg" :Utils.defaultFunction,
"bddgrp.cbs.max.cur" :Utils.defaultFunction,
"didgrp.rec.expdat" :Utils.defaultFunction,
"didgrp.cbs.opn1.amt" :Utils.defaultFunction,
"bddgrp.apl.pts.nam" :Utils.defaultFunction,
"didgrp.rec.ownref" :Utils.defaultFunction,
"infcon.fcpdsp" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"bddgrp.rec.stadat" :Utils.defaultFunction,
"infcon.chksubcon" :Utils.defaultFunction,
"infcon.chktrnsta" :Utils.defaultFunction,
"infcon.cbctxt" :Utils.defaultFunction,
"infcon.ordstm" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"recpan.cre752flg" :Utils.defaultFunction,
"bddgrp.prb.pts.nam" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onInfbutSearow(){
let rtnmsg = await this.executeRule("infbut.searow")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutDsp(){
let rtnmsg = await this.executeRule("infbut.dsp")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutUserow(){
let rtnmsg = await this.executeRule("infbut.userow")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutClr(){
let rtnmsg = await this.executeRule("infbut.clr")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutButprt(){
let rtnmsg = await this.executeRule("infbut.butprt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutExi(){
let rtnmsg = await this.executeRule("infbut.exi")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDocdisButtxmsel(){
let rtnmsg = await this.executeRule("docdis.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfconButshw(){
let rtnmsg = await this.executeRule("infcon.butshw")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfconButshword(){
let rtnmsg = await this.executeRule("infcon.butshword")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async handleReset() {
},
async handleSearch() {
this.stmData.data = [];
let opndatfrom = this.model.infcon.opndatfrom;
if(!opndatfrom || opndatfrom == ''){
this.$notify.error({ title: '错误', message: '查询开始日期必输!' });
return;
}
let opndatto = this.model.infcon.opndatto;
if(!opndatto || opndatto == ''){
this.$notify.error({ title: '错误', message: '查询结束日期必输!' });
return;
}
let rtnmsg = await this.executeRule("infbut.searow")
if(rtnmsg.respCode == SUCCESS)
{
this.stmData.data = rtnmsg.data.infbut_dspstm.rows;
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
display(index, row) {
debugger;
Api.post("getTrnNameByInr", { inr:row['INR'] }).then((res) => {
if (res.respCode == SUCCESS) {
const trnName = res.data.toLowerCase();
let viewurl = "/#/display/" + trnName + "?trn=" + row['INR']
window.open(viewurl, 'newwindow', 'height=1200,width=900,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no');
}
});
},
}
\ No newline at end of file
export default {
"infcon.seaownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"infcon.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"infcon.searef":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"infcon.pty.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 24,message:"长度不能超过24"}
],
"infcon.pty.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"infcon.seapty":[
{type: "string", required: false, message: "必输项"},
{max: 24,message:"长度不能超过24"}
],
"infcon.opndatfrom":[
{type: "date", required: false, message: "输入正确的日期"}
],
"infcon.opndatto":[
{type: "date", required: false, message: "输入正确的日期"}
],
"infcon.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"infcon.seaamtfr":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"infcon.seaamtto":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"infbut.dspstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"recpan.didget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"didgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"recpan.didget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"didgrp.rec.expdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"didgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"didgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"recpan.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bddgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"recpan.recget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"bddgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bddgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bddgrp.apl.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bddgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"bddgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bddgrp.apl.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bddgrp.rec.rcvdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bddgrp.rec.stadat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bddgrp.ben.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bddgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bddgrp.rec.tenmaxday":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"bddgrp.ben.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bddgrp.prb.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bddgrp.prb.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bddgrp.blk.docdis":[
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"bddgrp.rec.totdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bddgrp.rec.disdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bddgrp.blk.comcon":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"bddgrp.blk.accrmk":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"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"}
],
"infcon.trnstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"infcon.cbbstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"infcon.cbestm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"infcon.fepstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"infcon.fcpstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"infcon.sepstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"infcon.seabucdatfro":[
{type: "date", required: false, message: "输入正确的日期"}
],
"infcon.seabucdatto":[
{type: "date", required: false, message: "输入正确的日期"}
],
"infcon.seatrninr":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"infcon.glestm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"infcon.smhdatfrom":[
{type: "date", required: false, message: "输入正确的日期"}
],
"infcon.smhdatto":[
{type: "date", required: false, message: "输入正确的日期"}
],
"infcon.smhstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"infcon.sptstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"infcon.diadatfrom":[
{type: "date", required: false, message: "输入正确的日期"}
],
"infcon.diadatto":[
{type: "date", required: false, message: "输入正确的日期"}
],
"infcon.diastm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"infcon.liastm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"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
import Api from "~/service/Api"
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
objinr:"",
},
seadocflg:"", // Document Type .seadocflg
infbut:{
dspstm:"", // display stream .infbut.dspstm
},
jyqflg:"", // 假远期信用证 .jyqflg
elcflg:"", // 是否通过电证系统 .elcflg
bddgrp:{
rec:{
ownref:"", // 单据参考号 .bddgrp.rec.ownref
nam:"", // Name of Bill Contract .bddgrp.rec.nam
rcvdat:"", // 到单日期 .bddgrp.rec.rcvdat
docflg:"", // 单据类型 .bddgrp.rec.docflg
docsta:"", // 单据状态 .bddgrp.rec.docsta
matdat:"", // Maturity Date .bddgrp.rec.matdat
tenmaxday:"", // 单据到期日 .bddgrp.rec.tenmaxday
stadat:"", // Start Date .bddgrp.rec.stadat
igndisflg:"", // Ignore Discrepancies .bddgrp.rec.igndisflg
advtyp:"", // Type of Advice Received .bddgrp.rec.advtyp
totdat:"", // 付款日期 .bddgrp.rec.totdat
disdat:"", // 不符点通知日期 .bddgrp.rec.disdat
approvcod:"", // Documents on Approval Basis .bddgrp.rec.approvcod
},
cbs:{
max:{
cur:"", // 单据金额 .bddgrp.cbs.max.cur
amt:"", // 单据金额 .bddgrp.cbs.max.amt
},
opn1:{
cur:"", // 单据余额 .bddgrp.cbs.opn1.cur
amt:"", // Balance .bddgrp.cbs.opn1.amt
},
},
apl:{
pts:new Pts().data,
},
ben:{
pts:new Pts().data,
},
prb:{
pts:new Pts().data,
},
blk:{
comcon:"", // Comments and Conclusions .bddgrp.blk.comcon
docdis:"", // Discrepancies .bddgrp.blk.docdis
docdisflg:"", // discrepancies modified .bddgrp.blk.docdisflg
accrmk:"", // 到期付款确认备注 .bddgrp.blk.accrmk
},
},
didgrp:{
rec:{
ownref:"", // 信用证参考号 .didgrp.rec.ownref
expdat:"", // Date of Expiry .didgrp.rec.expdat
inr:"",
},
cbs:{
opn1:{
cur:"", // Currency .didgrp.cbs.opn1.cur
amt:"", // Balance .didgrp.cbs.opn1.amt
},
},
},
recpan:{
didget:{
sdamod:{
seainf:"", // .recpan.didget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .recpan.didget.sdamod.dadsnd
},
},
recget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .recpan.recget.sdamod.dadsnd
seainf:"", // .recpan.recget.sdamod.seainf
},
},
matp:{
mattxtlab:"", // Label for MATTXT .recpan.matp.mattxtlab
},
docgrdm:{
docdsclab:"", // Label of document description .recpan.docgrdm.docdsclab
},
cre752flg:"", // Create 752 .recpan.cre752flg
furide:"", // Further Identification .recpan.furide
cre732flg:"", // Create MT 732 .recpan.cre732flg
},
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
},
},
},
prtpanblk:"", // XMLPanel prtpan的内置block .prtpanblk
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Infdid Check规则
*/
let checkObj = {
"didgrp.cmb.pts.dizhii" :null,
"didgrp.adv.pts.dizhii" :null,
"didgrp.rec.expplc" :null,
"didgrp.rec.fqtime" :null,
"didgrp.apc.pts.dizhii" :null,
"didgrp.adv.pts.bankno" :null,
"didgrp.iss.pts.extkey" :null,
"didgrp.rec.sdsrfs" :null,
"didgrp.rec.fqzytgfw" :null,
"didgrp.rec.conamt" :null,
"didgrp.apc.pts.bankno" :null,
"didgrp.rec.shppro" :null,
"didgrp.rec.shpto" :null,
"didgrp.ben.namelc" :null,
"didgrp.rmb.pts.dizhii" :null,
"didgrp.cmb.pts.bankno" :null,
"didgrp.apl.pts.extkey" :null,
"didgrp.apb.pts.bankno" :null,
"didgrp.avb.pts.bankno" :null,
"didgrp.rmb.pts.bankno" :null,
"recpan.usr.extkey" :null,
"didgrp.ben.adrelc" :null,
"didgrp.rec.conno" :null,
"didgrp.blk.defdet" :null,
"didgrp.blk.insbnk" :null,
"didgrp.beb.pts.bankno" :null,
"didgrp.apl.pts.adrblk" :null,
"didgrp.rec.lcrtyp" :null,
"didgrp.adv.pts.jigomc" :null,
"didgrp.iss.pts.jigomc" :null,
"didgrp.rec.shpfro" :null,
"didgrp.apc.pts.jigomc" :null,
"didgrp.iss.pts.dizhii" :null,
"didgrp.iss.pts.bankno" :null,
"didgrp.blk.lcrgod" :null,
"didgrp.blk.stamet" :null,
"infcon.seaamtto" :null,
"didgrp.apl.namelc" :null,
"mtabut.coninf.conexedat" :null,
"didgrp.ben.pts.adrblk" :null,
"didgrp.beb.pts.jigomc" :null,
"didgrp.rec.opndat" :null,
"didgrp.rmb.pts.jigomc" :null,
"didgrp.rec.mytype" :null,
"didgrp.avb.pts.dizhii" :null,
"didgrp.adv.pts.extkey" :null,
"didgrp.ben.pts.extkey" :null,
"didgrp.rec.avbwth" :null,
"didgrp.blk.lcrdoc" :null,
"didgrp.rec.tenmaxday" :null,
"didgrp.blk.preper" :null,
"didgrp.cmb.pts.jigomc" :null,
"didgrp.apl.adrelc" :null,
"didgrp.apb.pts.jigomc" :null,
"didgrp.blk.adlcnd" :null,
"didgrp.avb.pts.jigomc" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Infdid Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"didgrp.apl.namelc" :Utils.defaultFunction,
"didgrp.apl.adrelc" :Utils.defaultFunction,
"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,
"didgrp.iss.pts.bankno" :Utils.defaultFunction,
"didgrp.avb.pts.jigomc" :Utils.defaultFunction,
"didgrp.iss.pts.extkey" :Utils.defaultFunction,
"didgrp.apl.pts.extkey" :Utils.defaultFunction,
"didgrp.adv.pts.jigomc" :Utils.defaultFunction,
"didgrp.apl.pts.adrblk" :Utils.defaultFunction,
"didgrp.ben.namelc" :Utils.defaultFunction,
"didgrp.ben.adrelc" :Utils.defaultFunction,
"infcon.fepfeecod" :Utils.defaultFunction,
"infcon.fepdsp" :Utils.defaultFunction,
"infcon.sepdelflg" :Utils.defaultFunction,
"infcon.setflg" :Utils.defaultFunction,
"infcon.smhdatfrom" :Utils.defaultFunction,
"infcon.smhdir" :Utils.defaultFunction,
"infcon.chktrn" :Utils.defaultFunction,
"infcon.smhdatto" :Utils.defaultFunction,
"infcon.smhcortyp" :Utils.defaultFunction,
"didgrp.rec.avbwth" :Utils.defaultFunction,
"infbut.dspstm" :Utils.defaultFunction,
"didgrp.rec.ownref" :Utils.defaultFunction,
"didgrp.cbs.max.amt" :Utils.defaultFunction,
"didgrp.cbs.max.cur" :Utils.defaultFunction,
"recpan.usr.extkey" :Utils.defaultFunction,
"didgrp.ben.pts.extkey" :Utils.defaultFunction,
"didgrp.ben.pts.adrblk" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"didgrp.rec.shppar" :Utils.defaultFunction,
"didgrp.rec.elcflg" :Utils.defaultFunction,
"didgrp.rec.fqzytgfw" :Utils.defaultFunction,
"infcon.seatrninr" :Utils.defaultFunction,
"infcon.seabucdatto" :Utils.defaultFunction,
"infcon.seabucdatfro" :Utils.defaultFunction,
"infcon.trnstm" :Utils.defaultFunction,
"infcon.diasta" :Utils.defaultFunction,
"infcon.diadatfrom" :Utils.defaultFunction,
"infcon.diadatto" :Utils.defaultFunction,
"didgrp.rec.avbby" :Utils.defaultFunction,
"didgrp.cbs.nom1.cur" :Utils.defaultFunction,
"didgrp.rec.expdat" :Utils.defaultFunction,
"didgrp.adv.pts.extkey" :Utils.defaultFunction,
"didgrp.rec.shpfro" :Utils.defaultFunction,
"didgrp.rec.shpto" :Utils.defaultFunction,
"didgrp.rec.mytype" :Utils.defaultFunction,
"infcon.fcpdsp" :Utils.defaultFunction,
"didgrp.apl.dbfadrblkcn" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"didgrp.rec.opndat" :Utils.defaultFunction,
"didgrp.rec.tratyp" :Utils.defaultFunction,
"infcon.chksubcon" :Utils.defaultFunction,
"infcon.chktrnsta" :Utils.defaultFunction,
"didgrp.rec.tenmaxday" :Utils.defaultFunction,
"infcon.cbctxt" :Utils.defaultFunction,
"didgrp.ben.dbfadrblkcn" :Utils.defaultFunction,
"infcon.ordstm" :Utils.defaultFunction,
"didgrp.rec.shpdat" :Utils.defaultFunction,
"didgrp.cbs.nom1.amt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"didgrp.rec.nomtop" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onInfbutSearow() {
let rtnmsg = await this.executeRule("infbut.searow")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInfbutDsp() {
let rtnmsg = await this.executeRule("infbut.dsp")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInfbutUserow() {
let rtnmsg = await this.executeRule("infbut.userow")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInfbutClr() {
let rtnmsg = await this.executeRule("infbut.clr")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInfbutButprt() {
let rtnmsg = await this.executeRule("infbut.butprt")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInfbutExi() {
let rtnmsg = await this.executeRule("infbut.exi")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onRecpanButgetref() {
let rtnmsg = await this.executeRule("recpan.butgetref")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onAplpDet() {
let rtnmsg = await this.executeRule("aplp.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onBenpDet() {
let rtnmsg = await this.executeRule("benp.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onDefdetButtxmsel() {
let rtnmsg = await this.executeRule("defdet.buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onPreperButtxmsel() {
let rtnmsg = await this.executeRule("preper.buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLcrgodButtxmsel() {
let rtnmsg = await this.executeRule("lcrgod.buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLcrdocButtxmsel() {
let rtnmsg = await this.executeRule("lcrdoc.buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onAdlcndButtxmsel() {
let rtnmsg = await this.executeRule("adlcnd.buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInsbnkButtxmsel() {
let rtnmsg = await this.executeRule("insbnk.buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInfconButshw() {
let rtnmsg = await this.executeRule("infcon.butshw")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInfconButshword() {
let rtnmsg = await this.executeRule("infcon.butshword")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async handleReset() {
},
async handleSearch() {
this.stmData.data = [];
let opndatfrom = this.model.infcon.opndatfrom;
if(!opndatfrom || opndatfrom == ''){
this.$notify.error({ title: '错误', message: '查询开始日期必输!' });
return;
}
let opndatto = this.model.infcon.opndatto;
if(!opndatto || opndatto == ''){
this.$notify.error({ title: '错误', message: '查询结束日期必输!' });
return;
}
let rtnmsg = await this.executeRule("infbut.searow")
if (rtnmsg.respCode == SUCCESS) {
this.stmData.data = rtnmsg.data.infbut_dspstm.rows;
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
display(index, row) {
debugger;
Api.post("getTrnNameByInr", { inr:row['INR'] }).then((res) => {
if (res.respCode == SUCCESS) {
const trnName = res.data.toLowerCase();
let viewurl = "/#/display/" + trnName + "?trn=" + row['INR']
window.open(viewurl, 'newwindow', 'height=1500,width=1200,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no');
}
});
},
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Inflid Check规则
*/
let checkObj = {
"lidgrp.rec.prepers18" :null,
"lidgrp.apl.namelc" :null,
"lidgrp.rec.lcrtyp" :null,
"lidgrp.rec.apprul" :null,
"lidgrp.rec.apprultxt" :null,
"lidgrp.adv.pts.adrblk" :null,
"lidgrp.blk.adlcnd" :null,
"lidgrp.ini.namelc" :null,
"lidgrp.rec.stacty" :null,
"lidgrp.ini.pts.adrblk" :null,
"lidgrp.blk.lcrdoc" :null,
"lidgrp.a2b.namelc" :null,
"lidgrp.apl.adrelc" :null,
"recpan.usr.extkey" :null,
"lidgrp.avb.pts.adrblk" :null,
"lidgrp.rec.avbwth" :null,
"lidgrp.rec.opndat" :null,
"lidgrp.a2b.adrelc" :null,
"lidgrp.avb.namelc" :null,
"lidgrp.blk.feetxt" :null,
"lidgrp.blk.preper" :null,
"lidgrp.ben.adrelc" :null,
"lidgrp.rec.cnfdet" :null,
"lidgrp.avb.adrelc" :null,
"lidgrp.a2b.pts.adrblk" :null,
"lidgrp.adv.namelc" :null,
"lidgrp.blk.mixdet" :null,
"lidgrp.ini.pts.extkey" :null,
"lidgrp.drw.adrelc" :null,
"infcon.seaamtto" :null,
"lidgrp.rec.expplc" :null,
"lidgrp.rmb.pts.extkey" :null,
"mtabut.coninf.conexedat" :null,
"lidgrp.adv.pts.extkey" :null,
"lidgrp.adv.adrelc" :null,
"lidgrp.avb.pts.extkey" :null,
"lidgrp.ben.pts.extkey" :null,
"lidgrp.a2b.pts.extkey" :null,
"lidgrp.blk.defdet" :null,
"lidgrp.blk.insbnk" :null,
"lidgrp.con.pts.extkey" :null,
"lidgrp.apl.pts.adrblk" :null,
"lidgrp.ini.adrelc" :null,
"lidgrp.ben.pts.adrblk" :null,
"lidgrp.rmb.pts.nam" :null,
"lidgrp.drw.pts.extkey" :null,
"lidgrp.con.adrelc" :null,
"lidgrp.blk.dftat" :null,
"lidgrp.con.pts.adrblk" :null,
"lidgrp.apl.pts.extkey" :null,
"lidgrp.rec.tenmaxday" :null,
"lidgrp.ben.namelc" :null,
"lidgrp.drw.pts.adrblk" :null,
"lidgrp.drw.namelc" :null,
"lidgrp.con.namelc" :null,
}
for (const key in checkObj) {
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 {
"lidgrp.rec.expdat" :Utils.defaultFunction,
"lidgrp.blk.preper" :Utils.defaultFunction,
"lidgrp.rec.shpdat" :Utils.defaultFunction,
"lidgrp.rec.prepers18" :Utils.defaultFunction,
"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,
"lidgrp.cbs.nom1.cur" :Utils.defaultFunction,
"lidgrp.cbs.nom1.amt" :Utils.defaultFunction,
"lidgrp.rec.stacty" :Utils.defaultFunction,
"lidgrp.rmb.pts.nam" :Utils.defaultFunction,
"infcon.seapty" :Utils.defaultFunction,
"infcon.pty.extkey" :Utils.defaultFunction,
"lidgrp.con.pts.extkey" :Utils.defaultFunction,
"lidgrp.con.adrelc" :Utils.defaultFunction,
"lidgrp.con.namelc" :Utils.defaultFunction,
"lidgrp.con.dbfadrblkcn" :Utils.defaultFunction,
"lidgrp.ini.pts.extkey" :Utils.defaultFunction,
"lidgrp.ini.adrelc" :Utils.defaultFunction,
"lidgrp.ini.namelc" :Utils.defaultFunction,
"lidgrp.ini.dbfadrblkcn" :Utils.defaultFunction,
"lidgrp.apl.pts.extkey" :Utils.defaultFunction,
"lidgrp.ben.pts.extkey" :Utils.defaultFunction,
"lidgrp.adv.pts.extkey" :Utils.defaultFunction,
"infcon.fepfeecod" :Utils.defaultFunction,
"infcon.fepdsp" :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.pts.extkey" :Utils.defaultFunction,
"lidgrp.avb.adrelc" :Utils.defaultFunction,
"lidgrp.avb.namelc" :Utils.defaultFunction,
"lidgrp.avb.dbfadrblkcn" :Utils.defaultFunction,
"lidgrp.avb.pts.adrblk" :Utils.defaultFunction,
"infcon.sepdelflg" :Utils.defaultFunction,
"infcon.setflg" :Utils.defaultFunction,
"lidgrp.a2b.pts.extkey" :Utils.defaultFunction,
"lidgrp.a2b.adrelc" :Utils.defaultFunction,
"lidgrp.a2b.namelc" :Utils.defaultFunction,
"lidgrp.a2b.dbfadrblkcn" :Utils.defaultFunction,
"infcon.smhdatfrom" :Utils.defaultFunction,
"infcon.smhdir" :Utils.defaultFunction,
"infcon.chktrn" :Utils.defaultFunction,
"infcon.smhdatto" :Utils.defaultFunction,
"infcon.smhcortyp" :Utils.defaultFunction,
"lidgrp.a2b.pts.adrblk" :Utils.defaultFunction,
"lidgrp.blk.avbwthtxt" :Utils.defaultFunction,
"recpan.aamp.aammod.addamtflg" :Utils.defaultFunction,
"infbut.dspstm" :Utils.defaultFunction,
"lidgrp.rec.ownref" :Utils.defaultFunction,
"lidgrp.adv.pts.adrblk" :Utils.defaultFunction,
"lidgrp.rmb.pts.extkey" :Utils.defaultFunction,
"lidgrp.cbs.max.cur" :Utils.defaultFunction,
"recpan.usr.extkey" :Utils.defaultFunction,
"lidgrp.rec.avbby" :Utils.defaultFunction,
"lidgrp.ben.pts.adrblk" :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.con.pts.adrblk" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"lidgrp.drw.pts.adrblk" :Utils.defaultFunction,
"infcon.seatrninr" :Utils.defaultFunction,
"infcon.seabucdatto" :Utils.defaultFunction,
"infcon.seabucdatfro" :Utils.defaultFunction,
"infcon.trnstm" :Utils.defaultFunction,
"lidgrp.rec.nomtop" :Utils.defaultFunction,
"lidgrp.ini.pts.adrblk" :Utils.defaultFunction,
"infcon.diasta" :Utils.defaultFunction,
"infcon.diadatfrom" :Utils.defaultFunction,
"infcon.diadatto" :Utils.defaultFunction,
"lidgrp.adv.adrelc" :Utils.defaultFunction,
"lidgrp.adv.namelc" :Utils.defaultFunction,
"lidgrp.adv.dbfadrblkcn" :Utils.defaultFunction,
"lidgrp.rec.porloa" :Utils.defaultFunction,
"lidgrp.rec.shpto" :Utils.defaultFunction,
"lidgrp.rec.pordis" :Utils.defaultFunction,
"lidgrp.rec.shpfro" :Utils.defaultFunction,
"infcon.fcpdsp" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"lidgrp.rec.rmbflg" :Utils.defaultFunction,
"infcon.chksubcon" :Utils.defaultFunction,
"infcon.chktrnsta" :Utils.defaultFunction,
"lidgrp.rec.revflg" :Utils.defaultFunction,
"lidgrp.ben.adrelc" :Utils.defaultFunction,
"lidgrp.ben.namelc" :Utils.defaultFunction,
"lidgrp.ben.dbfadrblkcn" :Utils.defaultFunction,
"infcon.cbctxt" :Utils.defaultFunction,
"lidgrp.rec.shptrs" :Utils.defaultFunction,
"lidgrp.rec.shptrss18" :Utils.defaultFunction,
"infcon.ordstm" :Utils.defaultFunction,
"lidgrp.rec.spcrcbflg" :Utils.defaultFunction,
"lidgrp.rec.apprul" :Utils.defaultFunction,
"lidgrp.rec.shppars18" :Utils.defaultFunction,
"lidgrp.rec.shppar" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"lidgrp.rec.spcbenflg" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onInfbutSearow(){
let rtnmsg = await this.executeRule("infbut.searow")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutDsp(){
let rtnmsg = await this.executeRule("infbut.dsp")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutUserow(){
let rtnmsg = await this.executeRule("infbut.userow")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutClr(){
let rtnmsg = await this.executeRule("infbut.clr")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutButprt(){
let rtnmsg = await this.executeRule("infbut.butprt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutExi(){
let rtnmsg = await this.executeRule("infbut.exi")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRecpanButgetref(){
let rtnmsg = await this.executeRule("recpan.butgetref")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onAplpDet(){
let rtnmsg = await this.executeRule("aplp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onAdvpDet(){
let rtnmsg = await this.executeRule("advp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBenpDet(){
let rtnmsg = await this.executeRule("benp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onPreperButtxmsel(){
let rtnmsg = await this.executeRule("preper.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onAvbpDet(){
let rtnmsg = await this.executeRule("avbp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onChariaButtxmsel(){
let rtnmsg = await this.executeRule("charia.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDrwpDet(){
let rtnmsg = await this.executeRule("drwp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInipDet(){
let rtnmsg = await this.executeRule("inip.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onA2bpDet(){
let rtnmsg = await this.executeRule("a2bp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRmbpDet(){
let rtnmsg = await this.executeRule("rmbp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onConpDet(){
let rtnmsg = await this.executeRule("conp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLcrdocButtxmsel(){
let rtnmsg = await this.executeRule("lcrdoc.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onAdlcndButtxmsel(){
let rtnmsg = await this.executeRule("adlcnd.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInsbnkButtxmsel(){
let rtnmsg = await this.executeRule("insbnk.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfconButshw(){
let rtnmsg = await this.executeRule("infcon.butshw")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfconButshword(){
let rtnmsg = await this.executeRule("infcon.butshword")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Infusr Check规则
*/
let checkObj = {
"recgrp.rec.relamt2nd" :null,
"recgrp.usrsec.nam" :null,
"recgrp.rec.relcur" :null,
"recgrp.rec.extkey" :null,
"recgrp.usrsec.prf" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Infusr Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"recgrp.rec.relgrp" :Utils.defaultFunction,
"recgrp.rec.relcur" :Utils.defaultFunction,
"recgrp.rec.lgiflg" :Utils.defaultFunction,
"infbut.dspstm" :Utils.defaultFunction,
"recgrp.rec.extkey" :Utils.defaultFunction,
"recgrp.usrsec.nam" :Utils.defaultFunction,
"recgrp.usrsec.secsta" :Utils.defaultFunction,
"recgrp.rec.resusrflg" :Utils.defaultFunction,
"recgrp.usrsec.dsgflg" :Utils.defaultFunction,
"recgrp.usrsec.td2usr" :Utils.defaultFunction,
"recgrp.rec.ety" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async pager(){},
async onInfbutSearow(){
let rtnmsg = await this.executeRule("infbut.searow")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutDsp(){
let rtnmsg = await this.executeRule("infbut.dsp")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutUserow(){
let rtnmsg = await this.executeRule("infbut.userow")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutClr(){
let rtnmsg = await this.executeRule("infbut.clr")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutButprt(){
let rtnmsg = await this.executeRule("infbut.butprt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutExi(){
let rtnmsg = await this.executeRule("infbut.exi")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRecpanIsall(){
let rtnmsg = await this.executeRule("recpan.isall")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRecpanIsnul(){
let rtnmsg = await this.executeRule("recpan.isnul")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"cod":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"seanam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"infbut.dspstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"recpan.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"recgrp.rec.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"recpan.recget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"recgrp.usrsec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"recgrp.usrsec.inipsw":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.usrsec.td2usr":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"recgrp.rec.ssnbegdattim":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"recgrp.rec.ssninr":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"recpan.ety.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"recgrp.rec.quepow":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"recgrp.rec.oenr":[
{type: "string", required: false, message: "必输项"},
{max: 4,message:"长度不能超过4"}
],
"recgrp.rec.relamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"recpan.ownrelcur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"recgrp.rec.relamt2nd":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"recgrp.rec.tel":[
{type: "string", required: false, message: "必输项"},
{max: 30,message:"长度不能超过30"}
],
"recgrp.rec.fax":[
{type: "string", required: false, message: "必输项"},
{max: 30,message:"长度不能超过30"}
],
"recgrp.rec.eml":[
{type: "string", required: false, message: "必输项"},
{max: 80,message:"长度不能超过80"}
],
"recgrp.rec.lstdiadat":[
{type: "date", required: false, message: "输入正确的日期"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Infusr{
constructor () {
this.data = {
cod:"", // USR .cod
infbut:{
dspstm:"", // display stream .infbut.dspstm
},
seanam:"", // User Name .seanam
recpan:{
td2usrlab:"", // Label for Short-Userid .recpan.td2usrlab
recget:{
sdamod:{
seainf:"", // .recpan.recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .recpan.recget.sdamod.dadsnd
},
},
ety:{
nam:"", // Entity Name .recpan.ety.nam
},
ownrelcur:"", // Own release currency .recpan.ownrelcur
prtmod:{
prtgrd:[], // .recpan.prtmod.prtgrd
},
prfmod:{
genfld:[], // .recpan.prfmod.genfld
},
},
recgrp:{
rec:{
extkey:"", // User ID .recgrp.rec.extkey
lgiflg:"", // Login Disabled .recgrp.rec.lgiflg
ssnbegdattim:"", // Last Session / Login .recgrp.rec.ssnbegdattim
ssninr:"", // INR of Last Session .recgrp.rec.ssninr
ety:"", // Default/Initial ETY of User .recgrp.rec.ety
pri:"", // Priority Flag to Mark Initial Record .recgrp.rec.pri
usg:"", // Workgroup of User .recgrp.rec.usg
quepow:"", // Available Capacity .recgrp.rec.quepow
relgrp:"", // Release Group .recgrp.rec.relgrp
relcur:"", // Org. Unit .recgrp.rec.relcur
relamt:"", // Release up to .recgrp.rec.relamt
relamt2nd:"", // 2nd Release Amount .recgrp.rec.relamt2nd
etaextkey:"", // Entity Address .recgrp.rec.etaextkey
oenr:"", // Organisationseinheit .recgrp.rec.oenr
tel:"", // Phone .recgrp.rec.tel
fax:"", // Fax Number of User .recgrp.rec.fax
eml:"", // E-mail Address of User .recgrp.rec.eml
lstdiadat:"", // E-mail .recgrp.rec.lstdiadat
resusrflg:"", // Resp.usr .recgrp.rec.resusrflg
},
usrsec:{
nam:"", // Name .recgrp.usrsec.nam
secsta:"", // Security Status .recgrp.usrsec.secsta
inipsw:"", // Initial Password .recgrp.usrsec.inipsw
prf:"", // Profile .recgrp.usrsec.prf
uil:"", // User Interface Language .recgrp.usrsec.uil
dsgflg:"", // Designer .recgrp.usrsec.dsgflg
td2usr:"", // Short User-Id for ModCodes .recgrp.usrsec.td2usr
admflg:"", // Security Administrator .recgrp.usrsec.admflg
},
ubrgrd:{
ubr:[], // .recgrp.ubrgrd.ubr
},
usrucl:[], // .recgrp.usrucl
},
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 = {
}
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 {
"trpnttyp" :Utils.defaultFunction,
"lidgrp.rec.ownref" :Utils.defaultFunction,
"brdgrp.rec.shgref" :Utils.defaultFunction,
"brdgrp.ben.pts.nam" :Utils.defaultFunction,
"cfgfil.subtrn1" :Utils.defaultFunction,
"selbut.sptpenlab_descr" :Utils.defaultFunction,
"selbut.sptpenlab" :Utils.defaultFunction,
"sptpentrbp" :Utils.defaultFunction,
"sptpentrbp_descr" :Utils.defaultFunction,
"brdgrp.rec.ownref" :Utils.defaultFunction,
"bpdgrp.rec.fintyp" :Utils.defaultFunction,
"brdgrp.apl.pts.nam" :Utils.defaultFunction,
"trdgrp.fip.pts.nam" :Utils.defaultFunction,
"trdgrp.rec.ownref" :Utils.defaultFunction,
"trnpentrbp_descr" :Utils.defaultFunction,
"trnpentrbp" :Utils.defaultFunction,
"lidgrp.adv.pts.nam" :Utils.defaultFunction,
"bpdgrp.rec.ownref" :Utils.defaultFunction,
"selbut.trnpenlab" :Utils.defaultFunction,
"selbut.trnpenlab_descr" :Utils.defaultFunction,
"bpdgrp.fia.pts.nam" :Utils.defaultFunction,
"dfdgrp.apl.pts.nam" :Utils.defaultFunction,
"brdgrp.prb.pts.nam" :Utils.defaultFunction,
"dfdgrp.dff.pts.nam" :Utils.defaultFunction,
"cfgfil.subtxt10" :Utils.defaultFunction,
"cfgfil.subtrn10" :Utils.defaultFunction,
"cfgfil.subtrn11" :Utils.defaultFunction,
"cfgfil.subtxt11" :Utils.defaultFunction,
"brdgrp.cbs.max.cur" :Utils.defaultFunction,
"lidgrp.ben.pts.nam" :Utils.defaultFunction,
"dfdgrp.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,
"lidgrp.apl.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"
/**
* Sptrel Check规则
*/
let checkObj = {
"inidatfro" :null,
"inidattil" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Sptrel Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"sptstm" :Utils.defaultFunction,
"usfmod.usr.extkey" :Utils.defaultFunction,
"atp.cod" :Utils.defaultFunction,
"usfmod.selusg" :Utils.defaultFunction,
"usfmod.selusgset" :Utils.defaultFunction,
"usfmod.flt" :Utils.defaultFunction,
"usr.extkey" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onUsfmodShwflt(){
let rtnmsg = await this.executeRule("usfmod.shwflt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndsp(){
let rtnmsg = await this.executeRule("trndsp")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async handleSearch() {
let rtnmsg = await this.executeRule("searow")
if(rtnmsg.respCode == SUCCESS)
{
this.stmData.data = rtnmsg.data.sptstm.rows;
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"selobj":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"usfmod.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"usfmod.usrget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"seltxt":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"atpget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"usrget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"atp.cod":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"atpget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"inidatfro":[
{type: "date", required: false, message: "输入正确的日期"}
],
"inidattil":[
{type: "date", required: false, message: "输入正确的日期"}
],
"atptxt":[
{type: "string", required: false, message: "必输项"},
{max: 37,message:"长度不能超过37"}
],
"sptstm":[
{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 Sptrel{
constructor () {
this.data = {
usfmod:{
labtxt:"", // Text of Label .usfmod.labtxt
usftxt:"", // Text of Selection Text .usfmod.usftxt
flt:"", // Filter .usfmod.flt
selusg:"", // Selected User Group .usfmod.selusg
selusgset:"", // Selected User Group Set .usfmod.selusgset
usr:{
extkey:"", // User ID .usfmod.usr.extkey
},
usrget:{
sdamod:{
seainf:"", // .usfmod.usrget.sdamod.seainf
},
},
selusb:"", // Select user branch .usfmod.selusb
},
selobj:"", // Reference .selobj
seltxt:"", // Name .seltxt
usr:{
extkey:"", // User ID .usr.extkey
},
usrget:{
sdamod:{
seainf:"", // .usrget.sdamod.seainf
},
},
atp:{
cod:"", // Transaction Type .atp.cod
},
atpget:{
sdamod:{
seainf:"", // .atpget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .atpget.sdamod.dadsnd
},
},
atptxt:"", // Transaction Text .atptxt
inidatfro:"", // Date of entry of Transaction .inidatfro
inidattil:"", // Date of entry of Transaction until .inidattil
sptstm:"", // List of SPT records .sptstm
sta:"", // Status .sta
// chkinc:"",
// chkdzt:"",
// chkpen:"",
// chkcor:"",
// chkaut:"",
// chkdel:"",
// chktco:"",
// chkcan:"",
selrow:"",
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
/**
* Sptsel Check规则
*/
export default {
}
/**
* Sptsel Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"sptstm": defaultSptstm,
"dlaxq": defaultDlaxq,
"usfmod.labtxt": defaultUsfmodLabtxt,
"usfmod.flt": defaultUsfmodFlt,
"usfmod.shwflt": defaultUsfmodShwflt,
"dlmft": defaultDlmft,
"butimg": defaultButimg,
"dflg": defaultDflg,
"yptinf": defaultYptinf,
"usfmod.usr.extkey": defaultUsfmodUsrExtkey,
"chkinc": defaultCheckbox,
"chkdzt": defaultCheckbox,
"chkpen": defaultCheckbox,
"chkcor": defaultCheckbox,
"chkaut": defaultCheckbox,
"chkdel": defaultCheckbox,
"chktco": updateTable,
// "chkcan": updateTable,
}
function defaultSptstm() {
}
function defaultDlaxq() {
}
function defaultUsfmodLabtxt() {
}
function defaultUsfmodFlt() {
}
function defaultUsfmodShwflt() {
}
function defaultDlmft() {
}
function defaultButimg() {
}
async function defaultDflg() {
const that = this;
that.executeDefault("dflg").then(res => {
that.model.dflg = res.data.dflg;
})
}
async function defaultYptinf() {
const that = this;
that.executeDefault("yptinf").then(res => {
//TODO 处理数据逻辑
})
}
function defaultUsfmodUsrExtkey() {
}
function defaultCheckbox(rule, value, callback) {
const that = this;
if (that.model[rule.field] === "") {
return
}
if(that.model[rule.field] === false){
that.model[rule.field] = "";
}
that.executeDefault("sptstm").then(res => {
//TODO 处理数据逻辑
that.$refs.Menu.stmData.data = res.data.sptstm.rows;
})
}
function updateTable(rule, value, callback){
const that = this;
if (that.model[rule.field] === true && that.$refs.Menu.stmData.columns[3] === "7 6 \"Creation\" 101 20 DateTime 1") {
that.$refs.Menu.stmData.columns.splice(3, 0, "18 5 \"MT\" 100");
}
if (that.model[rule.field] === false && that.$refs.Menu.stmData.columns[3] === "18 5 \"MT\" 100") {
that.$refs.Menu.stmData.columns.splice(3, 1);
}
}
import { split } from "lodash";
import Api from "~/service/Api"
import Utils from "~/utils/index"
export default {
async onUsfmodShwflt() {
let rtnmsg = await this.executeRule("usfmod_shwflt")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onTake() {
let rtnmsg = await this.executeRule("take")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onDelete(idx,row) {
let params = {selDst:"sptstm",selIds:[idx+1]}
let rtnmsg = await this.executeRule("del",params)
if (rtnmsg.respCode == SUCCESS) {
this.stmData.data = rtnmsg.data.sptstm.rows;
this.$store.commit("setTaskList", {key: "sptbrk", val: this.stmData.data.length});
this.$notify({ title: '成功', message: '删除成功!' });
}
else {
this.$notify.error({ title: '错误', message: '删除失败!' });
}
},
async onRouting() {
let rtnmsg = await this.executeRule("routing")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onShowInc() {
let rtnmsg = await this.executeRule("show_inc")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onDetails(idx, row) {
let viewurl = "business/sptpopup";
const selIds= [idx + 1];
const selDst= "sptstm";
let params = {selIds,selDst};
this.executeRule("sptstm,butspt",params).then((res) => {
if (res.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, res.data);
sessionStorage.setItem('Sptpopup', JSON.stringify(this.model));
this.$router.push({ path: viewurl, query: {}});
}else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
})
/* let rtnmsg = await this.executeRule("details")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
} */
},
async continueEdit(row) {
//let rtnmsg = await Api.post("getPendingData",{params:{'selsptinr':row[0]}})
//if (rtnmsg.respCode == SUCCESS) {
//var cacheFileName = rtnmsg.data.cacheFileName;
this.model.selsptinr = row['INR'];
let rtnmsg = await this.executeRule("tak")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
let trnName = row.交易代码.toLowerCase();
// let viewurl = "/business/ditopn?selsptinr=" + row[0];
//let viewurl = "/business/"+trnName+"?selsptinr=" + row['INR'];
let viewurl = "/business/"+trnName;
this.$router.push(viewurl);
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
//}
},
async handleReset() {
this.model.chkinc = "";
this.model.chkdzt = "";
this.model.chkpen = "";
this.model.chkcor = "";
this.model.chkaut = "";
this.model.chkdel = "";
this.model.chktco = "";
this.model.chkcan = "";
this.model.selobj = "";
this.model.seltxt = "";
this.model.usfmod.flt = "";
this.model.inidatfro = "";
this.model.inidattil = "";
this.model.dflg = "1";
this.model.chkypt = "";
this.model.yptinf = "";
},
async handleSearch() {
if(this.sourceModel.length===0){
this.sourceData.forEach(s => {
this.model[s.value] = 't';
})
}
const res = await this.executeDefault("sptstm")
//TODO 处理数据逻辑
this.stmData.data = res.data.sptstm.rows;
this.$store.commit("setTaskList", {key: "sptsel", val: this.stmData.data.length});
// if(res.data.sptstm.rows.length == 0){
// this.$notify({
// title: '成功',
// message: '搜索完毕,无满足条件记录',
// type: 'success'
// });
// }
},
async sptfndHandleReset() {
this.model.chkinc = "";
this.model.chkdzt = "";
this.model.chkpen = "";
this.model.chkcor = "";
this.model.chkaut = "";
this.model.chkdel = "";
this.model.chktco = "";
this.model.chkcan = "";
this.model.selobj = "";
this.model.seltxt = "";
this.model.usfmod.flt = "";
this.model.inidatfro = "";
this.model.inidattil = "";
this.model.dflg = "1";
this.model.chkypt = "";
this.model.yptinf = "";
},
async sptfndHandleSearch() {
this.model.chkpen = "t";
// this.executeDefault("sptstm").then(res => {
// //TODO 处理数据逻辑
// this.stmData.data = res.data.sptstm.rows;
// })
const res = await this.executeDefault("sptstm")
this.stmData.data = res.data.sptstm.rows;
this.$store.commit("setTaskList", {key: "sptbrk", val: this.stmData.data.length});
// if(res.data.sptstm.rows.length == 0){
// this.$notify({
// title: '成功',
// message: '搜索完毕,无满足条件记录',
// type: 'success'
// });
// }
},
async onSptpButord(){
let rtnmsg = await this.executeRule("sptp.butord")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSptpButcls(){
let rtnmsg = await this.executeRule("sptp.butcls")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"selobj":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"seltxt":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"inidatfro":[
{required: false, message: "输入正确的日期"}
],
"inidattil":[
{required: false, message: "输入正确的日期"}
],
"usfmod.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"usfmod.usrget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"sptstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"yptinf":[
{type: "string", required: false, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"spt.objnam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"spt.inr":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"spt.txt":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"spt.frm":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"spt.ownusr":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"spt.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"spt.usr":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"spt.dattim":[
{type: "string", required: false, message: "必输项"},
{max: 15,message:"长度不能超过15"}
],
"spt.cretrn":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"spt.tardattim":[
{type: "string", required: false, message: "必输项"},
{max: 15,message:"长度不能超过15"}
],
"sptp.smh.msgtyp":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"sptp.smh.sndkey":[
{type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"sptp.smh.relcur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"sptp.smh.relamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
}
\ No newline at end of file
import Api from "~/service/Api";
export default class Sptsel {
constructor() {
this.data = {
chkinc: "", // Incoming .chkinc
chkpen: "", // Pending .chkpen
chkcor: "", // Correction .chkcor
chkaut: "", // Automatic .chkaut
selobj: "", // Reference .selobj
seltxt: "", // Selection Name .seltxt
usfmod: {
labtxt: "", // Text of Label .usfmod.labtxt
usftxt: "", // Text of Selection Text .usfmod.usftxt
flt: "", // Filter .usfmod.flt
selusg: "", // Selected User Group .usfmod.selusg
selusgset: "", // Selected User Group Set .usfmod.selusgset
usr: {
extkey: "", // User ID .usfmod.usr.extkey
},
usrget: {
sdamod: {
seainf: "", // .usfmod.usrget.sdamod.seainf
},
},
selusb: "", // Select user branch .usfmod.selusb
},
chkdel: "", // Deleted .chkdel
sptstm: "", // List of SPT records .sptstm
yptinf: "", // 退回原因 .yptinf
chkypt: "", // 云平台 .chkypt
inidatfro: "", // Date of entry of Transaction .inidatfro
inidattil: "", // Date of entry of Transaction until .inidattil
routxt: "", // 已转报 .routxt
dflg: "", // 国内国际标志 .dflg
chktco: "", // 网银 .chktco
chkcan: "", // 归档 .chkcan
chkdzt: "", // E-Trade .chkdzt
pageId: "", // ctx的key
spt:{
sta:"", // Type .spt.sta
hldflg:"", // Hold Flag .spt.hldflg
objnam:"", // Reference .spt.objnam
inr:"", // Internal Unique ID of Pending Transaction .spt.inr
txt:"", // Name .spt.txt
frm:"", // Transaction .spt.frm
ownusr:"", // Responsible User .spt.ownusr
ownusg:"", // Responsible Group .spt.ownusg
inftxt:"", // Infotext .spt.inftxt
infdsp:"", // Infotext .spt.infdsp
usr:"", // Entered by .spt.usr
dattim:"", // Time of Creation .spt.dattim
cretrn:"", // Creating Transaction ID .spt.cretrn
tardattim:"", // Target for Completion .spt.tardattim
},
sptp:{
smh:{
msgtyp:"", // Message Type .sptp.smh.msgtyp
sndkey:"", // Receiver Key .sptp.smh.sndkey
relcur:"", // Relevant Amount .sptp.smh.relcur
relamt:"", // Relevant Amount Optional .sptp.smh.relamt
},
},
selsptinr:"",
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
/**
* Trnrel Check规则
*/
export default {
"trn.inr" :[checkTrnInrN1500,],
"atpget.sdamod.dadsnd" :[checkAtpgetSdamodDadsndN100,],
"trn.inftxt" :[checkTrnInftxtN100,],
"recpan.atpget.sdamod.dadsnd" :[checkRecpanAtpgetSdamodDadsndN100,],
"recpan.recget.sdamod.dadsnd" :[checkRecpanRecgetSdamodDadsndN100,],
}
/**
* source:trnget.@0009.script
* recpan.recget
*/
function checkTrnInrN1500(rule, value, callback)
{
callback()
}
/**
* source:atpget.@0001.script
* atpget
*/
function checkAtpgetSdamodDadsndN100(rule, value, callback)
{
callback()
}
/**
* source:txmmod.@0009.script
* recpan.inftxt
*/
function checkTrnInftxtN100(rule, value, callback)
{
callback()
}
/**
* source:atpget.@0001.script
* recpan.atpget
*/
function checkRecpanAtpgetSdamodDadsndN100(rule, value, callback)
{
callback()
}
/**
* source:trnget.@0001.script
* recpan.recget
*/
function checkRecpanRecgetSdamodDadsndN100(rule, value, callback)
{
callback()
}
/**
* Trnrel Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index";
export default {
"relcor": defaultRelcor,
"recpan.butspt": defaultRecpanButspt,
"recpan.ackstm": defaultRecpanAckstm,
"seaown": defaultSeaown,
"trn.inftxt": defaultTrnInftxt,
"numtrn": defaultNumtrn,
"recpan.butord": defaultRecpanButord,
"recpan.inftxt.buttxmsel": defaultRecpanInftxtButtxmsel,
"trn.infdsp": defaultTrnInfdsp,
"recpan.incben": defaultRecpanIncben,
"usrcon": defaultUsrcon,
"imgmod.hisimg": defaultImgmodHisimg,
"recpan.con": defaultRecpanCon,
"seajbh": defaultSeajbh,
"recpan.det": defaultRecpanDet,
"trncorco.trnstm": defaultTrncorcoTrnstm,
"imgmod.newhisimg": defaultImgmodNewhisimg,
"recpan.cpltxt": defaultRecpanCpltxt,
"trncorco.dflg": defaultTrncorcoDflg,
"orddsp": defaultOrddsp,
"recpan.usr.extkey": defaultRecpanUsrExtkey,
"atptxt": defaultAtptxt,
"recpan.ackgrp.rec.sndref": defaultRecpanAckgrpRecSndref,
"syswrn.butshw": defaultSyswrnButshw,
"imgmod.newimg": defaultImgmodNewimg,
"recpan.inc": defaultRecpanInc,
"printe": defaultPrinte,
"trn.inr": defaultTrnInr,
"imgmod.image": defaultImgmodImage,
}
function defaultRelcor() {
}
function defaultRecpanButspt() {
}
function defaultRecpanAckstm() {
}
function defaultSeaown() {
}
function defaultTrnInftxt() {
}
function defaultNumtrn() {
}
function defaultRecpanButord() {
}
function defaultRecpanInftxtButtxmsel() {
}
function defaultTrnInfdsp() {
}
function defaultRecpanIncben() {
}
function defaultUsrcon(rule, value, callback) {
const that = this;
that.executeDefault("usrcon").then(res => {
this.model.usrcon = res.data.usrcon;
callback()
})
}
function defaultImgmodHisimg() {
}
function defaultRecpanCon() {
}
function defaultSeajbh() {
}
function defaultRecpanDet() {
}
function defaultTrncorcoTrnstm() {
}
function defaultImgmodNewhisimg() {
}
function defaultRecpanCpltxt() {
}
function defaultTrncorcoDflg(rule, value, callback) {
const that = this;
that.executeDefault("trncorco.dflg").then(res => {
that.model.trncorco.dflg = res.data.trncorco_dflg;
callback()
})
}
function defaultOrddsp() {
}
function defaultRecpanUsrExtkey() {
}
function defaultAtptxt(rule, value, callback) {
const that = this;
that.executeDefault("atptxt").then(res => {
that.model.atptxt = res.data.atptxt;
callback()
})
}
function defaultRecpanAckgrpRecSndref() {
}
function defaultSyswrnButshw() {
}
function defaultImgmodNewimg() {
}
function defaultRecpanInc() {
}
function defaultPrinte() {
}
function defaultTrnInr() {
}
function defaultImgmodImage() {
}
export default {
"trncorco.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"atpget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"atp.cod":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"atpget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"trncorco.inidatfro":[
{required: false, message: "输入正确的日期"}
],
"trncorco.inidattil":[
{required: false, message: "输入正确的日期"}
],
"atptxt":[
{type: "string", required: false, message: "必输项"},
{max: 37,message:"长度不能超过37"}
],
"trncorco.trnstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"numtrn":[
{type: "string", required: false, message: "必输项"},
{max: 7,message:"长度不能超过7"}
],
"orddsp":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"recpan.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"trn.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"recpan.con":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"trn.inr":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"recpan.recget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"trn.objnam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"recpan.atpget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"recpan.atp.cod":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"recpan.atpget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"trn.reloricur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"trn.reloriamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"trn.usr":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"trn.usg":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"trn.relreq":[
{type: "string", required: false, message: "必输项"},
{max: 9,message:"长度不能超过9"}
],
"trn.relres":[
{type: "string", required: false, message: "必输项"},
{max: 9,message:"长度不能超过9"}
],
"trn.cortrninr":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"trn.exedat":[
{required: false, message: "输入正确的日期"}
],
"recpan.cretrs.usr":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"recpan.cretrs.dattim":[
{type: "string", required: false, message: "必输项"},
{max: 15,message:"长度不能超过15"}
],
"recpan.ackgrp.rec.sndref":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"recpan.smhstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trn.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"recpan.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"recpan.usrget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"recpan.trsstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"wfmmod.wfs.objinr":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"wfmmod.wfs.objnam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"recpan.wfestm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"recpan.evthisstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"recpan.evtstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"recpan.ackstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"recpan.trostm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"recpan.prtgleblk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
"recpan.prtpanblk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
"docimm.prtswtpblk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
"docimm.xmldocblk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
"docimm.prtswtrpblk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
"docimm.docbol.prtpblk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
}
\ No newline at end of file
import Api from "~/service/Api";
export default class Trnrel {
constructor() {
this.data = {
trncorco: {
ownref: "", // Reference .trncorco.ownref
relflg: "", // Status .trncorco.relflg
inidatfro: "", // Date of entry of Transaction .trncorco.inidatfro
inidattil: "", // Date of entry of Transaction until .trncorco.inidattil
trnstm: "", // List of transaction sfor display .trncorco.trnstm
dflg: "", // 国内证标志 .trncorco.dflg
selinr: {},
},
atp: {
cod: "", // Transaction Type .atp.cod
},
atpget: {
sdamod: {
seainf: "", // .atpget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .atpget.sdamod.dadsnd
},
},
atptxt: "", // Transaction Text .atptxt
numtrn: "", // # of transactions .numtrn
orddsp: "", // >> .orddsp
bchcon: "", // Branch .bchcon
usrcon: "", // User .usrcon
recpan: {
cpltxt: "", // Completion text .recpan.cpltxt
spt: {
sta: "", // Status .recpan.spt.sta
},
ord: {
sta: "", // Status .recpan.ord.sta
},
recget: {
sdamod: {
seainf: "", // Ident No. .recpan.recget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .recpan.recget.sdamod.dadsnd
},
},
atp: {
cod: "", // Transaction ID .recpan.atp.cod
},
atpget: {
sdamod: {
dadsnd: "", // Drag Drop Sender .recpan.atpget.sdamod.dadsnd
seainf: "", // Transaction .recpan.atpget.sdamod.seainf
},
},
smhstm: "", // Documents .recpan.smhstm
usr: {
extkey: "", // User ID .recpan.usr.extkey
},
usrget: {
sdamod: {
seainf: "", // .recpan.usrget.sdamod.seainf
},
},
trsstm: "", // Signatures .recpan.trsstm
con: "", // Reference .recpan.con
cretrs: {
usr: "", // Entered by .recpan.cretrs.usr
dattim: "", // Timestamp .recpan.cretrs.dattim
},
ackgrp: {
rec: {
sndref: "", // Send to SOP/CASmf reference .recpan.ackgrp.rec.sndref
},
},
wfestm: "", // WFEs for transaction for display .recpan.wfestm
evthisstm: "", // stream of history of transactions .recpan.evthisstm
evtstm: "", // stream of events .recpan.evtstm
ackstm: "", // ACKs for transaction .recpan.ackstm
trostm: "", // TROs for transaction for display .recpan.trostm
prtgleblk: "", // XMLPanel prtgle的内置block .recpan.prtgleblk
prtpanblk: "", // XMLPanel prtpan的内置block .recpan.prtpanblk
},
trn: {
ownref: "", // Reference .trn.ownref
inr: "", // Transaction Key .trn.inr
objnam: "", // External Readable Object Identification .trn.objnam
reloricur: "", // Relevant Amount .trn.reloricur
reloriamt: "", // Relevant Amount for Release in Original Currency .trn.reloriamt
relflg: "", // Release Status of Transaction .trn.relflg
usr: "", // Responsible .trn.usr
usg: "", // Responsible Group .trn.usg
relreq: "", // Signatures Required/Obtained .trn.relreq
relres: "", // Applied Signatures .trn.relres
cortrninr: "", // Based on Ident No. .trn.cortrninr
exedat: "", // Execution Date .trn.exedat
inftxt: "", // Infotext .trn.inftxt
infdsp: "", // Infoflag .trn.infdsp
},
wfmmod: {
wfs: {
objnam: "", // External Readable Object Identification .wfmmod.wfs.objnam
objtyp: "", // Table Used to Store Associated Object .wfmmod.wfs.objtyp
objinr: "", // Object .wfmmod.wfs.objinr
},
},
docimm: {
prtswtpblk: "", // XMLPanel prtswtp的内置block .docimm.prtswtpblk
xmldocblk: "", // XMLPanel xmldoc的内置block .docimm.xmldocblk
prtswtrpblk: "", // XMLPanel prtswtrp的内置block .docimm.prtswtrpblk
docbol: {
prtpblk: "", // XMLPanel prtp的内置block .docimm.docbol.prtpblk
},
},
pageId: "", // ctx的key
searchAllUsers: ""
}
}
}
\ No newline at end of file
<template>
<div class="eibs-tab">
<!-- <c-list-search
@form-reset="errpHandleReset"
@form-search="errpHandleSearch"
>
<template v-slot="searchSlot"> -->
<el-form
class="m-table-search-form"
ref="paramsForm"
:inline="true"
label-position="right"
label-width="110px"
size="small"
>
<el-row>
<c-col :span="24" style="">
<c-col :span="8">
<el-form-item label="申报编号" prop="errsel.rptno" style="width: 100%">
<c-input
v-model="model.errsel.rptno"
maxlength="22"
placeholder="请输入申报编号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="起止日期" style="width: 100%">
<c-col :span="11">
<c-date-picker
type="date"
v-model="model.bopquep.frmdat"
value-format="yyyy-MM-dd"
style="width: 100%"
placeholder="请选择From"
></c-date-picker>
</c-col>
<c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%">-</label>
</c-col>
<c-col :span="11">
<c-date-picker
type="date"
v-model="model.bopquep.tildat"
value-format="yyyy-MM-dd"
style="width: 100%"
placeholder="请选择Until"
></c-date-picker>
</c-col>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="业务所属行" prop="bopquep.ownextkey" style="width: 100%">
<c-select
v-model="model.bopquep.ownextkey"
style="width: 100%"
placeholder="请选择业务所属行"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24" style="text-align: right;height:36.8px">
<el-button size="small" @click="errpHandleReset">重置</el-button>
<el-button
type="primary"
icon="el-icon-search"
size="small"
@click="errpHandleSearch"
>查询</el-button
>
</c-col>
</el-row>
</el-form>
<!-- </template>
</c-list-search> -->
<c-col :span="24" style="">
<div style="border-bottom: 10px solid rgb(232, 232, 232)">
</div>
</c-col>
<el-row>
<c-col :span="24" style="">
<c-istream-table :list="stmData.data" :columns="stmData.columns" :showButtonFlg="true">
<el-table-column fixed="right" prop="op" label="操作" width="120px">
<template slot="header">
<c-col :span="11" style="text-align:left"><span>操作</span></c-col>
<!-- <c-col :span="12" style="text-align:right"><c-button icon="el-icon-s-tools"></c-button></c-col> -->
</template>
<template slot-scope="scope">
<a href="javascript:void(0)" @click="continueEdit(scope.row)"
>correct</a
>
</template>
</el-table-column>
</c-istream-table>
</c-col>
</el-row>
<!--
<c-col :span="12">
<el-form-item label="申报编号" prop="errsel.rptno">
<c-input v-model="model.errsel.rptno" maxlength="22" placeholder="请输入申报编号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Initial Code" prop="bopquep.ownextkey">
<c-select v-model="model.bopquep.ownextkey" style="width:100%" placeholder="请选择Initial Code">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="From" prop="bopquep.frmdat">
<c-date-picker type="date" v-model="model.bopquep.frmdat" style="width:100%" placeholder="请选择From"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Until" prop="bopquep.tildat">
<c-date-picker type="date" v-model="model.bopquep.tildat" style="width:100%" placeholder="请选择Until"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onErrselSerbut">
Search
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Select Error Message" prop="errsel.msgstm">
<c-input v-model="model.errsel.msgstm" placeholder="请输入Select Error Message"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onErrselCorbut">
Correct
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onExi">
Exit
</c-button>
</c-col>
-->
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Bopsel/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
stmData: {
columns: [
'4 1 "申报编号" 0 ',
'5 2 "反馈日期" 0',
'7 3 "业务编号" 0',
'20 4 "错误信息" 0',
'21 5 "接口" 0',
],
data: [],
},
};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eContainer">
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="150px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000000 -->
<el-tab-pane label="申报信息" name="selp">
<m-selp :model="model" :codes="codes" ref="selp"/>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="差错反馈" name="errp">
<m-errp :model="model" :codes="codes" ref="errp"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import { getCodetable } from "~/service/business/codeTable"
import CodeTable from "~/config/CodeTable";
import Bopsel from "~/model/Bopsel";
import commonProcess from "~/mixin/commonProcess";
import Check from "~/model/Bopsel/Check";
import Default from "~/model/Bopsel/Default";
import Pattern from "~/model/Bopsel/Pattern";
import Utils from "~/utils/index"
import Selp from "./Selp";
import Errp from "./Errp";
export default {
name: "Bopsel",
components: {
"m-selp": Selp,
"m-errp": Errp,
},
provide() {
return {
root: this,
};
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "selp",
trnName: "bopsel",
model: new Bopsel().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
boptyp: [],
dattyp: [
{ label: "按收付汇日期", value: "A" },
{ label: "按经办日期", value: "B" },
],
ptytyp: [
{ label: "对公", value: "C" },
{ label: "对私中国居民", value: "D" },
{ label: "对私非中国居民", value: "F" },
],
medtyp:[
{label:"票汇",value:"D" },
{label:"信用证",value:"L" },
{label:"托收",value:"C" },
{label:"保函",value:"G" },
{label:"光票托收",value:"Y" },
{label:"其他",value:"O" },
{label:"电汇",value:"T" },
{label:"支票代收",value:"Z" },
{label:"信汇",value:"M" },
],
staflg:[
{label:"待确认",value:"P" },
{label:"待发送",value:"W" },
{label:"已发送",value:"S" },
{label:"已撤销",value:"D" },
{label:"已删除",value:"G" },
{label:"待修改",value:"E" },
],
},
};
},
methods: {
tabClick() {},
},
created: async function () {
console.log("进入bopsel交易");
// 查询码表
getCodetable({ tbl: "BOPTYP", lang: "EN" }).then((res) => {
if (res.respCode == SUCCESS) {
this.codes.boptyp = res.data;
}
});
// let rtnmsg = await this.init({});
// if (rtnmsg.respCode == SUCCESS) {
// //TODO 处理数据逻辑
// } else {
// this.$notify.error({ title: "错误", message: "服务请求失败!" });
// }
const that = this;
that.init(that.model).then((res) => {
//TODO 处理数据逻辑
that.model = Utils.copyValueFromVO(that.model, res.data);
//this.$refs.selp.selpHandleSearch();
//this.$refs.errp.errpHandleSearch();
});
},
};
</script>
<style>
.el-tabs .el-tabs__content {
/* background: #fff; */
padding: 5px;
}
</style>
/**
* 带有name的才会被添加进顶部的标签页里
*/
import Litopn from "./Litopn"
import Litsel from "./Litsel"
import Inflid from "./Inflid"
import Infusr from "./Infusr"
const BusRouter = [
// { path: 'ditopn', component: Ditopn, name: 'Ditopn', meta: { title: '买方信用证开立' } },
{ path: 'litopn', component: Litopn, name: 'Litopn', meta: { title: '进口信用证开立' } },
{ path: 'litsel', component: Litsel, name: 'Litsel', meta: { title: '进口信用证入口交易' } },
//{ path: 'Infdid', component: Infdid, name: 'Infdid', meta: { title: '买方信用证交易查询' } },
{ path: 'Inflid', component: Inflid, name: 'Inflid', meta: { title: '进口信用证查询' } },
{ path: 'Infusr', component: Infusr, name: 'Infusr', meta: { title: '柜员查询' } },
]
export default BusRouter
<template>
<div class="eibs-tab">
<c-col :span="24">
<el-form-item label="货物/服务名称" prop="godnam">
<c-input
v-model="model.godnam"
maxlength="40"
style="width: 30%"
placeholder="货物服务名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="特殊规定" prop="litameadv">
<c-select
v-model="model.litameadv"
style="width: 30%"
placeholder="请选择特殊规定"
>
<el-option
v-for="item in codes.litameadv"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="ameadvrmk">
<c-input
:disabled="model.litameadv == '无特殊规定'"
type="textarea"
v-model="model.ameadvrmk"
:rows="4"
maxlength="68"
style="width: 30%"
show-word-limit
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="开证行" prop="bchname">
<c-input
v-model="model.bchname"
maxlength="40"
style="width: 30%"
placeholder="请输入branch name"
></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import commonProcess from "~/mixin/commonProcess";
import Event from "~/model/Ditopn/Event";
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<template>
<div>
<c-col :span="24">
<c-col :span="6" class="suffix-title">
币种
</c-col>
<c-col :span="18">
<c-select v-model="model.cur" style="width:100%" placeholder="请选择">
<el-option
v-for="item in codes.curtxt"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</c-select>
</c-col>
</c-col>
<c-col :span="6" class="suffix-title">
原始金额
</c-col>
<c-col :span="18">
<c-input v-model="model.oldamt" maxlength="32" placeholder="请输入"></c-input>
</c-col>
<c-col :span="6" class="suffix-title">
变动金额
</c-col>
<c-col :span="18">
<c-input v-model="model.chgamt" maxlength="32" placeholder="请输入"></c-input>
</c-col>
<c-col :span="6" class="suffix-title">
金额
</c-col>
<c-col :span="18">
<c-input v-model="model.amt" maxlength="32" placeholder="请输入"></c-input>
</c-col>
<c-col :span="6" class="suffix-title">
结算账号
</c-col>
<c-col :span="18">
<c-input v-model="model.cusact" maxlength="32" placeholder="请输入"></c-input>
</c-col>
<c-col :span="6" class="suffix-title">
保证金账号
</c-col>
<c-col :span="18">
<c-input v-model="model.ccvact" maxlength="32" placeholder="请输入"></c-input>
</c-col>
<c-col :span="6" class="suffix-title">
记账
</c-col>
<c-col :span="18">
<c-select v-model="model.gleflg" style="width:100%" placeholder="请选择">
<el-option
v-for="item in codes.onsel"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</c-select>
</c-col>
</div>
</template>
<script>
export default {
inject: ['root'],
props: ['model', 'codes']
}
</script>
<style scoped>
.suffix-title {
line-height: 40px;
}
[class*=c-col-] {
height: 50px;
}
</style>
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="XMLPanel litapll1的内置block">
<c-input type="textarea" v-model="model.litapll1blk" maxlength="200" show-word-limit placeholder="请输入XMLPanel litapll1的内置block" ></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ditopn/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
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