Commit dd79cc39 by wangren

Merge branch 'development-202206' of http://192.168.0.110:11080/fukai/vue-gjjs…

Merge branch 'development-202206' of http://192.168.0.110:11080/fukai/vue-gjjs into development-202206
parents 5c0ffe0d 23dbed53
......@@ -99,7 +99,10 @@
</div>
</template>
<script>
import CodeTable from "~/config/CodeTable";
export default {
props: {
columns: {
......@@ -176,7 +179,11 @@ export default {
pageSize: 10,
selectAll: true,
columnGroup: [],
setColumnFlg: false
setColumnFlg: false,
codes:{
...CodeTable
}
};
},
mounted() {
......@@ -326,7 +333,8 @@ export default {
if(!value || !code){
return ""
}
let em = code.find(item=>item.value.trim() == value.trim())
let args=this.codes[code];
let em = args.find(item=>item.value.trim() == value.trim())
if(!em){
return value
}
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -255,25 +255,25 @@ export default {
"bodgrp.blk.chgtxt":[
//{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 210,message:"长度不能超过210"}
],
"bodgrp.blk.dftins":[
//{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 390,message:"长度不能超过390"}
],
"bodgrp.blk.proins":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 130,message:"长度不能超过130"}
],
"bodgrp.blk.othins":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 390,message:"长度不能超过390"}
],
......@@ -283,7 +283,7 @@ export default {
],
"bodgrp.blk.delins":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 130,message:"长度不能超过130"}
],
......
......@@ -7,25 +7,25 @@ export default {
"bodgrp.blk.chgtxt":[
//{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 210,message:"长度不能超过210"}
],
"bodgrp.blk.dftins":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 390,message:"长度不能超过390"}
],
"bodgrp.blk.proins":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 130,message:"长度不能超过130"}
],
"bodgrp.blk.othins":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 390,message:"长度不能超过390"}
],
......@@ -36,7 +36,7 @@ export default {
],
"bodgrp.blk.delins":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 130,message:"长度不能超过130"}
],
"bodgrp.drr.pts.ref":[
......
......@@ -4,26 +4,27 @@ import Utils from "~/utils"
* Brtlat Check规则
*/
let checkObj = {
"brdgrp.acb.namelc" :null,
"liaall.misamt" :null,
"liaall.liaccv.dnfmod.lxzyzh" :null,
"brdgrp.cbs.max.amt" :null,
"brdgrp.blk.docdis" :null,
"brtp.furide" :null,
"brdgrp.acb.adrelc" :null,
"brdgrp.blk.prsdoc" :null,
"brdgrp.shp.namelc" :null,
"brdgrp.acb.pts.extkey" :null,
"brdgrp.rec.disdat" :null,
"setmod.dspflg" :null,
"liaall.liaccv.dnfmod.kehuzh" :null,
"liaall.liaccv.totcovamt" :null,
"brdgrp.prb.pts.nam" :null,
"brdgrp.ben.pts.nam" :null,
"brdgrp.acb.pts.adrblk" :null,
"brdgrp.shp.adrelc" :null,
"liaall.liaccv.dnfmod.qicuje" :null,
"setmod.redamt" :null,
"liaall.liaccv.dnfmod.zhqtyp" :null,
"liaall.liaccv.dnfmod.ccvtyp" :null,
"brdgrp.prb.pts.ref" :null,
"brdgrp.apl.pts.nam" :null,
"setmod.docamt" :null,
"brdgrp.shp.pts.adrblk" :null,
"brdgrp.blk.setinsbr" :null,
"brdgrp.blk.comcon" :null,
"brdgrp.shp.pts.extkey" :null,
"liaall.liaccv.cshpct" :null,
"liaall.liaccv.dnfmod.yewudh" :null,
"liaall.liaccv.dnfmod.zhruzh" :null,
"liaall.liaccv.dnfmod.tizamt" :null,
"liaall.liaccv.relcshpct" :null,
}
for (const key in checkObj) {
......
......@@ -6,40 +6,34 @@ import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"lidgrp.rec.ownref" :Utils.defaultFunction,
"brdgrp.prb.pts.nam" :Utils.defaultFunction,
"brdgrp.cbs.max2.amt" :Utils.defaultFunction,
"setmod.setamt" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"brdgrp.shp.pts.extkey" :Utils.defaultFunction,
"brdgrp.shp.adrelc" :Utils.defaultFunction,
"brdgrp.shp.namelc" :Utils.defaultFunction,
"brdgrp.shp.dbfadrblkcn" :Utils.defaultFunction,
"brdgrp.shp.pts.adrblk" :Utils.defaultFunction,
"brdgrp.rec.advtyp" :Utils.defaultFunction,
"brdgrp.acb.pts.adrblk" :Utils.defaultFunction,
"brdgrp.blk.docdisflg" :Utils.defaultFunction,
"lidgrp.rec.expdat" :Utils.defaultFunction,
"liaall.liaccv.dnfmod.zhqtyp" :Utils.defaultFunction,
"liaall.liaccv.dnfmod.yewudh" :Utils.defaultFunction,
"liaall.liaccv.dnfmod.ccvtyp" :Utils.defaultFunction,
"brdgrp.ben.pts.nam" :Utils.defaultFunction,
"brdgrp.cbs.max.amt" :Utils.defaultFunction,
"lidgrp.cbs.opn1.amt" :Utils.defaultFunction,
"brdgrp.rec.docflg" :Utils.defaultFunction,
"brdgrp.cbs.max.cur" :Utils.defaultFunction,
"brdgrp.blk.docdis" :Utils.defaultFunction,
"brdgrp.apl.pts.nam" :Utils.defaultFunction,
"brdgrp.acb.pts.extkey" :Utils.defaultFunction,
"brdgrp.acb.adrelc" :Utils.defaultFunction,
"brdgrp.acb.namelc" :Utils.defaultFunction,
"brdgrp.acb.dbfadrblkcn" :Utils.defaultFunction,
"brtp.cre752flg" :Utils.defaultFunction,
"brdgrp.rec.ownref" :Utils.defaultFunction,
"brdgrp.rec.rtoaplflg" :Utils.defaultFunction,
"brdgrp.cbs.max.cur" :Utils.defaultFunction,
"lidgrp.rec.ownref" :Utils.defaultFunction,
"setmod.glemod.gleshwstm" :Utils.defaultFunction,
"liaall.liaccv.newamt" :Utils.defaultFunction,
"liaall.liaccv.totcovamt" :Utils.defaultFunction,
"liaall.liaccv.cshpct" :Utils.defaultFunction,
"brdgrp.rec.advdat" :Utils.defaultFunction,
"brdgrp.rec.relgodflg" :Utils.defaultFunction,
"brdgrp.rec.approvcod" :Utils.defaultFunction,
"brdgrp.rec.docsta" :Utils.defaultFunction,
"brdgrp.rec.disdat" :Utils.defaultFunction,
"brdgrp.rec.rcvdat" :Utils.defaultFunction,
"brdgrp.ben.pts.nam" :Utils.defaultFunction,
"brdgrp.rec.stadat" :Utils.defaultFunction,
"liaall.liaccv.addinf" :Utils.defaultFunction,
"liaall.liaccv.concur" :Utils.defaultFunction,
"brdgrp.rec.ownref" :Utils.defaultFunction,
"brdgrp.prb.pts.nam" :Utils.defaultFunction,
"lidgrp.rec.expdat" :Utils.defaultFunction,
"lidgrp.cbs.opn1.amt" :Utils.defaultFunction,
"brdgrp.rec.docflg" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"liaall.liaccv.dnfmod.kehuzh" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -2,8 +2,8 @@ import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onAcbpDet(){
let rtnmsg = await this.executeRule("acbp.det")
async onLiaallButmisamt(){
let rtnmsg = await this.executeRule("liaall.butmisamt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -14,8 +14,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDocdisButtxmsel(){
let rtnmsg = await this.executeRule("docdis.buttxmsel")
async onLiaallButmissig(){
let rtnmsg = await this.executeRule("liaall.butmissig")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -26,8 +26,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSetinstxmButtxmsel(){
let rtnmsg = await this.executeRule("setinstxm.buttxmsel")
async onLiaccvAdd(){
let rtnmsg = await this.executeRule("liaccv.add")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -38,8 +38,92 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onShppDet(){
let rtnmsg = await this.executeRule("shpp.det")
async onLiaccvDel(){
let rtnmsg = await this.executeRule("liaccv.del")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDnfmodGet(){
let rtnmsg = await this.executeRule("dnfmod.get")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDnfmodQcget(){
let rtnmsg = await this.executeRule("dnfmod.qcget")
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 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 onSyswrnButok(){
let rtnmsg = await this.executeRule("syswrn.butok")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSyswrnButcan(){
let rtnmsg = await this.executeRule("syswrn.butcan")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Liaall from "../Public/Liaall";
import Setmod from "../Public/Setmod";
import Mtabut from "../Public/Mtabut";
import Trnmod from "../Public/Trnmod";
export default class Brtlat{
constructor () {
this.data = {
brtapll1blk:"", // XMLPanel brtapll1的内置block .brtapll1blk
brdgrp:{
shp:{
pts:new Pts().data,
namelc:"", // 名称 .brdgrp.shp.namelc
adrelc:"", // 地址 .brdgrp.shp.adrelc
dbfadrblkcn:"", // Chinese address .brdgrp.shp.dbfadrblkcn
},
rec:{
ownref:"", // 单据参考号 .brdgrp.rec.ownref
nam:"", // Name of Bill Contract .brdgrp.rec.nam
......@@ -16,40 +26,29 @@ export default class Brtlat{
matdat:"", // Maturity Date .brdgrp.rec.matdat
tenmaxday:"", // Tenor day .brdgrp.rec.tenmaxday
stadat:"", // 远期单据到期日 .brdgrp.rec.stadat
totcur:"", // Amount to be Paid .brdgrp.rec.totcur
totamt:"", // Total Amount to be Paid .brdgrp.rec.totamt
igndisflg:"", // Ignore Discrepancies .brdgrp.rec.igndisflg
advtyp:"", // Type of Advice Received .brdgrp.rec.advtyp
totdat:"", // 付款日期 .brdgrp.rec.totdat
disdat:"", // Discrepancy Advice Dated .brdgrp.rec.disdat
approvcod:"", // Documents on Approval Basis .brdgrp.rec.approvcod
relgodflg:"", // Release of Goods .brdgrp.rec.relgodflg
reltyp:"", // Release Type .brdgrp.rec.reltyp
relgoddat:"", // issue date .brdgrp.rec.relgoddat
expdat:"", // Expiry Date of Shipping Guarantee .brdgrp.rec.expdat
trpdoctyp:"", // Transport Doc. Type .brdgrp.rec.trpdoctyp
trpdocnum:"", // Transport Doc. No. .brdgrp.rec.trpdocnum
tradat:"", // shipment date .brdgrp.rec.tradat
tramod:"", // Mode of Transport .brdgrp.rec.tramod
rtoaplflg:"", // Release Goods to Applicant ? .brdgrp.rec.rtoaplflg
ngrcod:"", // Goods code .brdgrp.rec.ngrcod
blnum:"", // B/L Number .brdgrp.rec.blnum
relgodflg: "", // Release of Goods .bddgrp.rec.relgodflg
reltyp: "", // Release Type .bddgrp.rec.reltyp
relgoddat: "", // issue date .bddgrp.rec.relgoddat
expdat: "", // Expiry Date of Shipping Guarantee .bddgrp.rec.expdat
trpdoctyp: "", // Transport Doc. Type .bddgrp.rec.trpdoctyp
trpdocnum: "", // Transport Doc. No. .bddgrp.rec.trpdocnum
tradat: "", // shipment date .bddgrp.rec.tradat
tramod: "", // Mode of Transport .bddgrp.rec.tramod
rtoaplflg: "", // Release Goods to Applicant ? .bddgrp.rec.rtoaplflg
ngrcod: "", // Goods code .bddgrp.rec.ngrcod
blnum: "", // B/L Number .bddgrp.rec.blnum
totcur: "", // Total Amount Claimed .bddgrp.rec.totcur
totamt: "", // Total Amount to be Paid .bddgrp.rec.totamt
},
cbs:{
max:{
cur:"", // 单据金额 .brdgrp.cbs.max.cur
amt:"", // Balance .brdgrp.cbs.max.amt
amt:"", // 单据金额 .brdgrp.cbs.max.amt
},
opn1:{
cur:"", // 单据余额 .brdgrp.cbs.opn1.cur
amt:"", // Balance .brdgrp.cbs.opn1.amt
},
opn2:{
cur:"", // 附加金额 .brdgrp.cbs.opn2.cur
},
max2:{
amt:"", // 附加金额 .brdgrp.cbs.max2.amt
},
},
apl:{
pts:new Pts().data,
......@@ -63,33 +62,21 @@ export default class Brtlat{
blk:{
prsdoc:"", // Documents Presented .brdgrp.blk.prsdoc
aplins:"", // Instructions Received from Applicant .brdgrp.blk.aplins
chaded:"", // Charges Deducted .brdgrp.blk.chaded
chaadd:"", // Charges Added .brdgrp.blk.chaadd
docdis:"", // Discrepancies .brdgrp.blk.docdis
docdisflg:"", // discrepancies modified .brdgrp.blk.docdisflg
comcon:"", // Comments and Conclusions .brdgrp.blk.comcon
setinsbr:"", // Settlement Instructions BR .brdgrp.blk.setinsbr
vesnam:"", // Vessel Name .brdgrp.blk.vesnam
pordis:"", // Port of Discharge .brdgrp.blk.pordis
delplc:"", // Place of Delivery .brdgrp.blk.delplc
roggod:"", // Covered Goods .brdgrp.blk.roggod
relstoadr:"", // Release to Address .brdgrp.blk.relstoadr
porlod:"", // Port of loading .brdgrp.blk.porlod
voynum:"", // Voyage numer .brdgrp.blk.voynum
notpty:"", // Notify Party .brdgrp.blk.notpty
carnam:"", // Carrier .brdgrp.blk.carnam
},
acb:{
pts:new Pts().data,
namelc:"", // 名称 .brdgrp.acb.namelc
adrelc:"", // 地址 .brdgrp.acb.adrelc
dbfadrblkcn:"", // Chinese address .brdgrp.acb.dbfadrblkcn
},
shp:{
pts:new Pts().data,
namelc:"", // 名称 .brdgrp.shp.namelc
adrelc:"", // 地址 .brdgrp.shp.adrelc
dbfadrblkcn:"", // Chinese address .brdgrp.shp.dbfadrblkcn
comcon: "", // Comments and Conclusions .bddgrp.blk.comcon
docdis: "", // Discrepancies .bddgrp.blk.docdis
docdisflg: "", // discrepancies modified .bddgrp.blk.docdisflg
accrmk: "", // 到期付款确认备注 .bddgrp.blk.accrmk
vesnam: "", // Vessel Name .bddgrp.blk.vesnam
pordis: "", // Port of Discharge .bddgrp.blk.pordis
delplc: "", // Place of Delivery .bddgrp.blk.delplc
roggod: "", // Covered Goods .bddgrp.blk.roggod
relstoadr: "", // Release to Address .bddgrp.blk.relstoadr
porlod: "", // Port of loading .bddgrp.blk.porlod
voynum: "", // Voyage numer .bddgrp.blk.voynum
notpty: "", // Notify Party .bddgrp.blk.notpty
carnam: "", // Carrier .bddgrp.blk.carnam
chaded: "", // Charges Deducted .bddgrp.blk.chaded
chaadd: "", // Charges .bddgrp.blk.chaadd
},
},
lidgrp:{
......@@ -120,20 +107,14 @@ export default class Brtlat{
matp:{
mattxtlab:"", // Label for MATTXT .brtp.matp.mattxtlab
},
acbp:{
prbp:{
ptsget:{
sdamod:{
seainf:"", // .brtp.acbp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .brtp.acbp.ptsget.sdamod.dadsnd
seainf:"", // .brtp.prbp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .brtp.prbp.ptsget.sdamod.dadsnd
},
},
},
docgrdm:{
docdsclab:"", // Label of document description .brtp.docgrdm.docdsclab
},
cre752flg:"", // Create 752 .brtp.cre752flg
furide:"", // Further Identification .brtp.furide
cre732flg:"", // Create MT 732 .brtp.cre732flg
shpp:{
ptsget:{
sdamod:{
......@@ -142,13 +123,19 @@ export default class Brtlat{
},
},
},
docgrdm:{
docgrd:"",
docdsclab:"", // Label of document description .brtp.docgrdm.docdsclab
},
prechkdat:"", // 预计核验日期 .brtp.prechkdat
ischktyp:"", // 是否需要核验 .brtp.ischktyp
connum:"", // Contract Number .brtp.connum
},
setmod:{
doccur:"", // document currency .setmod.doccur
docamt:"", // document amount .setmod.docamt
},
setmod:new Setmod().data,
gleflg:"", // 系统内付款且过�'� .gleflg
trnmod:new Trnmod().data,
liaall:new Liaall().data,
mtabut:new Mtabut().data,
pageId: "" // ctx的key
}
}
......
......@@ -5,44 +5,66 @@ import Utils from "~/utils"
*/
let checkObj = {
"liaall.misamt" :null,
"dftcre.dfdgrp.rec.resamt" :null,
"dftcre.dfdgrp.apl.namelc" :null,
"dftcre.dfdgrp.cbs.max.cur" :null,
"dftcre.dfdgrp.cbs.max.amt" :null,
"brdgrp.prb.adrelc" :null,
"cnybop.outflg" :null,
"cfatrt.cfaflg" :null,
"brdgrp.prb.pts.adrblk" :null,
"dftcre.dfdgrp.rec.bankno" :null,
"liaall.limmod.limpts.oth.pts.nam" :null,
"setmod.dspflg" :null,
"dftcre.dfdgrp.apl.pts.extkey" :null,
"cfatrt.ownextkey" :null,
"liaall.liaccv.totcovamt" :null,
"cfabrt.ownextkey" :null,
"dftcre.dfdgrp.dff.pts.extkey" :null,
"cfabrt.cfaflg" :null,
"cfatrt.cda.useofunds" :null,
"liaall.limmod.limpts.wrk.pts.nam" :null,
"cnybop.cnyflg" :null,
"dftcre.dfdgrp.rec.invtyp" :null,
"cfatrt.cda.cfeogudamount" :null,
"dftcre.dfdgrp.rec.stttendat" :null,
"brdgrp.prb.pts.ref" :null,
"brdgrp.apl.pts.nam" :null,
"cfadft.ownextkey" :null,
"brtp.ischktyp" :null,
"hmdmod2.bennam" :null,
"trnmod.swftyp" :null,
"dftcre.dfdgrp.dff.adrelc" :null,
"dftcre.dfdgrp.rec.fintyp" :null,
"liaall.limmod.limpts.oth.pts.extkey" :null,
"dftcre.dfdgrp.rec.matdat" :null,
"liaall.limmod.ownref" :null,
"dftcre.dfdgrp.rec.dfuflg" :null,
"liaall.limmod.ecifno" :null,
"dftcre.dfdgrp.rec.bankcn" :null,
"bopmod.szflg" :null,
"dftcre.dfdgrp.rec.trntyp" :null,
"brdgrp.cbs.max.amt" :null,
"cfadft.cfaflg" :null,
"cnybop.traflg" :null,
"brdgrp.prb.namelc" :null,
"dftcre.dfdgrp.apl.adrelc" :null,
"dftcre.dfdgrp.rec.flttyp" :null,
"dftcre.dfdgrp.rec.actrat" :null,
"brtp.prechkdat" :null,
"dftcre.dfdgrp.dff.pts.adrblk" :null,
"dftcre.dfdgrp.rec.intprd" :null,
"brdgrp.prb.pts.nam" :null,
"liaall.tenstm" :null,
"brdgrp.ben.pts.nam" :null,
"setmod.redamt" :null,
"aamset.utlamt2" :null,
"dftcre.dfdgrp.apl.pts.adrblk" :null,
"brdgrp.prb.pts.extkey" :null,
"trnmod.cmtflg" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null,
"bopmod.basflg" :null,
"dftcre.dfdgrp.dff.namelc" :null,
"brdgrp.rec.frepayflg" :null,
"mtabut.coninf.conexedat" :null,
"liaall.limmod.limpts.nonrevflg1" :null,
......
......@@ -6,6 +6,8 @@ import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"dftcre.dfdgrp.rec.dfuflg" :Utils.defaultFunction,
"dftcre.dfdgrp.rec.fintyp" :Utils.defaultFunction,
"bptbck.dscbckcur" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
......@@ -28,11 +30,18 @@ export default {
"bopmod.basflg" :Utils.defaultFunction,
"trnmod.swftyp" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.extkey" :Utils.defaultFunction,
"dftcre.dfdgrp.apl.pts.adrblk" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
"dftcre.dfdgrp.rec.trntyp" :Utils.defaultFunction,
"brtp.ischktyp" :Utils.defaultFunction,
"brdgrp.rec.frepayflg" :Utils.defaultFunction,
"trnmod.cmtflg" :Utils.defaultFunction,
"dftcre.dfdgrp.rec.ownref" :Utils.defaultFunction,
"dftcre.dfdgrp.apl.pts.extkey" :Utils.defaultFunction,
"dftcre.dfdgrp.apl.adrelc" :Utils.defaultFunction,
"dftcre.dfdgrp.apl.namelc" :Utils.defaultFunction,
"dftcre.dfdgrp.apl.dbfadrblkcn" :Utils.defaultFunction,
"cnybop.vouflg" :Utils.defaultFunction,
"bopmod.vrfflg" :Utils.defaultFunction,
"paypsb" :Utils.defaultFunction,
......@@ -45,10 +54,13 @@ export default {
"brdgrp.cbs.max.amt" :Utils.defaultFunction,
"brdgrp.apl.pts.nam" :Utils.defaultFunction,
"brdgrp.cbs.max.cur" :Utils.defaultFunction,
"dftcre.oricur" :Utils.defaultFunction,
"cfabrt.basflg" :Utils.defaultFunction,
"lidgrp.rec.ownref" :Utils.defaultFunction,
"liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction,
"dftcre.dfdgrp.dff.pts.adrblk" :Utils.defaultFunction,
"dftcre.dfdgrp.dff.pts.extkey" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"cfadft.basflg" :Utils.defaultFunction,
"setmod.glemod.gleshwstm" :Utils.defaultFunction,
......@@ -56,7 +68,11 @@ export default {
"brdgrp.rec.rcvdat" :Utils.defaultFunction,
"liaall.liaccv.newamt" :Utils.defaultFunction,
"liaall.liaccv.totcovamt" :Utils.defaultFunction,
"dftcre.dfdgrp.dff.adrelc" :Utils.defaultFunction,
"dftcre.dfdgrp.dff.namelc" :Utils.defaultFunction,
"dftcre.dfdgrp.dff.dbfadrblkcn" :Utils.defaultFunction,
"cfadft.cfaflg" :Utils.defaultFunction,
"dftcre.dfdgrp.cbs.max.cur" :Utils.defaultFunction,
"lidgrp.cbs.opn1.amt" :Utils.defaultFunction,
"liaall.liaccv.cshpct" :Utils.defaultFunction,
"brdgrp.rec.advdat" :Utils.defaultFunction,
......@@ -68,7 +84,9 @@ export default {
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"bopmod.dclflg" :Utils.defaultFunction,
"liaall.liaccv.addinf" :Utils.defaultFunction,
"dftcre.dfdgrp.rec.flttyp" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction,
"dftcre.dfdgrp.cbs.max.amt" :Utils.defaultFunction,
"cnybop.cnyflg" :Utils.defaultFunction,
"brdgrp.rec.ownref" :Utils.defaultFunction,
"brdgrp.prb.pts.nam" :Utils.defaultFunction,
......@@ -79,10 +97,13 @@ export default {
"aamset.utlamt2" :Utils.defaultFunction,
"brdgrp.cbs.opn1.amt" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"dftcre.dfdgrp.rec.resamt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.clsflg" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"cnybop.outflg" :Utils.defaultFunction,
"dftcre.dfdgrp.rec.matdat" :Utils.defaultFunction,
"dftcre.dfdgrp.rec.stttendat" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -206,5 +206,42 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDftpButgetref(){
let rtnmsg = await this.executeRule("dftp.butgetref")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onAplpDet(){
let rtnmsg = await this.executeRule("aplp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDffpDet(){
let rtnmsg = await this.executeRule("dffp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSeainf() {},
}
\ No newline at end of file
......@@ -450,12 +450,156 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 14,message:"长度不能超过14"}
],
"bopmod.basflg":[
{required: true, message: "必输项"},
"dftcre.dfdgrp.rec.pntref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"dftcre.dfdgrp.rec.pntnam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"dftcre.dfdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"dftcre.dfdgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"dftcre.oriamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"dftcre.dfdgrp.apl.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"dftcre.dfdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"dftcre.dfdgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"dftcre.dftp.aplp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"dftcre.dfdgrp.apl.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"dftcre.dftp.aplp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"dftcre.dfdgrp.apl.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dftcre.dfdgrp.apl.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dftcre.dfdgrp.apl.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dftcre.dfdgrp.apl.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brtp.ischktyp":[
{required: true, message: "必输项"},
"dftcre.dfdgrp.rec.stttendat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"dftcre.dfdgrp.dff.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"dftcre.dfdgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"dftcre.dftp.dffp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"dftcre.dfdgrp.dff.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"dftcre.dftp.dffp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"dftcre.dfdgrp.rec.tenday":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"dftcre.dfdgrp.dff.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dftcre.dfdgrp.dff.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dftcre.dfdgrp.dff.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dftcre.dfdgrp.rec.actrat":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"dftcre.dfdgrp.dff.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dftcre.dfdgrp.rec.fltval":[
{type: "string", required: false, message: "必输项"},
{max: 9,message:"长度不能超过9"}
],
"dftcre.dfdgrp.rec.bankno":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"dftcre.dfdgrp.rec.bankcn":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"dftcre.dfuamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"dftcre.dfdgrp.rec.resamt":[
{type: "number", required: false, message: "必输项"},
{max: 12,message:"整数位不能超过8位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"dftcre.dfdgrp.rec.bnkact":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
}
\ No newline at end of file
......@@ -2,6 +2,8 @@ import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Public from "../Public"
import Setmod from '../Public/Setmod'
import Liaall from '../Public/Liaall'
export default class Brtset{
constructor () {
......@@ -88,8 +90,8 @@ export default class Brtset{
prechkdat:"", // 预计核验日期 .brtp.prechkdat
ischktyp:"", // 是否需要核验 .brtp.ischktyp
},
liaall:pub.data.Liaall,
setmod: pub.data.Setmod ,
liaall: new Liaall().data,
setmod: new Setmod().data ,
aamset:{
utlamt:"", // 单据金额 .aamset.utlamt
utlamt2:"", // 附加金额 .aamset.utlamt2
......@@ -107,6 +109,76 @@ export default class Brtset{
trnmod:pub.data.Trnmod,
dftcre:{
dfflag:"", // 同业代付 .dftcre.dfflag
dfdgrp:{
rec:{
pntref:"", // Parent Reference .dftcre.dfdgrp.rec.pntref
pntnam:"", // Parent Contract Name .dftcre.dfdgrp.rec.pntnam
ownref:"", // 代付业务编号: .dftcre.dfdgrp.rec.ownref
nam:"", // Name of Loan Contract .dftcre.dfdgrp.rec.nam
fintyp:"", // 代付类型: .dftcre.dfdgrp.rec.fintyp
dfuflg:"", // 境内境外代付: .dftcre.dfdgrp.rec.dfuflg
trntyp:"", // 交易类型: .dftcre.dfdgrp.rec.trntyp
stttendat:"", // 代付起始日: . dftcre.dfdgrp.rec.stttendat
matdat:"", // 代付到期日: .dftcre.dfdgrp.rec.matdat
tenday:"", // 代付期限: .dftcre.dfdgrp.rec.tenday
intprd:"", // 计息周期: .dftcre.dfdgrp.rec.intprd
actrat:"", // 代付利率: .dftcre.dfdgrp.rec.actrat
flttyp:"", // 利率浮动方式: .dftcre.dfdgrp.rec.flttyp
guaflg:"", // 货押标识: .dftcre.dfdgrp.rec.guaflg
fltval:"", // 浮动值 .dftcre.dfdgrp.rec.fltval
bankcn:"", // 代付行中文名 .dftcre.dfdgrp.rec.bankcn
bankno:"", // 代付行核心客户号 .dftcre.dfdgrp.rec.bankno
bnkact:"", // 同业代付内部�'�号 .dftcre.dfdgrp.rec.bnkact
rescur:"", // 代付利息: .dftcre.dfdgrp.rec.rescur
resamt:"", // 代付利息 .dftcre.dfdgrp.rec.resamt
invtyp:"", // 发票类型 .dftcre.dfdgrp.rec.invtyp
},
cbs:{
max:{
amt:"", // 代付金额: .dftcre.dfdgrp.cbs.max.amt
cur:"", // 代付金额: .dftcre.dfdgrp.cbs.max.cur
},
opn1:{
amt:"", // 代付余额: .dftcre.dfdgrp.cbs.opn1.amt
cur:"", // 代付余额: .dftcre.dfdgrp.cbs.opn1.cur
},
},
apl:{
pts:new Pts().data,
namelc:"", // 名称 .dftcre.dfdgrp.apl.namelc
adrelc:"", // 地址 .dftcre.dfdgrp.apl.adrelc
dbfadrblkcn:"", // Chinese address .dftcre.dfdgrp.apl.dbfadrblkcn
},
dff:{
pts:new Pts().data,
namelc:"", // 名称 .dftcre.dfdgrp.dff.namelc
adrelc:"", // 地址 .dftcre.dfdgrp.dff.adrelc
dbfadrblkcn:"", // Chinese address .dftcre.dfdgrp.dff.dbfadrblkcn
},
},
dftp:{
pctlab:"", // Percentage Label .dftcre.dftp.pctlab
aplp:{
ptsget:{
sdamod:{
seainf:"", // .dftcre.dftp.aplp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .dftcre.dftp.aplp.ptsget.sdamod.dadsnd
},
},
},
dffp:{
ptsget:{
sdamod:{
seainf:"", // .dftcre.dftp.dffp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .dftcre.dftp.dffp.ptsget.sdamod.dadsnd
},
},
},
},
oricur:"", // 单据金额: .dftcre.oricur
oriamt:"", // 单据金额: .dftcre.oriamt
dfucur:"", // 代付金额: .dftcre.dfucur
dfuamt:"", // 代付金额: .dftcre.dfuamt
},
zcsdrq:"", // 最迟送达日期 .zcsdrq
bopmod:{
......@@ -114,7 +186,7 @@ export default class Brtset{
basflg:"", // 基础数据 .bopmod.basflg
dclflg:"", // 申报数据 .bopmod.dclflg
vrfflg:"", // 核销数据 .bopmod.vrfflg
ownextkey:"", // 地区机构号 .bopmod.ownextkey
ownextkey:"", // 地区机构号 .bopmod.ownextkey
acttyp:"", // 款项去向 .bopmod.acttyp
},
cfadft:{
......
import Utils from "~/utils"
/**
* Brtsnd Check规则
*/
let checkObj = {
"brdgrp.rmb.pts.adrblk" :null,
"brdgrp.acb.namelc" :null,
"brdgrp.prb.adrelc" :null,
"brdgrp.blk.docdis" :null,
"brtp.furide" :null,
"brdgrp.acb.adrelc" :null,
"brdgrp.beb.pts.adrblk" :null,
"brtp.oth.pts.extkey" :null,
"brdgrp.prb.pts.adrblk" :null,
"brdgrp.beb.adrelc" :null,
"brdgrp.prb.namelc" :null,
"brdgrp.shp.namelc" :null,
"brtp.prechkdat" :null,
"brdgrp.rmb.pts.extkey" :null,
"brdgrp.rec.rcvdat" :null,
"brtp.oth.pts.adrblk" :null,
"brdgrp.acb.pts.extkey" :null,
"brdgrp.beb.pts.extkey" :null,
"brdgrp.beb.namelc" :null,
"brdgrp.rec.disdat" :null,
"brdgrp.prb.pts.nam" :null,
"brdgrp.ben.pts.nam" :null,
"brdgrp.acb.pts.adrblk" :null,
"brdgrp.rec.predat" :null,
"brdgrp.prb.pts.extkey" :null,
"brtp.oth.adrelc" :null,
"brdgrp.shp.adrelc" :null,
"brtp.oth.namelc" :null,
"brdgrp.apl.pts.nam" :null,
"brdgrp.rmb.namelc" :null,
"brtp.ischktyp" :null,
"brdgrp.shp.pts.adrblk" :null,
"brdgrp.blk.setinsbr" :null,
"brdgrp.rmb.adrelc" :null,
"brdgrp.blk.comcon" :null,
"brdgrp.shp.pts.extkey" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Brtsnd Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"brdgrp.rmb.pts.adrblk" :Utils.defaultFunction,
"brdgrp.prb.pts.extkey" :Utils.defaultFunction,
"brdgrp.prb.adrelc" :Utils.defaultFunction,
"brdgrp.prb.namelc" :Utils.defaultFunction,
"brdgrp.prb.dbfadrblkcn" :Utils.defaultFunction,
"brdgrp.prb.pts.adrblk" :Utils.defaultFunction,
"brdgrp.rmb.pts.extkey" :Utils.defaultFunction,
"brdgrp.rmb.adrelc" :Utils.defaultFunction,
"brdgrp.rmb.namelc" :Utils.defaultFunction,
"brdgrp.rmb.dbfadrblkcn" :Utils.defaultFunction,
"brdgrp.acb.pts.adrblk" :Utils.defaultFunction,
"brtp.ischktyp" :Utils.defaultFunction,
"brtp.oth.pts.extkey" :Utils.defaultFunction,
"brtp.oth.adrelc" :Utils.defaultFunction,
"brtp.oth.namelc" :Utils.defaultFunction,
"brtp.oth.dbfadrblkcn" :Utils.defaultFunction,
"brdgrp.shp.pts.extkey" :Utils.defaultFunction,
"brdgrp.beb.pts.extkey" :Utils.defaultFunction,
"brdgrp.beb.adrelc" :Utils.defaultFunction,
"brdgrp.beb.namelc" :Utils.defaultFunction,
"brdgrp.beb.dbfadrblkcn" :Utils.defaultFunction,
"brdgrp.acb.pts.extkey" :Utils.defaultFunction,
"brdgrp.acb.adrelc" :Utils.defaultFunction,
"brdgrp.acb.namelc" :Utils.defaultFunction,
"brdgrp.acb.dbfadrblkcn" :Utils.defaultFunction,
"brtp.oth.pts.adrblk" :Utils.defaultFunction,
"brdgrp.cbs.max2.amt" :Utils.defaultFunction,
"brdgrp.ben.pts.nam" :Utils.defaultFunction,
"brdgrp.rec.docprbrol" :Utils.defaultFunction,
"brdgrp.cbs.max.amt" :Utils.defaultFunction,
"brdgrp.apl.pts.nam" :Utils.defaultFunction,
"brdgrp.cbs.max.cur" :Utils.defaultFunction,
"lidgrp.rec.ownref" :Utils.defaultFunction,
"brdgrp.beb.pts.adrblk" :Utils.defaultFunction,
"brdgrp.rec.advdat" :Utils.defaultFunction,
"brdgrp.rec.relgodflg" :Utils.defaultFunction,
"brdgrp.rec.approvcod" :Utils.defaultFunction,
"brdgrp.rec.docsta" :Utils.defaultFunction,
"brdgrp.rec.advtyp" :Utils.defaultFunction,
"brdgrp.rec.disdat" :Utils.defaultFunction,
"brdgrp.rec.rcvdat" :Utils.defaultFunction,
"brdgrp.blk.docdis" :Utils.defaultFunction,
"brdgrp.rec.stadat" :Utils.defaultFunction,
"brdgrp.rec.payrol" :Utils.defaultFunction,
"brdgrp.shp.pts.adrblk" :Utils.defaultFunction,
"brdgrp.shp.adrelc" :Utils.defaultFunction,
"brdgrp.shp.namelc" :Utils.defaultFunction,
"brdgrp.shp.dbfadrblkcn" :Utils.defaultFunction,
"brdgrp.rec.ownref" :Utils.defaultFunction,
"brdgrp.prb.pts.nam" :Utils.defaultFunction,
"brdgrp.blk.docdisflg" :Utils.defaultFunction,
"lidgrp.rec.expdat" :Utils.defaultFunction,
"lidgrp.cbs.opn1.amt" :Utils.defaultFunction,
"brdgrp.rec.docflg" :Utils.defaultFunction,
"brdgrp.rec.predat" :Utils.defaultFunction,
"brdgrp.cbs.opn2.cur" :Utils.defaultFunction,
"brdgrp.cbs.opn1.amt" :Utils.defaultFunction,
"brtp.cre752flg" :Utils.defaultFunction,
"brdgrp.rec.rtoaplflg" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onPrbpDet(){
let rtnmsg = await this.executeRule("prbp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOthpDet(){
let rtnmsg = await this.executeRule("othp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDocdisButtxmsel(){
let rtnmsg = await this.executeRule("docdis.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSetinstxmButtxmsel(){
let rtnmsg = await this.executeRule("setinstxm.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onShppDet(){
let rtnmsg = await this.executeRule("shpp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onAcbpDet(){
let rtnmsg = await this.executeRule("acbp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRmbpDet(){
let rtnmsg = await this.executeRule("rmbp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBebpDet(){
let rtnmsg = await this.executeRule("bebp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSeainf() {},
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Liaall from "../Public/Liaall";
import Setmod from "../Public/Setmod";
import Mtabut from "../Public/Mtabut";
import Trnmod from "../Public/Trnmod";
export default class Brtsnd{
constructor () {
this.data = {
liaall:new Liaall().data,
setmod: new Setmod().data ,
mtabut:new Mtabut().data,
trnmod:new Trnmod().data,
brdgrp:{
rec:{
ownref:"", // 单据参考号 .brdgrp.rec.ownref
nam:"", // Name of Bill Contract .brdgrp.rec.nam
rcvdat:"", // Received on .brdgrp.rec.rcvdat
advdat:"", // 到单日期 .brdgrp.rec.advdat
docflg:"", // 单据类型 .brdgrp.rec.docflg
docsta:"", // 单据状态 .brdgrp.rec.docsta
matdat:"", // Maturity Date .brdgrp.rec.matdat
tenmaxday:"", // Tenor day .brdgrp.rec.tenmaxday
stadat:"", // 远期单据到期日 .brdgrp.rec.stadat
predat:"", // Presentation Date .brdgrp.rec.predat
docprbrol:"", // Presented by .brdgrp.rec.docprbrol
payrol:"", // Payer .brdgrp.rec.payrol
igndisflg:"", // Ignore Discrepancies .brdgrp.rec.igndisflg
advtyp:"", // Type of Advice Received .brdgrp.rec.advtyp
totdat:"", // Date to be Paid .brdgrp.rec.totdat
disdat:"", // Discrepancy Advice Dated .brdgrp.rec.disdat
approvcod:"", // Documents on Approval Basis .brdgrp.rec.approvcod
relgodflg:"", // Release of Goods .brdgrp.rec.relgodflg
reltyp:"", // Release Type .brdgrp.rec.reltyp
relgoddat:"", // issue date .brdgrp.rec.relgoddat
expdat:"", // Expiry Date of Shipping Guarantee .brdgrp.rec.expdat
trpdoctyp:"", // Transport Doc. Type .brdgrp.rec.trpdoctyp
trpdocnum:"", // Transport Doc. No. .brdgrp.rec.trpdocnum
tradat:"", // shipment date .brdgrp.rec.tradat
tramod:"", // Mode of Transport .brdgrp.rec.tramod
rtoaplflg:"", // Release Goods to Applicant ? .brdgrp.rec.rtoaplflg
ngrcod:"", // Goods code .brdgrp.rec.ngrcod
blnum:"", // B/L Number .brdgrp.rec.blnum
totcur:"", // Total Amount Claimed .brdgrp.rec.totcur
totamt:"", // Total Amount to be Paid .brdgrp.rec.totamt
},
cbs:{
max:{
cur:"", // Document Amount .brdgrp.cbs.max.cur
amt:"", // Balance .brdgrp.cbs.max.amt
},
opn1:{
cur:"", // 单据余额 .brdgrp.cbs.opn1.cur
amt:"", // Balance .brdgrp.cbs.opn1.amt
},
opn2:{
cur:"", // 附加金额 .brdgrp.cbs.opn2.cur
},
max2:{
amt:"", // 附加金额 .brdgrp.cbs.max2.amt
},
},
apl:{
pts:new Pts().data,
},
ben:{
pts:new Pts().data,
},
prb:{
pts:new Pts().data,
namelc:"", // 名称 .brdgrp.prb.namelc
adrelc:"", // 地址 .brdgrp.prb.adrelc
dbfadrblkcn:"", // Chinese address .brdgrp.prb.dbfadrblkcn
},
blk:{
aplins:"", // Instructions Received .brdgrp.blk.aplins
comcon:"", // Comments and Conclusions .brdgrp.blk.comcon
setinsbr:"", // Settlement Instructions BR .brdgrp.blk.setinsbr
docdis:"", // 不符点 .brdgrp.blk.docdis
docdisflg:"", // discrepancies modified .brdgrp.blk.docdisflg
vesnam:"", // Vessel Name .brdgrp.blk.vesnam
pordis:"", // Port of Discharge .brdgrp.blk.pordis
delplc:"", // Place of Delivery .brdgrp.blk.delplc
roggod:"", // Covered Goods .brdgrp.blk.roggod
relstoadr:"", // Release to Address .brdgrp.blk.relstoadr
porlod:"", // Port of loading .brdgrp.blk.porlod
voynum:"", // Voyage numer .brdgrp.blk.voynum
notpty:"", // Notify Party .brdgrp.blk.notpty
carnam:"", // Carrier .brdgrp.blk.carnam
chaded:"", // Charges Deducted .brdgrp.blk.chaded
chaadd:"", // Charges .brdgrp.blk.chaadd
nartxt77a:"", // Narrative TAG 77A of MT754 .brdgrp.blk.nartxt77a
prsdoc:"",
},
shp:{
pts:new Pts().data,
namelc:"", // 名称 .brdgrp.shp.namelc
adrelc:"", // 地址 .brdgrp.shp.adrelc
dbfadrblkcn:"", // Chinese address .brdgrp.shp.dbfadrblkcn
},
acb:{
pts:new Pts().data,
namelc:"", // 名称 .brdgrp.acb.namelc
adrelc:"", // 地址 .brdgrp.acb.adrelc
dbfadrblkcn:"", // Chinese address .brdgrp.acb.dbfadrblkcn
},
rmb:{
pts:new Pts().data,
namelc:"", // 名称 .brdgrp.rmb.namelc
adrelc:"", // 地址 .brdgrp.rmb.adrelc
dbfadrblkcn:"", // Chinese address .brdgrp.rmb.dbfadrblkcn
},
beb:{
pts:new Pts().data,
namelc:"", // 名称 .brdgrp.beb.namelc
adrelc:"", // 地址 .brdgrp.beb.adrelc
dbfadrblkcn:"", // Chinese address .brdgrp.beb.dbfadrblkcn
},
},
lidgrp:{
rec:{
ownref:"", // 信用证编号 .lidgrp.rec.ownref
expdat:"", // Date of Expiry .lidgrp.rec.expdat
},
cbs:{
opn1:{
cur:"", // Currency .lidgrp.cbs.opn1.cur
amt:"", // Balance .lidgrp.cbs.opn1.amt
},
},
},
brtp:{
lidget:{
sdamod:{
seainf:"", // .brtp.lidget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .brtp.lidget.sdamod.dadsnd
},
},
recget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .brtp.recget.sdamod.dadsnd
seainf:"", // .brtp.recget.sdamod.seainf
},
},
matp:{
mattxtlab:"", // Label for MATTXT .brtp.matp.mattxtlab
},
prbp:{
ptsget:{
sdamod:{
seainf:"", // .brtp.prbp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .brtp.prbp.ptsget.sdamod.dadsnd
},
},
},
oth:{
pts:new Pts().data,
namelc:"", // 名称 .brtp.oth.namelc
adrelc:"", // 地址 .brtp.oth.adrelc
dbfadrblkcn:"", // Chinese address .brtp.oth.dbfadrblkcn
},
othp:{
ptsget:{
sdamod:{
seainf:"", // .brtp.othp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .brtp.othp.ptsget.sdamod.dadsnd
},
},
},
prechkdat:"", // 预计核验日期 .brtp.prechkdat
ischktyp:"", // 是否需要核验 .brtp.ischktyp
docgrdm:{
docgrd:"",
docdsclab:"", // Label of document description .brtp.docgrdm.docdsclab
},
cre752flg:"", // Create 752 .brtp.cre752flg
furide:"", // Further Identification .brtp.furide
cre732flg:"", // Create MT 732 .brtp.cre732flg
shpp:{
ptsget:{
sdamod:{
seainf:"", // .brtp.shpp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .brtp.shpp.ptsget.sdamod.dadsnd
},
},
},
connum:"", // Contract Number .brtp.connum
acbp:{
ptsget:{
sdamod:{
seainf:"", // .brtp.acbp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .brtp.acbp.ptsget.sdamod.dadsnd
},
},
},
rmbp:{
ptsget:{
sdamod:{
seainf:"", // .brtp.rmbp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .brtp.rmbp.ptsget.sdamod.dadsnd
},
},
},
bebp:{
ptsget:{
sdamod:{
seainf:"", // .brtp.bebp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .brtp.bebp.ptsget.sdamod.dadsnd
},
},
},
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Gctcan Check规则
*/
let checkObj = {
"liaall.misamt" :null,
"setmod.dspflg" :null,
"mtabut.coninf.conexedat" :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
/**
* Gctcan Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"gidgrp.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,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"gidgrp.rec.liadat" :Utils.defaultFunction,
"gidgrp.rec.expdat" :Utils.defaultFunction,
"gidgrp.rec.gartyp" :Utils.defaultFunction,
"gcdgrp.cbs.max.cur" :Utils.defaultFunction,
"gcdgrp.apl.pts.nam" :Utils.defaultFunction,
"gcdgrp.ben.pts.nam" :Utils.defaultFunction,
"gcdgrp.rec.ownref" :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,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :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: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"gctp0.gidget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gidgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gctp0.gidget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"gidgrp.rec.expdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"gidgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"gidgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"gcdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gctp0.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gctp0.recget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"gcdgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"gcdgrp.cbs.max.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"gcdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"gcdgrp.apl.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gcdgrp.apl.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"gcdgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"gcdgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"gcdgrp.ben.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gidgrp.rec.liadat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"gcdgrp.ben.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"gcdgrp.rec.clmdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"liaall.outamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.outpct":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"liaall.concur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"liaall.misamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.exttotoldamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.exttotamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"setmod.docamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.zmqacc":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"mtabut.coninf.oitinf.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.oitset.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.conexedat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"mtabut.coninf.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"trnmod.trndoc.advnam":[
{type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"trnmod.trndoc.amdapl":[
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"trnmod.trndoc.advdoc":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trnmod.trndoc.filrecv":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"trnmod.trndoc.doctrestm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trnmod.trndoc.condocstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trnmod.trndoc.rcvatt.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "../Public"
export default class Gctcan{
constructor () {
this.data = {
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
gctp0:{
aplmullab:"", // Label, that is set, if there are multiple applicants .gctp0.aplmullab
liafldlab:"", // Label for Field Liability .gctp0.liafldlab
expfldlab:"", // Label for Field Validity .gctp0.expfldlab
explab:"", // Label unlimited Validity .gctp0.explab
lialab:"", // Label unlimited Liability .gctp0.lialab
gidget:{
sdamod:{
seainf:"", // .gctp0.gidget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .gctp0.gidget.sdamod.dadsnd
},
},
recget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .gctp0.recget.sdamod.dadsnd
seainf:"", // .gctp0.recget.sdamod.seainf
},
},
adaflg:"", // Add. Amount .gctp0.adaflg
},
gidgrp:{
rec:{
ownref:"", // Guarantee .gidgrp.rec.ownref
expdat:"", // Valid until .gidgrp.rec.expdat
gartyp:"", // Type of Undertaking .gidgrp.rec.gartyp
liadat:"", // Liability until .gidgrp.rec.liadat
},
cbs:{
opn1:{
cur:"", // Open Guar. Amt. .gidgrp.cbs.opn1.cur
amt:"", // Balance .gidgrp.cbs.opn1.amt
},
},
},
gcdgrp:{
rec:{
ownref:"", // Claim Number .gcdgrp.rec.ownref
nam:"", // Externally Displayed Name to Identify the Contract .gcdgrp.rec.nam
clmdat:"", // Date of Claim .gcdgrp.rec.clmdat
},
cbs:{
max:{
cur:"", // Amount Claimed .gcdgrp.cbs.max.cur
amt:"", // Balance .gcdgrp.cbs.max.amt
},
opn1:{
cur:"", // Open Amount .gcdgrp.cbs.opn1.cur
amt:"", // Balance .gcdgrp.cbs.opn1.amt
},
},
apl:{
pts:new Pts().data,
},
ben:{
pts:new Pts().data,
},
},
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
// },
// setmod:{
// docamttyplab:"", // settled amount description as label .setmod.docamttyplab
// retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
// ref:"", // our reference .setmod.ref
// doccur:"", // document currency .setmod.doccur
// docamt:"", // document amount .setmod.docamt
// dspflg:"", // Type of settlement .setmod.dspflg
// xreflg:"", // Recalculate Rates .setmod.xreflg
// setglg:{
// labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg
// },
// zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
// zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
// },
// mtabut:{
// coninf:{
// oitinf:{
// labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
// oit:{
// inftxt:"", // Infotext .mtabut.coninf.oitinf.oit.inftxt
// inflev:"", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
// },
// },
// oitset:{
// labinftxt:"", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
// oit:{
// inftxt:"", // Infotext .mtabut.coninf.oitset.oit.inftxt
// inflev:"", // Infotext Level .mtabut.coninf.oitset.oit.inflev
// },
// },
// conexedat:"", // 执行日期 .mtabut.coninf.conexedat
// usr:{
// extkey:"", // User ID .mtabut.coninf.usr.extkey
// },
// },
// },
// trnmod:{
// trndoc:{
// advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel
// amdnam:"", // AMDNAM .trnmod.trndoc.amdnam
// advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc
// advnam:"", // 国内证落款 .trnmod.trndoc.advnam
// amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl
// doclbl:"", // Lable for CONDOCSTM .trnmod.trndoc.doclbl
// doctrestm:"", // Document tree .trnmod.trndoc.doctrestm
// shwinc:"", // Show Incoming Messages .trnmod.trndoc.shwinc
// shwout:"", // Show Outgoing Messages .trnmod.trndoc.shwout
// condocstm:"", // Connected Documents .trnmod.trndoc.condocstm
// rcvatt:{
// seainf:"", // .trnmod.trndoc.rcvatt.seainf
// },
// filrecv:"", // File Receiver .trnmod.trndoc.filrecv
// },
// },
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Getcan 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,
"newref" :null,
"setmod.docamt" :null,
"mtabut.clsflg" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Getcan Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"gidgrp.iss.pts.nam" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction,
"gidgrp.rec.ownref" :Utils.defaultFunction,
"gidgrp.cbs.opn1.cur" :Utils.defaultFunction,
"gidgrp.rec.liadat" :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,
"gidgrp.rec.expdat" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.extkey" :Utils.defaultFunction,
"gidgrp.cbs.max.amt" :Utils.defaultFunction,
"gidgrp.cbs.max.cur" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
"gidgrp.ben.pts.nam" :Utils.defaultFunction,
"gidgrp.rec.gartyp" :Utils.defaultFunction,
"gidgrp.rec.hndtyp" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction,
"gidgrp.apl.pts.nam" :Utils.defaultFunction,
"gidgrp.rec.purcan" :Utils.defaultFunction,
"liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"gidgrp.ctr.pts.nam" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"gidgrp.cbs.opn1.amt" :Utils.defaultFunction,
"mtabut.clsflg" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onLiaallButmisamt(){
let rtnmsg = await this.executeRule("liaall.butmisamt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLiaallButmissig(){
let rtnmsg = await this.executeRule("liaall.butmissig")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSetmodDet(){
let rtnmsg = await this.executeRule("setmod.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButshw(){
let rtnmsg = await this.executeRule("trndoc.butshw")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButadd(){
let rtnmsg = await this.executeRule("trndoc.butadd")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButnew(){
let rtnmsg = await this.executeRule("trndoc.butnew")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButattto(){
let rtnmsg = await this.executeRule("trndoc.butattto")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButdel(){
let rtnmsg = await this.executeRule("trndoc.butdel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButatt(){
let rtnmsg = await this.executeRule("trndoc.butatt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onWrkpDet(){
let rtnmsg = await this.executeRule("wrkp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOthpDet(){
let rtnmsg = await this.executeRule("othp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimptsGet1(){
let rtnmsg = await this.executeRule("limpts.get1")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimptsGet2(){
let rtnmsg = await this.executeRule("limpts.get2")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimmodTrycal(){
let rtnmsg = await this.executeRule("limmod.trycal")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"gitp0.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gidgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gitp0.recget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"gidgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"gidgrp.cbs.max.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"gidgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"gidgrp.apl.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"gidgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"gidgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"gidgrp.ben.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"gidgrp.ctr.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"gidgrp.rec.expdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"gidgrp.rec.liadat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"gidgrp.iss.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"newref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"trnmod.swiadd.strinf":[
{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.outpct":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"liaall.concur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"liaall.misamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.exttotoldamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.exttotamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"setmod.docamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.zmqacc":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"mtabut.coninf.oitinf.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.oitset.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.conexedat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"mtabut.coninf.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"trnmod.trndoc.advnam":[
{type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"trnmod.trndoc.amdapl":[
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"trnmod.trndoc.advdoc":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trnmod.trndoc.filrecv":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"trnmod.trndoc.doctrestm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trnmod.trndoc.condocstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trnmod.trndoc.rcvatt.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"liaall.limmod.ecifno":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"liaall.limmod.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"liaall.limmod.wrkp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"liaall.limmod.othp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"liaall.limmod.limpts.wrk.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"liaall.limmod.wrkp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"liaall.limmod.limpts.oth.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"liaall.limmod.othp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"liaall.limmod.comamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.limmod.limpts.wrk.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"liaall.limmod.limpts.oth.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"liaall.limmod.ccvamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.limmod.limpts.pfcod1":[
{type: "string", required: false, message: "必输项"},
{max: 14,message:"长度不能超过14"}
],
"liaall.limmod.limpts.pfcod2":[
{type: "string", required: false, message: "必输项"},
{max: 14,message:"长度不能超过14"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "../Public"
export default class Getcan{
constructor () {
this.data = {
letbenl1blk: "",
letissl1blk: "",
leta2bl1blk: "",
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
gitp0:{
explab:"", // Label unlimited Validity .gitp0.explab
lialab:"", // Label unlimited lLability .gitp0.lialab
aplmullab:"", // Label, that is set, if there are multiple applicants .gitp0.aplmullab
expfldlab:"", // Label for Field Validity .gitp0.expfldlab
liafldlab:"", // Label for Field Lability .gitp0.liafldlab
recget:{
sdamod:{
seainf:"", // .gitp0.recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .gitp0.recget.sdamod.dadsnd
},
},
},
gidgrp:{
rec:{
ownref:"", // Reference .gidgrp.rec.ownref
nam:"", // Externally Displayed Name to Identify the Contract .gidgrp.rec.nam
hndtyp:"", // Handling Type .gidgrp.rec.hndtyp
gartyp:"", // Type of Undertaking .gidgrp.rec.gartyp
expdat:"", // Valid until .gidgrp.rec.expdat
liadat:"", // Liability until .gidgrp.rec.liadat
purcan:"", // Reason of Cancelation .gidgrp.rec.purcan
},
cbs:{
max:{
cur:"", // Currency .gidgrp.cbs.max.cur
amt:"", // Balance .gidgrp.cbs.max.amt
},
opn1:{
cur:"", // Currency .gidgrp.cbs.opn1.cur
amt:"", // Balance .gidgrp.cbs.opn1.amt
},
},
apl:{
pts:new Pts().data,
},
ben:{
pts:new Pts().data,
},
ctr:{
pts:new Pts().data,
},
iss:{
pts:new Pts().data,
},
},
newref:"", // New Reference .newref
// trnmod:{
// swiadd:{
// strinf:"", // Sender to receiver info Tag 72 .trnmod.swiadd.strinf
// },
// 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
// },
// },
autflg:"", // Authentication .autflg
// mtabut:{
// clsflg:"", // Close Flag .mtabut.clsflg
// 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
// },
// },
// },
// 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
// },
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
......@@ -4,6 +4,37 @@ import Utils from "~/utils"
* Getcrq Check规则
*/
let checkObj = {
"liaall.misamt" :null,
"liaall.limmod.limpts.oth.pts.extkey" :null,
"gcdgrp.prb.adrelc" :null,
"liaall.limmod.ownref" :null,
"liaall.limmod.ecifno" :null,
"gcdgrp.oth.namelc" :null,
"gcdgrp.rec.newexpdat" :null,
"gcdgrp.int.pts.nam" :null,
"gcdgrp.rec.docprbrol" :null,
"gcdgrp.awi.pts.extkey" :null,
"gcdgrp.rec.payrol" :null,
"gcdgrp.oth.adrelc" :null,
"gcdgrp.rec.clmdat" :null,
"liaall.limmod.limpts.oth.pts.nam" :null,
"setmod.dspflg" :null,
"gcdgrp.prb.pts.extkey" :null,
"gcdgrp.prb.namelc" :null,
"setmod.redamt" :null,
"gcdgrp.prb.pts.adrblk" :null,
"liaall.limmod.limpts.wrk.pts.nam" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null,
"gcdgrp.apl.pts.nam" :null,
"liaall.limmod.limpts.nonrevflg1" :null,
"gcdgrp.blk.presentdet" :null,
"setmod.docamt" :null,
"gcdgrp.oth.pts.extkey" :null,
"gcdgrp.cbs.max2.amt" :null,
"gcdgrp.int.pts.extkey" :null,
"gcdgrp.awi.pts.nam" :null,
"gcdgrp.oth.pts.adrblk" :null,
"clmtxts20" :null,
}
for (const key in checkObj) {
......
......@@ -6,5 +6,52 @@ import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"clmtxts20" :Utils.defaultFunction,
"gcdgrp.int.pts.extkey" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction,
"gcdgrp.awi.pts.extkey" :Utils.defaultFunction,
"gcdgrp.cbs.max2.amt" :Utils.defaultFunction,
"gidgrp.rec.ownref" :Utils.defaultFunction,
"gcdgrp.rec.ownref" :Utils.defaultFunction,
"gcdgrp.prb.pts.extkey" :Utils.defaultFunction,
"gcdgrp.prb.adrelc" :Utils.defaultFunction,
"gcdgrp.prb.namelc" :Utils.defaultFunction,
"gcdgrp.prb.dbfadrblkcn" :Utils.defaultFunction,
"gcdgrp.prb.pts.adrblk" :Utils.defaultFunction,
"setmod.setamt" :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,
"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,
"liaall.limmod.limpts.wrk.pts.extkey" :Utils.defaultFunction,
"gidgrp.rec.gartyp" :Utils.defaultFunction,
"gidgrp.rec.liadat" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
"gcdgrp.awi.pts.nam" :Utils.defaultFunction,
"extpay" :Utils.defaultFunction,
"gidgrp.rec.expdat" :Utils.defaultFunction,
"gidgrp.cbs.opn1.amt" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction,
"gcdgrp.ben.pts.nam" :Utils.defaultFunction,
"liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"gcdgrp.rec.demstat" :Utils.defaultFunction,
"gcdgrp.rec.payrol" :Utils.defaultFunction,
"gcdgrp.int.pts.nam" :Utils.defaultFunction,
"gcdgrp.rec.docprbrol" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "../Public"
export default class Getcrq{
constructor () {
this.data = {
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
gctp:{
expfldlab:"", // Label for Field Validity .gctp.expfldlab
explab:"", // Label unlimited Validity .gctp.explab
aplmullab:"", // Label, that is set, if there are multiple applicants .gctp.aplmullab
liafldlab:"", // Label for Field Liability .gctp.liafldlab
lialab:"", // Label unlimited Liability .gctp.lialab
gidget:{
sdamod:{
seainf:"", // .gctp.gidget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .gctp.gidget.sdamod.dadsnd
},
},
recget:{
sdamod:{
seainf:"", // .gctp.recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .gctp.recget.sdamod.dadsnd
},
},
adaflg:"", // Add. Amount .gctp.adaflg
prbp:{
ptsget:{
sdamod:{
seainf:"", // .gctp.prbp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .gctp.prbp.ptsget.sdamod.dadsnd
},
},
},
othp:{
ptsget:{
sdamod:{
seainf:"", // .gctp.othp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .gctp.othp.ptsget.sdamod.dadsnd
},
},
},
intp:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .gctp.intp.ptsget.sdamod.dadsnd
seainf:"", // .gctp.intp.ptsget.sdamod.seainf
},
},
},
awip:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .gctp.awip.ptsget.sdamod.dadsnd
seainf:"", // .gctp.awip.ptsget.sdamod.seainf
},
},
},
},
gidgrp:{
rec:{
ownref:"", // Guarantee .gidgrp.rec.ownref
expdat:"", // Valid until .gidgrp.rec.expdat
gartyp:"", // Type of Undertaking .gidgrp.rec.gartyp
liadat:"", // Liability until .gidgrp.rec.liadat
},
cbs:{
opn1:{
cur:"", // Currency .gidgrp.cbs.opn1.cur
amt:"", // Balance .gidgrp.cbs.opn1.amt
},
},
},
gcdgrp:{
rec:{
ownref:"", // Claim Number .gcdgrp.rec.ownref
nam:"", // Externally Displayed Name to Identify the Contract .gcdgrp.rec.nam
clmdat:"", // Date of Claim .gcdgrp.rec.clmdat
newexpdat:"", // Validity Requested .gcdgrp.rec.newexpdat
docprbrol:"", // Presented by .gcdgrp.rec.docprbrol
payrol:"", // Payer .gcdgrp.rec.payrol
demstat:"", // Demand Statement .gcdgrp.rec.demstat
},
cbs:{
max:{
cur:"", // Amount Claimed .gcdgrp.cbs.max.cur
amt:"", // Balance .gcdgrp.cbs.max.amt
},
opn1:{
cur:"", // Open Amount .gcdgrp.cbs.opn1.cur
amt:"", // Balance .gcdgrp.cbs.opn1.amt
},
opn2:{
cur:"", // 附加金额 .gcdgrp.cbs.opn2.cur
},
max2:{
amt:"", // 附加金额 .gcdgrp.cbs.max2.amt
},
},
apl:{
pts:new Pts().data,
},
ben:{
pts:new Pts().data,
},
prb:{
pts:new Pts().data,
namelc:"", // 名称 .gcdgrp.prb.namelc
adrelc:"", // 地址 .gcdgrp.prb.adrelc
dbfadrblkcn:"", // Chinese address .gcdgrp.prb.dbfadrblkcn
},
oth:{
pts:new Pts().data,
namelc:"", // 名称 .gcdgrp.oth.namelc
adrelc:"", // 地址 .gcdgrp.oth.adrelc
dbfadrblkcn:"", // Chinese address .gcdgrp.oth.dbfadrblkcn
},
blk:{
addamtinf:"", // Add. Amt. Information .gcdgrp.blk.addamtinf
presentdet:"", // Present. Compl. Det. .gcdgrp.blk.presentdet
},
int:{
pts:new Pts().data,
},
awi:{
pts:new Pts().data,
},
},
nxtflg:"", // Further Processing .nxtflg
clmtxt:"", // Text of Claim .clmtxt
extpay:"", // Extend or Pay .extpay
// 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:"", // 减少后的结算金额 .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
// redamt:"", // 减少的金额 .setmod.redamt
// setamt:"", // Reduced Amount to settle .setmod.setamt
// redamttxt:"", // 注释 .setmod.redamttxt
// },
// 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
// },
// },
clmtxts20:"", // Demand Statem. Text .clmtxts20
pageId: "" // ctx的key
}
}
......
import Utils from "~/utils"
/**
* Gitame Check规则
*/
let checkObj = {
"gidgrp.bec.pts.extkey" :null,
"gidgrp.avc.pts.extkey" :null,
"gidgrp.blk.gidtxt" :null,
"gidgrp.rec.giduil" :null,
"trnmod.swiadd.addamtcovc" :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,
"addbcb.gitamecho" :null,
"gidgrp.apc.namelc" :null,
"setmod.dspflg" :null,
"gidgrp.ben.adrelc" :null,
"gitp.usr.extkey" :null,
"trnmod.swiadd.amenbr" :null,
"gitp.covgodsrvcmodflg" :null,
"gidgrp.avc.pts.nam" :null,
"addbcb.expdat" :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.purpos" :null,
"gidgrp.gidcxm.cxmflg" :null,
"addbcb.pwtyp9" :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.atb.adrelc" :null,
"gidgrp.rec.revflg" :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,
"addbcb.bcbtyp7" :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.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.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.cnr.adrelc" :null,
"gidgrp.con.namelc" :null,
"gidgrp.rec.jurlawc" :null,
"gidgrp.ben.namelc" :null,
"addbcb.litameadv" :null,
"gidgrp.rec.expflg" :null,
"gidgrp.bec.adrelc" :null,
"gidgrp.cnr.pts.adrblk" :null,
"gidgrp.gidcxm.warran" :null,
"gidgrp.apl.pts.ref" :null,
"gidgrp.ctr.pts.adrblk" :null,
"gidgrp.rec.jurplcc" :null,
"gidgrp.cbs.mac.amt" :null,
"addbcb.label5" :null,
"gidgrp.atb.namelc" :null,
"gidgrp.rec.orddat" :null,
"gidgrp.ctc.pts.adrblk" :null,
"trnmod.swiadd.addamt" :null,
"gidgrp.blk.covgodsrvc" :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.blk.apprul" :null,
"gidgrp.apl.pts.adrblk" :null,
"gidgrp.bec.namelc" :null,
"gidgrp.rec.orcratc" :null,
"trnmod.swiadd.purposame" :null,
"trnmod.swiadd.ameamt" :null,
"addbcb.ameadvrmk" :null,
"gidgrp.rec.inudat" :null,
"gitp.prepercmodflg" :null,
"gidgrp.iss.pts.ref" :null,
"addbcb.preexpdat" :null,
"gidgrp.cbs.mac2.amt" :null,
"trnmod.swiadd.addamtc" :null,
"gitp.gidtxtmodflg" :null,
"gidgrp.blk.feetxt" :null,
"addbcb.bccls2" :null,
"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.blk.preper" :null,
"gidgrp.blk.atxcovgodsrvc" :null,
"trnmod.swiadd.ameblkc" :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,
"addbcb.gitamermk" :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"
/**
* Gitcan 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.liaccv.totcovamt" :null,
"liaall.limmod.limpts.wrk.pts.nam" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null,
"mtabut.coninf.conexedat" :null,
"liaall.limmod.limpts.nonrevflg1" :null,
"newref" :null,
"setmod.docamt" :null,
"liaall.liaccv.cshpct" :null,
"liaall.liaccv.relcshpct" :null,
"mtabut.clsflg" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Gitcan Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"gidgrp.cbs.max.amt" :Utils.defaultFunction,
"gidgrp.iss.pts.nam" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction,
"gidgrp.rec.ownref" :Utils.defaultFunction,
"gidgrp.cbs.opn1.cur" :Utils.defaultFunction,
"gidgrp.rec.liadat" :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,
"gidgrp.rec.expdat" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.extkey" :Utils.defaultFunction,
"gidgrp.cbs.max.cur" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
"gidgrp.ben.pts.nam" :Utils.defaultFunction,
"liaall.liaccv.addinf" :Utils.defaultFunction,
"gidgrp.rec.gartyp" :Utils.defaultFunction,
"liaall.liaccv.totcovamt" :Utils.defaultFunction,
"gidgrp.rec.hndtyp" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction,
"liaall.liaccv.concur" :Utils.defaultFunction,
"gidgrp.apl.pts.nam" :Utils.defaultFunction,
"gidgrp.rec.purcan" :Utils.defaultFunction,
"liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"gidgrp.ctr.pts.nam" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"liaall.liaccv.newamt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"gidgrp.cbs.opn1.amt" :Utils.defaultFunction,
"mtabut.clsflg" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"liaall.liaccv.cshpct" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :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 onLiaccvAdd(){
let rtnmsg = await this.executeRule("liaccv.add")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLiaccvDel(){
let rtnmsg = await this.executeRule("liaccv.del")
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 Gitcan{
constructor () {
this.data = {
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
gitp0:{
explab:"", // Label unlimited Validity .gitp0.explab
lialab:"", // Label unlimited lLability .gitp0.lialab
aplmullab:"", // Label, that is set, if there are multiple applicants .gitp0.aplmullab
expfldlab:"", // Label for Field Validity .gitp0.expfldlab
liafldlab:"", // Label for Field Lability .gitp0.liafldlab
recget:{
sdamod:{
seainf:"", // .gitp0.recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .gitp0.recget.sdamod.dadsnd
},
},
},
gidgrp:{
rec:{
ownref:"", // Reference .gidgrp.rec.ownref
nam:"", // Externally Displayed Name to Identify the Contract .gidgrp.rec.nam
hndtyp:"", // Handling Type .gidgrp.rec.hndtyp
gartyp:"", // Type of Undertaking .gidgrp.rec.gartyp
expdat:"", // Valid until .gidgrp.rec.expdat
liadat:"", // Liability until .gidgrp.rec.liadat
purcan:"", // Reason of Cancelation .gidgrp.rec.purcan
},
cbs:{
max:{
cur:"", // Currency .gidgrp.cbs.max.cur
amt:"", // Balance .gidgrp.cbs.max.amt
},
opn1:{
cur:"", // Currency .gidgrp.cbs.opn1.cur
amt:"", // Balance .gidgrp.cbs.opn1.amt
},
},
apl:{
pts:new Pts().data,
},
ben:{
pts:new Pts().data,
},
ctr:{
pts:new Pts().data,
},
iss:{
pts:new Pts().data,
},
},
newref:"", // New Reference .newref
// trnmod:{
// swiadd:{
// strinf:"", // Sender to receiver info Tag 72 .trnmod.swiadd.strinf
// },
// 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
// },
// },
autflg:"", // Authentication .autflg
// mtabut:{
// clsflg:"", // Close Flag .mtabut.clsflg
// 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
// },
// },
// },
// 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
// liaccv:{
// newamt:"", // 合同金额 .liaall.liaccv.newamt
// concur:"", // 应付保证金金额 .liaall.liaccv.concur
// totcovamt:"", // 金额总和 .liaall.liaccv.totcovamt
// newresamt:"", // Reserved Amount .liaall.liaccv.newresamt
// addinf:"", // Additional Information .liaall.liaccv.addinf
// cshpct:"", // 保证金应收比例 .liaall.liaccv.cshpct
// relcshpct:"", // 保证金实收比例 .liaall.liaccv.relcshpct
// gleflg:"", // Create gle flag .liaall.liaccv.gleflg
// chgcurflg:"", // Change currency flag .liaall.liaccv.chgcurflg
// pctresamt:"", // reserve amount based percent .liaall.liaccv.pctresamt
// },
// limmod:{
// limpfp:{
// clmcbe:[], // .liaall.limmod.limpfp.clmcbe
// clmcbb:[], // .liaall.limmod.limpfp.clmcbb
// clmpty:[], // .liaall.limmod.limpfp.clmpty
// },
// 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
// },
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Gitcrj Check规则
*/
let checkObj = {
"liaall.limmod.limpts.oth.pts.extkey" :null,
"gcdgrp.prb.adrelc" :null,
"liaall.limmod.ownref" :null,
"liaall.limmod.ecifno" :null,
"gcdgrp.oth.namelc" :null,
"gcdgrp.blk.disdoc" :null,
"gcdgrp.oth.adrelc" :null,
"liaall.limmod.limpts.oth.pts.nam" :null,
"setmod.dspflg" :null,
"gcdgrp.prb.pts.extkey" :null,
"trnmod.swiadd.strinfs20" :null,
"gcdgrp.prb.namelc" :null,
"gcdgrp.prb.pts.adrblk" :null,
"liaall.limmod.limpts.wrk.pts.nam" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null,
"gcdgrp.apl.pts.nam" :null,
"gcdgrp.rec.msgdat" :null,
"mtabut.coninf.conexedat" :null,
"liaall.limmod.limpts.nonrevflg1" :null,
"setmod.docamt" :null,
"gcdgrp.oth.pts.extkey" :null,
"gcdgrp.oth.pts.adrblk" :null,
"mtabut.clsflg" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Gitcrj Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction,
"gidgrp.rec.ownref" :Utils.defaultFunction,
"gcdgrp.rec.ownref" :Utils.defaultFunction,
"gcdgrp.prb.pts.extkey" :Utils.defaultFunction,
"gcdgrp.prb.adrelc" :Utils.defaultFunction,
"gcdgrp.prb.namelc" :Utils.defaultFunction,
"gcdgrp.prb.dbfadrblkcn" :Utils.defaultFunction,
"gcdgrp.prb.pts.adrblk" :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,
"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,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.extkey" :Utils.defaultFunction,
"gidgrp.rec.gartyp" :Utils.defaultFunction,
"gidgrp.rec.liadat" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
"rejtypsel" :Utils.defaultFunction,
"gidgrp.rec.expdat" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction,
"gcdgrp.ben.pts.nam" :Utils.defaultFunction,
"liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.clsflg" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"gidgrp.cbs.opn1.amt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"gcdgrp.rec.docprbrol" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onGctpGetrefbut(){
let rtnmsg = await this.executeRule("gctp.getrefbut")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onPrbpDet(){
let rtnmsg = await this.executeRule("prbp.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 onDisdocButtxmsel(){
let rtnmsg = await this.executeRule("disdoc.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSetmodDet(){
let rtnmsg = await this.executeRule("setmod.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async 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 onOthp1Det(){
let rtnmsg = await this.executeRule("othp1.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 Gitcrj{
constructor () {
this.data = {
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
gctp:{
expfldlab:"", // Label for Field Validity .gctp.expfldlab
explab:"", // Label unlimited Validity .gctp.explab
aplmullab:"", // Label, that is set, if there are multiple applicants .gctp.aplmullab
liafldlab:"", // Label for Field Liability .gctp.liafldlab
lialab:"", // Label unlimited Liability .gctp.lialab
gidget:{
sdamod:{
seainf:"", // .gctp.gidget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .gctp.gidget.sdamod.dadsnd
},
},
recget:{
sdamod:{
seainf:"", // .gctp.recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .gctp.recget.sdamod.dadsnd
},
},
adaflg:"", // Add. Amount .gctp.adaflg
prbp:{
ptsget:{
sdamod:{
seainf:"", // .gctp.prbp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .gctp.prbp.ptsget.sdamod.dadsnd
},
},
},
othp:{
ptsget:{
sdamod:{
seainf:"", // .gctp.othp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .gctp.othp.ptsget.sdamod.dadsnd
},
},
},
},
gidgrp:{
rec:{
ownref:"", // Guarantee .gidgrp.rec.ownref
expdat:"", // Valid until .gidgrp.rec.expdat
gartyp:"", // Type of Undertaking .gidgrp.rec.gartyp
liadat:"", // Liability until .gidgrp.rec.liadat
},
cbs:{
opn1:{
cur:"", // Currency .gidgrp.cbs.opn1.cur
amt:"", // Balance .gidgrp.cbs.opn1.amt
},
},
},
gcdgrp:{
rec:{
ownref:"", // Claim Number .gcdgrp.rec.ownref
nam:"", // Externally Displayed Name to Identify the Contract .gcdgrp.rec.nam
clmdat:"", // Date of Claim .gcdgrp.rec.clmdat
msgdat:"", // Rejection Message Date .gcdgrp.rec.msgdat
docprbrol:"", // Presented by .gcdgrp.rec.docprbrol
payrol:"", // Payer .gcdgrp.rec.payrol
},
cbs:{
max:{
cur:"", // Amount Claimed .gcdgrp.cbs.max.cur
amt:"", // Balance .gcdgrp.cbs.max.amt
},
opn1:{
cur:"", // Open Amount .gcdgrp.cbs.opn1.cur
amt:"", // Balance .gcdgrp.cbs.opn1.amt
},
},
apl:{
pts:new Pts().data,
},
ben:{
pts:new Pts().data,
},
prb:{
pts:new Pts().data,
namelc:"", // 名称 .gcdgrp.prb.namelc
adrelc:"", // 地址 .gcdgrp.prb.adrelc
dbfadrblkcn:"", // Chinese address .gcdgrp.prb.dbfadrblkcn
},
oth:{
pts:new Pts().data,
namelc:"", // 名称 .gcdgrp.oth.namelc
adrelc:"", // 地址 .gcdgrp.oth.adrelc
dbfadrblkcn:"", // Chinese address .gcdgrp.oth.dbfadrblkcn
},
blk:{
disdoc:"", // Disposal of Documents .gcdgrp.blk.disdoc
},
},
// mtabut:{
// clsflg:"", // Close Flag .mtabut.clsflg
// 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:{
// swiadd:{
// strinfs20:"", // Reason of Rejection .trnmod.swiadd.strinfs20
// },
// 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
// },
// },
rejtypsel:"", // new datafield .rejtypsel
lettername:"", // Select Rejection type .lettername
// 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
// },
// instxt:"", // Instructions from the Bank .instxt
// liaall:{
// limmod:{
// limpts:{
// wrklab:"", // Label .liaall.limmod.limpts.wrklab
// othlab:"", // Label .liaall.limmod.limpts.othlab
// othlabss:"", // Label .liaall.limmod.limpts.othlabss
// wrk:{
// pts:new Pts().data,
// },
// oth:{
// pts:new Pts().data,
// },
// lsh:"", // 合同流�'号 .liaall.limmod.limpts.lsh
// nonrevflg1:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg1
// pfcod1:"", // 合同流�'号 .liaall.limmod.limpts.pfcod1
// nonrevflg2:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg2
// pfcod2:"", // 合同流�'号 .liaall.limmod.limpts.pfcod2
// },
// wrkp:{
// ptsget:{
// sdamod:{
// dadsnd:"", // Drag Drop Sender .liaall.limmod.wrkp.ptsget.sdamod.dadsnd
// seainf:"", // .liaall.limmod.wrkp.ptsget.sdamod.seainf
// },
// },
// },
// othp:{
// ptsget:{
// sdamod:{
// dadsnd:"", // Drag Drop Sender .liaall.limmod.othp.ptsget.sdamod.dadsnd
// seainf:"", // .liaall.limmod.othp.ptsget.sdamod.seainf
// },
// },
// },
// ownref:"", // 国结业务编号 .liaall.limmod.ownref
// comamt:"", // 业务余额 .liaall.limmod.comamt
// ccvamt:"", // 保证金余额 .liaall.limmod.ccvamt
// ecifno:"", // ECIFNO .liaall.limmod.ecifno
// },
// },
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
......@@ -5,40 +5,41 @@ import Utils from "~/utils"
*/
let checkObj = {
"liaall.misamt" :null,
"liaall.limmod.limpts.oth.pts.extkey" :null,
"gcdgrp.prb.adrelc" :null,
"liaall.limmod.ownref" :null,
"gcdgrp.blk.addamtinf" :null,
"liaall.limmod.ecifno" :null,
"gcdgrp.oth.namelc" :null,
"gcdgrp.rec.newexpdat" :null,
"gcdgrp.int.pts.nam" :null,
"gcdgrp.rec.docprbrol" :null,
"gcdgrp.awi.pts.extkey" :null,
"gcdgrp.rec.payrol" :null,
"gcdgrp.oth.adrelc" :null,
"gcdgrp.rec.clmdat" :null,
"liaall.limmod.limpts.oth.pts.nam" :null,
"setmod.dspflg" :null,
"gcdgrp.prb.pts.extkey" :null,
"gcdgrp.rec.ownref" :null,
"gcdgrp.prb.namelc" :null,
"gcdgrp.prb.pts.adrblk" :null,
"liaall.limmod.limpts.wrk.pts.nam" :null,
"gctp.othp.ptsget.sdamod.dadsnd" :null,
"payday" :null,
"liaall.limmod.wrkp.ptsget.sdamod.dadsnd" :null,
"gcdgrp.oth.pts.extkey" :null,
"liaall.limmod.limpts.oth.pts.extkey" :null,
"gcdgrp.prb.adrelc" :null,
"liaall.limmod.ownref" :null,
"liaall.limmod.ecifno" :null,
"gcdgrp.oth.namelc" :null,
"gctp.recget.sdamod.dadsnd" :null,
"gcdgrp.rec.payrol" :null,
"liaall.limmod.othp.ptsget.sdamod.dadsnd" :null,
"gcdgrp.prb.pts.extkey" :null,
"gcdgrp.rec.ownref" :null,
"gctp.gidget.sdamod.dadsnd" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null,
"gcdgrp.apl.pts.nam" :null,
"payday" :null,
"mtabut.coninf.conexedat" :null,
"outlen.acttyp" :null,
"liaall.limmod.limpts.nonrevflg1" :null,
"gctp.prbp.ptsget.sdamod.dadsnd" :null,
"gcdgrp.blk.presentdet" :null,
"outlen.szflg" :null,
"setmod.docamt" :null,
"gcdgrp.oth.pts.extkey" :null,
"gcdgrp.cbs.max2.amt" :null,
"gcdgrp.int.pts.extkey" :null,
"gcdgrp.awi.pts.nam" :null,
"gcdgrp.oth.pts.adrblk" :null,
"clmtxts20" :null,
"gcdgrp.cbs.max.amt" :null,
}
......
......@@ -6,7 +6,10 @@ import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"clmtxts20" :Utils.defaultFunction,
"gcdgrp.int.pts.extkey" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction,
"gcdgrp.awi.pts.extkey" :Utils.defaultFunction,
"gcdgrp.cbs.max2.amt" :Utils.defaultFunction,
"gidgrp.rec.ownref" :Utils.defaultFunction,
"gcdgrp.rec.ownref" :Utils.defaultFunction,
......@@ -35,7 +38,7 @@ export default {
"gidgrp.rec.liadat" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
"nxtflg" :Utils.defaultFunction,
"gcdgrp.awi.pts.nam" :Utils.defaultFunction,
"extpay" :Utils.defaultFunction,
"gidgrp.rec.expdat" :Utils.defaultFunction,
"outlen.szflg" :Utils.defaultFunction,
......@@ -47,10 +50,12 @@ export default {
"liaall.limmod.ccvamt" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"gcdgrp.rec.demstat" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"gcdgrp.rec.payrol" :Utils.defaultFunction,
"gcdgrp.int.pts.nam" :Utils.defaultFunction,
"gctp.aplmullab" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
......
......@@ -146,6 +146,30 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onIntpDet(){
let rtnmsg = await this.executeRule("intp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onAwipDet(){
let rtnmsg = await this.executeRule("awip.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onWrkpDet(){
let rtnmsg = await this.executeRule("wrkp.det")
if(rtnmsg.respCode == SUCCESS)
......
......@@ -294,10 +294,53 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"instxt":[
"clmtxts20":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"gcdgrp.blk.addamtinf":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"gcdgrp.blk.presentdet":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"gctp.intp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gcdgrp.int.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gctp.intp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"gcdgrp.int.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"gctp.awip.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gcdgrp.awi.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gctp.awip.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"gcdgrp.awi.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"liaall.limmod.ecifno":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
......
......@@ -216,9 +216,23 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async handleReset() {
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.payrol = "";
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 = "";
this.model.infcon.godcod = "";
},
}
\ No newline at end of file
......@@ -206,9 +206,22 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async handleReset() {
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.payrol = "";
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
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