Commit cb6f5de5 by 唐贵贤

交易提交

parent b4319d01
import Utils from "~/utils"
/**
* Cctdav Check规则
*/
let checkObj = {
"ccdgrp.cbs.max.cur" :null,
"ccdgrp.dro.pts.extkey" :null,
"ccdgrp.cor.pts.adrblk" :null,
"ccdgrp.cbs.max.amt" :null,
"ccdgrp.rec.purflg" :null,
"ccdgrp.col.pts.extkey" :null,
"ccdgrp.col.pts.adrblk" :null,
"ccdgrp.pre.adrelc" :null,
"ccdgrp.dro.pts.adrblk" :null,
"ccdgrp.cor.namelc" :null,
"ccdgrp.col.namelc" :null,
"ccdgrp.dro.namelc" :null,
"ccdgrp.rec.tocsel" :null,
"ccdgrp.pre.namelc" :null,
"ccdgrp.rec.modset" :null,
"ccdgrp.cor.adrelc" :null,
"ccdgrp.cor.pts.extkey" :null,
"ccdgrp.rec.ownref" :null,
"ccdgrp.dro.adrelc" :null,
"ccdgrp.col.adrelc" :null,
"ccdgrp.pre.pts.adrblk" :null,
"ccdgrp.pre.pts.extkey" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Cctdav Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"ccdgrp.col.pts.extkey" :Utils.defaultFunction,
"ccdgrp.col.adrelc" :Utils.defaultFunction,
"ccdgrp.col.namelc" :Utils.defaultFunction,
"ccdgrp.col.dbfadrblkcn" :Utils.defaultFunction,
"ccdgrp.dro.pts.adrblk" :Utils.defaultFunction,
"ccdgrp.cbs.max.amt" :Utils.defaultFunction,
"cctp.usr.extkey" :Utils.defaultFunction,
"ccdgrp.dro.pts.extkey" :Utils.defaultFunction,
"ccdgrp.pre.pts.extkey" :Utils.defaultFunction,
"ccdgrp.pre.adrelc" :Utils.defaultFunction,
"ccdgrp.pre.namelc" :Utils.defaultFunction,
"ccdgrp.pre.dbfadrblkcn" :Utils.defaultFunction,
"ccdgrp.col.pts.adrblk" :Utils.defaultFunction,
"ccdgrp.pre.pts.adrblk" :Utils.defaultFunction,
"ccdgrp.rec.ownref" :Utils.defaultFunction,
"ccdgrp.dro.adrelc" :Utils.defaultFunction,
"ccdgrp.dro.namelc" :Utils.defaultFunction,
"ccdgrp.dro.dbfadrblkcn" :Utils.defaultFunction,
"ccdgrp.rec.ccform" :Utils.defaultFunction,
"ccdgrp.rec.modset" :Utils.defaultFunction,
"ccdgrp.cor.pts.extkey" :Utils.defaultFunction,
"ccdgrp.cor.pts.adrblk" :Utils.defaultFunction,
"ccdgrp.cbs.max.cur" :Utils.defaultFunction,
"ccdgrp.cor.adrelc" :Utils.defaultFunction,
"ccdgrp.cor.namelc" :Utils.defaultFunction,
"ccdgrp.cor.dbfadrblkcn" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
onSeainf(data) {
},
async onCctmodButgetref() {
let rtnmsg = await this.executeRule("cctmod.butgetref")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onPrepDet() {
let rtnmsg = await this.executeRule("prep.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onDropDet() {
let rtnmsg = await this.executeRule("drop.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onCorpDet() {
let rtnmsg = await this.executeRule("corp.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onColpDet() {
let rtnmsg = await this.executeRule("colp.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
}
\ No newline at end of file
export default {
"ccdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cctp.recget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"cctp.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ccdgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"ccdgrp.rec.regref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ccdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ccdgrp.pre.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ccdgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cctp.prep.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ccdgrp.pre.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cctp.prep.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ccdgrp.pre.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ccdgrp.pre.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ccdgrp.pre.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ccdgrp.pre.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ccdgrp.dro.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cctp.drop.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ccdgrp.dro.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cctp.drop.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ccdgrp.dro.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ccdgrp.dro.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ccdgrp.dro.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ccdgrp.rec.chcknum":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ccdgrp.orddat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"ccdgrp.dro.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ccdgrp.rec.chkdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"cctp.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"cctp.usrget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ccdgrp.col.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cctp.corp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cctp.colp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ccdgrp.cor.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cctp.corp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ccdgrp.col.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cctp.colp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ccdgrp.cor.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ccdgrp.col.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ccdgrp.cor.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ccdgrp.cor.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ccdgrp.col.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ccdgrp.col.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ccdgrp.cor.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ccdgrp.col.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Cctdav {
constructor() {
this.data = {
mtabut: {
coninf: {
oitset: {
oit: {
inftxt: "",
},
},
oitinf: {
oit: {
inftxt: "",
inflev: "",
},
},
usr: {
extkey: "",
},
conexedat: "",
},
},
trnmod: {
trndoc: {
doceot: "",
},
},
liaall: {
liaallg: "",
},
setmod: {
setglg: {
setgll: "",
},
glemod: {
gleshwstm: "", // Booking stream to Display .setmod.glemod.gleshwstm
setfol: "",
},
setfog: {
setfol: "",
},
setfeg: {
setfel: "",
},
},
ccdgrp: {
rec: {
ownref: "", // Our Reference .ccdgrp.rec.ownref
nam: "", // Name of CC contract .ccdgrp.rec.nam
regref: "", // Register Ref. .ccdgrp.rec.regref
ccform: "", // Form of Clean Coll. .ccdgrp.rec.ccform
modset: "", // Mode of Collection .ccdgrp.rec.modset
purflg: "", // Payment Disposition .ccdgrp.rec.purflg
tocsel: "", // Type of Check .ccdgrp.rec.tocsel
pretyp: "", // TYPE OF PRESENTER .ccdgrp.rec.pretyp
chcknum: "", // Check Number .ccdgrp.rec.chcknum
chkdat: "", // Date of Draft .ccdgrp.rec.chkdat
},
cbs: {
opn1: {
cur: "", // Open Amount .ccdgrp.cbs.opn1.cur
amt: "", // Open Amount .ccdgrp.cbs.opn1.amt
},
max: {
cur: "", // Draft Amount .ccdgrp.cbs.max.cur
amt: "", // Draft Amount .ccdgrp.cbs.max.amt
},
},
cor: {
pts: new Pts().data,
namelc: "", // 名称 .ccdgrp.cor.namelc
adrelc: "", // 地址 .ccdgrp.cor.adrelc
dbfadrblkcn: "", // Chinese address .ccdgrp.cor.dbfadrblkcn
},
pre: {
pts: new Pts().data,
namelc: "", // 名称 .ccdgrp.pre.namelc
adrelc: "", // 地址 .ccdgrp.pre.adrelc
dbfadrblkcn: "", // Chinese address .ccdgrp.pre.dbfadrblkcn
},
dro: {
pts: new Pts().data,
namelc: "", // 名称 .ccdgrp.dro.namelc
adrelc: "", // 地址 .ccdgrp.dro.adrelc
dbfadrblkcn: "", // Chinese address .ccdgrp.dro.dbfadrblkcn
},
col: {
pts: new Pts().data,
namelc: "", // 名称 .ccdgrp.col.namelc
adrelc: "", // 地址 .ccdgrp.col.adrelc
dbfadrblkcn: "", // Chinese address .ccdgrp.col.dbfadrblkcn
},
orddat: "", // Date of Order .ccdgrp.orddat
},
cctp: {
recget: {
sdamod: {
seainf: "", // .cctp.recget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .cctp.recget.sdamod.dadsnd
},
},
corp: {
ptsget: {
sdamod: {
seainf: "", // .cctp.corp.ptsget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .cctp.corp.ptsget.sdamod.dadsnd
},
},
},
prep: {
ptsget: {
sdamod: {
seainf: "", // .cctp.prep.ptsget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .cctp.prep.ptsget.sdamod.dadsnd
},
},
},
drop: {
ptsget: {
sdamod: {
seainf: "", // .cctp.drop.ptsget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .cctp.drop.ptsget.sdamod.dadsnd
},
},
},
colp: {
ptsget: {
sdamod: {
seainf: "", // .cctp.colp.ptsget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .cctp.colp.ptsget.sdamod.dadsnd
},
},
},
usr: {
extkey: "", // User ID .cctp.usr.extkey
},
usrget: {
sdamod: {
seainf: "", // .cctp.usrget.sdamod.seainf
},
},
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Cctsel Check规则
*/
let checkObj = {
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Cctsel Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"cfgfil.subtrn1" :Utils.defaultFunction,
"cfgfil.subtxt1" :Utils.defaultFunction,
"clsflg" :Utils.defaultFunction,
"cfgfil.subtrn9" :Utils.defaultFunction,
"cfgfil.subtxt9" :Utils.defaultFunction,
"cfgfil.subtrn8" :Utils.defaultFunction,
"cfgfil.subtxt8" :Utils.defaultFunction,
"selbut.trnpenlab" :Utils.defaultFunction,
"selbut.trnpenlab_descr" :Utils.defaultFunction,
"cfgfil.subtrn7" :Utils.defaultFunction,
"cfgfil.subtxt7" :Utils.defaultFunction,
"cfgfil.subtrn6" :Utils.defaultFunction,
"cfgfil.subtxt6" :Utils.defaultFunction,
"cfgfil.subtrn5" :Utils.defaultFunction,
"cfgfil.subtxt5" :Utils.defaultFunction,
"cfgfil.subtrn4" :Utils.defaultFunction,
"cfgfil.subtxt4" :Utils.defaultFunction,
"cfgfil.subtrn3" :Utils.defaultFunction,
"cfgfil.subtxt3" :Utils.defaultFunction,
"selbut.sptpenlab_descr" :Utils.defaultFunction,
"selbut.sptpenlab" :Utils.defaultFunction,
"cfgfil.subtrn2" :Utils.defaultFunction,
"cfgfil.subtxt2" :Utils.defaultFunction,
"ccdgrp.rec.ownref" :Utils.defaultFunction,
"cldgrp.rec.ownref" :Utils.defaultFunction,
"cfgfil.subtxt10" :Utils.defaultFunction,
"cfgfil.subtrn10" :Utils.defaultFunction,
"cfgfil.subtrn11" :Utils.defaultFunction,
"cfgfil.subtxt11" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
onSeainf() {
}
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Cctsel {
constructor() {
this.data = {
selbut: {
dspclsdat: "", // Label Closed .selbut.dspclsdat
dsppndram: "", // Display Number of Req. of Amendment .selbut.dsppndram
sptpenlab: "", // Label showing pending items stored for contract .selbut.sptpenlab
trnpenlab: "", // Label showing stored uncommited transactions for contract .selbut.trnpenlab
sptpenlab_descr: "", // Description for SPTPENLAB .selbut.sptpenlab_descr
trnpenlab_descr: "", // Description for TRNPENLAB .selbut.trnpenlab_descr
},
dspbpd: "", // Display BPE Contract .dspbpd
dspbpdclsdat: "", // Display Closing Date of Advance .dspbpdclsdat
cfgfil: {
bitmap: "", // Bitmap for folder .cfgfil.bitmap
regside1: "", // Regside .cfgfil.regside1
regside2: "", // Regside .cfgfil.regside2
regside3: "", // Regside .cfgfil.regside3
regside4: "", // Regside .cfgfil.regside4
regside5: "", // Regside .cfgfil.regside5
regside6: "", // Regside .cfgfil.regside6
regside7: "", // Regside .cfgfil.regside7
regside8: "", // Regside .cfgfil.regside8
regside9: "", // Regside .cfgfil.regside9
regside10: "", // Regside .cfgfil.regside10
regside11: "", // Regside .cfgfil.regside11
regside12: "", // Regside .cfgfil.regside12
subtxt1: "", // submenu text 1 .cfgfil.subtxt1
subtxt2: "", // submenu text 2 .cfgfil.subtxt2
subtxt3: "", // submenu text 3 .cfgfil.subtxt3
subtxt4: "", // submenu text 4 .cfgfil.subtxt4
subtxt5: "", // submenu text 5 .cfgfil.subtxt5
subtxt6: "", // submenu text 6 .cfgfil.subtxt6
subtxt7: "", // submenu text 7 .cfgfil.subtxt7
subtxt8: "", // submenu text 8 .cfgfil.subtxt8
subtxt9: "", // submenu text 9 .cfgfil.subtxt9
subtxt10: "", // submenu text 10 .cfgfil.subtxt10
subtxt11: "", // submenu text 11 .cfgfil.subtxt11
regtxt1: "", // Register text 1 .cfgfil.regtxt1
regtxt2: "", // Register text 2 .cfgfil.regtxt2
regtxt3: "", // Register text 3 .cfgfil.regtxt3
regtxt4: "", // Register text 4 .cfgfil.regtxt4
regtxt5: "", // Register text 5 .cfgfil.regtxt5
regtxt6: "", // Register text 6 .cfgfil.regtxt6
regtxt7: "", // Register text 7 .cfgfil.regtxt7
regtxt8: "", // Register text 8 .cfgfil.regtxt8
regtxt9: "", // Register text 9 .cfgfil.regtxt9
regtxt10: "", // Register text 10 .cfgfil.regtxt10
regtxt11: "", // Register text 11 .cfgfil.regtxt11
regtxt12: "", // Register text 12 .cfgfil.regtxt12
hotsub1: "", // hotspot submenu 1 .cfgfil.hotsub1
hotsub2: "", // hotspot submenu 1 .cfgfil.hotsub2
hotsub3: "", // hotspot submenu 1 .cfgfil.hotsub3
hotsub4: "", // hotspot submenu 1 .cfgfil.hotsub4
hotsub5: "", // hotspot submenu 1 .cfgfil.hotsub5
hotsub6: "", // hotspot submenu 1 .cfgfil.hotsub6
hotsub7: "", // hotspot submenu 1 .cfgfil.hotsub7
hotsub8: "", // hotspot submenu 1 .cfgfil.hotsub8
hotsub9: "", // hotspot submenu 1 .cfgfil.hotsub9
hotsub10: "", // hotspot submenu 1 .cfgfil.hotsub10
hotsub11: "", // hotspot submenu 1 .cfgfil.hotsub11
hotreg1: "", // hotspot reg1 .cfgfil.hotreg1
hotreg2: "", // hotspot reg2 .cfgfil.hotreg2
hotreg3: "", // hotspot reg3 .cfgfil.hotreg3
hotreg4: "", // hotspot reg4 .cfgfil.hotreg4
hotreg5: "", // hotspot reg5 .cfgfil.hotreg5
hotreg6: "", // hotspot reg6 .cfgfil.hotreg6
hotreg7: "", // hotspot reg7 .cfgfil.hotreg7
hotreg8: "", // hotspot reg8 .cfgfil.hotreg8
hotreg9: "", // hotspot reg9 .cfgfil.hotreg9
hotreg10: "", // hotspot reg10 .cfgfil.hotreg10
hotreg11: "", // hotspot reg11 .cfgfil.hotreg11
hotreg12: "", // hotspot reg12 .cfgfil.hotreg12
subtrn1: "", // Submenu trn 1 .cfgfil.subtrn1
subtrn2: "", // Submenu trn 2 .cfgfil.subtrn2
subtrn3: "", // Submenu trn 3 .cfgfil.subtrn3
subtrn4: "", // Submenu trn 4 .cfgfil.subtrn4
subtrn5: "", // Submenu trn 5 .cfgfil.subtrn5
subtrn6: "", // Submenu trn 6 .cfgfil.subtrn6
subtrn7: "", // Submenu trn 7 .cfgfil.subtrn7
subtrn8: "", // Submenu trn 8 .cfgfil.subtrn8
subtrn9: "", // Submenu trn 9 .cfgfil.subtrn9
subtrn10: "", // Submenu trn 10 .cfgfil.subtrn10
subtrn11: "", // Submenu trn 11 .cfgfil.subtrn11
},
recget: {
sdamod: {
seainf: "", // .recget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .recget.sdamod.dadsnd
},
},
clsflg: "", // Show closed Contract .clsflg
ledgrp: {
rec: {
ownref: "", // L/C Reference .ledgrp.rec.ownref
nam: "", // Externally Displayed Name to Identify the Contract .ledgrp.rec.nam
revflg: "", // Revolving Flag .ledgrp.rec.revflg
avbby: "", // Available by [AVBBY0] .ledgrp.rec.avbby
opndat: "", // Date Issued .ledgrp.rec.opndat
shpdat: "", // Shipment Date .ledgrp.rec.shpdat
expdat: "", // Date/Place of Expiry .ledgrp.rec.expdat
expplc: "", // Date/Place of Expiry .ledgrp.rec.expplc
lcrtyp: "", // Form of L/C .ledgrp.rec.lcrtyp
},
cbs: {
nom1: {
cur: "", // L/C Amount .ledgrp.cbs.nom1.cur
amt: "", // Balance .ledgrp.cbs.nom1.amt
},
opn1: {
cur: "", // Open Amount .ledgrp.cbs.opn1.cur
amt: "", // Balance .ledgrp.cbs.opn1.amt
},
},
ben: {
pts:""
//pts: new Pts().data,
},
iss: {
pts: new Pts().data,
},
apl: {
pts: new Pts().data,
},
avbnam: "", // Available with .ledgrp.avbnam
},
ccdgrp: {
rec: {
ownref: "", // Reference .ccdgrp.rec.ownref
nam: "", // Name of CC contract .ccdgrp.rec.nam
brchref: "", // Branch reference no. .ccdgrp.rec.brchref
rptbtchno: "", // Cash letter Batch No. .ccdgrp.rec.rptbtchno
chkdat: "", // Date of Draft .ccdgrp.rec.chkdat
ccform: "", // Form of Clean Coll. .ccdgrp.rec.ccform
purflg: "", // Payment disposition .ccdgrp.rec.purflg
modset: "", // Mode of settlement .ccdgrp.rec.modset
preref: "", // Presenter Draft Nb. .ccdgrp.rec.preref
prenam: "", // Presenter .ccdgrp.rec.prenam
droref: "", // Drawn on Bank Ref. .ccdgrp.rec.droref
dronam: "", // Drawn on Bank .ccdgrp.rec.dronam
colref: "", // Collecting Bank Ref . .ccdgrp.rec.colref
colnam: "", // Collecting Bank Name .ccdgrp.rec.colnam
},
cbs: {
max: {
cur: "", // Document Amount .ccdgrp.cbs.max.cur
amt: "", // Document Amount .ccdgrp.cbs.max.amt
},
opn1: {
cur: "", // Open Amount .ccdgrp.cbs.opn1.cur
amt: "", // Open Amount .ccdgrp.cbs.opn1.amt
},
nom1:{
cur:"",
amt:"",
},
},
ben: {
//pts:"",
pts: new Pts().data,
},
iss: {
pts: new Pts().data,
},
apl: {
pts: new Pts().data,
},
avbnam: "",
},
cldgrp: {
rec: {
ownref: "", // Reference .cldgrp.rec.ownref
nam: "", // Name of CC contract .cldgrp.rec.nam
colref: "", // Coll.bank ref. .cldgrp.rec.colref
colptynam: "", // Col.bank name .cldgrp.rec.colptynam
credat: "", // Date of creation .cldgrp.rec.credat
count: "", // ITEM COUNT .cldgrp.rec.count
chktyp: "", // Type of Draft .cldgrp.rec.chktyp
colflg: "", // Payemnt Disposition .cldgrp.rec.colflg
},
cbs: {
max: {
cur: "", // Document Amount .cldgrp.cbs.max.cur
amt: "", // Document Amount .cldgrp.cbs.max.amt
},
opn1: {
cur: "", // Currency .cldgrp.cbs.opn1.cur
amt: "", // Currency .cldgrp.cbs.opn1.amt
},
},
},
cldget: {
sdamod: {
seainf: "", // .cldget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .cldget.sdamod.dadsnd
},
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
<template>
<c-page title="光票托收建立">
<div class="eContainer">
<c-bus-button :$pntvm="this"></c-bus-button>
<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">
<!--PD000001 -->
<el-tab-pane label="基本信息" name="cctdav">
<m-cctdav :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="帐务" name="setpan">
<!--PD000000 -->
<c-content>
<m-setpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="报文及面函" name="docpan">
<m-docpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000546
<el-tab-pane label="附件" name="doctre">
<m-doctre :model="model" :codes="codes" />
</el-tab-pane>
-->
<el-tab-pane label="或有" name="engp">
<m-engp :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="分录" name="glepan">
<m-glepan :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</c-page>
</template>
<script>
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Cctdav from "~/model/Cctdav";
import CommonProcess from "~/mixin/CommonProcess";
import Check from "~/model/Cctdav/Check";
import Default from "~/model/Cctdav/Default";
import Pattern from "~/model/Cctdav/Pattern";
import Cctdav1 from "./Cctdav1";
import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp";
import Engp from "~/views/Public/Engp";
import Docpan from "~/views/Public/Docpan";
//import Doctre from "~/views/Public/Doctre";
import Glepan from "~/views/Public/Glepan";
export default {
name: "Cctdav1",
components: {
"m-setpan": Setpan,
"m-cctdav": Cctdav1,
"m-coninfp": Coninfp,
"m-engp": Engp,
//"m-doctre": Doctre,
"m-docpan": Docpan,
"m-glepan": Glepan,
},
provide() {
return {
root: this,
};
},
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "cctdav",
trnName: "cctdav",
model: new Cctdav().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {...CodeTable},
};
},
methods: {
tabClick() {},
},
created: async function () {
console.log("进入cctdav交易");
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
};
</script>
<style>
</style>
<template>
<el-table
:data="data"
border
stripe
:show-header="false"
:cell-style="cellSttyle"
>
<el-table-column prop="title" align="center">
<template slot-scope="scope">
<el-link
:disabled="scope.row.disabled"
:href="scope.row.url"
v-if="scope.row.title"
>{{ scope.row.title }}</el-link
>
</template>
</el-table-column>
</el-table>
</template>
<script>
export default {
props: ["data"],
data() {
return {
cellSttyle: { height: "25px" },
};
},
};
</script>
<style>
a {
text-decoration-line: none;
color: #606266;
}
a:hover {
color: blue;
}
</style>
\ No newline at end of file
<template>
<div class="eContainer">
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="150px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000027 -->
<el-tab-pane label="查询" name="sel">
<c-content>
<m-sel :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Cctsel from "~/model/Cctsel";
import CommonProcess from "~/mixin/CommonProcess";
import Check from "~/model/Cctsel/Check";
import Default from "~/model/Cctsel/Default";
import Pattern from "~/model/Cctsel/Pattern";
import Sel from "./Sel";
export default {
name: "Cctsel",
components: {
"m-sel": Sel,
},
provide() {
return {
root: this,
};
},
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "sel",
trnName: "cctsel",
model: new Cctsel().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {},
};
},
methods: {
tabClick() {},
},
created: async function () {
console.log("进入cctsel交易");
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
};
</script>
<style>
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment