Commit 6d7468bf by panziyi

Merge remote-tracking branch 'origin/development-202206' into development-202206

No related merge requests found
......@@ -70,15 +70,17 @@ export default {
return arr;
},
tableData() {
const temp = this.column;
const res = [];
return this.list.map((row) => {
const res = {}
for (let i = 0; i < temp.length; i++) {
res[temp[i]] = row[temp[i]];
}
return res;
});
// const temp = this.column;
// const res = [];
// return this.list.map((row) => {
// const res = {}
// for (let i = 0; i < temp.length; i++) {
// res[temp[i]] = row[temp[i]];
// }
// return res;
// });
return this.list;
},
},
data() {
......
......@@ -676,6 +676,10 @@ const CodeTable = {
{ label: "不适用", value: "N" },
{ label: "是", value: "Y" },
],
bccls8:[
{ label: "公司要求全新文本,原保函正本已退回", value: "A" },
{ label: "保函正本未退回,请出具简要修改格式", value: "B" },
],
bcdselflg: [
{ label: "单据展期", value: "9" },
{ label: "单据注销", value: "3" },
......@@ -4110,10 +4114,7 @@ const CodeTable = {
],
// lcrtyp: [
// { label: "可转让", value: "IT" },
// { label: "不可转让", value: "I" },
// ],
lcrtyp: [
{ label: "可转让", value: "IT" },
{ label: "不可转让", value: "I" },
......@@ -4189,7 +4190,7 @@ const CodeTable = {
advtyp: [
{ label: "Advice of Discrepancy (MT750)", value: "750" },
{ label: "Advice of Payment (MT754)", value: "754" },
{ label: "Other", value: "oth" },
{ label: "Other", value: "OTH" },
],
limittype: [
......@@ -6736,6 +6737,11 @@ const CodeTable = {
{ label: "Beneficiary Side", value: "BENE" },
{ label: "Other", value: "OTHR" }
],
getame_chato:[
{ label: "Applicant Side", value: "APPL" },
{ label: "Beneficiary Side", value: "BENE" },
{ label: "Other", value: "OTHR" },
],
bgftktyp: [
{ label: "不规范的运份单据", value: "1" },
{ label: "远期议付", value: "2" },
......@@ -6772,18 +6778,27 @@ const CodeTable = {
{ label: "Refund Guarantee", value: "00000006" },
{ label: "Advance/Down Payment Guarantee", value: "00000203" },
{ label: "performance Gua for Project contracting", value: "00000202" },
{ label: "blank text", value: "" },
{ label: "blank text", value: "<NILTXT>" },
],
gtxinr1: [
{ label: "LMTEST01", value: "00000215" },
{ label: "blank text", value: "" },
{ label: "blank text", value: "<NILTXT>" },
],
gtxinr2: [
{ label: "LMTEST02", value: "00000216" },
{ label: "blank text", value: "<NILTXT>" },
],
gtxinr3: [
{ label: "blank text", value: "" },
{ label: "blank text", value: "<NILTXT>" },
],
gtxinr4:[
{ label: "Performance Guaratee2", value: "00000008" },
{ label: "Refund Guarantee", value: "00000006" },
{ label: "Advance/Down Payment Guarantee", value: "00000203" },
{ label: "performance Gua for Project contracting", value: "00000202" },
{ label: "LMTEST01", value: "00000215" },
{ label: "LMTEST02", value: "00000216" },
{ label: "blank text", value: "<NILTXT>" },
],
docstabot: [
{ label: "Collection pre-opened", value: "A" },
......@@ -6866,6 +6881,12 @@ const CodeTable = {
{ label: "Standby letter of credit", value: "STBY" },
{ label: "OTHER", value: "DEPU" },
],
legfrm2: [
{label:"Guarantee (Standard)",value:"STD" },
{ label: "Demand guarantee", value: "DGAR" },
{ label: "Standby letter of credit", value: "STBY" },
{ label: "OTHER", value: "DEPU" },
],
deloric: [
{ label: "By collection", value: "COLL" },
{ label: "By courier (i. e. Fedex, DHL, UPS)", value: "COUR" },
......@@ -6881,6 +6902,12 @@ const CodeTable = {
{ label: "ISPR The undertaking is subject to International Standby Practices ISP", value: "ISPR" },
{ label: "NONE The undertaking is not subject to any set of rule", value: "NONE" },
],
apprulc1: [
{ label: "UCPR The undertaking is subject to the UCP Rules for Documentary Credi", value: "UCPR" },
{ label: "OTHR The undertaking is subject to another set of rules, see Narrative", value: "OTHR" },
{ label: "URDG The undertaking is subject to the ICC Rules for Demand Guarantees", value: "URDG" },
{ label: "NONE The undertaking is not subject to any set of rule", value: "NONE" },
],
ptydbt_setpan: [
{ label: "OWN Ourselves", value: "OWN" },
{ label: "Advising Bank", value: "ADV" },
......@@ -6933,11 +6960,20 @@ const CodeTable = {
{ label: "Direct (we issue)", value: "OL" },
{ label: "Indirect (please issue)", value: "OC" },
],
hndtyp9:[
{ label: "Advise", value: "FA" },
{ label: "Receive to issue", value: "FR" },
],
demand:[
{label:"Multiple & partial demands not permitted",value:"NMPT"},
{label:"Multiple demands not permitted",value:"NMLT"},
{label:"Partial demands not permitted",value:"NPRT"},
],
demandc:[
{label:"Multiple & partial demands not permitted",value:"NMPT"},
{label:"Multiple demands not permitted",value:"NMLT"},
{label:"Partial demands not permitted",value:"NPRT"},
],
legfrmc1: [
{ label: "Demand Guarantee", value: "DGAR" },
{ label: "Standby Letter of Credit", value: "STBY" },
......@@ -6993,6 +7029,7 @@ const CodeTable = {
ramrol:[
{label:"Applicant",value:"APL"},
{label:"Beneficiary",value:"BEN"},
{label:"Issuing Bank",value:"ISS"},
],
redrea:[
{label:"Beneficiary",value:"BUFI"},
......@@ -7055,5 +7092,29 @@ const CodeTable = {
{label:"Applicant",value:"APPL" },
{label:"Obligor",value:"OBLI" },
],
getame_delto:[
{label:"Beneficiary",value:"BENE" },
{label:"Specified address",value:"OTHR" },
{label:"Applicant",value:"APPL" },
],
detdrv_deltol:[
{label:"Beneficiary",value:"BENE" },
{label:"Specified address",value:"OTHR" },
],
prsdoc:[
{label:"增值税发票",value:"增值税发票" },
{label:"发票",value:"发票" },
{label:"装箱单",value:"装箱单" },
{label:"空运单",value:"空运单" },
{label:"海运提单",value:"海运提单" },
{label:"铁路运单",value:"铁路运单" },
{label:"货物收据",value:"货物收据" },
{label:"邮政收据",value:"邮政收据" },
],
cnfdet:[
{label:"MAYADD",value:"A"},
{label:"CONFIRM",value:"C"},
{label:"WITHOUT",value:"W"},
]
}
export default CodeTable;
......@@ -320,7 +320,7 @@ export default {
/**
* 货物条款等非机构栏位回填
* @param {Object} val 选种行的值
* @param {Object} val 选种行的值,按钮的值
* @param {Object} url 字段路劲 需要回填的字段路劲
* @param {Object} url 对应字段值是否覆盖 ,需要为true,否则合并叠加
* @param {String} rulePath 路径
......
......@@ -70,18 +70,18 @@ export default {
{max: 40,message:"长度不能超过40"}
],
"setmod.docamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
// "setmod.docamt":[
// {type: "number", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"bcdgrp.rec.accdat":[
{type: "string", required: false, message: "输入正确的日期"}
],
"bcdgrp.blk.colins":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 165,message:"长度不能超过165"}
],
......@@ -91,7 +91,7 @@ export default {
],
"bcdgrp.blk.dftins":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 165,message:"长度不能超过165"}
],
......@@ -203,7 +203,7 @@ export default {
],
"bcdgrp.co2.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 150,message:"长度不能超过150"}
],
"bcdgrp.co2.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -211,7 +211,7 @@ export default {
],
"bcdgrp.drr.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 150,message:"长度不能超过150"}
],
"bcdgrp.drr.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -225,11 +225,11 @@ export default {
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"liaall.outamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
// "liaall.outamt":[
// {type: "number", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"liaall.outpct":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
......@@ -238,23 +238,23 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"liaall.misamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
// "liaall.misamt":[
// {type: "number", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"liaall.exttotoldamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.exttotamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
// "liaall.exttotoldamt":[
// {type: "number", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
// "liaall.exttotamt":[
// {type: "number", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"setmod.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
......
......@@ -92,7 +92,7 @@ export default {
],
"strinf":[
//{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
{max: 1750,message:"长度不能超过1750"}
],
......
import Utils from "~/utils"
/**
* Betcan Check规则
*/
let checkObj = {
"liaall.misamt" :null,
"liaall.limmod.limpts.oth.pts.extkey" :null,
"liaall.limmod.ownref" :null,
"liaall.limmod.ecifno" :null,
"liaall.limmod.limpts.oth.pts.nam" :null,
"setmod.dspflg" :null,
"liaall.limmod.limpts.wrk.pts.nam" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null,
"mtabut.coninf.conexedat" :null,
"liaall.limmod.limpts.nonrevflg1" :null,
"setmod.docamt" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Betcan Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"trnmod.trndoc.condocstm" :Utils.defaultFunction,
"trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.extkey" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
"bedgrp.rec.ownref" :Utils.defaultFunction,
"bedgrp.ben.pts.nam" :Utils.defaultFunction,
"liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"ledgrp.rec.ownref" :Utils.defaultFunction,
"bedgrp.iss.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction,
"bedgrp.apl.pts.nam" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onLiaallButmisamt(){
let rtnmsg = await this.executeRule("liaall.butmisamt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLiaallButmissig(){
let rtnmsg = await this.executeRule("liaall.butmissig")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSetmodDet(){
let rtnmsg = await this.executeRule("setmod.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButshw(){
let rtnmsg = await this.executeRule("trndoc.butshw")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButadd(){
let rtnmsg = await this.executeRule("trndoc.butadd")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButnew(){
let rtnmsg = await this.executeRule("trndoc.butnew")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButattto(){
let rtnmsg = await this.executeRule("trndoc.butattto")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButdel(){
let rtnmsg = await this.executeRule("trndoc.butdel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButatt(){
let rtnmsg = await this.executeRule("trndoc.butatt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onWrkpDet(){
let rtnmsg = await this.executeRule("wrkp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOthpDet(){
let rtnmsg = await this.executeRule("othp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimptsGet1(){
let rtnmsg = await this.executeRule("limpts.get1")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimptsGet2(){
let rtnmsg = await this.executeRule("limpts.get2")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimmodTrycal(){
let rtnmsg = await this.executeRule("limmod.trycal")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "../Public" //引入公共面板
export default class Betcan{
constructor () {
this.data = {
setmod: new Pub().data.Setmod, //帐务、分录 加入公共面板账务字段
mtabut: new Pub().data.Mtabut, //附言
trnmod: new Pub().data.Trnmod, //面函 加入公共面板面函的字段
liaall: new Pub().data.Liaall,//表外
betapll1blk:"",
betbenl1blk:"",
strinf:"", // Narrative .strinf
bedgrp:{
rec:{
ownref:"", // 单据编号 .bedgrp.rec.ownref
nam:"", // Externally Displayed Name to Identify the Contract .bedgrp.rec.nam
doctypcod:"", // 单据类型 .bedgrp.rec.doctypcod
matdat:"", // Maturity Date .bedgrp.rec.matdat
orddat:"", // 到期日 .bedgrp.rec.orddat
rcvdat:"", // 到单日期 .bedgrp.rec.rcvdat
predat:"", // Presentation Date .bedgrp.rec.predat
docsta:"", // 单据状态 .bedgrp.rec.docsta
},
cbs:{
max:{
cur:"", // 单据金额 .bedgrp.cbs.max.cur
amt:"", // 单据金额 .bedgrp.cbs.max.amt
},
opn1:{
cur:"", // 单据余额 .bedgrp.cbs.opn1.cur
amt:"", // Balance .bedgrp.cbs.opn1.amt
},
opn2:{
amt:"", // Balance .bedgrp.cbs.opn2.amt
},
},
ben:{
pts:new Pts().data,
},
iss:{
pts:new Pts().data,
},
apl:{
pts:new Pts().data,
},
},
betp0:{
recget:{
sdamod:{
seainf:"", // .betp0.recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .betp0.recget.sdamod.dadsnd
},
},
ledget:{
sdamod:{
seainf:"", // .betp0.ledget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .betp0.ledget.sdamod.dadsnd
},
},
matp:{
mattxtlab:"", // Label for MATTXT .betp0.matp.mattxtlab
},
},
ledgrp:{
rec:{
ownref:"", // 参考号 .ledgrp.rec.ownref
},
cbs:{
opn1:{
cur:"", // Currency .ledgrp.cbs.opn1.cur
amt:"", // Balance .ledgrp.cbs.opn1.amt
},
},
},
sndmsg:"", // Send Message .sndmsg
rebkpflg:"", // Booking Procedure .rebkpflg
// liaall:{
// misamt:"", // Amount not yet assigned .liaall.misamt
// concur:"", // External Booking Amount .liaall.concur
// outpct:"", // Sight Amount Percentage .liaall.outpct
// outamt:"", // Sight Amount .liaall.outamt
// exttotoldamt:"", // Old Amount booked externally .liaall.exttotoldamt
// exttotamt:"", // Total booking amount external assinged .liaall.exttotamt
// limmod:{
// limpts:{
// wrklab:"", // Label .liaall.limmod.limpts.wrklab
// othlab:"", // Label .liaall.limmod.limpts.othlab
// othlabss:"", // Label .liaall.limmod.limpts.othlabss
// wrk:{
// pts:new Pts().data,
// },
// oth:{
// pts:new Pts().data,
// },
// lsh:"", // 合同流�'号 .liaall.limmod.limpts.lsh
// nonrevflg1:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg1
// pfcod1:"", // 合同流�'号 .liaall.limmod.limpts.pfcod1
// nonrevflg2:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg2
// pfcod2:"", // 合同流�'号 .liaall.limmod.limpts.pfcod2
// },
// wrkp:{
// ptsget:{
// sdamod:{
// dadsnd:"", // Drag Drop Sender .liaall.limmod.wrkp.ptsget.sdamod.dadsnd
// seainf:"", // .liaall.limmod.wrkp.ptsget.sdamod.seainf
// },
// },
// },
// othp:{
// ptsget:{
// sdamod:{
// dadsnd:"", // Drag Drop Sender .liaall.limmod.othp.ptsget.sdamod.dadsnd
// seainf:"", // .liaall.limmod.othp.ptsget.sdamod.seainf
// },
// },
// },
// ownref:"", // 国结业务编号 .liaall.limmod.ownref
// comamt:"", // 业务余额 .liaall.limmod.comamt
// ccvamt:"", // 保证金余额 .liaall.limmod.ccvamt
// ecifno:"", // ECIFNO .liaall.limmod.ecifno
// },
// },
// setmod:{
// docamttyplab:"", // settled amount description as label .setmod.docamttyplab
// retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
// ref:"", // our reference .setmod.ref
// doccur:"", // document currency .setmod.doccur
// docamt:"", // document amount .setmod.docamt
// dspflg:"", // Type of settlement .setmod.dspflg
// xreflg:"", // Recalculate Rates .setmod.xreflg
// setglg:{
// labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg
// },
// zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
// zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
// },
// mtabut:{
// coninf:{
// oitinf:{
// labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
// oit:{
// inftxt:"", // Infotext .mtabut.coninf.oitinf.oit.inftxt
// inflev:"", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
// },
// },
// oitset:{
// labinftxt:"", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
// oit:{
// inftxt:"", // Infotext .mtabut.coninf.oitset.oit.inftxt
// inflev:"", // Infotext Level .mtabut.coninf.oitset.oit.inflev
// },
// },
// conexedat:"", // 执行日期 .mtabut.coninf.conexedat
// usr:{
// extkey:"", // User ID .mtabut.coninf.usr.extkey
// },
// },
// },
// trnmod:{
// trndoc:{
// advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel
// amdnam:"", // AMDNAM .trnmod.trndoc.amdnam
// advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc
// advnam:"", // 国内证落款 .trnmod.trndoc.advnam
// amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl
// doclbl:"", // Lable for CONDOCSTM .trnmod.trndoc.doclbl
// doctrestm:"", // Document tree .trnmod.trndoc.doctrestm
// shwinc:"", // Show Incoming Messages .trnmod.trndoc.shwinc
// shwout:"", // Show Outgoing Messages .trnmod.trndoc.shwout
// condocstm:"", // Connected Documents .trnmod.trndoc.condocstm
// rcvatt:{
// seainf:"", // .trnmod.trndoc.rcvatt.seainf
// },
// filrecv:"", // File Receiver .trnmod.trndoc.filrecv
// },
// },
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
......@@ -18,7 +18,7 @@ export default {
"ledgrp.cbs.opn1.amt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{ pattern: /(^-?\d+$)|(^\.\d{1,3}$)|(^-?\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }//同属适用于正负数
],
"betp.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
......
import Utils from "~/utils"
/**
* Betsnd Check规则
*/
let checkObj = {
"liaall.misamt" :null,
"rmbclm.acwacw.pts.extkey" :null,
"bedgrp.oth.namelc" :null,
"cnybop.cnylib.doccurdate" :null,
"bedgrp.prb.pts.nam" :null,
"bedgrp.doc.namelc" :null,
"cnybop.outflg" :null,
"cnybop.cnylib.sbankorgcode" :null,
"bedgrp.blk.comcon" :null,
"liaall.limmod.limpts.oth.pts.nam" :null,
"setmod.dspflg" :null,
"cnybop.cnylib.stermtype" :null,
"bedgrp.doc.pts.extkey" :null,
"bedgrp.prb.adrelc" :null,
"cnybop.cnylib.currencycode" :null,
"liaall.limmod.limpts.wrk.pts.nam" :null,
"cnybop.cnyflg" :null,
"rmbclm.bebbeb.adrelc" :null,
"cnybop.cnylib.dcreditenddate" :null,
"rmbclm.acwacw.namelc" :null,
"bedgrp.prb.pts.extkey" :null,
"bedgrp.oth.pts.adrblk" :null,
"bedgrp.rec.rcvdat" :null,
"rmbclm.rmbrmb.pts.adrblk" :null,
"cnybop.cnylib.famt" :null,
"cnybop.saddwordlib" :null,
"cnybop.cnylib.stransattr" :null,
"bedgrp.rec.disdat" :null,
"cnybop.sforeignorgname" :null,
"rmbclm.rmbrmb.namelc" :null,
"rmbclm.bebbeb.pts.extkey" :null,
"liaall.limmod.limpts.oth.pts.extkey" :null,
"rmbclm.rmbrmb.pts.extkey" :null,
"liaall.limmod.ownref" :null,
"bedgrp.apl.pts.nam" :null,
"liaall.limmod.ecifno" :null,
"bedgrp.oth.adrelc" :null,
"bedgrp.blk.benref" :null,
"bedgrp.prb.namelc" :null,
"bedgrp.doc.pts.adrblk" :null,
"cnybop.traflg" :null,
"cnybop.sbankname" :null,
"rmbclm.acwacw.pts.adrblk" :null,
"bedgrp.blk.setinsbe" :null,
"bedsnd.addphr" :null,
"bedgrp.blk.docdis" :null,
"cnybop.cnylib.stranstype" :null,
"cnybop.cnylib.sbanktrano" :null,
"bedgrp.doc.adrelc" :null,
"bedsnd.usadet" :null,
"cnybop.cnylib.sforbankswiftbic" :null,
"bedgrp.rec.predat" :null,
"cnybop.cnylib.denddate" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null,
"bedgrp.blk.intdis" :null,
"bedgrp.rec.docrol" :null,
"cnybop.sorgname" :null,
"mtabut.coninf.conexedat" :null,
"liaall.limmod.limpts.nonrevflg1" :null,
"rmbclm.bebbeb.namelc" :null,
"bedgrp.prb.pts.adrblk" :null,
"cnybop.libflg" :null,
"cnybop.cnylib.sorgcode" :null,
"bedgrp.oth.pts.extkey" :null,
"cnybop.fexchangeamt" :null,
"setmod.docamt" :null,
"rmbclm.rmbrmb.adrelc" :null,
"rmbclm.bebbeb.pts.adrblk" :null,
"betp.furide" :null,
"rmbclm.acwacw.adrelc" :null,
"cnybop.cnylib.sforeigncountrycode" :null,
"bedgrp.iss.pts.nam" :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
/**
* Betsnd Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction,
"cnybop.libflg" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"bedgrp.prb.pts.extkey" :Utils.defaultFunction,
"rmbclm.rmbrmb.pts.extkey" :Utils.defaultFunction,
"rmbclm.rmbrmb.adrelc" :Utils.defaultFunction,
"rmbclm.rmbrmb.namelc" :Utils.defaultFunction,
"rmbclm.rmbrmb.dbfadrblkcn" :Utils.defaultFunction,
"trnmod.trndoc.condocstm" :Utils.defaultFunction,
"trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.extkey" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
"bedgrp.cbs.max.cur" :Utils.defaultFunction,
"rmbclm.acwacw.pts.extkey" :Utils.defaultFunction,
"rmbclm.acwacw.adrelc" :Utils.defaultFunction,
"rmbclm.acwacw.namelc" :Utils.defaultFunction,
"rmbclm.acwacw.dbfadrblkcn" :Utils.defaultFunction,
"rmbclm.acwacw.pts.adrblk" :Utils.defaultFunction,
"bedgrp.rec.ownref" :Utils.defaultFunction,
"cnybop.vouflg" :Utils.defaultFunction,
"bedgrp.blk.docdis" :Utils.defaultFunction,
"bedgrp.blk.docdisflg" :Utils.defaultFunction,
"bedgrp.doc.pts.adrblk" :Utils.defaultFunction,
"bedgrp.rec.docprbrol" :Utils.defaultFunction,
"bedgrp.oth.pts.extkey" :Utils.defaultFunction,
"bedgrp.oth.adrelc" :Utils.defaultFunction,
"bedgrp.oth.namelc" :Utils.defaultFunction,
"bedgrp.oth.dbfadrblkcn" :Utils.defaultFunction,
"bedgrp.oth.pts.adrblk" :Utils.defaultFunction,
"rmbclm.bebbeb.pts.extkey" :Utils.defaultFunction,
"rmbclm.bebbeb.adrelc" :Utils.defaultFunction,
"rmbclm.bebbeb.namelc" :Utils.defaultFunction,
"rmbclm.bebbeb.dbfadrblkcn" :Utils.defaultFunction,
"cnybop.traflg" :Utils.defaultFunction,
"rmbclm.bebbeb.pts.adrblk" :Utils.defaultFunction,
"bedgrp.blk.benref" :Utils.defaultFunction,
"bedgrp.doc.pts.extkey" :Utils.defaultFunction,
"bedgrp.doc.adrelc" :Utils.defaultFunction,
"bedgrp.doc.namelc" :Utils.defaultFunction,
"bedgrp.doc.dbfadrblkcn" :Utils.defaultFunction,
"bedgrp.prb.adrelc" :Utils.defaultFunction,
"bedgrp.prb.namelc" :Utils.defaultFunction,
"bedgrp.prb.dbfadrblkcn" :Utils.defaultFunction,
"bedgrp.prb.pts.adrblk" :Utils.defaultFunction,
"betp.cre752flg" :Utils.defaultFunction,
"liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"rmbclm.rmbrmb.pts.adrblk" :Utils.defaultFunction,
"bedgrp.rec.docrolflg" :Utils.defaultFunction,
"bedgrp.iss.pts.nam" :Utils.defaultFunction,
"bedgrp.blk.matper" :Utils.defaultFunction,
"bedgrp.rec.doctypcod" :Utils.defaultFunction,
"bedgrp.rec.matdat" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"bedgrp.prb.pts.nam" :Utils.defaultFunction,
"betp.folwupopt" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"bedgrp.rec.payrol" :Utils.defaultFunction,
"ameadrflg" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction,
"bedgrp.apl.pts.nam" :Utils.defaultFunction,
"cnybop.cnyflg" :Utils.defaultFunction,
"bedgrp.cbs.max.amt" :Utils.defaultFunction,
"cnybop.cnylib.sforeigncountrycode" :Utils.defaultFunction,
"bedgrp.rec.rcvdat" :Utils.defaultFunction,
"bedgrp.rec.docsta" :Utils.defaultFunction,
"bedgrp.rec.disdat" :Utils.defaultFunction,
"ledgrp.rec.ownref" :Utils.defaultFunction,
"rmbclmlate" :Utils.defaultFunction,
"rmbclmnow" :Utils.defaultFunction,
"bedgrp.rec.shpdat" :Utils.defaultFunction,
"ledgrp.cbs.opn1.amt" :Utils.defaultFunction,
"bedgrp.cbs.opn1.amt" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"rmbclm.rmbrol" :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,
}
//你可以添加自动default处理
......@@ -18,7 +18,7 @@ export default {
"dedgrp.cbs.opn1.amt": [
{ type: "string", required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{ pattern: /(^-?\d+$)|(^\.\d{1,3}$)|(^-?\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bftp.recget.sdamod.dadsnd": [
{ type: "string", required: false, message: "必输项" },
......
......@@ -150,7 +150,7 @@ export default {
"dedgrp.cbs.opn1.amt": [
{ type: "string" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{ pattern: /(^-?\d+$)|(^\.\d{1,3}$)|(^-?\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bftp.recget.sdamod.dadsnd": [
{ type: "string", required: false, message: "必输项" },
......
......@@ -74,7 +74,7 @@ export default {
],
"strinf":[
//{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
{max: 1750,message:"长度不能超过1750"}
],
"setmod.ref":[
......
......@@ -35,7 +35,7 @@ export default {
"bodgrp.drr.pts.adrblk" :Utils.defaultFunction,
"bodgrp.cbs.max.amt" :Utils.defaultFunction,
"bodgrp.rec.doctypcod" :Utils.defaultFunction,
"bodgrp.cbs.max.cur" :Utils.defaultFunction,
// "bodgrp.cbs.max.cur" :Utils.defaultFunction,
"bodgrp.rec.shpdat" :Utils.defaultFunction,
"bodgrp.rec.matpercnt" :Utils.defaultFunction,
"bodgrp.rec.matperbeg" :Utils.defaultFunction,
......
......@@ -6,7 +6,7 @@ export default {
let rtnmsg = await this.executeRule("botp.butgetref")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.model.bodgrp.rec.ownref = rtnmsg.data.bodgrp_rec_ownref
this.updateModel(rtnmsg.data)
this.$message({
type: 'success',
message: '获取成功!'
......
......@@ -360,4 +360,7 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bodgrp.rec.dircolflg":[
{type: "string", required: false,message:"???"}
]
}
\ No newline at end of file
......@@ -254,7 +254,7 @@ export default {
],
"lendoc.account":[
//{type: "string", required: true, message: "必输项"},
{max: 25,message:"长度不能超过25"}
{max: 75,message:"长度不能超过75"}
],
"lendoc.vercerref":[
......
......@@ -423,7 +423,7 @@ export default {
let rtnmsg = await this.executeRule("bptmod.butgetref")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.model.bpdgrp.rec.ownref = rtnmsg.data.bpdgrp_rec_ownref
this.updateModel(rtnmsg.data)
this.$message({
type: 'success',
message: '获取成功!'
......
......@@ -7,7 +7,7 @@ export default {
let rtnmsg = await this.executeRule("bptmod.finmod.dinmod.dget")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.model.bptmod.finmod.dinmod.dinjdm = rtnmsg.data.bptmod_finmod_dinmod_dinjdm
this.updateModel(rtnmsg.data)
this.$message({
type: 'success',
message: '获取成功!'
......@@ -23,7 +23,7 @@ export default {
let rtnmsg = await this.executeRule("bptmod.butgetref")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.model.bpdgrp.rec.ownref = rtnmsg.data.bpdgrp_rec_ownref
this.updateModel(rtnmsg.data)
this.$message({
type: 'success',
message: '获取成功!'
......
......@@ -12,7 +12,7 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"lidgrp.rec.expdat":[
{type: "date", required: false, message: "输入正确的日期"}
//{type: "date", required: false, message: "输入正确的日期"}
],
"lidgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"},
......@@ -63,10 +63,10 @@ export default {
{max: 40,message:"长度不能超过40"}
],
"brdgrp.rec.rcvdat":[
{type: "date", required: false, message: "输入正确的日期"}
//{type: "date", required: false, message: "输入正确的日期"}
],
"brdgrp.rec.advdat":[
{type: "date", required: false, message: "输入正确的日期"}
//{type: "date", required: false, message: "输入正确的日期"}
],
"brdgrp.ben.pts.ref":[
{type: "string", required: false, message: "必输项"},
......@@ -104,7 +104,7 @@ export default {
{max: 16,message:"长度不能超过16"}
],
"brdgrp.rec.disdat":[
{type: "date", required: true, message: "输入正确的日期"}
//{type: "date", required: true, message: "输入正确的日期"}
],
"brdgrp.prb.pts.extkey":[
{type: "string", required: false, message: "必输项"},
......@@ -215,18 +215,18 @@ export default {
"mtabut.coninf.oitinf.oit.inftxt":[
{type: "string", required: false, message: "必输项"},
{max: 60,message:"长度不能超过60"}
//{type: "string", required: false, message: "必输项"},
//{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.oitset.oit.inftxt":[
{type: "string", required: false, message: "必输项"},
{max: 60,message:"长度不能超过60"}
//{type: "string", required: false, message: "必输项"},
//{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.conexedat":[
{type: "date", required: false, message: "输入正确的日期"}
//{type: "date", required: false, message: "输入正确的日期"}
],
"mtabut.coninf.usr.extkey":[
{type: "string", required: false, message: "必输项"},
......
......@@ -55,17 +55,17 @@ export default {
{max: 40,message:"长度不能超过40"}
],
"lidgrp.rec.opndat":[
{type: "date", required: false, message: "输入正确的日期"}
//{type: "date", required: false, message: "输入正确的日期"}
],
"lidgrp.rec.shpdat":[
{type: "date", required: false, message: "输入正确的日期"}
//{type: "date", required: false, message: "输入正确的日期"}
],
"brdgrp.prb.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"lidgrp.rec.expdat":[
{type: "date", required: false, message: "输入正确的日期"}
//{type: "date", required: false, message: "输入正确的日期"}
],
"lidgrp.rec.expplc":[
{type: "string", required: false, message: "必输项"},
......@@ -112,10 +112,10 @@ export default {
],
"brdgrp.rec.relgoddat":[
{type: "date", required: false, message: "输入正确的日期"}
//{type: "date", required: false, message: "输入正确的日期"}
],
"brdgrp.rec.expdat":[
{type: "date", required: false, message: "输入正确的日期"}
//{type: "date", required: false, message: "输入正确的日期"}
],
"brdgrp.blk.carnam":[
{type: "string", required: false, message: "必输项"},
......@@ -132,11 +132,11 @@ export default {
],
"brdgrp.rec.tradat":[
{type: "date", required: false, message: "输入正确的日期"}
//{type: "date", required: false, message: "输入正确的日期"}
],
"brdgrp.blk.relstoadr":[
{type: "string", required: true, message: "必输项"},
{max: 180,message:"长度不能超过180"}
//{type: "string", required: true, message: "必输项"},
//{max: 180,message:"长度不能超过180"}
],
"brdgrp.blk.vesnam":[
......@@ -169,12 +169,12 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"brdgrp.blk.roggod":[
{type: "string", required: true, message: "必输项"},
{max: 40,message:"长度不能超过40"}
//{type: "string", required: true, message: "必输项"},
//{max: 40,message:"长度不能超过40"}
],
"brdgrp.shp.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
//{type: "string", required: true, message: "必输项"},
//{max: 35,message:"长度不能超过35"}
],
"brdgrp.shp.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -185,8 +185,8 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"brdgrp.blk.notpty":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
//{type: "string", required: true, message: "必输项"},
//{max: 35,message:"长度不能超过35"}
],
"brdgrp.blk.porlod":[
{type: "string", required: false, message: "必输项"},
......@@ -250,18 +250,18 @@ export default {
"mtabut.coninf.oitinf.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
//{type: "string", required: true, message: "必输项"},
//{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.oitset.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
//{type: "string", required: true, message: "必输项"},
//{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.conexedat":[
{type: "date", required: false, message: "输入正确的日期"}
//{type: "date", required: false, message: "输入正确的日期"}
],
"mtabut.coninf.usr.extkey":[
{type: "string", required: false, message: "必输项"},
......
......@@ -12,16 +12,16 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"lidgrp.rec.expdat":[
{type: "date", required: false, message: "输入正确的日期"}
//{type: "date", required: false, message: "输入正确的日期"}
],
"lidgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"lidgrp.cbs.opn1.amt":[
{required: true, message: "必输项"},
//{type: "string", required: true, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
//{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"brtp0.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
......@@ -41,7 +41,7 @@ export default {
],
"brdgrp.cbs.max.amt":[
{required: true, message: "必输项"},
//{type: "string", required: true, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -54,7 +54,7 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"brdgrp.cbs.opn1.amt":[
{required: true, message: "必输项"},
//{type: "string", required: true, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -63,10 +63,10 @@ export default {
{max: 40,message:"长度不能超过40"}
],
"brdgrp.rec.rcvdat":[
{type: "date", required: false, message: "输入正确的日期"}
//{type: "date", required: false, message: "输入正确的日期"}
],
"brdgrp.rec.advdat":[
{type: "date", required: false, message: "输入正确的日期"}
//{type: "date", required: false, message: "输入正确的日期"}
],
"brdgrp.ben.pts.ref":[
{type: "string", required: false, message: "必输项"},
......@@ -91,8 +91,8 @@ export default {
{max: 40,message:"长度不能超过40"}
],
"strinf":[
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
//{type: "string", required: true, message: "必输项"},
{max: 1750,message:"长度不能超过1750"}
],
......@@ -119,18 +119,18 @@ export default {
"mtabut.coninf.oitinf.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
//{type: "string", required: true, message: "必输项"},
//{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.oitset.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
//{type: "string", required: true, message: "必输项"},
//{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.conexedat":[
{type: "date", required: false, message: "输入正确的日期"}
//{type: "date", required: false, message: "输入正确的日期"}
],
"mtabut.coninf.usr.extkey":[
{type: "string", required: false, message: "必输项"},
......
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "../Public"
import Setmod from "../Public/Setmod"
......@@ -69,86 +70,11 @@ export default class Brtcan{
sndmsg:"", // Send Message .sndmsg
rebkpflg:"", // Booking Procedure .rebkpflg
setmod:new Setmod().data,
mtabut:{
coninf:{
oitinf:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitinf.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
},
},
oitset:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitset.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitset.oit.inflev
},
},
conexedat:"", // 执行日期 .mtabut.coninf.conexedat
usr:{
extkey:"", // User ID .mtabut.coninf.usr.extkey
},
},
},
trnmod:{
trndoc:{
advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel
amdnam:"", // AMDNAM .trnmod.trndoc.amdnam
advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc
advnam:"", // 国内证落款 .trnmod.trndoc.advnam
amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl
doclbl:"", // Lable for CONDOCSTM .trnmod.trndoc.doclbl
doctrestm:"", // Document tree .trnmod.trndoc.doctrestm
shwinc:"", // Show Incoming Messages .trnmod.trndoc.shwinc
shwout:"", // Show Outgoing Messages .trnmod.trndoc.shwout
condocstm:"", // Connected Documents .trnmod.trndoc.condocstm
rcvatt:{
seainf:"", // .trnmod.trndoc.rcvatt.seainf
},
filrecv:"", // File Receiver .trnmod.trndoc.filrecv
},
},
liaall:{
limmod:{
limpts:{
wrklab:"", // Label .liaall.limmod.limpts.wrklab
othlab:"", // Label .liaall.limmod.limpts.othlab
othlabss:"", // Label .liaall.limmod.limpts.othlabss
wrk:{
pts:new Pts().data,
},
oth:{
pts:new Pts().data,
},
lsh:"", // 合同流�'号 .liaall.limmod.limpts.lsh
nonrevflg1:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg1
pfcod1:"", // 合同流�'号 .liaall.limmod.limpts.pfcod1
nonrevflg2:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg2
pfcod2:"", // 合同流�'号 .liaall.limmod.limpts.pfcod2
},
wrkp:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .liaall.limmod.wrkp.ptsget.sdamod.dadsnd
seainf:"", // .liaall.limmod.wrkp.ptsget.sdamod.seainf
},
},
},
othp:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .liaall.limmod.othp.ptsget.sdamod.dadsnd
seainf:"", // .liaall.limmod.othp.ptsget.sdamod.seainf
},
},
},
ownref:"", // 国结业务编号 .liaall.limmod.ownref
comamt:"", // 业务余额 .liaall.limmod.comamt
ccvamt:"", // 保证金余额 .liaall.limmod.ccvamt
ecifno:"", // ECIFNO .liaall.limmod.ecifno
},
},
liaall: new Pub().data.Liaall,
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
pageId: "" // ctx的key
}
}
......
......@@ -12,7 +12,7 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"lidgrp.rec.expdat":[
{type: "date", required: false, message: "输入正确的日期"}
//{type: "date", required: false, message: "输入正确的日期"}
],
"lidgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"},
......@@ -67,10 +67,10 @@ export default {
{max: 40,message:"长度不能超过40"}
],
"brdgrp.rec.rcvdat":[
{type: "date", required: false, message: "输入正确的日期"}
//{type: "date", required: false, message: "输入正确的日期"}
],
"brdgrp.rec.advdat":[
{type: "date", required: false, message: "输入正确的日期"}
//{type: "date", required: false, message: "输入正确的日期"}
],
"brdgrp.ben.pts.ref":[
{type: "string", required: false, message: "必输项"},
......@@ -151,18 +151,18 @@ export default {
],
"mtabut.coninf.oitinf.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
//{type: "string", required: true, message: "必输项"},
//{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.oitset.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
//{type: "string", required: true, message: "必输项"},
//{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.conexedat":[
{type: "date", required: false, message: "输入正确的日期"}
//{type: "date", required: false, message: "输入正确的日期"}
],
"mtabut.coninf.usr.extkey":[
{type: "string", required: false, message: "必输项"},
......
......@@ -67,10 +67,10 @@ export default class Brtcsg{
mattxtlab:"", // Label for MATTXT .brtp0.matp.mattxtlab
},
},
liaall:pub.Liaall,
setmod:pub.Setmod,
mtabut:pub.Mtabut,
trnmod:pub.Trnmod,
liaall: new Pub().data.Liaall,
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
pageId: "" // ctx的key
}
}
......
......@@ -124,7 +124,7 @@ export default {
],
"oldbrdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -148,7 +148,7 @@ export default {
],
"oldbrdgrp.cbs.max2.amt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -217,7 +217,7 @@ export default {
"brdgrp.blk.docdis":[
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
{max: 3500,message:"长度不能超过3500"}
],
......@@ -271,7 +271,7 @@ export default {
{type: "date", required: false, message: "输入正确的日期"}
],
"brdgrp.blk.relstoadr":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 140,message:"长度不能超过140"}
],
......
......@@ -12,7 +12,7 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"lidgrp.rec.expdat":[
{type: "date", required: false, message: "输入正确的日期"}
//{type: "date", required: false, message: "输入正确的日期"}
],
"lidgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"},
......@@ -63,10 +63,10 @@ export default {
{max: 40,message:"长度不能超过40"}
],
"brdgrp.rec.rcvdat":[
{type: "date", required: false, message: "输入正确的日期"}
//{type: "date", required: false, message: "输入正确的日期"}
],
"brdgrp.rec.advdat":[
{type: "date", required: false, message: "输入正确的日期"}
//{type: "date", required: false, message: "输入正确的日期"}
],
"brdgrp.ben.pts.ref":[
{type: "string", required: false, message: "必输项"},
......@@ -99,10 +99,10 @@ export default {
"brdgrp.rec.orddat":[
{type: "date", required: false, message: "输入正确的日期"}
//{type: "date", required: false, message: "输入正确的日期"}
],
"swtdat":[
{type: "date", required: false, message: "输入正确的日期"}
//{type: "date", required: false, message: "输入正确的日期"}
],
"brtp.prbp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
......@@ -239,18 +239,18 @@ export default {
"mtabut.coninf.oitinf.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
//{type: "string", required: true, message: "必输项"},
//{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.oitset.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
//{type: "string", required: true, message: "必输项"},
//{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.conexedat":[
{type: "date", required: false, message: "输入正确的日期"}
//{type: "date", required: false, message: "输入正确的日期"}
],
"mtabut.coninf.usr.extkey":[
{type: "string", required: false, message: "必输项"},
......
......@@ -2,53 +2,86 @@ import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onSerbut(){
let rtnmsg = await this.executeRule("serbut")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
async onSerbut() {
let rtnmsg = await this.executeRule("serbut")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButprt(){
let rtnmsg = await this.executeRule("butprt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onButprt() {
let rtnmsg = await this.executeRule("butprt")
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 onDtlbut() {
let rtnmsg = await this.executeRule("dtlbut")
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 onExi() {
let rtnmsg = await this.executeRule("exi")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async handleSearch() {
this.stmData.data = [];
let opndatfrom = this.model.frmdat;
if (!opndatfrom || opndatfrom == '') {
this.$notify.error({ title: '错误', message: '查询开始日期必输!' });
return;
}
let opndatto = this.model.tildat;
if (!opndatto || opndatto == '') {
this.$notify.error({ title: '错误', message: '查询结束日期必输!' });
return;
}
let rtnmsg = await this.executeRule("infbut.searow")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.stmData.data = rtnmsg.data.infbut_dspstm.rows;
// this.updateModel(rtnmsg.data);
// this.stmData.data = rtnmsg.data.infbut_dspstm.rows;
//this.model.infbut.dspstm = rtnmsg.data.infbut_dspstm
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async handleReset() {
this.model.infcon.seaownref = ""
this.model.infcon.opndatfrom = new Date();
this.model.infcon.opndatto = new Date();
this.model.infcon.searef = "";
this.model.infcon.pty.extkey = "";
this.model.infcon.usr.extkey = "";
this.model.infcon.searol = "";
this.model.infcon.pty.nam = "";
this.model.infcon.seapty = "";
this.model.infcon.curtxt1 = "";
this.model.infcon.nam = "";
this.model.infcon.seaamtfr = "";
this.model.infcon.seaamtto = "";
this.model.infcon.seasta = "";
this.model.infcon.doctypcod = "";
},
}
\ No newline at end of file
......@@ -7,59 +7,98 @@ let checkObj = {
"cpdgrp.rmt.namelc" :null,
"cpdgrp.rmt.pts.extkey" :null,
"cpdgrp.ori.pts.adrblk" :null,
"bopmod.dbegrp.bas.othamt" :null,
"cpdgrp.pyb.pts.adrblk" :null,
"bopmod.dbegrp.bas.fcyacc" :null,
"attp.feetyp" :null,
"bopmod.dbegrp.bas.custnm" :null,
"bopmod.dbbgrp.bas.exrate" :null,
"attp.commet" :null,
"bopmod.dbbgrp.bas.fcyamt" :null,
"cpdgrp.orc.pts.extkey" :null,
"bopmod.dbegrp.bas.custype" :null,
"attp.orcadr" :null,
"bopmod.dbbgrp.bas.methods" :null,
"bopmod.dbbgrp.bas.idcode" :null,
"cpdgrp.pye.namelc" :null,
"bopmod.dbbgrp.bas.buscode" :null,
"bopmod.dbegrp.bas.oppacc" :null,
"bopmod.dbegrp.bas.oppuser" :null,
"attp.pyeadr" :null,
"attp.swftyp" :null,
"attp.pyenam" :null,
"attp.bustyp" :null,
"setmod.dspflg" :null,
"bopmod.dbbgrp.bas.lcyacc" :null,
"cpdgrp.orc.adrelc" :null,
"cpdgrp.pye.pts.extkey" :null,
"attp.orcnam" :null,
"bopmod.dbbgrp.bas.custype" :null,
"cpdgrp.med.pts.adrblk" :null,
"cpdgrp.pye.pts.adrblk" :null,
"cpdgrp.rec.trntyp" :null,
"cpdgrp.ori.namelc" :null,
"attp.paycountcode" :null,
"bopmod.dbbgrp.bas.fcyacc" :null,
"bopmod.dbbgrp.bas.txamt" :null,
"bopmod.dbbgrp.bas.othamt" :null,
"bopmod.dbegrp.bas.txccy" :null,
"bopmod.dbegrp.bas.exrate" :null,
"cpdgrp.pye.adrelc" :null,
"cpdgrp.rec.valdat" :null,
"cpdgrp.rmt.pts.adrblk" :null,
"cpdgrp.pyb.pts.extkey" :null,
"attp.payuil" :null,
"bopmod.dbegrp.bas.methods" :null,
"cpdgrp.rec.paytype" :null,
"cpdgrp.med.namelc" :null,
"cpdgrp.pyb.namelc" :null,
"cpdgrp.cbs.nom1.cur" :null,
"bopmod.dbegrp.bas.rptno" :null,
"bopmod.dbbgrp.bas.actiontype" :null,
"cpdgrp.orc.pts.adrblk" :null,
"cpdgrp.rec.ischktyp" :null,
"attp.resbch" :null,
"cpdgrp.rmt.adrelc" :null,
"bopmod.szflg" :null,
"bopmod.dbbgrp.bas.lcyamt" :null,
"bopmod.dbegrp.bas.actiondesc" :null,
"bopmod.dbbgrp.bas.othacc" :null,
"cpdgrp.orc.namelc" :null,
"bopmod.dbegrp.bas.custcod" :null,
"bopmod.dbbgrp.bas.actiondesc" :null,
"cpdgrp.med.pts.extkey" :null,
"cpdgrp.ori.adrelc" :null,
"bopmod.dbbgrp.bas.rptno" :null,
"cpdgrp.cbs.nom1.amt" :null,
"bopmod.dbbgrp.bas.custnm" :null,
"cpdgrp.ori.pts.extkey" :null,
"bopmod.dbegrp.bas.othacc" :null,
"bopmod.dbegrp.bas.lcyamt" :null,
"bopmod.dbegrp.bas.fcyamt" :null,
"cpdgrp.cbs.max.amt" :null,
"bopmod.dbegrp.bas.idcode" :null,
"cpdgrp.rec.pyeact" :null,
"bopmod.dbbgrp.bas.oppuser" :null,
"cpdgrp.rec.orcact" :null,
"bopmod.basflg" :null,
"mtabut.coninf.conexedat" :null,
"cpdgrp.cbs.max.cur" :null,
"attp.resbchnam" :null,
"cpdgrp.rec.prechkdat" :null,
"bopmod.dbbgrp.bas.custcod" :null,
"bopmod.ownextkey" :null,
"cpdgrp.pyb.adrelc" :null,
"cpdgrp.med.adrelc" :null,
"bopmod.dbegrp.bas.lcyacc" :null,
"bopmod.dbegrp.bas.txamt" :null,
"bopmod.dbbgrp.bas.txccy" :null,
"setmod.docamt" :null,
"attp.acctyp" :null,
"bopmod.acttyp" :null,
"attp.sndbchnam" :null,
"bopmod.dbegrp.bas.actiontype" :null,
"bopmod.dbegrp.bas.buscode" :null,
}
for (const key in checkObj) {
......
......@@ -12,6 +12,7 @@ export default {
"cpdgrp.orc.pts.adrblk" :Utils.defaultFunction,
"cpdgrp.orc.dbfadrblkcn" :Utils.defaultFunction,
"attp.payuil" :Utils.defaultFunction,
"bopmod.dbegrp.bas.rptno" :Utils.defaultFunction,
"cpdgrp.pye.pts.adrblk" :Utils.defaultFunction,
"cpdgrp.pyb.pts.adrblk" :Utils.defaultFunction,
"cpdgrp.rmt.pts.extkey" :Utils.defaultFunction,
......@@ -28,6 +29,7 @@ export default {
"trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction,
"cpdgrp.rec.ownref" :Utils.defaultFunction,
"bopmod.dbbgrp.bas.rptno" :Utils.defaultFunction,
"cpdgrp.pyb.pts.extkey" :Utils.defaultFunction,
"cpdgrp.orc.pts.extkey" :Utils.defaultFunction,
"cpdgrp.med.adrelc" :Utils.defaultFunction,
......@@ -40,10 +42,14 @@ export default {
"cpdgrp.ori.adrelc" :Utils.defaultFunction,
"cpdgrp.ori.namelc" :Utils.defaultFunction,
"cpdgrp.ori.dbfadrblkcn" :Utils.defaultFunction,
"bopmod.dbegrp.bas.custype" :Utils.defaultFunction,
"bopmod.dbegrp.bas.custcod" :Utils.defaultFunction,
"bopmod.vrfflg" :Utils.defaultFunction,
"bopmod.szflg" :Utils.defaultFunction,
"bopmod.basflg" :Utils.defaultFunction,
"bopmod.dclflg" :Utils.defaultFunction,
"bopmod.dbbgrp.bas.tmpref" :Utils.defaultFunction,
"bopmod.dbegrp.bas.tmpref" :Utils.defaultFunction,
"cpdgrp.rec.othbch" :Utils.defaultFunction,
"cpdgrp.pye.pts.extkey" :Utils.defaultFunction,
"cpdgrp.ori.pts.adrblk" :Utils.defaultFunction,
......@@ -53,6 +59,8 @@ export default {
"attp.feetyp" :Utils.defaultFunction,
"cpdgrp.orc.adrelc" :Utils.defaultFunction,
"cpdgrp.orc.namelc" :Utils.defaultFunction,
"bopmod.dbbgrp.bas.buscode" :Utils.defaultFunction,
"bopmod.dbbgrp.bas.ownextkey" :Utils.defaultFunction,
"cpdgrp.pye.adrelc" :Utils.defaultFunction,
"cpdgrp.pye.namelc" :Utils.defaultFunction,
"cpdgrp.pye.dbfadrblkcn" :Utils.defaultFunction,
......@@ -60,14 +68,18 @@ export default {
"cpdgrp.cbs.nom1.amt" :Utils.defaultFunction,
"cpdgrp.rec.ischktyp" :Utils.defaultFunction,
"attp.com102" :Utils.defaultFunction,
"bopmod.dbbgrp.bas.custype" :Utils.defaultFunction,
"attp.xnggbh" :Utils.defaultFunction,
"attp.country" :Utils.defaultFunction,
"attp.swftyp" :Utils.defaultFunction,
"cpdgrp.rec.trntyp" :Utils.defaultFunction,
"setmod.glemod.gleshwstm" :Utils.defaultFunction,
"attp.sndbchnam" :Utils.defaultFunction,
"bopmod.dbegrp.bas.ownextkey" :Utils.defaultFunction,
"bopmod.dbbgrp.bas.custcod" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"bopmod.dbegrp.bas.buscode" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"attp.resbchnam" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
......
......@@ -7,11 +7,7 @@ export default {
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
this.model.cpdgrp.rec.ownref = rtnmsg.data.cpdgrp_rec_ownref
this.$message({
type: 'success',
message: '获取成功!'
});
}
else
{
......@@ -210,5 +206,197 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSav(){
let rtnmsg = await this.executeRule("sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCan(){
let rtnmsg = await this.executeRule("can")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBasppGetreftmp(){
let rtnmsg = await this.executeRule("baspp.getreftmp")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBasppGetref(){
let rtnmsg = await this.executeRule("baspp.getref")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onChk(){
let rtnmsg = await this.executeRule("chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onChk(){
let rtnmsg = await this.executeRule("chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButpErr(){
let rtnmsg = await this.executeRule("butp.err")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCan(){
let rtnmsg = await this.executeRule("can")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSav(){
let rtnmsg = await this.executeRule("sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCan(){
let rtnmsg = await this.executeRule("can")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBaspp1Getreftmp(){
let rtnmsg = await this.executeRule("baspp1.getreftmp")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBaspp1Getref(){
let rtnmsg = await this.executeRule("baspp1.getref")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onChk(){
let rtnmsg = await this.executeRule("chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onChk(){
let rtnmsg = await this.executeRule("chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButpErr(){
let rtnmsg = await this.executeRule("butp.err")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCan(){
let rtnmsg = await this.executeRule("can")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
......@@ -409,4 +409,162 @@ export default {
"bopmod.dbbgrp.bas.rptno":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"bopmod.dbbgrp.bas.tmpref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bopmod.dbbgrp.bas.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbbgrp.bas.buscode":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"bopmod.dbbgrp.bas.custcod":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"bopmod.dbbgrp.bas.custnm":[
{type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"}
],
"bopmod.dbbgrp.bas.oppuser":[
{type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"}
],
"bopmod.dbbgrp.bas.idcode":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbbgrp.bas.exrate":[
{type: "string", required: false, message: "必输项"},
{max: 13,message:"长度不能超过13"}
],
"bopmod.dbbgrp.bas.lcyamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbbgrp.bas.lcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbbgrp.bas.fcyamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbbgrp.bas.fcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbbgrp.bas.othamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbbgrp.bas.othacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbbgrp.bas.txamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbegrp.bas.rptno":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"bopmod.dbegrp.bas.tmpref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bopmod.dbegrp.bas.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbegrp.bas.buscode":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"bopmod.dbegrp.bas.custcod":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"bopmod.dbegrp.bas.custnm":[
{type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"}
],
"bopmod.dbegrp.bas.oppuser":[
{type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"}
],
"bopmod.dbegrp.bas.idcode":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbegrp.bas.exrate":[
{type: "string", required: false, message: "必输项"},
{max: 13,message:"长度不能超过13"}
],
"bopmod.dbegrp.bas.lcyamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbegrp.bas.lcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbegrp.bas.fcyamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbegrp.bas.fcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbegrp.bas.othamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbegrp.bas.othacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbegrp.bas.txamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbegrp.bas.oppacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
}
\ No newline at end of file
......@@ -178,28 +178,29 @@ export default class Cptato{
// gleshwstm:"", // Booking stream to Display .setmod.glemod.gleshwstm
// },
// },
mtabut:{
coninf:{
oitinf:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitinf.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
},
},
oitset:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitset.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitset.oit.inflev
},
},
conexedat:"", // 执行日期 .mtabut.coninf.conexedat
usr:{
extkey:"", // User ID .mtabut.coninf.usr.extkey
},
},
},
mtabut: new Pub().data.Mtabut,
// mtabut:{
// coninf:{
// oitinf:{
// labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
// oit:{
// inftxt:"", // Infotext .mtabut.coninf.oitinf.oit.inftxt
// inflev:"", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
// },
// },
// oitset:{
// labinftxt:"", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
// oit:{
// inftxt:"", // Infotext .mtabut.coninf.oitset.oit.inftxt
// inflev:"", // Infotext Level .mtabut.coninf.oitset.oit.inflev
// },
// },
// conexedat:"", // 执行日期 .mtabut.coninf.conexedat
// usr:{
// extkey:"", // User ID .mtabut.coninf.usr.extkey
// },
// },
// },
trnmod: new Pub().data.Trnmod,
// trnmod:{
// trndoc:{
......@@ -226,6 +227,81 @@ export default class Cptato{
vrfflg:"", // 核销数据 .bopmod.vrfflg
ownextkey:"", // 地区机构号 .bopmod.ownextkey
acttyp:"", // 款项去向 .bopmod.acttyp
dbbp:{
baspp:{
cusnam:"", // .bopmod.dbbp.baspp.cusnam
cornam:"", // .bopmod.dbbp.baspp.cornam
corpnam:"", // .bopmod.dbbp.baspp.corpnam
roptnam:"", // RoptNam .bopmod.dbbp.baspp.roptnam
exratelab:"", // �'�汇/结汇汇率 .bopmod.dbbp.baspp.exratelab
lcyamtlab:"", // �'�汇/结汇金额 .bopmod.dbbp.baspp.lcyamtlab
acp:"", // 确认 .bopmod.dbbp.baspp.acp
tmprefnew:"", // TMPREFLABEL .bopmod.dbbp.baspp.tmprefnew
},
},
dbbgrp:{
bas:{
tmpref:"", // �'时申报流�'号 .bopmod.dbbgrp.bas.tmpref
ownextkey:"", // 地区机构号 .bopmod.dbbgrp.bas.ownextkey
actiontype:"", // 操作类型 .bopmod.dbbgrp.bas.actiontype
rptno:"", // 申报号码 .bopmod.dbbgrp.bas.rptno
idcode:"", // 身份证件号码 .bopmod.dbbgrp.bas.idcode
lcyacc:"", // 人民币帐号/银行卡号 .bopmod.dbbgrp.bas.lcyacc
fcyamt:"", // 现汇金额 .bopmod.dbbgrp.bas.fcyamt
fcyacc:"", // 外汇帐号/银行卡号 .bopmod.dbbgrp.bas.fcyacc
othamt:"", // 其它金额 .bopmod.dbbgrp.bas.othamt
othacc:"", // 其它帐号/银行卡号 .bopmod.dbbgrp.bas.othacc
methods:"", // 结算方式 .bopmod.dbbgrp.bas.methods
buscode:"", // 银行业务编号 .bopmod.dbbgrp.bas.buscode
custype:"", // 类型 .bopmod.dbbgrp.bas.custype
actiondesc:"", // 操作类型 .bopmod.dbbgrp.bas.actiondesc
exrate:"", // �'�汇汇率 .bopmod.dbbgrp.bas.exrate
lcyamt:"", // �'�汇金额 .bopmod.dbbgrp.bas.lcyamt
custnm:"", // 汇款人名称 .bopmod.dbbgrp.bas.custnm
oppuser:"", // 收款人名称 .bopmod.dbbgrp.bas.oppuser
custcod:"", // 组织机构 .bopmod.dbbgrp.bas.custcod
txccy:"", // 汇款币种及金额 .bopmod.dbbgrp.bas.txccy
txamt:"", // 汇款币种及金额 .bopmod.dbbgrp.bas.txamt
},
},
dbep:{
baspp:{
cusnam:"", // .bopmod.dbep.baspp.cusnam
cornam:"", // .bopmod.dbep.baspp.cornam
corpnam:"", // .bopmod.dbep.baspp.corpnam
roptnam:"", // RoptNam .bopmod.dbep.baspp.roptnam
exratelab:"", // �'�汇/结汇汇率 .bopmod.dbep.baspp.exratelab
lcyamtlab:"", // �'�汇/结汇金额 .bopmod.dbep.baspp.lcyamtlab
acp:"", // 确认 .bopmod.dbep.baspp.acp
tmprefnew:"", // TMPREFLABEL .bopmod.dbep.baspp.tmprefnew
},
},
dbegrp:{
bas:{
tmpref:"", // �'时申报流�'号 .bopmod.dbegrp.bas.tmpref
ownextkey:"", // 地区机构号 .bopmod.dbegrp.bas.ownextkey
actiontype:"", // 操作类型 .bopmod.dbegrp.bas.actiontype
rptno:"", // 申报号码 .bopmod.dbegrp.bas.rptno
idcode:"", // 身份证件号码 .bopmod.dbegrp.bas.idcode
lcyacc:"", // 人民币帐号/银行卡号 .bopmod.dbegrp.bas.lcyacc
fcyamt:"", // 现汇金额 .bopmod.dbegrp.bas.fcyamt
fcyacc:"", // 外汇帐号/银行卡号 .bopmod.dbegrp.bas.fcyacc
othamt:"", // 其它金额 .bopmod.dbegrp.bas.othamt
othacc:"", // 其它帐号/银行卡号 .bopmod.dbegrp.bas.othacc
methods:"", // 结算方式 .bopmod.dbegrp.bas.methods
buscode:"", // 银行业务编号 .bopmod.dbegrp.bas.buscode
custype:"", // 类型 .bopmod.dbegrp.bas.custype
actiondesc:"", // 操作类型 .bopmod.dbegrp.bas.actiondesc
exrate:"", // �'�汇汇率 .bopmod.dbegrp.bas.exrate
lcyamt:"", // �'�汇金额 .bopmod.dbegrp.bas.lcyamt
custnm:"", // 汇款人名称 .bopmod.dbegrp.bas.custnm
oppuser:"", // 收款人名称 .bopmod.dbegrp.bas.oppuser
custcod:"", // 组织机构 .bopmod.dbegrp.bas.custcod
txccy:"", // 汇款币种和金额 .bopmod.dbegrp.bas.txccy
txamt:"", // 汇款币种和金额 .bopmod.dbegrp.bas.txamt
oppacc:"", // 收款人账号 .bopmod.dbegrp.bas.oppacc
},
},
},
pageId: "" // ctx的key
}
......
......@@ -139,7 +139,7 @@ export default {
],
"cpdgrp.snd.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"cpdgrp.snd.dbfadrblkcn":[
......
......@@ -44,6 +44,7 @@ export default {
"dedgrp.rec.elcflg" :Utils.defaultFunction,
"dedgrp.rec.expdat" :Utils.defaultFunction,
"dedgrp.rec.tratyp" :Utils.defaultFunction,
"dedgrp.rec.tenmaxday" :Utils.defaultFunction,
"trnmod.swiadd.newnomtopame" :Utils.defaultFunction,
"trnmod.swiadd.newnomtoname" :Utils.defaultFunction,
}
......
......@@ -6,7 +6,7 @@ export default {
let rtnmsg = await this.executeRule("detp.butgetref")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.model.dedgrp.rec.ownref = rtnmsg.data.dedgrp_rec_ownref;
this.updateModel(rtnmsg.data)
this.$message({
type: 'success',
message: '获取成功!'
......
......@@ -44,5 +44,6 @@ export default {
"dedgrp.rec.elcflg" :Utils.defaultFunction,
"dedgrp.rec.expdat" :Utils.defaultFunction,
"dedgrp.rec.tratyp" :Utils.defaultFunction,
"dedgrp.rec.tenmaxday" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -6,7 +6,7 @@ export default {
let rtnmsg = await this.executeRule("detp.butgetref")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.model.dedgrp.rec.ownref = rtnmsg.data.dedgrp_rec_ownref;
this.updateModel(rtnmsg.data)
this.$message({
type: 'success',
message: '获取成功!'
......
......@@ -5,7 +5,7 @@ export default {
let rtnmsg = await this.executeRule("ditp.butgetref")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.model.didgrp.rec.ownref = rtnmsg.data.didgrp_rec_ownref
this.updateModel(rtnmsg.data)
this.$message({
type: 'success',
message: '获取成功!'
......
import Utils from "~/utils"
/**
* Getame Check规则
*/
let checkObj = {
"gidgrp.bec.pts.extkey" :null,
"gidgrp.avc.pts.extkey" :null,
"gidgrp.blk.gidtxt" :null,
"gidgrp.rec.tenref" :null,
"gidgrp.rec.giduil" :null,
"gidgrp.rec.jurlaws20" :null,
"gitp.aamp.aammod.addamtflg" :null,
"gidgrp.ben.pts.adrblk" :null,
"gidgrp.blk.atxexptxt" :null,
"gidgrp.atb.pts.adrblk" :null,
"gidgrp.con.pts.adrblk" :null,
"gitp.liatxtcmodflg" :null,
"trnmod.swiadd.exptxt" :null,
"gidgrp.rec.orcamt" :null,
"gidgrp.apc.namelc" :null,
"gidgrp.ben.adrelc" :null,
"gitp.usr.extkey" :null,
"trnmod.swiadd.amenbr" :null,
"gitp.covgodsrvcmodflg" :null,
"gidgrp.avc.pts.nam" :null,
"gidgrp.rec.exptyp" :null,
"gidgrp.ctr.pts.extkey" :null,
"trnmod.swiadd.newliadat" :null,
"trnmod.swiadd.ameblk" :null,
"gidgrp.cnr.pts.extkey" :null,
"gidgrp.rec.liadat" :null,
"gitp.gidtxtmodflgc" :null,
"gidgrp.ctc.adrelc" :null,
"gidgrp.blk.orcplcc" :null,
"gidgrp.rec.sndto" :null,
"gidgrp.con.adrelc" :null,
"gidgrp.ctc.pts.extkey" :null,
"gidgrp.blk.liatxtc" :null,
"gidgrp.blk.feetxtc" :null,
"gitp.exptxtmodflg" :null,
"trnmod.swiadd.amedat" :null,
"gidgrp.rec.gtxinr" :null,
"gidgrp.rec.vrfdat" :null,
"gidgrp.rec.tendat" :null,
"gidgrp.rec.purpos" :null,
"gidgrp.gidcxm.cxmflg" :null,
"gidgrp.rec.autrnwflg" :null,
"gidgrp.ctc.namelc" :null,
"gitamep.ramrol" :null,
"gidgrp.rec.legfrm" :null,
"gidgrp.rec.tenclsdatc" :null,
"gidgrp.apl.pts.extkey" :null,
"trnmod.swiadd.newexpdat" :null,
"gidgrp.apl.namelc" :null,
"gidgrp.rec.accc" :null,
"gidgrp.rec.liatypc" :null,
"gidgrp.rec.autrnwflgc" :null,
"gidgrp.blk.orcplc" :null,
"gidgrp.atb.adrelc" :null,
"gidgrp.rec.revflg" :null,
"gidgrp.blk.addinf" :null,
"gidgrp.cnr.namelc" :null,
"gidgrp.iss.adrelc" :null,
"gidgrp.rec.hndtyp" :null,
"gidgrp.rec.orcrefc" :null,
"gidgrp.adv.namelc" :null,
"gidgrp.rec.partcon" :null,
"gitp.swiftflg" :null,
"gidgrp.bdb.pts.extkey" :null,
"gidgrp.iss.pts.adrblk" :null,
"gidgrp.blk.atxpreperc" :null,
"gidgrp.apc.pts.adrblk" :null,
"gidgrp.adv.pts.adrblk" :null,
"gidgrp.rec.orcref" :null,
"gidgrp.bec.pts.adrblk" :null,
"gidgrp.ctr.namelc" :null,
"gidgrp.blk.atxpreper" :null,
"gidgrp.rec.orcdatc" :null,
"gidgrp.rec.orcamtc" :null,
"trnmod.swiadd.liatxtc" :null,
"gidgrp.con.pts.extkey" :null,
"gidgrp.rec.tenclsdat" :null,
"gidgrp.blk.gtxgidtxtc" :null,
"trnmod.swiadd.newamt" :null,
"gidgrp.rec.tendatc" :null,
"gidgrp.cbs.cnf.amt" :null,
"gidgrp.blk.gtxgidtxt" :null,
"gidgrp.rec.cnfdet" :null,
"gidgrp.bdb.adrelc" :null,
"gidgrp.ctr.adrelc" :null,
"gidgrp.blk.covgodsrv" :null,
"gidgrp.blk.atxcovgodsrv" :null,
"gidgrp.cnr.adrelc" :null,
"gidgrp.con.namelc" :null,
"gitp.covgodsrvmodflg" :null,
"gidgrp.rec.orcrat" :null,
"gidgrp.rec.jurlawc" :null,
"gidgrp.ben.namelc" :null,
"gidgrp.ghd.aplnam" :null,
"gidgrp.rec.expflg" :null,
"gidgrp.bec.adrelc" :null,
"gidgrp.cnr.pts.adrblk" :null,
"gidgrp.ctr.pts.adrblk" :null,
"gidgrp.rec.jurplcc" :null,
"gidgrp.cbs.mac.amt" :null,
"gidgrp.atb.namelc" :null,
"gidgrp.rec.orddat" :null,
"gidgrp.ctc.pts.adrblk" :null,
"trnmod.swiadd.addamt" :null,
"gidgrp.blk.covgodsrvc" :null,
"gidgrp.rec.orcdat" :null,
"gidgrp.apc.adrelc" :null,
"gidgrp.rec.stacty" :null,
"gidgrp.blk.gidtxtc" :null,
"gidgrp.blk.exptxt" :null,
"gidgrp.atb.pts.extkey" :null,
"gidgrp.blk.addamtcovc" :null,
"gidgrp.blk.atxliatxtc" :null,
"gidgrp.blk.addinfc" :null,
"gidgrp.rec.jurplc" :null,
"gidgrp.rec.mannum" :null,
"gidgrp.blk.apprul" :null,
"gidgrp.apl.pts.adrblk" :null,
"gidgrp.bec.namelc" :null,
"gidgrp.rec.orcratc" :null,
"trnmod.swiadd.purposame" :null,
"gidgrp.rec.jurlaw" :null,
"gidgrp.rec.acc" :null,
"trnmod.swiadd.ameamt" :null,
"gidgrp.rec.inudat" :null,
"gitp.prepercmodflg" :null,
"gidgrp.iss.pts.ref" :null,
"gidgrp.cbs.mac2.amt" :null,
"gitp.gidtxtmodflg" :null,
"gidgrp.blk.feetxt" :null,
"gitp.prepermodflg" :null,
"gidgrp.bdb.namelc" :null,
"gidgrp.blk.preperc" :null,
"gidgrp.rec.tenrefc" :null,
"gidgrp.rec.trmdat" :null,
"gidgrp.blk.preper" :null,
"gidgrp.blk.atxcovgodsrvc" :null,
"gidgrp.apl.adrelc" :null,
"trnmod.swiadd.addamtcovs20" :null,
"gidgrp.rec.trmdatc" :null,
"gidgrp.adv.adrelc" :null,
"gidgrp.blk.apprultxt" :null,
"gidgrp.apc.pts.extkey" :null,
"gidgrp.iss.namelc" :null,
"gidgrp.adv.pts.extkey" :null,
"gidgrp.iss.pts.extkey" :null,
"gidgrp.ben.pts.extkey" :null,
"gidgrp.bdb.pts.adrblk" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
import Utils from "~/utils"
/**
* Getopn Check规则
*/
let checkObj = {
"gidgrp.bec.pts.extkey" :null,
"gidgrp.avc.pts.extkey" :null,
"gidgrp.blk.gidtxt" :null,
"gidgrp.rec.tenref" :null,
"gidgrp.rec.giduil" :null,
"gidgrp.rec.gartyp" :null,
"gidgrp.rec.jurlaws20" :null,
"gitp.aamp.aammod.addamtflg" :null,
"gidgrp.ben.pts.adrblk" :null,
"gidgrp.blk.atxexptxt" :null,
"gidgrp.atb.pts.adrblk" :null,
"gidgrp.con.pts.adrblk" :null,
"gitp.liatxtcmodflg" :null,
"gidgrp.rec.orcamt" :null,
"gidgrp.apc.namelc" :null,
"gidgrp.ben.adrelc" :null,
"gitp.usr.extkey" :null,
"gitp.covgodsrvcmodflg" :null,
"gidgrp.avc.pts.nam" :null,
"gidgrp.rec.exptyp" :null,
"gidgrp.ctr.pts.extkey" :null,
"gidgrp.cnr.pts.extkey" :null,
"gidgrp.rec.liadat" :null,
"gitp.gidtxtmodflgc" :null,
"gidgrp.ctc.adrelc" :null,
"gidgrp.blk.orcplcc" :null,
"gidgrp.con.adrelc" :null,
"gidgrp.ctc.pts.extkey" :null,
"gidgrp.blk.liatxtc" :null,
"gidgrp.blk.feetxtc" :null,
"gitp.exptxtmodflg" :null,
"gidgrp.rec.gtxinr" :null,
"gidgrp.rec.vrfdat" :null,
"gidgrp.rec.tendat" :null,
"gidgrp.rec.purpos" :null,
"gidgrp.gidcxm.cxmflg" :null,
"gidgrp.rec.autrnwflg" :null,
"gidgrp.ctc.namelc" :null,
"gidgrp.rec.legfrm" :null,
"gidgrp.rec.tenclsdatc" :null,
"gidgrp.apl.pts.extkey" :null,
"gidgrp.apl.namelc" :null,
"gidgrp.rec.accc" :null,
"gidgrp.rec.liatypc" :null,
"gidgrp.rec.autrnwflgc" :null,
"gidgrp.blk.orcplc" :null,
"gidgrp.atb.adrelc" :null,
"gidgrp.rec.revflg" :null,
"gidgrp.blk.addinf" :null,
"gidgrp.cnr.namelc" :null,
"gidgrp.rec.opndat" :null,
"gidgrp.iss.adrelc" :null,
"gidgrp.rec.hndtyp" :null,
"gidgrp.rec.orcrefc" :null,
"gidgrp.adv.namelc" :null,
"gidgrp.rec.partcon" :null,
"gitp.swiftflg" :null,
"gidgrp.bdb.pts.extkey" :null,
"gidgrp.iss.pts.adrblk" :null,
"gidgrp.blk.atxpreperc" :null,
"gidgrp.apc.pts.adrblk" :null,
"gidgrp.adv.pts.adrblk" :null,
"gidgrp.rec.orcref" :null,
"gidgrp.bec.pts.adrblk" :null,
"gidgrp.ctr.namelc" :null,
"gidgrp.rec.orcdatc" :null,
"gidgrp.rec.orcamtc" :null,
"gidgrp.con.pts.extkey" :null,
"gidgrp.rec.tenclsdat" :null,
"gidgrp.blk.gtxgidtxtc" :null,
"gidgrp.rec.tendatc" :null,
"gidgrp.cbs.cnf.amt" :null,
"gidgrp.blk.gtxgidtxt" :null,
"gidgrp.rec.cnfdet" :null,
"gidgrp.bdb.adrelc" :null,
"gidgrp.ctr.adrelc" :null,
"gidgrp.blk.covgodsrv" :null,
"gidgrp.blk.atxcovgodsrv" :null,
"gidgrp.cnr.adrelc" :null,
"gidgrp.con.namelc" :null,
"gitp.covgodsrvmodflg" :null,
"gidgrp.rec.orcrat" :null,
"gidgrp.rec.jurlawc" :null,
"gidgrp.ben.namelc" :null,
"gidgrp.cbs.max.cur" :null,
"gidgrp.ghd.aplnam" :null,
"gidgrp.rec.expflg" :null,
"gidgrp.bec.adrelc" :null,
"gidgrp.cnr.pts.adrblk" :null,
"gidgrp.apl.pts.ref" :null,
"gidgrp.ctr.pts.adrblk" :null,
"gidgrp.rec.jurplcc" :null,
"gidgrp.cbs.mac.amt" :null,
"gidgrp.atb.namelc" :null,
"gidgrp.rec.orddat" :null,
"gidgrp.ctc.pts.adrblk" :null,
"gidgrp.blk.covgodsrvc" :null,
"gidgrp.rec.orcdat" :null,
"gidgrp.apc.adrelc" :null,
"gidgrp.rec.stacty" :null,
"gidgrp.blk.gidtxtc" :null,
"gidgrp.blk.exptxt" :null,
"gidgrp.atb.pts.extkey" :null,
"gidgrp.blk.addamtcovc" :null,
"gidgrp.blk.atxliatxtc" :null,
"gidgrp.blk.addinfc" :null,
"gidgrp.rec.jurplc" :null,
"gidgrp.rec.mannum" :null,
"gidgrp.blk.apprul" :null,
"gidgrp.apl.pts.adrblk" :null,
"gidgrp.bec.namelc" :null,
"gidgrp.rec.orcratc" :null,
"gidgrp.rec.jurlaw" :null,
"gidgrp.rec.acc" :null,
"gidgrp.rec.inudat" :null,
"gitp.prepercmodflg" :null,
"gidgrp.iss.pts.ref" :null,
"gidgrp.cbs.mac2.amt" :null,
"gitp.gidtxtmodflg" :null,
"gidgrp.bdb.namelc" :null,
"gidgrp.rec.expdat" :null,
"gidgrp.blk.preperc" :null,
"gidgrp.rec.tenrefc" :null,
"gidgrp.rec.trmdat" :null,
"gidgrp.rec.ownref" :null,
"gidgrp.blk.atxcovgodsrvc" :null,
"gidgrp.apl.adrelc" :null,
"gidgrp.rec.trmdatc" :null,
"gidgrp.adv.adrelc" :null,
"gidgrp.blk.apprultxt" :null,
"gidgrp.apc.pts.extkey" :null,
"gidgrp.iss.namelc" :null,
"gidgrp.adv.pts.extkey" :null,
"gidgrp.cbs.max.amt" :null,
"gidgrp.iss.pts.extkey" :null,
"gidgrp.ben.pts.extkey" :null,
"gidgrp.bdb.pts.adrblk" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
......@@ -4,37 +4,49 @@ import Utils from "~/utils"
* Getset Check规则
*/
let checkObj = {
"liaall.misamt" :null,
"bopmod.dbagrp.bas.methods" :null,
"bopmod.dbagrp.bas.lcyacc" :null,
"cnybop.outflg" :null,
"bopmod.dbagrp.bas.outchargeamt" :null,
"bopmod.dbagrp.bas.fcyamt" :null,
"gcdgrp.oth.adrelc" :null,
"liaall.limmod.limpts.oth.pts.nam" :null,
"setmod.dspflg" :null,
"bopmod.dbagrp.bas.exrate" :null,
"bopmod.dbagrp.bas.txccy" :null,
"gcdgrp.prb.namelc" :null,
"gcdgrp.prb.pts.adrblk" :null,
"liaall.limmod.limpts.wrk.pts.nam" :null,
"bopmod.dbagrp.bas.custcod" :null,
"cnybop.cnyflg" :null,
"bopmod.dbagrp.bas.txamt" :null,
"bopmod.dbagrp.bas.buscode" :null,
"lendoc.account" :null,
"bopmod.dbagrp.bas.othamt" :null,
"gcdgrp.oth.pts.extkey" :null,
"liaall.limmod.limpts.oth.pts.extkey" :null,
"bopmod.dbagrp.bas.actiondesc" :null,
"bopmod.dbagrp.bas.outchargeccy" :null,
"gcdgrp.prb.adrelc" :null,
"liaall.limmod.ownref" :null,
"liaall.limmod.ecifno" :null,
"bopmod.dbagrp.bas.actiontype" :null,
"gcdgrp.oth.namelc" :null,
"bopmod.szflg" :null,
"cnybop.traflg" :null,
"bopmod.dbagrp.bas.inchargeccy" :null,
"bopmod.dbagrp.bas.custnm" :null,
"gcdgrp.prb.pts.extkey" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null,
"bopmod.dbagrp.bas.fcyacc" :null,
"bopmod.dbagrp.bas.custype" :null,
"bopmod.dbagrp.bas.rptno" :null,
"bopmod.dbagrp.bas.oppuser" :null,
"gcdgrp.apl.pts.nam" :null,
"bopmod.basflg" :null,
"mtabut.coninf.conexedat" :null,
"liaall.limmod.limpts.nonrevflg1" :null,
"bopmod.dbagrp.bas.idcode" :null,
"bopmod.dbagrp.bas.othacc" :null,
"bopmod.dbagrp.bas.lcyamt" :null,
"bopmod.dbagrp.bas.inchargeamt" :null,
"cnybop.libflg" :null,
"bopmod.ownextkey" :null,
"setmod.docamt" :null,
"bopmod.acttyp" :null,
"gcdgrp.oth.pts.adrblk" :null,
"mtabut.clsflg" :null,
"cnybop.vouflg" :null,
"lendoc.account" :null,
}
for (const key in checkObj) {
......
......@@ -6,28 +6,20 @@ import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction,
"cnybop.libflg" :Utils.defaultFunction,
"gidgrp.rec.ownref" :Utils.defaultFunction,
"gcdgrp.rec.ownref" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"trnmod.trndoc.condocstm" :Utils.defaultFunction,
"trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction,
"gcdgrp.cbs.max.cur" :Utils.defaultFunction,
"gcdgrp.apl.pts.nam" :Utils.defaultFunction,
"gcdgrp.cbs.max.amt" :Utils.defaultFunction,
"bopmod.szflg" :Utils.defaultFunction,
"bopmod.basflg" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.extkey" :Utils.defaultFunction,
"gidgrp.rec.liadat" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
"gidgrp.rec.gartyp" :Utils.defaultFunction,
"cnybop.vouflg" :Utils.defaultFunction,
"bopmod.vrfflg" :Utils.defaultFunction,
"bopmod.dbagrp.bas.custype" :Utils.defaultFunction,
"bopmod.dbagrp.bas.custcod" :Utils.defaultFunction,
"cnybop.traflg" :Utils.defaultFunction,
"gcdgrp.cbs.max2.amt" :Utils.defaultFunction,
"gcdgrp.ben.pts.nam" :Utils.defaultFunction,
......@@ -36,31 +28,23 @@ export default {
"gcdgrp.prb.namelc" :Utils.defaultFunction,
"gcdgrp.prb.dbfadrblkcn" :Utils.defaultFunction,
"gcdgrp.prb.pts.adrblk" :Utils.defaultFunction,
"liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"setmod.glemod.gleshwstm" :Utils.defaultFunction,
"bopmod.dbagrp.bas.tmpref" :Utils.defaultFunction,
"gcdgrp.oth.pts.extkey" :Utils.defaultFunction,
"gcdgrp.oth.adrelc" :Utils.defaultFunction,
"gcdgrp.oth.namelc" :Utils.defaultFunction,
"gcdgrp.oth.dbfadrblkcn" :Utils.defaultFunction,
"gcdgrp.oth.pts.adrblk" :Utils.defaultFunction,
"gidgrp.cbs.opn1.amt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"lendoc.actflg" :Utils.defaultFunction,
"bopmod.dbagrp.bas.rptno" :Utils.defaultFunction,
"gidgrp.rec.expdat" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"bopmod.dbagrp.bas.ownextkey" :Utils.defaultFunction,
"bopmod.dclflg" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction,
"cnybop.cnyflg" :Utils.defaultFunction,
"gcdgrp.cbs.opn1.amt" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"bopmod.dbagrp.bas.buscode" :Utils.defaultFunction,
"mtabut.clsflg" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"cnybop.outflg" :Utils.defaultFunction,
"gcdgrp.rec.docprbrol" :Utils.defaultFunction,
"lendoc.actflg" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -2,83 +2,8 @@ import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onSetmodDet(){
let rtnmsg = await this.executeRule("setmod.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSeainf(){
},
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 onTrndocButshw(){
let rtnmsg = await this.executeRule("trndoc.butshw")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButadd(){
let rtnmsg = await this.executeRule("trndoc.butadd")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButnew(){
let rtnmsg = await this.executeRule("trndoc.butnew")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButattto(){
let rtnmsg = await this.executeRule("trndoc.butattto")
async onGctpGetrefbut(){
let rtnmsg = await this.executeRule("gctp.getrefbut")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -89,8 +14,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButdel(){
let rtnmsg = await this.executeRule("trndoc.butdel")
async onPrbpDet(){
let rtnmsg = await this.executeRule("prbp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -101,8 +26,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButatt(){
let rtnmsg = await this.executeRule("trndoc.butatt")
async onOthpDet(){
let rtnmsg = await this.executeRule("othp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -113,8 +38,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onGctpGetrefbut(){
let rtnmsg = await this.executeRule("gctp.getrefbut")
async onSav(){
let rtnmsg = await this.executeRule("sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -125,8 +50,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onPrbpDet(){
let rtnmsg = await this.executeRule("prbp.det")
async onBasppGetreftmp(){
let rtnmsg = await this.executeRule("baspp.getreftmp")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -137,8 +62,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOthpDet(){
let rtnmsg = await this.executeRule("othp.det")
async onCan(){
let rtnmsg = await this.executeRule("can")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -149,8 +74,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onWrkpDet(){
let rtnmsg = await this.executeRule("wrkp.det")
async onBasppGetref(){
let rtnmsg = await this.executeRule("baspp.getref")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -161,8 +86,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOthp1Det(){
let rtnmsg = await this.executeRule("othp1.det")
async onChk(){
let rtnmsg = await this.executeRule("chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -173,8 +98,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimptsGet1(){
let rtnmsg = await this.executeRule("limpts.get1")
async onChk(){
let rtnmsg = await this.executeRule("chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -185,8 +110,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimptsGet2(){
let rtnmsg = await this.executeRule("limpts.get2")
async onButpErr(){
let rtnmsg = await this.executeRule("butp.err")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -197,8 +122,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimmodTrycal(){
let rtnmsg = await this.executeRule("limmod.trycal")
async onCan(){
let rtnmsg = await this.executeRule("can")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......
......@@ -7,7 +7,9 @@ let checkObj = {
"gidgrp.bec.pts.extkey" :null,
"gidgrp.avc.pts.extkey" :null,
"gidgrp.blk.gidtxt" :null,
"gidgrp.rec.tenref" :null,
"gidgrp.rec.giduil" :null,
"gidgrp.rec.jurlaws20" :null,
"trnmod.swiadd.addamtcovc" :null,
"gitp.aamp.aammod.addamtflg" :null,
"gidgrp.ben.pts.adrblk" :null,
......@@ -16,9 +18,9 @@ let checkObj = {
"gidgrp.con.pts.adrblk" :null,
"gitp.liatxtcmodflg" :null,
"trnmod.swiadd.exptxt" :null,
"gidgrp.rec.orcamt" :null,
"addbcb.gitamecho" :null,
"gidgrp.apc.namelc" :null,
"setmod.dspflg" :null,
"gidgrp.ben.adrelc" :null,
"gitp.usr.extkey" :null,
"trnmod.swiadd.amenbr" :null,
......@@ -43,6 +45,7 @@ let checkObj = {
"trnmod.swiadd.amedat" :null,
"gidgrp.rec.gtxinr" :null,
"gidgrp.rec.vrfdat" :null,
"gidgrp.rec.tendat" :null,
"gidgrp.rec.purpos" :null,
"gidgrp.gidcxm.cxmflg" :null,
"gitamep.amenumjmg" :null,
......@@ -58,8 +61,10 @@ let checkObj = {
"gidgrp.rec.accc" :null,
"gidgrp.rec.liatypc" :null,
"gidgrp.rec.autrnwflgc" :null,
"gidgrp.blk.orcplc" :null,
"gidgrp.atb.adrelc" :null,
"gidgrp.rec.revflg" :null,
"gidgrp.blk.addinf" :null,
"gidgrp.cnr.namelc" :null,
"gidgrp.iss.adrelc" :null,
"gidgrp.rec.hndtyp" :null,
......@@ -73,6 +78,7 @@ let checkObj = {
"gidgrp.blk.atxpreperc" :null,
"gidgrp.apc.pts.adrblk" :null,
"gidgrp.adv.pts.adrblk" :null,
"gidgrp.rec.orcref" :null,
"gidgrp.bec.pts.adrblk" :null,
"gidgrp.ctr.namelc" :null,
"gidgrp.blk.atxpreper" :null,
......@@ -80,6 +86,7 @@ let checkObj = {
"gidgrp.rec.orcamtc" :null,
"trnmod.swiadd.liatxtc" :null,
"gidgrp.con.pts.extkey" :null,
"gidgrp.rec.tenclsdat" :null,
"gidgrp.blk.gtxgidtxtc" :null,
"trnmod.swiadd.newamt" :null,
"gidgrp.rec.tendatc" :null,
......@@ -88,12 +95,17 @@ let checkObj = {
"gidgrp.rec.cnfdet" :null,
"gidgrp.bdb.adrelc" :null,
"gidgrp.ctr.adrelc" :null,
"gidgrp.blk.covgodsrv" :null,
"gidgrp.blk.atxcovgodsrv" :null,
"gidgrp.cnr.adrelc" :null,
"gidgrp.con.namelc" :null,
"gitp.covgodsrvmodflg" :null,
"trnmod.swiadd.addamtcov" :null,
"gidgrp.rec.orcrat" :null,
"gidgrp.rec.jurlawc" :null,
"gidgrp.ben.namelc" :null,
"addbcb.litameadv" :null,
"gidgrp.ghd.aplnam" :null,
"gidgrp.rec.expflg" :null,
"gidgrp.bec.adrelc" :null,
"gidgrp.cnr.pts.adrblk" :null,
......@@ -108,20 +120,24 @@ let checkObj = {
"gidgrp.ctc.pts.adrblk" :null,
"trnmod.swiadd.addamt" :null,
"gidgrp.blk.covgodsrvc" :null,
"gidgrp.rec.orcdat" :null,
"gidgrp.apc.adrelc" :null,
"gidgrp.rec.stacty" :null,
"gidgrp.blk.gidtxtc" :null,
"setmod.redamt" :null,
"gidgrp.blk.exptxt" :null,
"gidgrp.atb.pts.extkey" :null,
"gidgrp.blk.addamtcovc" :null,
"gidgrp.blk.atxliatxtc" :null,
"gidgrp.blk.addinfc" :null,
"gidgrp.rec.jurplc" :null,
"gidgrp.rec.mannum" :null,
"gidgrp.blk.apprul" :null,
"gidgrp.apl.pts.adrblk" :null,
"gidgrp.bec.namelc" :null,
"gidgrp.rec.orcratc" :null,
"trnmod.swiadd.purposame" :null,
"gidgrp.rec.jurlaw" :null,
"gidgrp.rec.acc" :null,
"trnmod.swiadd.ameamt" :null,
"addbcb.ameadvrmk" :null,
"gidgrp.rec.inudat" :null,
......@@ -136,12 +152,12 @@ let checkObj = {
"addbcb.bccls1" :null,
"addbcb.bccls4" :null,
"addbcb.bccls3" :null,
"setmod.docamt" :null,
"gitp.prepermodflg" :null,
"gidgrp.bdb.namelc" :null,
"trnmod.swiadd.newamtc" :null,
"gidgrp.blk.preperc" :null,
"gidgrp.rec.tenrefc" :null,
"gidgrp.rec.trmdat" :null,
"gidgrp.blk.preper" :null,
"gidgrp.blk.atxcovgodsrvc" :null,
"trnmod.swiadd.ameblkc" :null,
......
......@@ -34,10 +34,6 @@ export default {
"gidgrp.adv.dbfadrblkcn" :Utils.defaultFunction,
"gidgrp.rec.ownref" :Utils.defaultFunction,
"gidgrp.rec.exptyp" :Utils.defaultFunction,
"setmod.setamt" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"gidgrp.rec.orcdatc" :Utils.defaultFunction,
"gidgrp.rec.stdwrduilc" :Utils.defaultFunction,
"trnmod.swiadd.amemsgdonflg" :Utils.defaultFunction,
......@@ -46,6 +42,7 @@ export default {
"gidgrp.ghd.segtyp" :Utils.defaultFunction,
"oldgidgrp.cbs.max.amt" :Utils.defaultFunction,
"oldgidgrp.cbs.max.cur" :Utils.defaultFunction,
"gidgrp.rec.tendat" :Utils.defaultFunction,
"gidgrp.rec.giduil" :Utils.defaultFunction,
"gidgrp.rec.gtxinrc" :Utils.defaultFunction,
"gitp.prepercmodflg" :Utils.defaultFunction,
......@@ -86,6 +83,7 @@ export default {
"gidgrp.atb.pts.extkey" :Utils.defaultFunction,
"gidgrp.rec.stdwrdc" :Utils.defaultFunction,
"gidgrp.ben.pts.extkey" :Utils.defaultFunction,
"gidgrp.rec.orcdat" :Utils.defaultFunction,
"trnmod.swiadd.liatypc" :Utils.defaultFunction,
"trnmod.swiadd.newliadat" :Utils.defaultFunction,
"trnmod.swiadd.newliaflg" :Utils.defaultFunction,
......@@ -93,6 +91,7 @@ export default {
"gidgrp.cbs.mac.cur" :Utils.defaultFunction,
"gidgrp.rec.orcamtc" :Utils.defaultFunction,
"gidgrp.cbs.mac.amt" :Utils.defaultFunction,
"gidgrp.ghd.bustyp" :Utils.defaultFunction,
"trnmod.swiadd.ameblkc" :Utils.defaultFunction,
"gitamep.prtflg" :Utils.defaultFunction,
"gidgrp.blk.gidtxtc" :Utils.defaultFunction,
......@@ -100,8 +99,10 @@ export default {
"gidgrp.apl.pts.adrblk" :Utils.defaultFunction,
"oldgidgrp.rec.exptyp" :Utils.defaultFunction,
"oldgidgrp.rec.expdat" :Utils.defaultFunction,
"gidgrp.rec.mannum" :Utils.defaultFunction,
"trnmod.swiadd.addamt" :Utils.defaultFunction,
"gidgrp.bdb.pts.extkey" :Utils.defaultFunction,
"gidgrp.rec.orccur" :Utils.defaultFunction,
"trnmod.swiadd.exptxt" :Utils.defaultFunction,
"gitp.exptxtmodflg" :Utils.defaultFunction,
"gidgrp.blk.liatxtc" :Utils.defaultFunction,
......@@ -124,6 +125,8 @@ export default {
"gidgrp.iss.dbfadrblkcn" :Utils.defaultFunction,
"gitp.inc760" :Utils.defaultFunction,
"oldgidgrp.rec.liatypc" :Utils.defaultFunction,
"gidgrp.blk.covgodsrv" :Utils.defaultFunction,
"gidgrp.blk.atxcovgodsrv" :Utils.defaultFunction,
"gidgrp.blk.atxcovgodsrvc" :Utils.defaultFunction,
"gidgrp.blk.covgodsrvc" :Utils.defaultFunction,
"gidgrp.rec.orccurc" :Utils.defaultFunction,
......@@ -135,21 +138,33 @@ export default {
"gidgrp.cbs.cnf.amt" :Utils.defaultFunction,
"gidgrp.rec.partcon" :Utils.defaultFunction,
"gidgrp.cbs.cnf.cur" :Utils.defaultFunction,
"gidgrp.rec.orcrat" :Utils.defaultFunction,
"gidgrp.rec.jurlaw" :Utils.defaultFunction,
"gidgrp.blk.apprul" :Utils.defaultFunction,
"gidgrp.rec.trmdat" :Utils.defaultFunction,
"trnmod.swiadd.newcur" :Utils.defaultFunction,
"gidgrp.blk.addinf" :Utils.defaultFunction,
"gidgrp.blk.trfcond" :Utils.defaultFunction,
"gidgrp.rec.jurlaws20" :Utils.defaultFunction,
"gidgrp.atb.pts.ref" :Utils.defaultFunction,
"gidgrp.rec.tenref" :Utils.defaultFunction,
"gidgrp.rec.cnfdet" :Utils.defaultFunction,
"gidgrp.blk.orcplc" :Utils.defaultFunction,
"gidgrp.rec.demand" :Utils.defaultFunction,
"gitamep.ametxtflg" :Utils.defaultFunction,
"gitamep.ametxt" :Utils.defaultFunction,
"gidgrp.rec.transfer" :Utils.defaultFunction,
"gidgrp.rec.orcamt" :Utils.defaultFunction,
"gidgrp.ctr.pts.adrblk" :Utils.defaultFunction,
"trnmod.swiadd.newamt" :Utils.defaultFunction,
"trnmod.swiadd.reqcan" :Utils.defaultFunction,
"gidgrp.blk.apprultxt" :Utils.defaultFunction,
"gidgrp.blk.feetxt" :Utils.defaultFunction,
"gidgrp.rec.orcref" :Utils.defaultFunction,
"gidgrp.rec.autrnwflg" :Utils.defaultFunction,
"gidgrp.rec.tenclsdat" :Utils.defaultFunction,
"gidgrp.rec.acc" :Utils.defaultFunction,
"gidgrp.rec.jurplc" :Utils.defaultFunction,
"gidgrp.rec.transferc" :Utils.defaultFunction,
"gidgrp.rec.opndat" :Utils.defaultFunction,
"gidgrp.ctc.pts.extkey" :Utils.defaultFunction,
......@@ -218,6 +233,7 @@ export default {
"gidgrp.blk.apprulc" :Utils.defaultFunction,
"gidgrp.blk.feetxtc" :Utils.defaultFunction,
"gidgrp.rec.chato" :Utils.defaultFunction,
"gitp.covgodsrvmodflg" :Utils.defaultFunction,
"gidgrp.rec.liaflg" :Utils.defaultFunction,
"trnmod.swiadd.liatxtc" :Utils.defaultFunction,
"gitp.liatxtcmodflg" :Utils.defaultFunction,
......@@ -229,6 +245,7 @@ export default {
"gidgrp.rec.delto" :Utils.defaultFunction,
"trnmod.swiadd.ameamtc" :Utils.defaultFunction,
"gitamep.oldmacamt" :Utils.defaultFunction,
"gidgrp.ghd.aplnam" :Utils.defaultFunction,
"gitamep.plateflg" :Utils.defaultFunction,
"gidgrp.rec.orddat" :Utils.defaultFunction,
}
......
......@@ -230,30 +230,6 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onMtdbutButapy(){
let rtnmsg = await this.executeRule("mtdbut.butapy")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onMtdbutButcan(){
let rtnmsg = await this.executeRule("mtdbut.butcan")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onAmebutcButtxmsel(){
let rtnmsg = await this.executeRule("amebutc.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
......@@ -494,5 +470,245 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onGitpButdifcovgodsrv(){
let rtnmsg = await this.executeRule("gitp.butdifcovgodsrv")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onGitpButdifhiscovgodsrv(){
let rtnmsg = await this.executeRule("gitp.butdifhiscovgodsrv")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSav(){
let rtnmsg = await this.executeRule("sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onUsrcon(){
let rtnmsg = await this.executeRule("usrcon")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onChk(){
let rtnmsg = await this.executeRule("chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onUsrchk(){
let rtnmsg = await this.executeRule("usrchk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSyswrnButshw(){
let rtnmsg = await this.executeRule("syswrn.butshw")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDiasel(){
let rtnmsg = await this.executeRule("diasel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInc(){
let rtnmsg = await this.executeRule("inc")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onNotmap(){
let rtnmsg = await this.executeRule("notmap")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onFrmbut(){
let rtnmsg = await this.executeRule("frmbut")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOrd(){
let rtnmsg = await this.executeRule("ord")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onIncben(){
let rtnmsg = await this.executeRule("incben")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onImgmodImage(){
let rtnmsg = await this.executeRule("imgmod.image")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onImgmodNewimg(){
let rtnmsg = await this.executeRule("imgmod.newimg")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onImgmodNewhisimg(){
let rtnmsg = await this.executeRule("imgmod.newhisimg")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onImgmodElcimage(){
let rtnmsg = await this.executeRule("imgmod.elcimage")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onEntmodEntbut(){
let rtnmsg = await this.executeRule("entmod.entbut")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onPen(){
let rtnmsg = await this.executeRule("pen")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCan(){
let rtnmsg = await this.executeRule("can")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
......@@ -577,35 +577,6 @@ export default {
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"setmod.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"setmod.docamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.redamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.setamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.redamttxt":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"oldgidgrp.blk.gidtxtc":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
......@@ -1143,4 +1114,133 @@ export default {
{type: "string", required: true, message: "必输项"},
{max: 30,message:"长度不能超过30"}
],
"gidgrp.rec.orcref":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"gidgrp.ghd.aplnam":[
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"gidgrp.rec.orcdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"gidgrp.rec.bngcod":[
{type: "string", required: false, message: "必输项"},
{max: 10,message:"长度不能超过10"}
],
"gidgrp.rec.tenclsdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"gidgrp.rec.juscod":[
{type: "string", required: false, message: "必输项"},
{max: 10,message:"长度不能超过10"}
],
"gidgrp.blk.covgodsrv":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"gidgrp.blk.atxcovgodsrv":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"gidgrp.rec.bilvvv":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"gitp.indirectswiadd":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"gidgrp.rec.orcrat":[
{type: "string", required: false, message: "必输项"},
{max: 14,message:"长度不能超过14"}
],
"gidgrp.rec.orcamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"gidgrp.blk.orcplc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"gidgrp.rec.acc":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"gidgrp.rec.jurlaw":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"gidgrp.rec.jurplc":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"gidgrp.rec.tenref":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"gidgrp.rec.tendat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"gidgrp.rec.trmdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"gidgrp.ghd.remark":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"gidgrp.rec.mannum":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"gidgrp.blk.addinf":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"gidgrp.ghd.wahnum":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"gidgrp.gidcxm.benefi":[
{type: "string", required: false, message: "必输项"},
{max: 80,message:"长度不能超过80"}
],
"oldgidgrp.blk.gidtxt":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"gidgrp.blk.gidtxtame":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
}
\ No newline at end of file
......@@ -291,6 +291,29 @@ export default {
}
},
async handleReset() {
this.model.infcon.seaownref="";
this.model.infcon.opndatfrom="";
this.model.infcon.opndatto="";
this.model.infcon.searef="";
this.model.infcon.pty.extkey="";
this.model.infcon.pty.nam="";
this.model.infcon.seapty="";
this.model.infcon.nam="";
this.model.infcon.searol="";
this.model.infcon.usr.extkey="";
this.model.infcon.seasta="";
this.model.infcon.seacur="";
this.model.infcon.seaamtfr="";
this.model.infcon.seaamtto="";
this.model.seacnfdet="";
this.model.sealcrtyp="";
this.model.jyqflg="";
this.model.mylx="";
this.model.elcflg="";
this.model.seagodcod="";
},
async handleSearch() {
this.stmData.data = [];
let opndatfrom = this.model.infcon.opndatfrom;
......@@ -312,5 +335,6 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
}
\ No newline at end of file
......@@ -7,7 +7,7 @@ export default {
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
this.model.ledgrp.rec.ownref = rtnmsg.data.ledgrp_rec_ownref
this.updateModel(rtnmsg.data)
this.$message({
type: 'success',
message: '获取成功!'
......
......@@ -7,7 +7,7 @@ export default {
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
this.model.ledgrp.rec.ownref = rtnmsg.data.ledgrp_rec_ownref
this.updateModel(rtnmsg.data)
this.$message({
type: 'success',
message: '获取成功!'
......
......@@ -38,6 +38,10 @@ export default {
"trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction,
"trnmod.swiadd.addamt" :Utils.defaultFunction,
"lidgrp.cbs.max2.amt" :Utils.defaultFunction,
"lidgrp.cbs.opn2.cur" :Utils.defaultFunction,
"lidgrp.cbs.opn2.amt" :Utils.defaultFunction,
"lidgrp.blk.addamtcov" :Utils.defaultFunction,
"lidgrp.rec.opndat" :Utils.defaultFunction,
"lidgrp.rec.spcrcbflg" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.extkey" :Utils.defaultFunction,
......@@ -61,11 +65,11 @@ export default {
"lidgrp.rec.ownref" :Utils.defaultFunction,
"lidgrp.cbs.nom1.cur" :Utils.defaultFunction,
"trnmod.swiadd.addamtcov" :Utils.defaultFunction,
//"litamep.adlcndamep.modflg" :Utils.defaultFunction,
//"litamep.adlcndamep.modmanflg" :Utils.defaultFunction,
//"litamep.lcrgodamep.modflg" :Utils.defaultFunction,
//"litamep.lcrgodamep.modmanflg" :Utils.defaultFunction,
//"lidgrp.blk.lcrgod" :Utils.defaultFunction,
"litamep.adlcndamep.modflg" :Utils.defaultFunction,
"litamep.adlcndamep.modmanflg" :Utils.defaultFunction,
"litamep.lcrgodamep.modflg" :Utils.defaultFunction,
"litamep.lcrgodamep.modmanflg" :Utils.defaultFunction,
"lidgrp.blk.lcrgod" :Utils.defaultFunction,
"lidgrp.con.pts.adrblk" :Utils.defaultFunction,
"lidgrp.ben.pts.extkey" :Utils.defaultFunction,
"lidgrp.ben.adrelc" :Utils.defaultFunction,
......@@ -81,8 +85,8 @@ export default {
"lidgrp.adv.dbfadrblkcn" :Utils.defaultFunction,
"lidgrp.adv.pts.adrblk" :Utils.defaultFunction,
"lidgrp.rec.shppars18" :Utils.defaultFunction,
//"litamep.lcrdocamep.modflg" :Utils.defaultFunction,
//"litamep.lcrdocamep.modmanflg" :Utils.defaultFunction,
"litamep.lcrdocamep.modflg" :Utils.defaultFunction,
"litamep.lcrdocamep.modmanflg" :Utils.defaultFunction,
"lidgrp.a2b.pts.extkey" :Utils.defaultFunction,
"lidgrp.a2b.adrelc" :Utils.defaultFunction,
"lidgrp.a2b.namelc" :Utils.defaultFunction,
......@@ -128,7 +132,7 @@ export default {
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"lidgrp.ini.pts.adrblk" :Utils.defaultFunction,
//"lidgrp.blk.adlcnd" :Utils.defaultFunction,
"lidgrp.blk.adlcnd" :Utils.defaultFunction,
"litamep.engamt" :Utils.defaultFunction,
"trnmod.swiadd.nomspc" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
......@@ -141,7 +145,7 @@ export default {
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction,
"liaall.liaccv.concur" :Utils.defaultFunction,
"lidgrp.rec.prepers18" :Utils.defaultFunction,
//"lidgrp.blk.lcrdoc" :Utils.defaultFunction,
"lidgrp.blk.lcrdoc" :Utils.defaultFunction,
"lidgrp.rec.stacty" :Utils.defaultFunction,
"lidgrp.rmb.pts.nam" :Utils.defaultFunction,
"oldlidgrp.rec.expdat" :Utils.defaultFunction,
......
......@@ -23,7 +23,7 @@ export default class Litame{
maxamt:"", // New Maximum Amount .litamep.maxamt
cre707flg:"", // Create Amendment Message .litamep.cre707flg
ramrol:"", // Request of Amendment send to .litamep.ramrol
amenbr:"", // 实际修改次数 .litamep.amenbr
amenbr:0, // 实际修改次数 .litamep.amenbr
lcrdocamep:{
usrblk:"", // Block to enter additional info for Add/Delete .litamep.lcrdocamep.usrblk
modflg:"", // Modify Text to Replace .litamep.lcrdocamep.modflg
......@@ -56,8 +56,8 @@ export default class Litame{
ownref:"", // Reference .lidgrp.rec.ownref
nam:"", // Name .lidgrp.rec.nam
lcrtyp:"", // Form of L/C .lidgrp.rec.lcrtyp
nomtop:"", // Amount Tolerance +/- .lidgrp.rec.nomtop
nomton:"", // Amount Tolerance - Negative .lidgrp.rec.nomton
nomtop:0, // Amount Tolerance +/- .lidgrp.rec.nomtop
nomton:0, // Amount Tolerance - Negative .lidgrp.rec.nomton
nomspc:"", // Amount Specification .lidgrp.rec.nomspc
opndat:"", // L/C Issued on .lidgrp.rec.opndat
preadvdt:"", // Date Pre-advised .lidgrp.rec.preadvdt
......@@ -87,8 +87,8 @@ export default class Litame{
shpto:"", // Final Destination .lidgrp.rec.shpto
chato:"", // Drafts at .lidgrp.rec.chato
stacty:"", // Country Code Risk Country .lidgrp.rec.stacty
tenmaxday:"", // Maximum tenor in days .lidgrp.rec.tenmaxday
prepers18:"", // Days of presentation period .lidgrp.rec.prepers18
tenmaxday:0, // Maximum tenor in days .lidgrp.rec.tenmaxday
prepers18:0, // Days of presentation period .lidgrp.rec.prepers18
prepertxts18:"", // Presentation period text .lidgrp.rec.prepertxts18
redclsflg:"", // Red/Green Clause .lidgrp.rec.redclsflg
spcbenflg:"", // Special payment conditions for beneficiary exists .lidgrp.rec.spcbenflg
......@@ -199,12 +199,12 @@ export default class Litame{
},
},
rec:{
nomtop:"", // Amount Tolerance - Positive .oldlidgrp.rec.nomtop
nomton:"", // Amount Tolerance - Negative .oldlidgrp.rec.nomton
nomtop:0, // Amount Tolerance - Positive .oldlidgrp.rec.nomtop
nomton:0, // Amount Tolerance - Negative .oldlidgrp.rec.nomton
expdat:"", // 到期日 .oldlidgrp.rec.expdat
shpdat:"", // 装运日 .oldlidgrp.rec.shpdat
prepertxts18:"", // Presentation period text .oldlidgrp.rec.prepertxts18
prepers18:"", // Presentation Period .oldlidgrp.rec.prepers18
prepers18:0, // Presentation Period .oldlidgrp.rec.prepers18
},
blk:{
preper:"", // Presentation Period .oldlidgrp.blk.preper
......
......@@ -24,6 +24,7 @@ export default {
"liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction,
"brdgrp.cbs.max2.amt" :Utils.defaultFunction,
"brdgrp.rec.totamt" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.extkey" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
......
......@@ -29,10 +29,10 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"lidgrp.cbs.opn1.amt":[
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
// "lidgrp.cbs.opn1.amt":[
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"brdgrp.apl.pts.nam":[
{type: "string", required: false, message: "必输项"},
......@@ -58,7 +58,11 @@ export default {
{type: "string", required: false, message: "输入正确的日期"}
],
"brdgrp.prb.pts.ref":[
{type: "string", required: false, message: "必输项"},
{type: "string", required: true, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brdgrp.rec.advtyp":[
{type: "string", required: true, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"lidgrp.rec.expdat":[
......@@ -97,10 +101,6 @@ export default {
"brdgrp.rec.disdat":[
{type: "string", required: false, message: "输入正确的日期"}
],
"brdgrp.prb.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brtp.prbp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
......@@ -284,17 +284,17 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"brdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
// "brdgrp.cbs.max.amt":[
// {type: "number", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"brdgrp.cbs.max2.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
// "brdgrp.cbs.max2.amt":[
// {type: "number", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"brdgrp.blk.chaded":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
......@@ -307,11 +307,11 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"brdgrp.rec.totamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
// "brdgrp.rec.totamt":[
// {type: "number", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"brtp.acbp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
......@@ -331,7 +331,7 @@ export default {
],
"brdgrp.acb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 135,message:"长度不能超过135"}
],
"brdgrp.acb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -348,7 +348,7 @@ export default {
"brdgrp.blk.nartxt77a":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 3500,message:"长度不能超过3500"}
],
"brtp.rmbp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
......@@ -369,7 +369,7 @@ export default {
],
"brdgrp.rmb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 135,message:"长度不能超过135"}
],
"brdgrp.rmb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -398,7 +398,7 @@ export default {
],
"brdgrp.beb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 40,message:"长度不能超过40"}
{max: 140,message:"长度不能超过140"}
],
"brdgrp.beb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......
......@@ -19,7 +19,7 @@ export default {
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
this.model.brdgrp.rec.ownref=rtnmsg.data.brdgrp_rec_ownref
this.updateModel(rtnmsg.data)
this.$message({
type: 'success',
message: '获取成功!'
......
......@@ -94,10 +94,7 @@ export default {
],
"brdgrp.prb.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
// "brdgrp.cbs.max.amt":[
// {type: "number", required: false},
......
......@@ -14,7 +14,7 @@ export default {
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
this.model.lidgrp.rec.ownref=rtnmsg.data.lidgrp_rec_ownref
this.updateModel(rtnmsg.data)
this.$message({
type: 'success',
message: '获取成功!'
......
......@@ -38,6 +38,44 @@ export default class Trnmod {
lcrgod: "", // Description of Goods amendment .trnmod.swiadd.lcrgod
lcrdoc: "", // Documents Required amendment .trnmod.swiadd.lcrdoc
//adlcnd: "", // Additional Conditions amendment .trnmod.swiadd.adlcnd
purposamein:"", // Inc. Purpose of amend. .trnmod.swiadd.purposamein
purposame:"", // Purpose of amend. .trnmod.swiadd.purposame
amedat:"", // Amendment Date .trnmod.swiadd.amedat
orddat:"", // Order from .trnmod.swiadd.orddat
amenbr:"", // Amend. No Receiv. .trnmod.swiadd.amenbr
amecur:"", // Amended .trnmod.swiadd.amecur
ameamt:"", // Amended Amount .trnmod.swiadd.ameamt
newcur:"", // Guarantee Amount .trnmod.swiadd.newcur
newamt:"", // New amount .trnmod.swiadd.newamt
ameblk:"", // Text for Amendments .trnmod.swiadd.ameblk
reqcan:"", // Cancellation Request .trnmod.swiadd.reqcan
amemsgdonflg:"", // Create Amendment Message .trnmod.swiadd.amemsgdonflg
addamtflg:"", // Add. Amount Flag .trnmod.swiadd.addamtflg
addcur:"", // Additional Currency .trnmod.swiadd.addcur
addamt:"", // Additional Amount .trnmod.swiadd.addamt
addamtcovs20:"", // Additional Amount Covered .trnmod.swiadd.addamtcovs20
redrea:"", // Reason for Reduce / Discharge .trnmod.swiadd.redrea
exptyp:"", // New Expiry Type .trnmod.swiadd.exptyp
newexpdat:"", // New Expiry Date .trnmod.swiadd.newexpdat
exptxt:"", // New Expiry Condition .trnmod.swiadd.exptxt
liatypc:"", // New Liability Type .trnmod.swiadd.liatypc
newliadat:"", // New Liability Date .trnmod.swiadd.newliadat
liatxtc:"", // New Liability Condition .trnmod.swiadd.liatxtc
newdtaappexpdat:"", // New appr. Expiry Date .trnmod.swiadd.newdtaappexpdat
ameblkc:"", // Text for Amendments .trnmod.swiadd.ameblkc
amecurc:"", // Amended Amount .trnmod.swiadd.amecurc
ameamtc:"", // Increase of Local Guarantee Amount .trnmod.swiadd.ameamtc
newcurc:"", // Local Undertaking .trnmod.swiadd.newcurc
newamtc:"", // New Amount Local Guarantee .trnmod.swiadd.newamtc
addamtflgc:"", // Additional Amount Flag Seq. C .trnmod.swiadd.addamtflgc
addcurc:"", // Additional Currency Seq. C .trnmod.swiadd.addcurc
addamtc:"", // Additional Amount Seq. C .trnmod.swiadd.addamtc
addamtcovc:"", // Add. Amount Covered .trnmod.swiadd.addamtcovc
newexpflg:"", // Unlimited Validity .trnmod.swiadd.newexpflg
newliaflg:"", // Unlimited Liability .trnmod.swiadd.newliaflg
addamtcov:"", // Amounts Covered .trnmod.swiadd.addamtcov
},
trndoc: {
nar754: "", // Narrative :77A: .trnmod.trndoc.nar754
......@@ -56,6 +94,7 @@ export default class Trnmod {
},
filrecv: "", // File Receiver .trnmod.trndoc.filrecv
doceot: [],
addstr750:""//trnmod.trndoc.addstr750
},
docimm:{
ascin:"", // Message as stream .trnmod.docimm.ascin
......
......@@ -76,12 +76,15 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
} */
},
async continueEdit(row) {
async continueEdit(row, scope) {
//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")
const selIds = [];
selIds.push(row['IDX']);
let params = { selDst: "sptstm", selIds: selIds };
let rtnmsg = await this.executeRule("tak", params)
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
let trnName = row.交易代码.toLowerCase();
......
......@@ -7,7 +7,7 @@ export default {
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
this.model.trdgrp.rec.ownref = rtnmsg.data.trdgrp_rec_ownref
this.updateModel(rtnmsg.data)
this.$message({
type: 'success',
message: '获取成功!'
......
......@@ -128,24 +128,26 @@
</c-col>
<c-col :span="24">
<el-form-item label="Payment Condition" prop="bcdgrp.rec.doctypcod">
<c-input
<c-select
v-model="model.bcdgrp.rec.doctypcod"
:code="codes.doctypcod"
style="width: 100%"
placeholder="请选择Payment Condition"
disabled
>
</c-input>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Document Set Status" prop="bcdgrp.rec.docsta">
<c-input
<c-select
v-model="model.bcdgrp.rec.docsta"
:code="codes.docstabot"
style="width: 100%"
placeholder="请输入Document Set Status"
disabled
>
</c-input>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
......@@ -262,9 +264,9 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item prop="bcdgrp.drr.pts.ref">
<el-form-item prop="bcdgrp.drr.pts.nam">
<c-input
v-model="model.bcdgrp.drr.pts.ref"
v-model="model.bcdgrp.drr.pts.nam"
maxlength="40"
style="width: 100%"
disabled
......
......@@ -5,24 +5,35 @@
<c-col :span="24">
<c-col :span="20">
<el-form-item label="Delivery of Documents Instructions" prop="bcdgrp.blk.colins">
<c-input type="textarea" v-model="model.bcdgrp.blk.colins" maxlength="65" show-word-limit
<c-input
:rows="4"
type="textarea" v-model="model.bcdgrp.blk.colins" maxlength="165" show-word-limit
placeholder="请输入Delivery of Documents Instructions"></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<c-button size="small" type="primary" icon="el-icon-search" @click="onColinsButtxmsel">
<c-button size="small" type="primary" icon="el-icon-search"
@click="showGridPromptDialog('bctp.colins.buttxmsel', null, null,{TXT: 'bcdgrp.blk.colins'}, {TXT: false},'doxpDialog')"
>
</c-button>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="20">
<el-form-item label="Draft Instructions" prop="bcdgrp.blk.dftins">
<c-input type="textarea" v-model="model.bcdgrp.blk.dftins" maxlength="65" show-word-limit
<c-input
:rows="4"
type="textarea" v-model="model.bcdgrp.blk.dftins" maxlength="165" show-word-limit
placeholder="请输入Draft Instructions"></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<c-button size="small" type="primary" icon="el-icon-search" @click="onDftinsButtxmsel">
<c-button
size="small" type="primary" icon="el-icon-search"
@click="showGridPromptDialog('bctp.dftins.buttxmsel', null, null,{TXT: 'bcdgrp.blk.dftins'}, {TXT: false},'doxpDialog')"
>
</c-button>
</c-col>
</c-col>
......@@ -37,13 +48,17 @@
</c-col>
<c-col :span="20">
<el-form-item label="Other Instructions" prop="bcdgrp.blk.othins">
<c-input type="textarea" v-model="model.bcdgrp.blk.othins" maxlength="65" show-word-limit
<c-input
:rows="4"
type="textarea" v-model="model.bcdgrp.blk.othins" maxlength="65" show-word-limit
placeholder="请输入Other Instructions">
</c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<c-button size="small" type="primary" icon="el-icon-search" @click="onOthins1Buttxmsel">
<c-button size="small" type="primary" icon="el-icon-search"
@click="showGridPromptDialog('bctp.othins.buttxmsel', null, null,{TXT: 'bcdgrp.blk.othins'}, {TXT: false},'doxpDialog')"
>
</c-button>
</c-col>
<c-col :span="24">
......@@ -72,7 +87,9 @@
</c-col>
<c-col :span="24">
<el-form-item label="Charges Text" prop="bcdgrp.blk.chgtxt">
<c-input type="textarea" v-model="model.bcdgrp.blk.chgtxt" maxlength="35" style="width:76%"
<c-input
:rows="4"
type="textarea" v-model="model.bcdgrp.blk.chgtxt" maxlength="35" style="width:76%"
show-word-limit placeholder="请输入Charges Text"></c-input>
</el-form-item>
</c-col>
......
......@@ -87,7 +87,7 @@
v-model="model.bcdgrp.co2.pts.extkey"
maxlength="50"
placeholder="请输入External Key of Address"
@keyup.enter.native="showGridPromptDialog('bcdgrp.co2.pts.extkey')"
></c-input>
<template slot="footer">
<c-button
......@@ -119,8 +119,8 @@
type="textarea"
:rows="4"
v-model="model.bcdgrp.co2.pts.adrblk"
maxlength="50"
disabled
maxlength="150"
show-word-limit
placeholder="请输入Address Block"
></c-input>
......@@ -152,7 +152,7 @@
v-model="model.bcdgrp.rmi.pts.extkey"
maxlength="50"
placeholder="请输入External Key of Address"
@keyup.enter.native="showGridPromptDialog('bcdgrp.rmi.pts.extkey')"
></c-input>
<template slot="footer">
<c-button
......@@ -213,7 +213,7 @@
v-model="model.bcdgrp.drr.pts.extkey"
maxlength="50"
placeholder="请输入External Key of Address"
@keyup.enter.native="showGridPromptDialog('bcdgrp.drr.pts.extkey')"
></c-input>
<template slot="footer">
<c-button
......@@ -245,7 +245,7 @@
type="textarea"
:rows="4"
v-model="model.bcdgrp.drr.pts.adrblk"
maxlength="50"
maxlength="150"
disabled
show-word-limit
placeholder="请输入Address Block"
......
<template>
<c-page title="进口代收承兑">
<div class="eContainer">
<c-function-btn :handleSubmit="handleSubmit" :handleCheck="handleCheck" :handleStash="handleStash">
</c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right"
size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<c-page title="进口代收承兑">
<div class="eContainer">
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</c-function-btn>
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="150px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--Settle BC -->
<el-tab-pane label="Settle BC" name="bctset">
<c-content>
<m-bctset :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--Settle BC -->
<el-tab-pane label="Settle BC" name="bctset">
<c-content>
<m-bctset :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--Instructions -->
<el-tab-pane label="Instructions" name="detp">
<m-detp :model="model" :codes="codes" />
</el-tab-pane>
<!--Instructions -->
<el-tab-pane label="Instructions" name="detp">
<m-detp :model="model" :codes="codes" />
</el-tab-pane>
<!--Parties -->
<el-tab-pane label="Parties" name="ptyp">
<c-content>
<m-ptyp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--Parties -->
<el-tab-pane label="Parties" name="ptyp">
<c-content>
<m-ptyp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--Liability -->
<el-tab-pane label="Liability" name="engp">
<m-engp :model="model" :codes="codes" />
</el-tab-pane>
<!--Liability -->
<el-tab-pane label="Liability" name="engp">
<m-engp :model="model" :codes="codes" />
</el-tab-pane>
<!--Settlement -->
<el-tab-pane label="Settlement" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--Settlement -->
<el-tab-pane label="Settlement" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--Completion -->
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--Completion -->
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--Messages -->
<el-tab-pane label="Messages" name="docpan">
<m-docpan :model="model" :codes="codes" />
</el-tab-pane>
<!--Messages -->
<el-tab-pane label="Messages" name="docpan">
<m-docpan :model="model" :codes="codes" />
</el-tab-pane>
<!--Attachments -->
<el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</c-page>
<!--Attachments -->
<el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
@select-ety="selectEty"
>
</c-grid-ety-prompt-dialog>
<c-grid-ety-prompt-dialog
ref="doxpDialog"
:isPty="false"
:promptData="promptData"
@select-ety="selectMsg"
>
</c-grid-ety-prompt-dialog>
</div>
</c-page>
</template>
<script>
import Api from "~/service/Api"
import Utils from "~/utils/index"
import CodeTable from "~/config/CodeTable"
import commonFuncs from "~/mixin/commonFuncs";
import Bctacc from "~/model/Bctacc"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Bctacc/Check"
import Default from "~/model/Bctacc/Default"
import Pattern from "~/model/Bctacc/Pattern"
import Bctset from "./Bctset"
import Detp from "./Detp"
import Ptyp from "./Ptyp"
import Engp from "~/views/Public/Engp"
import Setpan from "~/views/Public/Setpan"
import Coninfp from "~/views/Public/Coninfp"
import Docpan from "~/views/Public/Docpan"
import Doctre from "~/views/Public/Doctre"
import Api from "~/service/Api";
import Utils from "~/utils/index";
import CodeTable from "~/config/CodeTable";
import commonFuncs from "~/mixin/commonFuncs";
import Bctacc from "~/model/Bctacc";
import commonProcess from "~/mixin/commonProcess";
import Check from "~/model/Bctacc/Check";
import Default from "~/model/Bctacc/Default";
import Pattern from "~/model/Bctacc/Pattern";
import Bctset from "./Bctset";
import Detp from "./Detp";
import Ptyp from "./Ptyp";
import Engp from "~/views/Public/Engp";
import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre";
export default {
name: "Bctacc",
components: {
"m-bctset": Bctset,
"m-detp": Detp,
"m-ptyp": Ptyp,
"m-engp": Engp,
"m-setpan": Setpan,
"m-coninfp": Coninfp,
"m-docpan": Docpan,
"m-doctre": Doctre,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "bctset",
trnName: "bctacc",
model: new Bctacc().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
...CodeTable
},
}
},
methods: {
tabClick() {}
},
created: async function () {
console.log("进入bctacc交易");
let rtnmsg = await this.init(this.$route.query)
if (rtnmsg.respCode == SUCCESS) {
//更新数据
Utils.copyValueFromVO(this.model, rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
} else {
this.$notify.error({
title: '错误',
message: '服务请求失败!'
});
}
}
}
export default {
name: "Bctacc",
components: {
"m-bctset": Bctset,
"m-detp": Detp,
"m-ptyp": Ptyp,
"m-engp": Engp,
"m-setpan": Setpan,
"m-coninfp": Coninfp,
"m-docpan": Docpan,
"m-doctre": Doctre,
},
provide() {
return {
root: this,
};
},
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "bctset",
trnName: "bctacc",
model: new Bctacc().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
...CodeTable,
},
};
},
methods: {
tabClick() {},
},
created: async function () {
console.log("进入bctacc交易");
let rtnmsg = await this.init(this.$route.query);
if (rtnmsg.respCode == SUCCESS) {
//更新数据
Utils.copyValueFromVO(this.model, rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
} else {
this.$notify.error({
title: "错误",
message: "服务请求失败!",
});
}
},
};
</script>
<style></style>
\ No newline at end of file
<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