Commit 4ab12689 by 潘际乾

回滚

No related merge requests found
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -129,9 +129,6 @@ export default {
if(name === "libp"){
rulePath = "cnybop.libp"
}
if(name === 'basp'){
rulePath = "bopmod.dbcp.basp"
}
if (!!rulePath) {
// if(rulePath == "setmod.setpan"){
// this.executeCustomRule(rulePath).then(res => {
......
......@@ -122,7 +122,7 @@ export default {
// ],
"bcdgrp.dre.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 150,message:"长度不能超过135"}
{max: 35,message:"长度不能超过35"}
],
"bcdgrp.dre.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -170,7 +170,7 @@ export default {
],
"bcdgrp.rmi.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 135,message:"长度不能超过135"}
{max: 35,message:"长度不能超过35"}
],
"bcdgrp.rmi.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -215,7 +215,7 @@ export default {
],
"bcdgrp.drr.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 135,message:"长度不能超过135"}
{max: 35,message:"长度不能超过35"}
],
"bcdgrp.drr.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......
......@@ -16,21 +16,21 @@ export default {
{max: 40,message:"长度不能超过40"}
],
// "bcdgrp.cbs.max.amt":[
// {type: "number", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"bcdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bcdgrp.dre.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
// "bcdgrp.cbs.opn1.amt":[
// {type: "number", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"bcdgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bcdgrp.dre.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
......@@ -170,7 +170,7 @@ export default {
],
"bcdgrp.dre.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 135,message:"长度不能超过135"}
{max: 35,message:"长度不能超过35"}
],
"bcdgrp.dre.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -215,7 +215,7 @@ export default {
],
"bcdgrp.drr.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 135,message:"长度不能超过135"}
{max: 35,message:"长度不能超过35"}
],
"bcdgrp.drr.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......
......@@ -38,11 +38,11 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
// "bcdgrp.cbs.max.amt":[
// {type: "number", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"bcdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"trdget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
......@@ -62,16 +62,16 @@ export default {
],
// "dfdgrp.cbs.max.amt":[
// {type: "number", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
// "bcdgrp.cbs.opn1.amt":[
// {type: "number", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"dfdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bcdgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bcdgrp.dre.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
......@@ -92,11 +92,11 @@ export default {
{type: "string", required: false, message: "输入正确的日期"}
],
// "dfdgrp.cbs.opn1.amt":[
// {type: "number", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"dfdgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bcdgrp.rec.advdat":[
{type: "string", required: false, message: "输入正确的日期"}
],
......@@ -109,11 +109,11 @@ export default {
{max: 40,message:"长度不能超过40"}
],
// "trdgrp.cbs.max.amt":[
// {type: "number", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"trdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"dfdgrp.dff.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
......@@ -140,11 +140,11 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
// "trdgrp.cbs.opn1.amt":[
// {type: "number", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"trdgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"trdgrp.rec.fintyp":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
......
......@@ -4,7 +4,6 @@ import Utils from "~/utils"
* Bctset Check规则
*/
let checkObj = {
"bctp.prechkdat" :null,
"bcdgrp.blk.dftins" :null,
"bcdgrp.rmi.pts.nam" :null,
"setmod.setglg.sespay.setgrp.rcvcor.namelc" :null,
......
......@@ -6,7 +6,6 @@ import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"bctp.prechkdat" :Utils.defaultFunction ,
"bcdgrp.co2.pts.extkey" :Utils.defaultFunction,
"setmod.setglg.sespay.setgrp.tri.pts.extkey" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
......
......@@ -16,21 +16,21 @@ export default {
{max: 40,message:"长度不能超过40"}
],
// "bcdgrp.cbs.max.amt":[
// {type: "number", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"bcdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bcdgrp.dre.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
// "bcdgrp.cbs.opn1.amt":[
// {type: "number", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"bcdgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bcdgrp.dre.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
......@@ -75,19 +75,19 @@ export default {
],
// "setmod.redamt":[
// {type: "number", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"setmod.redamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
// "setmod.docamt":[
// {type: "number", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"setmod.docamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bcdgrp.blk.colins":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
......@@ -150,7 +150,7 @@ export default {
],
"bcdgrp.dre.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 135,message:"长度不能超过135"}
{max: 35,message:"长度不能超过35"}
],
"bcdgrp.dre.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -158,7 +158,7 @@ export default {
],
"bcdgrp.rmi.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 135,message:"长度不能超过135"}
{max: 35,message:"长度不能超过35"}
],
"bcdgrp.rmi.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -212,7 +212,7 @@ export default {
],
"bcdgrp.co2.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 135,message:"长度不能超过135"}
{max: 35,message:"长度不能超过35"}
],
"bcdgrp.co2.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -220,7 +220,7 @@ export default {
],
"bcdgrp.drr.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 135,message:"长度不能超过135"}
{max: 35,message:"长度不能超过35"}
],
"bcdgrp.drr.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -235,12 +235,6 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"bctp.prechkdat":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
......@@ -302,7 +296,7 @@ export default {
],
"setmod.setglg.sespay.setgrp.snd756.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 135,message:"长度不能超过135"}
{max: 35,message:"长度不能超过35"}
],
"setmod.setglg.sespay.setgrp.snd756.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -314,7 +308,7 @@ export default {
],
"setmod.setglg.sespay.awip.ptspta.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 135,message:"长度不能超过135"}
{max: 35,message:"长度不能超过35"}
],
"setmod.setglg.sespay.awip.ptspta.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -351,7 +345,7 @@ export default {
],
"setmod.setglg.sespay.actserp.ptspta.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 135,message:"长度不能超过135"}
{max: 35,message:"长度不能超过35"}
],
"setmod.setglg.sespay.actserp.ptspta.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -380,7 +374,7 @@ export default {
],
"setmod.setglg.sespay.setgrp.bei.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 135,message:"长度不能超过135"}
{max: 35,message:"长度不能超过35"}
],
"setmod.setglg.sespay.setgrp.bei.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -409,7 +403,7 @@ export default {
],
"setmod.setglg.sespay.setgrp.rcvcor2.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 135,message:"长度不能超过135"}
{max: 35,message:"长度不能超过35"}
],
"setmod.setglg.sespay.setgrp.rcvcor2.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -468,7 +462,7 @@ export default {
],
"setmod.setglg.sespay.setgrp.ori.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 135,message:"长度不能超过135"}
{max: 35,message:"长度不能超过35"}
],
"setmod.setglg.sespay.setgrp.ori.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -476,7 +470,7 @@ export default {
],
"setmod.setglg.sespay.setgrp.tri.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 135,message:"长度不能超过135"}
{max: 35,message:"长度不能超过35"}
],
"setmod.setglg.sespay.setgrp.tri.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -530,7 +524,7 @@ export default {
"setmod.setglg.sespay.setgrp.rcvcor.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 135,message:"长度不能超过135"}
{max: 35,message:"长度不能超过35"}
],
"setmod.setglg.sespay.setgrp.rcvcor.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -542,7 +536,7 @@ export default {
],
"setmod.setglg.sespay.setgrp.bei.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 135,message:"长度不能超过135"}
{max: 35,message:"长度不能超过35"}
],
"setmod.setglg.sespay.setgrp.bei.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......
......@@ -4,14 +4,6 @@ import Pub from "../Public"
export default class Bctset{
constructor () {
this.data = {
recgrp:{
bas:{
txccy:"",
txamt:"",
actuccy:"",
actuamt:"",
}
},
dftcre:{
dfflag:"",
},
......@@ -63,7 +55,6 @@ export default class Bctset{
dbfadrblkcn:"", // Chinese address .bcdgrp.drr.dbfadrblkcn
},
blk:{
docpre:"",
colins:"", // Collection Instructions .bcdgrp.blk.colins
dftins:"", // Draft Instructions .bcdgrp.blk.dftins
othins:"", // Other Instructions .bcdgrp.blk.othins
......@@ -90,8 +81,6 @@ export default class Bctset{
},
docgrdm:{
docdsclab:"", // Label of document description .bctp.docgrdm.docdsclab
docgrd:[],
},
drep:{
ptsget:{
......@@ -140,51 +129,7 @@ export default class Bctset{
vrfflg:"", // 核销数据 .bopmod.vrfflg
ownextkey:"", // 地区机构号 .bopmod.ownextkey
acttyp:"", // 款项去向 .bopmod.acttyp
dbcp:{
baspp:{
cusnam:"", // .bopmod.dbcp.baspp.cusnam
cornam:"", // .bopmod.dbcp.baspp.cornam
corpnam:"", // .bopmod.dbcp.baspp.corpnam
roptnam:"", // RoptNam .bopmod.dbcp.baspp.roptnam
exratelab:"", // �'�汇/结汇汇率 .bopmod.dbcp.baspp.exratelab
lcyamtlab:"", // �'�汇/结汇金额 .bopmod.dbcp.baspp.lcyamtlab
acp:"", // 确认 .bopmod.dbcp.baspp.acp
tmprefnew:"", // TMPREFLABEL .bopmod.dbcp.baspp.tmprefnew
},
},
dbcgrp:{
bas:{
tmpref:"", // �'时申报流�'号 .bopmod.dbcgrp.bas.tmpref
ownextkey:"", // 地区机构号 .bopmod.dbcgrp.bas.ownextkey
actiontype:"", // 操作类型 .bopmod.dbcgrp.bas.actiontype
rptno:"", // 申报号码 .bopmod.dbcgrp.bas.rptno
idcode:"", // 身份证件号码 .bopmod.dbcgrp.bas.idcode
lcyacc:"", // 人民币帐号/银行卡号 .bopmod.dbcgrp.bas.lcyacc
fcyamt:"", // 现汇金额 .bopmod.dbcgrp.bas.fcyamt
fcyacc:"", // 外汇帐号/银行卡号 .bopmod.dbcgrp.bas.fcyacc
othamt:"", // 其它金额 .bopmod.dbcgrp.bas.othamt
othacc:"", // 其它帐号/银行卡号 .bopmod.dbcgrp.bas.othacc
methods:"", // 结算方式 .bopmod.dbcgrp.bas.methods
buscode:"", // 银行业务编号 .bopmod.dbcgrp.bas.buscode
custype:"", // 类型 .bopmod.dbcgrp.bas.custype
actiondesc:"", // 操作类型 .bopmod.dbcgrp.bas.actiondesc
exrate:"", // �'�汇汇率 .bopmod.dbcgrp.bas.exrate
lcyamt:"", // �'�汇金额 .bopmod.dbcgrp.bas.lcyamt
custnm:"", // 付款人名称 .bopmod.dbcgrp.bas.custnm
oppuser:"", // 收款人名称 .bopmod.dbcgrp.bas.oppuser
custcod:"", // 组织机构 .bopmod.dbcgrp.bas.custcod
actuccy:"", // 实际付款币种及金额 .bopmod.dbcgrp.bas.actuccy
actuamt:"", // 实际付款币种及金额 .bopmod.dbcgrp.bas.actuamt
lcbgno:"", // 信用证/保函编号 .bopmod.dbcgrp.bas.lcbgno
issdate:"", // 开证日期 .bopmod.dbcgrp.bas.issdate
tenor:"", // 期限 .bopmod.dbcgrp.bas.tenor
txccy:"", // 付款币种及金额 .bopmod.dbcgrp.bas.txccy
txamt:"", // 付款币种及金额 .bopmod.dbcgrp.bas.txamt
outchargeccy:"", // 扣费币种及金额 .bopmod.dbcgrp.bas.outchargeccy
outchargeamt:"", // 扣费币种及金额 .bopmod.dbcgrp.bas.outchargeamt
},
},
},
cnybop:{
cnyflg:"", // 是否报送跨境人民币2101表 .cnybop.cnyflg
traflg:"", // 是否报送跨境人民币2107表 .cnybop.traflg
......
......@@ -37,7 +37,7 @@ export default class Betdcr {
},
docgrdm: {
docdsclab: "", // Label of document description .betp.docgrdm.docdsclab
docgrd: [], //betp.docgrdm.docgrd
docgrd: "", //betp.docgrdm.docgrd
},
},
ledgrp: {
......
......@@ -111,7 +111,6 @@ export default class Bftsnd {
docdis: "", // Discrepancies .bfdgrp.blk.docdis
docdisflg: "", // Discrepancies modified .bfdgrp.blk.docdisflg
benref: "", // 鏂板彈鐩婁汉缂栧彿 .bfdgrp.blk.benref
prsdoc: "", //.bfdgrp.blk.prsdoc
},
oth: {
pts: new Pts().data,
......
import Vue from "vue"
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "../Public"
export default class Botacc{
constructor () {
......@@ -168,10 +166,6 @@ export default class Botacc{
filrecv:"", // File Receiver .trnmod.trndoc.filrecv
},
},
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
pageId: "" // ctx的key
}
}
......
......@@ -4,27 +4,31 @@ import Utils from "~/utils"
* Botame Check规则
*/
let checkObj = {
"liaall.misamt" :null,
"bodgrp.blk.setinsbo" :null,
"bodgrp.rec.matperbeg" :null,
"bodgrp.rec.matpertyp" :null,
"bodgrp.blk.proins" :null,
"trnmod.swiadd.newamt" :null,
"botp.recget.sdamod.dadsnd" :null,
"bodgrp.drr.pts.adrblk" :null,
"bodgrp.dre.adrelc" :null,
"bodgrp.rec.matdat" :null,
"setmod.dspflg" :null,
"botp.colp.ptsget.sdamod.dadsnd" :null,
"bodgrp.col.adrelc" :null,
"bodgrp.col.pts.adrblk" :null,
"botp.drrp.ptsget.sdamod.dadsnd" :null,
"bodgrp.col.pts.extkey" :null,
"bodgrp.blk.dftins" :null,
"botp.usr.extkey" :null,
"bodgrp.blk.delins" :null,
"botamep.recget.sdamod.dadsnd" :null,
"mtabut.coninf.conexedat" :null,
"bodgrp.col.namelc" :null,
"bodgrp.rec.stacty" :null,
"bodgrp.drr.adrelc" :null,
"bodgrp.dre.namelc" :null,
"botp.drep.ptsget.sdamod.dadsnd" :null,
"bodgrp.blk.colins" :null,
"setmod.docamt" :null,
"bodgrp.drr.namelc" :null,
......
......@@ -6,6 +6,21 @@ import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"bodgrp.rec.ownref" :Utils.defaultFunction,
"bodgrp.dre.pts.extkey" :Utils.defaultFunction,
"bodgrp.dre.adrelc" :Utils.defaultFunction,
"bodgrp.dre.namelc" :Utils.defaultFunction,
"bodgrp.dre.dbfadrblkcn" :Utils.defaultFunction,
"bodgrp.col.pts.extkey" :Utils.defaultFunction,
"bodgrp.col.adrelc" :Utils.defaultFunction,
"bodgrp.col.namelc" :Utils.defaultFunction,
"bodgrp.col.dbfadrblkcn" :Utils.defaultFunction,
"trnmod.swiadd.newmatpercnt" :Utils.defaultFunction,
"trnmod.swiadd.newmatpertyp" :Utils.defaultFunction,
"bodgrp.rec.doctypcod" :Utils.defaultFunction,
"trnmod.swiadd.newmatdat" :Utils.defaultFunction,
"trnmod.swiadd.newmatperbeg" :Utils.defaultFunction,
"bodgrp.col.pts.adrblk" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
......@@ -13,43 +28,19 @@ export default {
"trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction,
"bodgrp.dre.pts.adrblk" :Utils.defaultFunction,
"bodgrp.rec.doctypcod" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"bodgrp.drr.pts.extkey" :Utils.defaultFunction,
"oldbodgrp.cbs.max.amt" :Utils.defaultFunction,
"trnmod.swiadd.ameamt" :Utils.defaultFunction,
"bodgrp.drr.adrelc" :Utils.defaultFunction,
"bodgrp.drr.namelc" :Utils.defaultFunction,
"bodgrp.drr.dbfadrblkcn" :Utils.defaultFunction,
"oldbodgrp.rec.matperbeg" :Utils.defaultFunction,
"trnmod.swiadd.newmatdat" :Utils.defaultFunction,
"trnmod.swiadd.newmatperbeg" :Utils.defaultFunction,
"bodgrp.drr.pts.adrblk" :Utils.defaultFunction,
"bodgrp.cbs.max.amt" :Utils.defaultFunction,
"bodgrp.rec.stacty" :Utils.defaultFunction,
"bodgrp.cbs.max.cur" :Utils.defaultFunction,
"bodgrp.col.pts.extkey" :Utils.defaultFunction,
"bodgrp.col.adrelc" :Utils.defaultFunction,
"bodgrp.col.namelc" :Utils.defaultFunction,
"bodgrp.col.dbfadrblkcn" :Utils.defaultFunction,
"setmod.glemod.gleshwstm" :Utils.defaultFunction,
"trnmod.swiadd.newmatpercnt" :Utils.defaultFunction,
"oldbodgrp.rec.matdat" :Utils.defaultFunction,
"bodgrp.dre.pts.extkey" :Utils.defaultFunction,
"bodgrp.dre.adrelc" :Utils.defaultFunction,
"bodgrp.dre.namelc" :Utils.defaultFunction,
"bodgrp.dre.dbfadrblkcn" :Utils.defaultFunction,
"bodgrp.rec.ownref" :Utils.defaultFunction,
"bodgrp.rec.resflg" :Utils.defaultFunction,
"bodgrp.rec.focflg" :Utils.defaultFunction,
"bodgrp.rec.predat" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"botp.usr.extkey" :Utils.defaultFunction,
"bodgrp.col.pts.adrblk" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"oldbodgrp.cbs.max.amt" :Utils.defaultFunction,
"trnmod.swiadd.ameamt" :Utils.defaultFunction,
"trnmod.swiadd.newmatpertyp" :Utils.defaultFunction,
"bodgrp.rec.shpdat" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"botp.usr.extkey" :Utils.defaultFunction,
"bodgrp.cbs.max.cur" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"bodgrp.blk.bogdet" :Utils.defaultFunction,
......@@ -67,6 +58,14 @@ export default {
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"oldbodgrp.rec.matpertyp" :Utils.defaultFunction,
"botamep.amedat" :Utils.defaultFunction,
"bodgrp.rec.resflg" :Utils.defaultFunction,
"bodgrp.rec.focflg" :Utils.defaultFunction,
"bodgrp.rec.predat" :Utils.defaultFunction,
"oldbodgrp.rec.matpercnt" :Utils.defaultFunction,
"oldbodgrp.rec.matperbeg" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"bodgrp.cbs.max.amt" :Utils.defaultFunction,
"bodgrp.rec.stacty" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -122,30 +122,6 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLiaallButmisamt(){
let rtnmsg = await this.executeRule("liaall.butmisamt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLiaallButmissig(){
let rtnmsg = await this.executeRule("liaall.butmissig")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSetmodDet(){
let rtnmsg = await this.executeRule("setmod.det")
if(rtnmsg.respCode == SUCCESS)
......
......@@ -37,8 +37,8 @@ export default {
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"oldbodgrp.rec.matpercnt":[
//{type: "string", required: false, message: "必输项"},
//{max: 3,message:"长度不能超过3"}
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"oldbodgrp.rec.matpertyp":[
{type: "string", required: false, message: "必输项"},
......@@ -55,10 +55,10 @@ export default {
{type: "date", required: false, message: "输入正确的日期"}
],
"trnmod.swiadd.newmatdat":[
//{type: "date", required: false, message: "输入正确的日期"}
{type: "date", required: false, message: "输入正确的日期"}
],
"trnmod.swiadd.ametxt":[
//type: "string", required: true, message: "必输项"},
//{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"botp.recget.sdamod.dadsnd":[
......@@ -93,7 +93,7 @@ export default {
],
"bodgrp.cbs.max.amt":[
{type: "string", required: false, message: "必输项"},
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -117,13 +117,13 @@ export default {
],
"bodgrp.cbs.opn1.amt":[
{type: "string", required: false, message: "必输项"},
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bodgrp.drr.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
//{max: 35,message:"长度不能超过35"}
{max: 35,message:"长度不能超过35"}
],
"bodgrp.drr.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -174,15 +174,15 @@ export default {
],
"bodgrp.col.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
//{max: 35,message:"长度不能超过35"}
{max: 35,message:"长度不能超过35"}
],
"bodgrp.col.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bodgrp.rec.matpercnt":[
//{type: "string", required: false, message: "必输项"},
//{max: 3,message:"长度不能超过3"}
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"bodgrp.rec.paydocnum":[
{type: "string", required: false, message: "必输项"},
......@@ -231,7 +231,7 @@ export default {
],
"bodgrp.dre.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
//{max: 35,message:"长度不能超过35"}
{max: 35,message:"长度不能超过35"}
],
"bodgrp.dre.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -286,14 +286,13 @@ export default {
{max: 65,message:"长度不能超过65"}
],
"bodgrp.blk.intins":[
//{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"bodgrp.blk.setinsbo":[
{type: "string", required: true, message: "必输项"},
//{max: 65,message:"长度不能超过65"}
{max: 65,message:"长度不能超过65"}
],
"bodgrp.blk.agtaut":[
......@@ -312,36 +311,6 @@ export default {
//{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"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"}
......
......@@ -150,6 +150,7 @@ export default class Botame{
},
},
docgrdm:{
docgrd:"",
docdsclab:"", // Label of document description .botp.docgrdm.docdsclab
},
drrp:{
......@@ -176,17 +177,6 @@ export default class Botame{
},
},
},
ptsaddp:{
ptsaddg:[], // .botp.ptsaddp.ptsaddg
},
},
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
......@@ -227,10 +217,10 @@ export default class Botame{
},
},
},
liaall: new Pub().data.Liaall,
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
pageId: "" // ctx的key
}
}
......
......@@ -6,7 +6,6 @@ import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"bodgrp.blk.docpre" :Utils.defaultFunction,
"bodgrp.rec.matdat" :Utils.defaultFunction,
"bodgrp.srm.djutyp" :Utils.defaultFunction,
"bodgrp.rec.ownref" :Utils.defaultFunction,
......
......@@ -55,7 +55,6 @@ export default class Botdav{
},
},
blk:{
docpre:"", // bodgrp.blk.docpre
bogdet:"", // Tenor Details Text .bodgrp.blk.bogdet
cctinsrcv:"", // Instructions Received .bodgrp.blk.cctinsrcv
cctinscol:"", // Collection Instruction .bodgrp.blk.cctinscol
......
......@@ -156,14 +156,16 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"bodgrp.drr.pts.adrblk":[
{type: "string", required: false, message: "必输项"},
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bodgrp.drr.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bodgrp.col.pts.adrblk":[
{type: "string", required: false, message: "必输项"},
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bodgrp.col.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -195,7 +197,8 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"bodgrp.dre.pts.adrblk":[
{type: "string", required: false, message: "必输项"},
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bodgrp.dre.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......
......@@ -58,7 +58,6 @@ export default class Botdcr {
dbfadrblkcn: "", // Chinese address .bodgrp.dre.dbfadrblkcn
},
blk: {
docpre:"", // bodgrp.blk.docpre
resrej: "", // Reason for Non-Payment/Non-Acceptance .bodgrp.blk.resrej
colins: "", // Collection Instructions .bodgrp.blk.colins
colinsflg: "", // Collection instructions modified .bodgrp.blk.colinsflg
......
import Utils from "~/utils"
/**
* Botpay Check规则
*/
let checkObj = {
"liaall.misamt" :null,
"bodgrp.rec.matperbeg" :null,
"bodgrp.rec.matpertyp" :null,
"bodgrp.blk.proins" :null,
"bodgrp.drr.pts.adrblk" :null,
"bodgrp.dre.adrelc" :null,
"bodgrp.dre.pts.nam" :null,
"setmod.dspflg" :null,
"bodgrp.col.adrelc" :null,
"bodgrp.col.pts.adrblk" :null,
"bodgrp.col.pts.extkey" :null,
"liaall.tenstm" :null,
"bodgrp.blk.dftins" :null,
"setmod.redamt" :null,
"bodgrp.blk.delins" :null,
"bodgrp.drr.pts.nam" :null,
"bodgrp.rec.focflg" :null,
"mtabut.coninf.conexedat" :null,
"bodgrp.col.namelc" :null,
"bodgrp.drr.adrelc" :null,
"bodgrp.dre.namelc" :null,
"bodgrp.blk.colins" :null,
"setmod.docamt" :null,
"bodgrp.drr.namelc" :null,
"bodgrp.col.pts.nam" :null,
"bodgrp.dre.pts.adrblk" :null,
"bodgrp.blk.othins" :null,
"bodgrp.dre.pts.extkey" :null,
"bodgrp.drr.pts.extkey" :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
/**
* Botpay Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"bptbck.dscbckcur" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"trnmod.trndoc.condocstm" :Utils.defaultFunction,
"trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction,
"bodgrp.dre.pts.adrblk" :Utils.defaultFunction,
"bodgrp.rec.focflg" :Utils.defaultFunction,
"bodgrp.rec.doctypcod" :Utils.defaultFunction,
"bodgrp.drr.pts.extkey" :Utils.defaultFunction,
"bodgrp.drr.adrelc" :Utils.defaultFunction,
"bodgrp.drr.namelc" :Utils.defaultFunction,
"bodgrp.drr.dbfadrblkcn" :Utils.defaultFunction,
"bodgrp.drr.pts.adrblk" :Utils.defaultFunction,
"bodgrp.cbs.max.amt" :Utils.defaultFunction,
"bodgrp.drr.pts.nam" :Utils.defaultFunction,
"bodgrp.cbs.max.cur" :Utils.defaultFunction,
"bodgrp.col.pts.extkey" :Utils.defaultFunction,
"bodgrp.col.adrelc" :Utils.defaultFunction,
"bodgrp.col.namelc" :Utils.defaultFunction,
"bodgrp.col.dbfadrblkcn" :Utils.defaultFunction,
"setmod.glemod.gleshwstm" :Utils.defaultFunction,
"bodgrp.dre.pts.extkey" :Utils.defaultFunction,
"bodgrp.dre.adrelc" :Utils.defaultFunction,
"bodgrp.dre.namelc" :Utils.defaultFunction,
"bodgrp.dre.dbfadrblkcn" :Utils.defaultFunction,
"bodgrp.rec.ownref" :Utils.defaultFunction,
"bodgrp.dre.pts.nam" :Utils.defaultFunction,
"bodgrp.rec.predat" :Utils.defaultFunction,
"bodgrp.col.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"setmod.redamt" :Utils.defaultFunction,
"bodgrp.col.pts.adrblk" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"liaall.misamt" :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,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onColinsButtxmsel(){
let rtnmsg = await this.executeRule("colins.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDftinsButtxmsel(){
let rtnmsg = await this.executeRule("dftins.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onProinsButtxmsel(){
let rtnmsg = await this.executeRule("proins.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOthins1Buttxmsel(){
let rtnmsg = await this.executeRule("othins1.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onWhinsButtxmsel(){
let rtnmsg = await this.executeRule("whins.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDrrpDet(){
let rtnmsg = await this.executeRule("drrp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onColpDet(){
let rtnmsg = await this.executeRule("colp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDrepDet(){
let rtnmsg = await this.executeRule("drep.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLiaallButmisamt(){
let rtnmsg = await this.executeRule("liaall.butmisamt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLiaallButmissig(){
let rtnmsg = await this.executeRule("liaall.butmissig")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async 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
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "../Public"
export default class Botpay{
constructor () {
this.data = {
bodgrp:{
rec:{
matpertyp:"", // Days/Months or Years for Maturity Period .bodgrp.rec.matpertyp
ownref:"", // Reference .bodgrp.rec.ownref
nam:"", // Name .bodgrp.rec.nam
doctypcod:"", // Collection Condition .bodgrp.rec.doctypcod
docsta:"", // Document Set Status .bodgrp.rec.docsta
matdat:"", // Maturity Date .bodgrp.rec.matdat
matpercnt:"", // Tenor Specification .bodgrp.rec.matpercnt
matperbeg:"", // Start of Maturity Period MATBEG .bodgrp.rec.matperbeg
rcvdat:"", // Order Date .bodgrp.rec.rcvdat
predat:"", // Presentation Date .bodgrp.rec.predat
focflg:"", // Free of Payment .bodgrp.rec.focflg
chato:"", // Our Charges to .bodgrp.rec.chato
waicolcod:"", // Protest Instructions .bodgrp.rec.waicolcod
wairmtcod:"", // Waive Remitting Bank Charges .bodgrp.rec.wairmtcod
othins:"", // Defer Payment until .bodgrp.rec.othins
lescom:"", // Warehouse/Insurance .bodgrp.rec.lescom
},
cbs:{
max:{
cur:"", // Document Amount .bodgrp.cbs.max.cur
amt:"", // Document Amount .bodgrp.cbs.max.amt
},
opn1:{
cur:"", // Warehouse/Insurance .bodgrp.cbs.opn1.cur
amt:"", // Open Amount .bodgrp.cbs.opn1.amt
},
},
drr:{
pts:new Pts().data,
namelc:"", // 名称 .bodgrp.drr.namelc
adrelc:"", // 地址 .bodgrp.drr.adrelc
dbfadrblkcn:"", // Chinese address .bodgrp.drr.dbfadrblkcn
},
col:{
pts:new Pts().data,
namelc:"", // 名称 .bodgrp.col.namelc
adrelc:"", // 地址 .bodgrp.col.adrelc
dbfadrblkcn:"", // Chinese address .bodgrp.col.dbfadrblkcn
},
dre:{
pts:new Pts().data,
namelc:"", // 名称 .bodgrp.dre.namelc
adrelc:"", // 地址 .bodgrp.dre.adrelc
dbfadrblkcn:"", // Chinese address .bodgrp.dre.dbfadrblkcn
},
blk:{
colins:"", // Collection Instructions .bodgrp.blk.colins
colinsflg:"", // Collection instructions modified .bodgrp.blk.colinsflg
dftins:"", // Draft Instructions .bodgrp.blk.dftins
proins:"", // Protest Instructions .bodgrp.blk.proins
othins:"", // Other Instructions .bodgrp.blk.othins
chgtxt:"", // Charges Text .bodgrp.blk.chgtxt
delins:"", // Delivery instructions .bodgrp.blk.delins
},
},
botp:{
recget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .botp.recget.sdamod.dadsnd
seainf:"", // .botp.recget.sdamod.seainf
},
},
matp:{
mattxtlab:"", // Label for MATTXT .botp.matp.mattxtlab
},
drrp:{
ptsget:{
sdamod:{
seainf:"", // .botp.drrp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .botp.drrp.ptsget.sdamod.dadsnd
},
},
},
colp:{
ptsget:{
sdamod:{
seainf:"", // .botp.colp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .botp.colp.ptsget.sdamod.dadsnd
},
},
},
drep:{
ptsget:{
sdamod:{
seainf:"", // .botp.drep.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .botp.drep.ptsget.sdamod.dadsnd
},
},
},
ptsaddp:{
ptsaddg:[], // .botp.ptsaddp.ptsaddg
},
},
setmod:{
doccur:"", // document currency .setmod.doccur
docamt:"", // document amount .setmod.docamt
redamt:"", // Reduction Amount .setmod.redamt
docamttyplab:"", // settled amount description as label .setmod.docamttyplab
retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
ref:"", // our reference .setmod.ref
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
glemod:{
gleshwstm:"", // Booking stream to Display .setmod.glemod.gleshwstm
},
},
bptbck:{
bptbckg:[], // .bptbck.bptbckg
dscbckcur:"", // currency discount paid back .bptbck.dscbckcur
},
liaall:{
tenstm:"", // Tenor Stream .liaall.tenstm
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
},
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:{
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
},
},
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
......@@ -178,10 +178,12 @@ export default {
],
"bodgrp.drr.namelc":[
{type: "string", required: false, message: "必输项"},
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bodgrp.drr.pts.adrblk":[
{type: "string", required: false, message: "必输项"},
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bodgrp.drr.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -192,7 +194,8 @@ export default {
{type: "date", required: false, message: "输入正确的日期"}
],
"bodgrp.drr.adrelc":[
{type: "string", required: false, message: "必输项"},
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bodgrp.rec.advdat":[
{type: "date", required: false, message: "输入正确的日期"}
......@@ -215,10 +218,12 @@ export default {
],
"bodgrp.col.namelc":[
{type: "string", required: false, message: "必输项"},
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bodgrp.col.pts.adrblk":[
{type: "string", required: false, message: "必输项"},
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bodgrp.col.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -229,7 +234,8 @@ export default {
{max: 16,message:"长度不能超过16"}
],
"bodgrp.col.adrelc":[
{type: "string", required: false, message: "必输项"},
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bodgrp.rec.issdat":[
{type: "date", required: false, message: "输入正确的日期"}
......@@ -258,17 +264,20 @@ export default {
],
"bodgrp.dre.namelc":[
{type: "string", required: false, message: "必输项"},
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bodgrp.dre.pts.adrblk":[
{type: "string", required: false, message: "必输项"},
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bodgrp.dre.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bodgrp.dre.adrelc":[
{type: "string", required: false, message: "必输项"},
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bodgrp.blk.cctinscol":[
{type: "string", required: true, message: "必输项"},
......
......@@ -102,7 +102,6 @@ export default class Botrad {
dbfadrblkcn: "", // Chinese address .bodgrp.dre.dbfadrblkcn
},
blk: {
docpre:"", // bodgrp.blk.docpre
colinssnm: "", // Instructions for Second Mail .bodgrp.blk.colinssnm
vesselnam: "", // Vessel Name .bodgrp.blk.vesselnam
goddes: "", // Description of Goods .bodgrp.blk.goddes
......
......@@ -6,61 +6,47 @@ import Utils from "~/utils"
let checkObj = {
"liaall.misamt" :null,
"bodgrp.rec.matpertyp" :null,
"botp.recget.sdamod.dadsnd" :null,
"bodgrp.dre.adrelc" :null,
"cnybop.outflg" :null,
"bopmod.dbdgrp.bas.fcyacc" :null,
"bopmod.dbdgrp.bas.buscode" :null,
"bopmod.dbdgrp.bas.inchargeamt" :null,
"bopmod.dbdgrp.bas.idcode" :null,
"bodgrp.dre.pts.nam" :null,
"liaall.limmod.limpts.oth.pts.nam" :null,
"bopmod.dbdgrp.bas.custnm" :null,
"setmod.dspflg" :null,
"bopmod.dbdgrp.bas.txamt" :null,
"bodgrp.col.pts.adrblk" :null,
"bodgrp.blk.dftins" :null,
"liaall.limmod.limpts.wrk.pts.nam" :null,
"cnybop.cnyflg" :null,
"bopmod.dbdgrp.bas.fcyamt" :null,
"bodgrp.blk.delins" :null,
"bodgrp.rec.focflg" :null,
"bopmod.dbdgrp.bas.methods" :null,
"bodgrp.drr.adrelc" :null,
"bopmod.dbdgrp.bas.exrate" :null,
"bodgrp.dre.namelc" :null,
"liaall.limmod.wrkp.ptsget.sdamod.dadsnd" :null,
"lendoc.account" :null,
"bodgrp.dre.pts.adrblk" :null,
"bopmod.dbdgrp.bas.oppuser" :null,
"bodgrp.drr.pts.extkey" :null,
"bopmod.dbdgrp.bas.othamt" :null,
"bopmod.dbdgrp.bas.custype" :null,
"liaall.limmod.limpts.oth.pts.extkey" :null,
"bodgrp.rec.matperbeg" :null,
"liaall.limmod.ownref" :null,
"bodgrp.blk.proins" :null,
"liaall.limmod.ecifno" :null,
"bopmod.dbdgrp.bas.rptno" :null,
"bodgrp.drr.pts.adrblk" :null,
"bopmod.szflg" :null,
"bopmod.dbdgrp.bas.actiontype" :null,
"bopmod.dbdgrp.bas.lcyamt" :null,
"liaall.limmod.othp.ptsget.sdamod.dadsnd" :null,
"cnybop.traflg" :null,
"botp.colp.ptsget.sdamod.dadsnd" :null,
"bodgrp.col.adrelc" :null,
"bopmod.dbdgrp.bas.othacc" :null,
"bopmod.dbdgrp.bas.inchargeccy" :null,
"botp.drrp.ptsget.sdamod.dadsnd" :null,
"bodgrp.col.pts.extkey" :null,
"liaall.tenstm" :null,
"setmod.redamt" :null,
"bodgrp.drr.pts.nam" :null,
"bopmod.dbdgrp.bas.txccy" :null,
"bopmod.dbdgrp.bas.custcod" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null,
"bopmod.basflg" :null,
"bopmod.dbdgrp.bas.lcyacc" :null,
"mtabut.coninf.conexedat" :null,
"bodgrp.col.namelc" :null,
"liaall.limmod.limpts.nonrevflg1" :null,
"cnybop.libflg" :null,
"botp.drep.ptsget.sdamod.dadsnd" :null,
"bodgrp.blk.colins" :null,
"bopmod.ownextkey" :null,
"setmod.docamt" :null,
......@@ -69,7 +55,6 @@ let checkObj = {
"bopmod.acttyp" :null,
"bodgrp.blk.othins" :null,
"bodgrp.dre.pts.extkey" :null,
"bopmod.dbdgrp.bas.actiondesc" :null,
"mtabut.clsflg" :null,
"cnybop.vouflg" :null,
}
......
......@@ -6,12 +6,17 @@ import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"bodgrp.rec.ownref" :Utils.defaultFunction,
"bptbck.dscbckcur" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"bopmod.dbdgrp.bas.rptno" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction,
"cnybop.libflg" :Utils.defaultFunction,
"bodgrp.col.pts.extkey" :Utils.defaultFunction,
"bodgrp.col.adrelc" :Utils.defaultFunction,
"bodgrp.col.namelc" :Utils.defaultFunction,
"bodgrp.col.dbfadrblkcn" :Utils.defaultFunction,
"bodgrp.col.pts.adrblk" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"trnmod.trndoc.condocstm" :Utils.defaultFunction,
"trnmod.trndoc.shwinc" :Utils.defaultFunction,
......@@ -19,57 +24,46 @@ export default {
"bodgrp.dre.pts.adrblk" :Utils.defaultFunction,
"bopmod.szflg" :Utils.defaultFunction,
"bopmod.basflg" :Utils.defaultFunction,
"bodgrp.dre.pts.extkey" :Utils.defaultFunction,
"bodgrp.dre.adrelc" :Utils.defaultFunction,
"bodgrp.dre.namelc" :Utils.defaultFunction,
"bodgrp.dre.dbfadrblkcn" :Utils.defaultFunction,
"bodgrp.drr.pts.extkey" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.extkey" :Utils.defaultFunction,
"bodgrp.drr.adrelc" :Utils.defaultFunction,
"bodgrp.drr.namelc" :Utils.defaultFunction,
"bodgrp.drr.dbfadrblkcn" :Utils.defaultFunction,
"bodgrp.drr.pts.adrblk" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
"bopmod.dbdgrp.bas.tmpref" :Utils.defaultFunction,
"bopmod.vrfflg" :Utils.defaultFunction,
"bopmod.dclflg" :Utils.defaultFunction,
"bodgrp.rec.focflg" :Utils.defaultFunction,
"bodgrp.rec.doctypcod" :Utils.defaultFunction,
"bodgrp.drr.pts.extkey" :Utils.defaultFunction,
"bodgrp.drr.adrelc" :Utils.defaultFunction,
"bodgrp.drr.namelc" :Utils.defaultFunction,
"bodgrp.drr.dbfadrblkcn" :Utils.defaultFunction,
"cnybop.vouflg" :Utils.defaultFunction,
"bopmod.dbdgrp.bas.buscode" :Utils.defaultFunction,
"bopmod.vrfflg" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction,
"cnybop.traflg" :Utils.defaultFunction,
"bodgrp.drr.pts.adrblk" :Utils.defaultFunction,
"cnybop.cnyflg" :Utils.defaultFunction,
"bodgrp.cbs.max.amt" :Utils.defaultFunction,
"bodgrp.drr.pts.nam" :Utils.defaultFunction,
"bodgrp.cbs.max.cur" :Utils.defaultFunction,
"bodgrp.col.pts.extkey" :Utils.defaultFunction,
"bodgrp.col.adrelc" :Utils.defaultFunction,
"bodgrp.col.namelc" :Utils.defaultFunction,
"bodgrp.col.dbfadrblkcn" :Utils.defaultFunction,
"bopmod.dbdgrp.bas.custype" :Utils.defaultFunction,
"liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"setmod.glemod.gleshwstm" :Utils.defaultFunction,
"bodgrp.dre.pts.extkey" :Utils.defaultFunction,
"bodgrp.dre.adrelc" :Utils.defaultFunction,
"bodgrp.dre.namelc" :Utils.defaultFunction,
"bodgrp.dre.dbfadrblkcn" :Utils.defaultFunction,
"bodgrp.rec.ownref" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"bodgrp.dre.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,
"cnybop.outflg" :Utils.defaultFunction,
"bodgrp.rec.predat" :Utils.defaultFunction,
"lendoc.actflg" :Utils.defaultFunction,
"bodgrp.col.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"setmod.redamt" :Utils.defaultFunction,
"bodgrp.col.pts.adrblk" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"bopmod.dclflg" :Utils.defaultFunction,
"bopmod.dbdgrp.bas.custcod" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction,
"cnybop.cnyflg" :Utils.defaultFunction,
"bopmod.dbdgrp.bas.ownextkey" :Utils.defaultFunction,
"liaall.misamt" :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,
}
//你可以添加自动default处理
......@@ -266,101 +266,5 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSav(){
let rtnmsg = await this.executeRule("sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCan(){
let rtnmsg = await this.executeRule("can")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBasppGetreftmp(){
let rtnmsg = await this.executeRule("baspp.getreftmp")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBasppGetref(){
let rtnmsg = await this.executeRule("baspp.getref")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onChk(){
let rtnmsg = await this.executeRule("chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onChk(){
let rtnmsg = await this.executeRule("chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButpErr(){
let rtnmsg = await this.executeRule("butp.err")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCan(){
let rtnmsg = await this.executeRule("can")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
......@@ -189,7 +189,7 @@ export default {
],
"brtp.oth.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 140,message:"长度不能超过140"}
{max: 35,message:"长度不能超过35"}
],
"brtp.oth.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -310,7 +310,7 @@ export default {
],
"brdgrp.shp.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 140,message:"长度不能超过140"}
{max: 35,message:"长度不能超过35"}
],
"brdgrp.shp.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......
......@@ -130,7 +130,7 @@ export default {
],
"brdgrp.prb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 140,message:"长度不能超过140"}
{max: 35,message:"长度不能超过35"}
],
"brdgrp.prb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -177,7 +177,7 @@ export default {
],
"brtp.oth.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 140,message:"长度不能超过140"}
{max: 35,message:"长度不能超过35"}
],
"brtp.oth.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......
......@@ -48,7 +48,6 @@ export default class Detopn{
},
dedgrp:{
rec:{
rejame:"",
ownref:"", // 编号 .dedgrp.rec.ownref
opndat:"", // 开立日期 .dedgrp.rec.opndat
shpdat:"", // Shipment Date .dedgrp.rec.shpdat
......
......@@ -88,7 +88,6 @@ export default class Getsel{
clsflg:"", // which contracts to show .gcdget.clsflg
},
cfgfil:{
btnstm:[],
bitmap:"", // Bitmap for folder .cfgfil.bitmap
regside1:"", // Regside .cfgfil.regside1
regside2:"", // Regside .cfgfil.regside2
......
......@@ -99,11 +99,21 @@ export default {
"gidgrp.rec.liadat" :Utils.defaultFunction,
"gidgrp.rec.legfrm" :Utils.defaultFunction,
"gidgrp.adv.pts.adrblk" :Utils.defaultFunction,
"cfagit.recp.pubp.founds7" :Utils.defaultFunction,
"cfagit.recp.pubp.founds6" :Utils.defaultFunction,
"cfagit.recp.pubp.founds5" :Utils.defaultFunction,
"cfagit.recp.pubp.founds4" :Utils.defaultFunction,
"cfagit.recp.pubp.founds8" :Utils.defaultFunction,
"cfagit.recp.pubp.founds3" :Utils.defaultFunction,
"cfagit.recp.pubp.founds2" :Utils.defaultFunction,
"cfagit.recp.pubp.founds1" :Utils.defaultFunction,
"cfagit.recgrp.bas.thyn" :Utils.defaultFunction,
"gidgrp.iss.pts.extkey" :Utils.defaultFunction,
"gidgrp.iss.adrelc" :Utils.defaultFunction,
"gidgrp.iss.namelc" :Utils.defaultFunction,
"gidgrp.iss.dbfadrblkcn" :Utils.defaultFunction,
"gitp.inc760" :Utils.defaultFunction,
"cfagit.recgrp.bas.bencountrycode" :Utils.defaultFunction,
"cnybop.traflg" :Utils.defaultFunction,
"gidgrp.blk.covgodsrv" :Utils.defaultFunction,
"gidgrp.blk.atxcovgodsrv" :Utils.defaultFunction,
......@@ -111,6 +121,9 @@ export default {
"gidgrp.blk.covgodsrvc" :Utils.defaultFunction,
"gidgrp.rec.orccurc" :Utils.defaultFunction,
"gitp.gidtxtmodflgc" :Utils.defaultFunction,
"cfagit.recgrp.bas.bentype" :Utils.defaultFunction,
"cfagit.recgrp.bas.guarantype" :Utils.defaultFunction,
"cfagit.recgrp.bas.maindebtmanner" :Utils.defaultFunction,
"cfagit.dclflg" :Utils.defaultFunction,
"gidgrp.rec.cnfsta" :Utils.defaultFunction,
"gidgrp.cbs.cnf.amt" :Utils.defaultFunction,
......@@ -132,6 +145,7 @@ export default {
"gidgrp.rec.rmbflg" :Utils.defaultFunction,
"gidgrp.rec.reccnfdet" :Utils.defaultFunction,
"gidgrp.ctr.pts.extkey" :Utils.defaultFunction,
"cfagit.recgrp.bas.guaranamount" :Utils.defaultFunction,
"addbcb.pwtyp8" :Utils.defaultFunction,
"gidgrp.avc.pts.extkey" :Utils.defaultFunction,
"gidgrp.rec.orddat" :Utils.defaultFunction,
......@@ -140,6 +154,9 @@ export default {
"gidgrp.ctr.namelc" :Utils.defaultFunction,
"gidgrp.ctr.dbfadrblkcn" :Utils.defaultFunction,
"gidgrp.rec.delori" :Utils.defaultFunction,
"cfagit.recgrp.bas.cgyn" :Utils.defaultFunction,
"cfagit.recgrp.bas.actiontype" :Utils.defaultFunction,
"cfagit.recp.pubp.acp" :Utils.defaultFunction,
"gidgrp.rec.jurlawc" :Utils.defaultFunction,
"gidgrp.rec.fenlishi" :Utils.defaultFunction,
"gidgrp.ctc.pts.adrblk" :Utils.defaultFunction,
......@@ -149,6 +166,7 @@ export default {
"gidgrp.bdb.namelc" :Utils.defaultFunction,
"gidgrp.bdb.dbfadrblkcn" :Utils.defaultFunction,
"gidgrp.bdb.pts.adrblk" :Utils.defaultFunction,
"cfagit.recp.pubp.cousel1.guedparecompcode" :Utils.defaultFunction,
"gitp.inccormsgflg" :Utils.defaultFunction,
"gidgrp.gidcxm.warran" :Utils.defaultFunction,
"gidgrp.avc.pts.nam" :Utils.defaultFunction,
......@@ -163,6 +181,7 @@ export default {
"gidgrp.ben.namelc" :Utils.defaultFunction,
"gidgrp.ben.dbfadrblkcn" :Utils.defaultFunction,
"addbcb.bccls1" :Utils.defaultFunction,
"cfagit.recgrp.bas.issuecountrycode" :Utils.defaultFunction,
"gitp.covgodsrvmodflg" :Utils.defaultFunction,
"cnybop.cnyvou.sreversecountrycode" :Utils.defaultFunction,
"gidgrp.rec.liaflg" :Utils.defaultFunction,
......@@ -171,6 +190,7 @@ export default {
"gidgrp.rec.deltoc" :Utils.defaultFunction,
"gidgrp.rec.transfer" :Utils.defaultFunction,
"gidgrp.rec.stacty" :Utils.defaultFunction,
"cfagit.recgrp.bas.guedcouncode" :Utils.defaultFunction,
"gidgrp.blk.apprul" :Utils.defaultFunction,
"gitp.drpreflg" :Utils.defaultFunction,
"gidgrp.rec.tenclsdat" :Utils.defaultFunction,
......@@ -182,7 +202,11 @@ export default {
"cnybop.cnyvou.svouchercountrycode" :Utils.defaultFunction,
"gidgrp.rec.orcrat" :Utils.defaultFunction,
"gidgrp.iss.pts.adrblk" :Utils.defaultFunction,
"cfagit.recgrp.bas.cgcouncode" :Utils.defaultFunction,
"cfagit.recgrp.bas.guedtype" :Utils.defaultFunction,
"gidgrp.rec.tenclsdatc" :Utils.defaultFunction,
"cfagit.recgrp.bas.maindebtmaturity" :Utils.defaultFunction,
"cfagit.recgrp.bas.maindebtcondate" :Utils.defaultFunction,
"gidgrp.ghd.aplnam" :Utils.defaultFunction,
"gidgrp.rec.vrfdat" :Utils.defaultFunction,
"cnybop.outflg" :Utils.defaultFunction,
......
......@@ -519,5 +519,101 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSav(){
let rtnmsg = await this.executeRule("sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onChk(){
let rtnmsg = await this.executeRule("chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCouselCrehqselbut(){
let rtnmsg = await this.executeRule("cousel.crehqselbut")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCutpErr(){
let rtnmsg = await this.executeRule("cutp.err")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCouselOperselbut(){
let rtnmsg = await this.executeRule("cousel.operselbut")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCan(){
let rtnmsg = await this.executeRule("can")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCousel1Cgcouncodbut(){
let rtnmsg = await this.executeRule("cousel1.cgcouncodbut")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCousel1Isscoucodbut(){
let rtnmsg = await this.executeRule("cousel1.isscoucodbut")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
......@@ -1060,4 +1060,162 @@ export default {
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"cfagit.recgrp.bas.exguarancode":[
{type: "string", required: false, message: "必输项"},
{max: 28,message:"长度不能超过28"}
],
"cfagit.recgrp.bas.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"cfagit.recgrp.bas.guarantorcode":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"cfagit.recgrp.bas.guaranamount":[
{type: "number", required: false, message: "必输项"},
{max: 22,message:"整数位不能超过19位"},
{pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" }
],
"cfagit.recgrp.bas.contractdate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"cfagit.recgrp.bas.maturity":[
{type: "date", required: false, message: "输入正确的日期"}
],
"cfagit.recgrp.bas.maindebtamount":[
{type: "number", required: false, message: "必输项"},
{max: 22,message:"整数位不能超过19位"},
{pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" }
],
"cfagit.recgrp.bas.bencountrycode":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"cfagit.recgrp.bas.bencode":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"cfagit.recgrp.bas.bename":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"cfagit.recgrp.bas.benamen":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"cfagit.recgrp.bas.guedcouncode":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"cfagit.recgrp.bas.guedcode":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"cfagit.recgrp.bas.guedname":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"cfagit.recgrp.bas.guednamen":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"cfagit.recgrp.bas.guappcode":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"cfagit.recgrp.bas.guappname":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"cfagit.recgrp.bas.guappnamen":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"cfagit.recgrp.bas.remark":[
{type: "string", required: true, message: "必输项"},
{max: 31,message:"长度不能超过31"}
],
"cfagit.recgrp.bas.maindebtcondate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"cfagit.recgrp.bas.maindebtmaturity":[
{type: "date", required: false, message: "输入正确的日期"}
],
"cfagit.recgrp.bas.maindebtdate":[
{type: "string", required: false, message: "必输项"},
{max: 5,message:"长度不能超过5"}
],
"cfagit.recgrp.bas.intrat":[
{type: "string", required: false, message: "必输项"},
{max: 15,message:"长度不能超过15"}
],
"cfagit.recgrp.bas.guedparecompname":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"cfagit.recgrp.bas.guedparecompnamen":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"cfagit.recp.pubp.cousel1.guedparecompcode":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"cfagit.recgrp.bas.cgcode":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"cfagit.recgrp.bas.cgcouncode":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"cfagit.recgrp.bas.cgname":[
{type: "string", required: true, message: "必输项"},
{max: 64,message:"长度不能超过64"}
],
"cfagit.recgrp.bas.cgnamen":[
{type: "string", required: true, message: "必输项"},
{max: 64,message:"长度不能超过64"}
],
"cfagit.recgrp.bas.thje":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"cfagit.recgrp.bas.issuecountrycode":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
}
\ No newline at end of file
......@@ -500,6 +500,72 @@ export default class Gitopn{
ownextkey:"", // 地区机构号 .cfagit.ownextkey
dclflg:"", // �'�任余额信息 .cfagit.dclflg
vrfflg:"", // 履约信息 .cfagit.vrfflg
recp:{
pubp:{
bencodwarn:"", // BENCODE WARNING .cfagit.recp.pubp.bencodwarn
guedcodwarn:"", // GUEDCODE WARNING .cfagit.recp.pubp.guedcodwarn
acp:"", // 确认 .cfagit.recp.pubp.acp
founds1:"", // 境外�'接投资 .cfagit.recp.pubp.founds1
founds2:"", // 偿还境外债务 .cfagit.recp.pubp.founds2
founds3:"", // 补充营运或流动性资金 .cfagit.recp.pubp.founds3
founds4:"", // 其他境外使用 .cfagit.recp.pubp.founds4
founds5:"", // 以�'接投资形式回流 .cfagit.recp.pubp.founds5
founds6:"", // 以外债形式回流 .cfagit.recp.pubp.founds6
founds7:"", // 以�'�易形式回流 .cfagit.recp.pubp.founds7
founds8:"", // 以其他形式回流 .cfagit.recp.pubp.founds8
cousel1:{
guedparecompcode:"", // 被担保人境内母公司代码 .cfagit.recp.pubp.cousel1.guedparecompcode
},
},
zzwjew:"", // 主债务金额提示 .cfagit.recp.zzwjew
thjewating:"", // 资金调回金额提示 .cfagit.recp.thjewating
},
recgrp:{
bas:{
remark:"", // 备注 .cfagit.recgrp.bas.remark
maturity:"", // 到期日 .cfagit.recgrp.bas.maturity
maindebtcurr:"", // 主债务金额 .cfagit.recgrp.bas.maindebtcurr
guedtype:"", // 被担保人类型 .cfagit.recgrp.bas.guedtype
guedcode:"", // 被担保人代码 .cfagit.recgrp.bas.guedcode
guarantype:"", // 担保类型 .cfagit.recgrp.bas.guarantype
guarantorcode:"", // 担保人代码 .cfagit.recgrp.bas.guarantorcode
guappcode:"", // 担保申请人代码 .cfagit.recgrp.bas.guappcode
exguarancode:"", // 对外担保编号 .cfagit.recgrp.bas.exguarancode
contractdate:"", // 签约日期 .cfagit.recgrp.bas.contractdate
bentype:"", // 受益人类型 .cfagit.recgrp.bas.bentype
bencode:"", // 受益人代码 .cfagit.recgrp.bas.bencode
actiontype:"", // 操作类型 .cfagit.recgrp.bas.actiontype
actiondesc:"", // 删除原因 .cfagit.recgrp.bas.actiondesc
bename:"", // 受益人中文名称 .cfagit.recgrp.bas.bename
benamen:"", // 受益人英文名称 .cfagit.recgrp.bas.benamen
guedname:"", // 被担保人中文名称 .cfagit.recgrp.bas.guedname
guednamen:"", // 被担保人英文名称 .cfagit.recgrp.bas.guednamen
guappname:"", // 担保申请人中文名称 .cfagit.recgrp.bas.guappname
guappnamen:"", // 担保申请人英文名称 .cfagit.recgrp.bas.guappnamen
guarancurr:"", // 保函金额 .cfagit.recgrp.bas.guarancurr
guedcouncode:"", // 被担保人国别/地区代码 .cfagit.recgrp.bas.guedcouncode
bencountrycode:"", // 受益人国别/地区 .cfagit.recgrp.bas.bencountrycode
guaranamount:"", // 保函金额 .cfagit.recgrp.bas.guaranamount
maindebtamount:"", // 主债务金额 .cfagit.recgrp.bas.maindebtamount
maindebtmanner:"", // 发行/上市方式 .cfagit.recgrp.bas.maindebtmanner
guedindustrycode:"", // 被担保人所属行业 .cfagit.recgrp.bas.guedindustrycode
maindebtdate:"", // 主债务期限(日) .cfagit.recgrp.bas.maindebtdate
maindebtcondate:"", // 主债务签约日期 .cfagit.recgrp.bas.maindebtcondate
maindebtmaturity:"", // 主债务到期日 .cfagit.recgrp.bas.maindebtmaturity
intrat:"", // 借款利率(%) .cfagit.recgrp.bas.intrat
cgyn:"", // 是否有反担保人 .cfagit.recgrp.bas.cgyn
cgcode:"", // 反担保人国别/地区代码 .cfagit.recgrp.bas.cgcode
thyn:"", // 是否调回境内 .cfagit.recgrp.bas.thyn
thje:"", // 资金调回金额 .cfagit.recgrp.bas.thje
jwyn:"", // 是否与境外投资相关 .cfagit.recgrp.bas.jwyn
cgcouncode:"", // 反担保人国别/地区代码 .cfagit.recgrp.bas.cgcouncode
issuecountrycode:"", // 发行/上市国家与地区 .cfagit.recgrp.bas.issuecountrycode
guedparecompname:"", // 被担保人境内母公司中文名称 .cfagit.recgrp.bas.guedparecompname
guedparecompnamen:"", // 被担保人境内母公司英文名称 .cfagit.recgrp.bas.guedparecompnamen
cgname:"", // 反担保人中文名称 .cfagit.recgrp.bas.cgname
cgnamen:"", // 反担保人英文名称 .cfagit.recgrp.bas.cgnamen
},
},
},
setmod:new Pub().data.Setmod,
mtabut:new Pub().data.Mtabut,
......
......@@ -282,7 +282,9 @@ export default class Gitpop{
atxpreper:"", // Presentation Instr. .gidgrp.blk.atxpreper
trfcond:"", // Transfer Conditions .gidgrp.blk.trfcond
feetxt:"", // Additional Details to Code for Charges .gidgrp.blk.feetxt
gidtxt:"", // Guarantee Text .gidgrp.blk.gidtxt
gidtxt:{
rows: []
}, // Guarantee Text .gidgrp.blk.gidtxt
gtxgidtxt:"", // Guarantee Text with Variables .gidgrp.blk.gtxgidtxt
gartyptxtc:"", // Undertaking Type .gidgrp.blk.gartyptxtc
apprulc:"", // Applicable Rules .gidgrp.blk.apprulc
......
import Utils from "~/utils"
/**
* Infgcd Check规则
*/
let checkObj = {
"infcon.seaamtto" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Infgcd Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"infcon.seapty" :Utils.defaultFunction,
"infcon.pty.extkey" :Utils.defaultFunction,
"infcon.usr.extkey" :Utils.defaultFunction,
"infbut.dspstm" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onInfbutSearow(){
let rtnmsg = await this.executeRule("infbut.searow")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutDsp(){
let rtnmsg = await this.executeRule("infbut.dsp")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutUserow(){
let rtnmsg = await this.executeRule("infbut.userow")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutClr(){
let rtnmsg = await this.executeRule("infbut.clr")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutButprt(){
let rtnmsg = await this.executeRule("infbut.butprt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutExi(){
let rtnmsg = await this.executeRule("infbut.exi")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async handleSearch() {
this.stmData.data = [];
let opndatfrom = this.model.infcon.opndatfrom;
if(!opndatfrom || opndatfrom == ''){
this.$notify.error({ title: '错误', message: '查询开始日期必输!' });
return;
}
let opndatto = this.model.infcon.opndatto;
if(!opndatto || opndatto == ''){
this.$notify.error({ title: '错误', message: '查询结束日期必输!' });
return;
}
let rtnmsg = await this.executeRule("infbut.searow")
if (rtnmsg.respCode == SUCCESS) {
this.stmData.data = rtnmsg.data.infbut_dspstm.rows;
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
}
\ No newline at end of file
export default {
"infcon.seaownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"infcon.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"infcon.searef":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"infcon.pty.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 24,message:"长度不能超过24"}
],
"infcon.pty.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"infcon.seapty":[
{type: "string", required: false, message: "必输项"},
{max: 24,message:"长度不能超过24"}
],
"infcon.opndatfrom":[
{type: "date", required: false, message: "输入正确的日期"}
],
"infcon.opndatto":[
{type: "date", required: false, message: "输入正确的日期"}
],
"infcon.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"infcon.seaamtfr":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"infcon.seaamtto":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"infbut.dspstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Infgcd{
constructor () {
this.data = {
infcon:{
seaownref:"", // Own Reference .infcon.seaownref
nam:"", // Name .infcon.nam
searef:"", // Party Reference .infcon.searef
pty:{
extkey:"", // Select Single Party .infcon.pty.extkey
nam:"", // External Visible Name .infcon.pty.nam
},
seapty:"", // Party Name/BIC .infcon.seapty
searol:"", // Role .infcon.searol
opndatfrom:"", // Opening between .infcon.opndatfrom
opndatto:"", // Open Date to .infcon.opndatto
usr:{
extkey:"", // User ID .infcon.usr.extkey
},
seasta:"", // Status .infcon.seasta
seacur:"", // Currency .infcon.seacur
seaamtfr:"", // Amount between .infcon.seaamtfr
seaamtto:"", // Amount to .infcon.seaamtto
relflg:"", // Release Status .infcon.relflg
cxmflg:"", // 是否显示查询码 .infcon.cxmflg
hndtyp:"", // Handling Type .infcon.hndtyp
trnstm:"",
},
seagtyp:"", // Undertaking Type .seagtyp
infbut:{
dspstm:[], // display stream .infbut.dspstm
},
pageId: "", // ctx的key
gidgrp:{
rec:{
inr:"",
ownref:"", // Reference .gidgrp.rec.ownref
resflg:"", // Reserved Contract .gidgrp.rec.resflg
rejflg:"", // Direct rejection .gidgrp.rec.rejflg
drpreflg:"", // Type of Request .gidgrp.rec.drpreflg
purposin:"", // Incoming Purpose .gidgrp.rec.purposin
purpos:"", // Outgoing Purpose .gidgrp.rec.purpos
hndtyp:"", // Handling Type .gidgrp.rec.hndtyp
gartyp:"", // Type of Undertaking .gidgrp.rec.gartyp
gartypin:"", // Undertaking Type from Local Undertaking Seq. C .gidgrp.rec.gartypin
legfrm:"", // Form of Undertaking .gidgrp.rec.legfrm
demand:"", // Demand Indicator .gidgrp.rec.demand
giduil:"", // Language of Undertak. .gidgrp.rec.giduil
secuilflg:"", // Bilingual Guarantee .gidgrp.rec.secuilflg
gtxinr:"", // Choice of Text .gidgrp.rec.gtxinr
atxinr:"", // Choice of Text .gidgrp.rec.atxinr
exptyp:"", // Expiry Type .gidgrp.rec.exptyp
expdat:"", // Validity until .gidgrp.rec.expdat
liatypc:"", // Liability Type .gidgrp.rec.liatypc
liadat:"", // Our Liability until .gidgrp.rec.liadat
oldref:"", // Old Reference .gidgrp.rec.oldref
revflg:"", // Declaration of Indemnity .gidgrp.rec.revflg
autrnwflg:"", // Auto-Renewal .gidgrp.rec.autrnwflg
rmbflg:"", // Reimbursement Information .gidgrp.rec.rmbflg
orddat:"", // Order Date .gidgrp.rec.orddat
opndat:"", // Valid from .gidgrp.rec.opndat
expflg:"", // Unlimited Guarantee .gidgrp.rec.expflg
liaflg:"", // Unlimited Liability .gidgrp.rec.liaflg
nam:"", // Name .gidgrp.rec.nam
inudat:"", // Inure Date .gidgrp.rec.inudat
teskeyunc:"", // Test Key Unconfirmity .gidgrp.rec.teskeyunc
guaflg:"", // Mortgage Flag .gidgrp.rec.guaflg
cmtflg:"", // 跨境人民币保函 .gidgrp.rec.cmtflg
fingua:"", // 是否对外担保 .gidgrp.rec.fingua
cfaguatyp:"", // 对外担保类型 .gidgrp.rec.cfaguatyp
vrfdat:"", // 核销日期 .gidgrp.rec.vrfdat
fenlishi:"", // 是否分离式保函 .gidgrp.rec.fenlishi
stacty:"", // Risk Country .gidgrp.rec.stacty
orcref:"", // Contract Reference .gidgrp.rec.orcref
orcdat:"", // Date from Original Contract .gidgrp.rec.orcdat
tenclsdat:"", // Closing Date .gidgrp.rec.tenclsdat
orcrat:"", // Original Perc./ Rate .gidgrp.rec.orcrat
orccur:"", // Contract Amount .gidgrp.rec.orccur
orcamt:"", // Contract Amount .gidgrp.rec.orcamt
acc:"", // A/c for Adv. Paym. Guar. .gidgrp.rec.acc
jurlaws20:"", // Governing Law .gidgrp.rec.jurlaws20
jurlaw:"", // Law of Jurisdiction .gidgrp.rec.jurlaw
jurplc:"", // Place of Jurisdiction .gidgrp.rec.jurplc
tenref:"", // Tender Reference .gidgrp.rec.tenref
tendat:"", // Tender Date .gidgrp.rec.tendat
trmdat:"", // Latest Transmiss. Date .gidgrp.rec.trmdat
juscod:"", // 组织机构代码 .gidgrp.rec.juscod
cunqii:"", // 流动资金贷款利率档次 .gidgrp.rec.cunqii
bilvvv:"", // 上浮比率 .gidgrp.rec.bilvvv
bngcod:"", // 企业海关编码 .gidgrp.rec.bngcod
mannum:"", // 手册号码 .gidgrp.rec.mannum
},
cbs:{
max:{
cur:"", // Guarantee Amount .gidgrp.cbs.max.cur
amt:"", // Guarantee Amount .gidgrp.cbs.max.amt
},
opn1:{
cur:"", // Open Amount .gidgrp.cbs.opn1.cur
amt:"", // Balance .gidgrp.cbs.opn1.amt
},
},
blk:{
gartyptxtin:"", // Specification of Type of Undertaking - Counter Undertaking .gidgrp.blk.gartyptxtin
apprul:"", // Applicable Rules .gidgrp.blk.apprul
apprultxt:"", // Applicable Rules .gidgrp.blk.apprultxt
exptxt:"", // Expiry Condition/ Evt. .gidgrp.blk.exptxt
atxexptxt:"", // Expiry Condition/ Evt. .gidgrp.blk.atxexptxt
liatxtc:"", // Liability Condition .gidgrp.blk.liatxtc
atxliatxtc:"", // Liability Condition .gidgrp.blk.atxliatxtc
covgodsrv:"", // Object of Contract .gidgrp.blk.covgodsrv
orcplc:"", // Original Contract Place .gidgrp.blk.orcplc
addinf:"", // Additional Info .gidgrp.blk.addinf
atxcovgodsrv:"", // Underly. Transact. Det. .gidgrp.blk.atxcovgodsrv
gidtxt:"", // Guarantee Text .gidgrp.blk.gidtxt
gtxgidtxt:"", // Guarantee Text with Variables .gidgrp.blk.gtxgidtxt
},
apl:{
pts:new Pts().data,
namelc:"", // 名称 .gidgrp.apl.namelc
adrelc:"", // 地址 .gidgrp.apl.adrelc
dbfadrblkcn:"", // Chinese address .gidgrp.apl.dbfadrblkcn
},
ben:{
pts:new Pts().data,
namelc:"", // 名称 .gidgrp.ben.namelc
adrelc:"", // 地址 .gidgrp.ben.adrelc
dbfadrblkcn:"", // Chinese address .gidgrp.ben.dbfadrblkcn
},
iss:{
pts:new Pts().data,
namelc:"", // 名称 .gidgrp.iss.namelc
adrelc:"", // 地址 .gidgrp.iss.adrelc
dbfadrblkcn:"", // Chinese address .gidgrp.iss.dbfadrblkcn
},
adv:{
pts:new Pts().data,
namelc:"", // 名称 .gidgrp.adv.namelc
adrelc:"", // 地址 .gidgrp.adv.adrelc
dbfadrblkcn:"", // Chinese address .gidgrp.adv.dbfadrblkcn
},
ghd:{
segtyp:"", // 特殊保函类型 .gidgrp.ghd.segtyp
bustyp:"", // 业务类型 .gidgrp.ghd.bustyp
wahnum:"", // 仓库号 .gidgrp.ghd.wahnum
remark:"", // 备注 .gidgrp.ghd.remark
aplnam:"", // 申请人名称关税保函专用 .gidgrp.ghd.aplnam
},
gidcxm:{
warran:"", // 被保证人 .gidgrp.gidcxm.warran
cxmflg:"", // 是否显示查询码 .gidgrp.gidcxm.cxmflg
benefi:"", // 受益人名称 .gidgrp.gidcxm.benefi
},
ctr:{
pts:new Pts().data,
namelc:"", // 名称 .gidgrp.ctr.namelc
adrelc:"", // 地址 .gidgrp.ctr.adrelc
dbfadrblkcn:"", // Chinese address .gidgrp.ctr.dbfadrblkcn
},
atb:{
pts:new Pts().data,
namelc:"", // 名称 .gidgrp.atb.namelc
adrelc:"", // 地址 .gidgrp.atb.adrelc
dbfadrblkcn:"", // Chinese address .gidgrp.atb.dbfadrblkcn
},
con:{
pts:new Pts().data,
namelc:"", // 名称 .gidgrp.con.namelc
adrelc:"", // 地址 .gidgrp.con.adrelc
dbfadrblkcn:"", // Chinese address .gidgrp.con.dbfadrblkcn
},
bdb:{
pts:new Pts().data,
namelc:"", // 名称 .gidgrp.bdb.namelc
adrelc:"", // 地址 .gidgrp.bdb.adrelc
dbfadrblkcn:"", // Chinese address .gidgrp.bdb.dbfadrblkcn
},
},
}
}
}
\ No newline at end of file
......@@ -150,7 +150,7 @@ export default {
],
"ledgrp.ben.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 140,message:"长度不能超过140"}
{max: 35,message:"长度不能超过35"}
],
"ledgrp.ben.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -213,7 +213,7 @@ export default {
],
"ledgrp.iss.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 140,message:"长度不能超过140"}
{max: 35,message:"长度不能超过35"}
],
"ledgrp.iss.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -258,7 +258,7 @@ export default {
],
"ledgrp.apl.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 140,message:"长度不能超过140"}
{max: 35,message:"长度不能超过35"}
],
"ledgrp.apl.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......
......@@ -56,7 +56,7 @@ export default {
"ledgrp.ben.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 140,message:"长度不能超过140"}
{max: 35,message:"长度不能超过35"}
],
"ledgrp.ben.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -119,7 +119,7 @@ export default {
],
"ledgrp.iss.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 140,message:"长度不能超过140"}
{max: 35,message:"长度不能超过35"}
],
"ledgrp.iss.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -165,7 +165,7 @@ export default {
],
"ledgrp.apl.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 140,message:"长度不能超过140"}
{max: 35,message:"长度不能超过35"}
],
"ledgrp.apl.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -232,7 +232,7 @@ export default {
],
"ledgrp.avb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 140,message:"长度不能超过140"}
{max: 35,message:"长度不能超过35"}
],
"ledgrp.avb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -290,7 +290,7 @@ export default {
],
"ledgrp.drw.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 140,message:"长度不能超过140"}
{max: 35,message:"长度不能超过35"}
],
"ledgrp.drw.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -371,7 +371,7 @@ export default {
"ledgrp.adv.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 140,message:"长度不能超过140"}
{max: 35,message:"长度不能超过35"}
],
"ledgrp.adv.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -379,7 +379,7 @@ export default {
],
"ledgrp.apb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 140,message:"长度不能超过140"}
{max: 35,message:"长度不能超过35"}
],
"ledgrp.apb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -437,7 +437,7 @@ export default {
],
"ledgrp.a2b.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 140,message:"长度不能超过140"}
{max: 35,message:"长度不能超过35"}
],
"ledgrp.a2b.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -445,7 +445,7 @@ export default {
],
"ledgrp.rmb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 140,message:"长度不能超过140"}
{max: 35,message:"长度不能超过35"}
],
"ledgrp.rmb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......
......@@ -4,94 +4,104 @@ import Utils from "~/utils"
* Letopn Check规则
*/
let checkObj = {
"ledgrp.apb.pts.extkey" :null,
"liaall.misamt" :null,
"ledgrp.rec.opndat" :null,
"ledgrp.adv.namelc" :null,
"ledgrp.blk.shpper" :null,
"ledgrp.rmb.pts.extkey" :null,
"ledgrp.iss.pts.adrblk" :null,
"ledgrp.avb.adrelc" :null,
"ledgrp.rec.tenmaxday" :null,
"ledgrp.blk.mixdet" :null,
"ledgrp.avb.pts.extkey" :null,
"ledgrp.drw.adrelc" :null,
"ledgrp.ben.pts.extkey" :null,
"setmod.dspflg" :null,
"letp.usr.extkey" :null,
"ledgrp.rec.nomspc" :null,
"ledgrp.a2b.namelc" :null,
"ledgrp.rec.revtyp" :null,
"ledgrp.rec.avbby" :null,
"ledgrp.rec.shpdat" :null,
"ledgrp.rec.prepers18" :null,
"ledgrp.iss.adrelc" :null,
"ledgrp.apb.namelc" :null,
"ledgrp.apl.namelc" :null,
"ledgrp.cbs.max2.amt" :null,
"ledgrp.rec.stacty" :null,
"ledgrp.blk.lcrdoc" :null,
"ledgrp.blk.dftat" :null,
"ledgrp.blk.insbnk" :null,
"ledgrp.iss.pts.extkey" :null,
"ledgrp.blk.adlcnd" :null,
"ledgrp.rec.expplc" :null,
"ledgrp.a2b.pts.extkey" :null,
"ledgrp.iss.pts.ref" :null,
"ledgrp.apl.pts.adrblk" :null,
"ledgrp.rmb.adrelc" :null,
"ledgrp.drw.pts.adrblk" :null,
"ledgrp.blk.spcben" :null,
"ledgrp.a2b.pts.adrblk" :null,
"ledgrp.rec.revdat" :null,
"ledgrp.blk.spcrcb" :null,
"ledgrp.blk.preper" :null,
"ledgrp.adv.adrelc" :null,
"ledgrp.ben.adrelc" :null,
"ledgrp.adv.pts.extkey" :null,
"ledgrp.rmb.pts.adrblk" :null,
"ledgrp.blk.lcrgod" :null,
"ledgrp.a2b.adrelc" :null,
"ledgrp.avb.namelc" :null,
"ledgrp.avb.pts.adrblk" :null,
"ledgrp.apb.pts.adrblk" :null,
"ledgrp.cbs.nom1.cur" :null,
"ledgrp.con.pts.nam" :null,
"ledgrp.rec.nomtop" :null,
"ledgrp.rec.nomton" :null,
"ledgrp.rec.avbwth" :null,
"ledgrp.rec.ownref" :null,
"ledgrp.rmb.namelc" :null,
"ledgrp.blk.feetxt" :null,
"ledgrp.blk.revcls" :null,
"ledgrp.adv.pts.adrblk" :null,
"ledgrp.cbs.nom1.amt" :null,
"ledgrp.blk.defdet" :null,
"ledgrp.rec.expdat" :null,
"ledgrp.rec.lcrtyp" :null,
"mtabut.coninf.conexedat" :null,
"ledgrp.rec.apprul" :null,
"ledgrp.apl.adrelc" :null,
"ledgrp.iss.namelc" :null,
"ledgrp.drw.pts.extkey" :null,
"ledgrp.ben.namelc" :null,
"ledgrp.rec.preadvdt" :null,
"ledgrp.ben.pts.adrblk" :null,
"ledgrp.blk.addamtcov" :null,
"setmod.docamt" :null,
"ledgrp.rec.cnfins" :null,
"ledgrp.apb.adrelc" :null,
"ledgrp.drw.namelc" :null,
"ledgrp.apl.pts.extkey" :null,
"ledgrp.con.pts.extkey" :null,
"ledgrp.rec.cnfdet" :null,
"ledgrp.rec.apprultxt" :null,
"ledgrp.apb.pts.extkey": null,
"liaall.misamt": null,
"letp.rmbp.ptsget.sdamod.dadsnd": null,
"ledgrp.rec.opndat": null,
"ledgrp.adv.namelc": null,
"ledgrp.blk.shpper": null,
"ledgrp.rmb.pts.extkey": null,
"letp.avbp.ptsget.sdamod.dadsnd": null,
"ledgrp.a2b.pts.adrblk": null,
"letp.conp.ptsget.sdamod.dadsnd": null,
"ledgrp.iss.pts.adrblk": null,
"letp.issp.ptsget.sdamod.dadsnd": null,
"ledgrp.rec.revdat": null,
"ledgrp.blk.spcrcb": null,
"ledgrp.blk.preper": null,
"ledgrp.adv.adrelc": null,
"ledgrp.ben.adrelc": null,
"ledgrp.avb.adrelc": null,
"ledgrp.rec.tenmaxday": null,
"ledgrp.blk.mixdet": null,
"ledgrp.avb.pts.extkey": null,
"ledgrp.adv.pts.extkey": null,
"ledgrp.drw.adrelc": null,
"ledgrp.ben.pts.extkey": null,
"ledgrp.rmb.pts.adrblk": null,
"ledgrp.blk.lcrgod": null,
"setmod.dspflg": null,
"ledgrp.a2b.adrelc": null,
"ledgrp.avb.namelc": null,
"ledgrp.avb.pts.adrblk": null,
"ledgrp.apb.pts.adrblk": null,
"letp.usr.extkey": null,
"ledgrp.rec.nomspc": null,
"ledgrp.a2b.namelc": null,
"ledgrp.cbs.nom1.cur": null,
"ledgrp.rec.revtyp": null,
"ledgrp.rec.avbby": null,
"ledgrp.rec.shpdat": null,
"letp.a2bp.ptsget.sdamod.dadsnd": null,
"ledgrp.rec.prepers18": null,
"ledgrp.rec.nomtop": null,
"ledgrp.iss.adrelc": null,
"ledgrp.rec.nomton": null,
"ledgrp.rec.avbwth": null,
"ledgrp.apb.namelc": null,
"letp.drwp.ptsget.sdamod.dadsnd": null,
"ledgrp.rec.ownref": null,
"ledgrp.rmb.namelc": null,
"ledgrp.blk.feetxt": null,
"ledgrp.apl.namelc": null,
"ledgrp.blk.revcls": null,
"ledgrp.cbs.max2.amt": null,
"ledgrp.rec.stacty": null,
"ledgrp.adv.pts.adrblk": null,
"ledgrp.cbs.nom1.amt": null,
"ledgrp.blk.lcrdoc": null,
"ledgrp.blk.defdet": null,
"letp.apbp.ptsget.sdamod.dadsnd": null,
"ledgrp.rec.expdat": null,
"ledgrp.blk.dftat": null,
"letp.benp.ptsget.sdamod.dadsnd": null,
"ledgrp.rec.lcrtyp": null,
"ledgrp.blk.insbnk": null,
"mtabut.coninf.conexedat": null,
"ledgrp.rec.apprul": null,
"ledgrp.apl.adrelc": null,
"ledgrp.iss.pts.extkey": null,
"ledgrp.blk.adlcnd": null,
"ledgrp.iss.namelc": null,
"ledgrp.rec.expplc": null,
"letp.advp.ptsget.sdamod.dadsnd": null,
"ledgrp.drw.pts.extkey": null,
"ledgrp.a2b.pts.extkey": null,
"ledgrp.iss.pts.ref": null,
"ledgrp.ben.namelc": null,
"ledgrp.apl.pts.adrblk": null,
"letp.recget.sdamod.dadsnd": null,
"ledgrp.rec.preadvdt": null,
"ledgrp.ben.pts.adrblk": null,
"ledgrp.blk.addamtcov": null,
"setmod.docamt": null,
"ledgrp.rec.cnfins": null,
"ledgrp.apb.adrelc": null,
"ledgrp.rmb.adrelc": null,
"ledgrp.drw.namelc": null,
"ledgrp.apl.pts.extkey": null,
"letp.aplp.ptsget.sdamod.dadsnd": null,
"ledgrp.con.pts.extkey": null,
"ledgrp.rec.cnfdet": null,
"ledgrp.drw.pts.adrblk": null,
"ledgrp.rec.apprultxt": null,
"ledgrp.blk.spcben": null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
// for (const key in checkObj) {
// if (Object.hasOwnProperty.call(checkObj, key)) {
// checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
// }
// }
export default checkObj
......@@ -239,7 +239,7 @@ export default {
],
"lidgrp.avb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 180,message:"长度不能超过180"}
{max: 80,message:"长度不能超过80"}
],
"lidgrp.avb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -290,7 +290,7 @@ export default {
],
"lidgrp.drw.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 135,message:"长度不能超过135"}
{max: 35,message:"长度不能超过35"}
],
"lidgrp.drw.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -380,7 +380,7 @@ export default {
],
"lidgrp.a2b.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 135,message:"长度不能超过135"}
{max: 35,message:"长度不能超过35"}
],
"lidgrp.a2b.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -443,7 +443,7 @@ export default {
],
"lidgrp.con.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 135,message:"长度不能超过135"}
{max: 35,message:"长度不能超过35"}
],
"lidgrp.con.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......
......@@ -140,9 +140,6 @@ export default class Litopn{
},
},
litp:{
ptsaddp:{
ptsaddg:"",
},
recget:{
sdamod:{
seainf:"", // .litp.recget.sdamod.seainf
......
......@@ -160,7 +160,6 @@
<el-form-item label="Collection Condition" prop="bcdgrp.rec.doctypcod">
<c-select
disabled
:code="codes.doctypcod"
v-model="model.bcdgrp.rec.doctypcod"
style="width: 100%"
placeholder="请选择Collection Condition"
......@@ -189,7 +188,7 @@
<c-col :span="24">
<el-form-item label="发票类型" prop="bcdgrp.rec.invtyp">
<c-select
:code="codes.invtyp"
v-model="model.bcdgrp.rec.invtyp"
style="width: 100%"
placeholder="请选择发票类型"
......
......@@ -3,45 +3,35 @@
<el-col :span="11">
<c-col :span="24">
<el-form-item label="是否报送跨境人民币2101表" prop="cnybop.cnyflg" label-width="200px">
<c-select
:code="codes.cnyflg"
disabled v-model="model.cnybop.cnyflg" style="width:100%" placeholder="请选择是否报送跨境人民币2101表">
<c-select disabled v-model="model.cnybop.cnyflg" style="width:100%" placeholder="请选择是否报送跨境人民币2101表">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="是否报送跨境人民币2107表" prop="cnybop.traflg" label-width="200px">
<c-select
:code="codes.traflg"
disabled v-model="model.cnybop.traflg" style="width:100%" placeholder="请选择是否报送跨境人民币2107表">
<c-select disabled v-model="model.cnybop.traflg" style="width:100%" placeholder="请选择是否报送跨境人民币2107表">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="是否报送跨境人民币2111表" prop="cnybop.outflg" label-width="200px">
<c-select
:code="codes.outflg"
disabled v-model="model.cnybop.outflg" style="width:100%" placeholder="请选择是否报送跨境人民币2111表">
<c-select disabled v-model="model.cnybop.outflg" style="width:100%" placeholder="请选择是否报送跨境人民币2111表">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="是否报送跨境人民币2106表" prop="cnybop.libflg" label-width="200px">
<c-select
:code="codes.libflg"
disabled v-model="model.cnybop.libflg" style="width:100%" placeholder="请选择是否报送跨境人民币2106表">
<c-select disabled v-model="model.cnybop.libflg" style="width:100%" placeholder="请选择是否报送跨境人民币2106表">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="是否报送跨境人民币2122表" prop="cnybop.vouflg" label-width="200px">
<c-select
:code="codes.vouflg"
disabled v-model="model.cnybop.vouflg" style="width:100%" placeholder="请选择是否报送跨境人民币2122表">
<c-select disabled v-model="model.cnybop.vouflg" style="width:100%" placeholder="请选择是否报送跨境人民币2122表">
</c-select>
</el-form-item>
</c-col>
......
......@@ -221,7 +221,7 @@
<c-col :span="24">
<el-form-item label="Maturity Text" prop="bcdgrp.blk.bcgdet">
<c-input
:disabled="!this.model.bcdgrp.blk.bcgdetflg"
disabled
type="textarea" v-model="model.bcdgrp.blk.bcgdet" maxlength="45" show-word-limit placeholder="请输入Maturity Text" ></c-input>
</el-form-item>
</c-col>
......@@ -491,7 +491,7 @@
<c-col :span="12">
<el-form-item label="款项去向" prop="bctp.acttyp">
<c-select
:disabled="this.flag1"
disabled
v-model="model.bctp.acttyp" style="width:100%" placeholder="请选择ACTTYP"
:code="codes.acttyp"
>
......@@ -514,23 +514,9 @@ export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
watch:{
"model.outlen.szflg":{
immediate:true,
handler(val ,oldVal){
if(this.model.outlen.szflg == '1'){
this.flag1=false
}
else{
this.flag1=true
}
}
}
},
data(){
return {
flag1:true,
docgrd: {
columns: [
{
......
......@@ -153,10 +153,10 @@
</c-col>
<c-col :span="24">
<el-form-item label="SWIFT Advice Type" prop="advtyp">
<c-select
:code="codes.advtyp"
<c-input
disabled
v-model="model.advtyp" style="width:100%" placeholder="请选择SWIFT Advice Type">
</c-select>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
......@@ -167,8 +167,7 @@
<c-col :span="24">
<c-checkbox
style=" margin: 0px 0 10px 150px;"
disabled
v-model="model.mtabut.clsflg">Close Contract</c-checkbox>
v-model="model.mtabut.clsflg">Close Flag</c-checkbox>
</c-col>
</c-col>
......
......@@ -61,20 +61,16 @@
</c-col>
<c-col :span="24">
<el-form-item label="Payment Condition" prop="bcdgrp.rec.doctypcod">
<c-select
:code="codes.doctypcod"
v-model="model.bcdgrp.rec.doctypcod" style="width:93%" placeholder="请选择Payment Condition"
<c-input v-model="model.bcdgrp.rec.doctypcod" style="width:93%" placeholder="请选择Payment Condition"
disabled>
</c-select>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Document Set Status" prop="bcdgrp.rec.docsta">
<c-select
:code="codes.docsta"
v-model="model.bcdgrp.rec.docsta" style="width:93%" placeholder="请输入Document Set Status"
<c-input v-model="model.bcdgrp.rec.docsta" style="width:93%" placeholder="请输入Document Set Status"
disabled>
</c-select>
</c-input>
</el-form-item>
</c-col>
<c-col :span="20">
......@@ -129,25 +125,19 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item prop="bcdgrp.drr.pts.nam">
<c-input v-model="model.bcdgrp.drr.pts.nam" maxlength="40" style="width: 100%" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item style="text-align: right" label="2nd Collecting Bank" prop="bcdgrp.co2.pts.ref">
<c-input v-model="model.bcdgrp.co2.pts.ref" maxlength="16" style="width: 100%" disabled>
</c-input>
<el-form-item prop="bcdgrp.drr.pts.ref">
<c-input v-model="model.bcdgrp.drr.pts.ref" maxlength="40" style="width: 100%" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label=""
prop="bcdgrp.co2.pts.nam"
label="2nd Collecting Bank"
prop="bcdgrp.co2.pts.ref"
style="width: 100%"
>
<c-fullbox>
<c-input
v-model="model.bcdgrp.co2.pts.nam"
v-model="model.bcdgrp.co2.pts.ref"
maxlength="16"
disabled
placeholder="请输入Reference"
......
......@@ -97,17 +97,13 @@
<c-col :span="12">
<el-form-item label="Payment Condition" prop="bcdgrp.rec.doctypcod">
<c-select disabled
:code="codes.doctypcod"
v-model="model.bcdgrp.rec.doctypcod" style="width:100%" placeholder="请选择Payment Condition">
<c-select disabled v-model="model.bcdgrp.rec.doctypcod" style="width:100%" placeholder="请选择Payment Condition">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Document Set Status" prop="bcdgrp.rec.docsta">
<c-select
:code="codes.docsta"
disabled v-model="model.bcdgrp.rec.docsta" maxlength="1" placeholder="请输入Document Set Status"></c-select>
<c-input disabled v-model="model.bcdgrp.rec.docsta" maxlength="1" placeholder="请输入Document Set Status"></c-input>
</el-form-item>
</c-col>
</div>
......
......@@ -6,7 +6,6 @@
<el-form-item label="是否报送跨境人民币2101表" prop="cnybop.cnyflg">
<c-select
disabled
:code="codes.cnyflg"
v-model="model.cnybop.cnyflg" style="width:100%" placeholder="请选择是否报送跨境人民币2101表">
</c-select>
</el-form-item>
......@@ -16,7 +15,6 @@
<el-form-item label="是否报送跨境人民币2107表" prop="cnybop.traflg">
<c-select
disabled
:code="codes.traflg"
v-model="model.cnybop.traflg" style="width:100%" placeholder="请选择是否报送跨境人民币2107表">
</c-select>
</el-form-item>
......@@ -26,7 +24,6 @@
<el-form-item label="是否报送跨境人民币2111表" prop="cnybop.outflg">
<c-select
disabled
:code="codes.outflg"
v-model="model.cnybop.outflg" style="width:100%" placeholder="请选择是否报送跨境人民币2111表">
</c-select>
</el-form-item>
......@@ -36,7 +33,6 @@
<el-form-item label="是否报送跨境人民币2106表" prop="cnybop.libflg">
<c-select
disabled
:code="codes.libflg"
v-model="model.cnybop.libflg" style="width:100%" placeholder="请选择是否报送跨境人民币2106表">
</c-select>
</el-form-item>
......@@ -46,7 +42,6 @@
<el-form-item label="是否报送跨境人民币2122表" prop="cnybop.vouflg">
<c-select
disabled
:code="codes.vouflg"
v-model="model.cnybop.vouflg" style="width:100%" placeholder="请选择是否报送跨境人民币2122表">
</c-select>
</el-form-item>
......
......@@ -58,7 +58,7 @@
type="textarea"
:rows="4"
v-model="model.bcdgrp.dre.pts.adrblk"
maxlength="150"
maxlength="50"
disabled
show-word-limit
placeholder="请输入Address Block"
......
......@@ -15,34 +15,28 @@
<c-col :span="24">
<c-checkbox
:disabled="this.flag1"
:disabled="this.flag3"
v-model="model.bopmod.basflg"
style="margin: 0px 0 10px 150px;"
>基础数据</c-checkbox>
</c-col>
<c-col :span="24">
<c-col :span="24">
<el-form-item label="款项去向" prop="bopmod.acttyp">
<c-select
:code="codes.acttyp"
:disabled="this.flag2"
<c-input
:disabled="this.flag1"
v-model="model.bopmod.acttyp" style="width:100%" placeholder="请选择款项去向">
</c-select>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地区机构号" prop="bopmod.ownextkey">
<c-select
:code="codes.ownextkey"
:disabled="this.flag3"
<c-input
:disabled="this.flag2"
v-model="model.bopmod.ownextkey" style="width:100%" placeholder="请选择地区机构号">
</c-select>
</c-input>
</el-form-item>
</c-col>
</el-col>
......@@ -71,9 +65,9 @@ export default {
mixins: [commonProcess],
data(){
return {
flag1:true,
flag2:true,
flag3:true,
flag1:"",
flag2:"",
flag3:"",
}
},
methods:{...Event},
......@@ -90,8 +84,8 @@ export default {
this.flag3=true
}
if(val=="2"){
this.flag1=false
this.flag2=true
this.flag1=true
this.flag2=false
this.flag3=false
}
if(val=="1"){
......
......@@ -56,11 +56,6 @@
<m-wg :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane v-if="model.bopmod.basflg" label="对外付款/承兑通知书-基础信息" name="basp">
<m-basp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="跨境人名币申报" name="cnyp">
<m-cnyp :model="model" :codes="codes"/>
</el-tab-pane>
......@@ -100,7 +95,6 @@ import Detp from "./Detp"
import Shpdet from "./Shpdet"
import Ptyp from "./Ptyp"
import Wg from "./Wg"
import Basp from "./Basp"
import Cnyp from "./Cnyp"
import Cfactlp from "./Cfactlp"
import Det400 from "./Det400"
......@@ -122,7 +116,6 @@ export default {
"m-setpan" : Setpan,
"m-shpdet" : Shpdet,
"m-ptyp" : Ptyp,
"m-basp" : Basp,
"m-engp" : Engp,
"m-coninfp" : Coninfp,
"m-docpan" : Docpan,
......@@ -155,6 +148,8 @@ export default {
}
},
methods:{
tabClick(){
}
},
created:async function(){
console.log("进入bctset交易");
......
......@@ -159,8 +159,7 @@ export default {
docdisflg: {
get() {
return this.model.advdisflg === "X" || this.model.advrefflg ==="X" ? true : false;
return this.model.advdisflg === "X";
},
set(val) {
this.model.bddgrp.blk.docdisflg = val ? "X" : "";
......
......@@ -140,7 +140,7 @@
<c-col :span="24" style="height: 0px">
<el-divider></el-divider>
</c-col>
<c-col :span="24" style="margin-bottom: 30px">
<c-col :span="24" style="margin-bottom: 30px;">
<c-table
height="200px"
style="text-align: center"
......@@ -148,15 +148,26 @@
:paginationShow="false"
:border="true"
>
<el-table-column label="1st" width="auto">
<template slot-scope="scope">
<c-input v-model="scope.row.cmail1"></c-input>
</template>
<el-table-column
label="1st"
width="auto"
>
<template slot-scope="scope">
<c-input
v-model="scope.row.cmail1"
></c-input>
</template>
</el-table-column>
<el-table-column label="2nd" width="auto">
<template slot-scope="scope">
<c-input v-model="scope.row.cmail2"></c-input>
</template>
<el-table-column
label="2nd"
width="auto"
>
<template slot-scope="scope">
<c-input
v-model="scope.row.cmail2"
></c-input>
</template>
</el-table-column>
<el-table-column label="Document" prop="docnam" width="auto">
<template slot-scope="scope">
......@@ -178,7 +189,7 @@
</el-table-column>
<el-table-column label="操作" width="170px" fixed="right">
<template slot-scope="scope">
<c-button @click="deleteTable(scope.$index)" type="primary"
<c-button @click="deleteTable(scope.row)" type="primary"
>删除</c-button
>
</template>
......@@ -258,18 +269,12 @@ export default {
mixins: [commonProcess],
data() {
return {
TableValue: [
TableValue: [
{
id: 0,
cmail1: "",
cmail2: "",
docnam: "",
docnam: "",
description: "",
docnam: "",
serialNum: "",
tableName: "",
tcddoc: "",
cmail1: "1",
cmail2: "2",
docnam: "1",
},
],
newValue: {
......@@ -277,12 +282,6 @@ export default {
cmail1: "",
cmail2: "",
docnam: "",
docnam: "",
description: "",
docnam: "",
serialNum: "",
tableName: "",
tcddoc: "",
},
codeTable: [
{ label: "Airway Bills", value: "1" },
......@@ -325,19 +324,22 @@ export default {
},
},
},
methods: {
...Event,
addTableValue(index) {
var newTableValue = Object.assign({}, this.newValue);
const serial = Utils.generateUUID();
newTableValue.serialNum = serial;
// this.model.bftp.docgrdm.docgrd.push(newTableValue);
this.model.betp.docgrdm.docgrd.splice(index - 1, 0, newTableValue);
methods: { ...Event,
addTableValue() {
var index = this.TableValue.length;
var newTableValue = this.newValue;
if (index > 0) {
newTableValue.id = this.TableValue[index - 1].id + 1;
}
this.TableValue.push(newTableValue);
},
deleteTable(index) {
this.model.betp.docgrdm.docgrd.splice(index, 1);
deleteTable(row) {
for (let i = 0; i < this.TableValue.length; i++) {
if (this.TableValue[i].id == row.id) {
this.TableValue.splice(i, 1);
break;
}
}
},
},
created: function () {},
......
<template>
<div class="eibs-tab">
<!-- left -->
<c-col :span="11">
<c-col :span="12">
<c-col :span="24">
<c-col :span="20">
<el-form-item
......@@ -43,7 +43,7 @@
:disabled="this.flag"
@click="onDetpButgetref"
>
Get
获取
</c-button>
<!-- </el-form-item> -->
</c-col>
......@@ -91,7 +91,7 @@
:disabled="this.flag"
@click="onDetpButgetref"
>
Get
获取
</c-button>
<!-- </el-form-item> -->
</c-col>
......@@ -219,7 +219,7 @@
</c-col>
<!-- right -->
<c-col :span="11" :offset="1">
<c-col :span="12">
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Open Amt. L/C" prop="ledgrp.cbs.opn1.cur">
......
<template>
<div class="eibs-tab">
<!-- left -->
<c-col :span="11">
<c-col :span="12">
<c-col :span="24">
<el-form-item label="Reimbursement Bank" prop="rmbclm.rmbrol">
<c-select
......@@ -50,7 +50,7 @@
</c-col>
<!-- right -->
<c-col :span="11" :offset="1">
<c-col :span="12">
<c-col :span="24">
<c-ptap
:model="model"
......
......@@ -225,7 +225,6 @@ export default {
},
set(val) {
this.model.bfdgrp.blk.docdisflg = val ? "X" : "";
this.model.bfdgrp.blk.docdis = "";
},
},
......
<template>
<div class="eibs-tab">
<!-- left -->
<c-col :span="11">
<c-col :span="12">
<c-col :span="24">
<c-col :span="20">
<el-form-item
......@@ -236,7 +236,7 @@
</c-col>
<!-- right -->
<c-col :span="11" :offset="1">
<c-col :span="12">
<c-col :span="24">
<c-col :span="12">
<el-form-item label="信用证余额" prop="dedgrp.cbs.opn1.cur">
......@@ -334,7 +334,7 @@
</c-col>
<!-- next part -->
<!-- left -->
<c-col :span="11">
<c-col :span="12">
<c-col :span="24">
<c-checkbox v-model="advrefflg" style="margin-left: 150px"
>拒付通知登记</c-checkbox
......@@ -375,7 +375,7 @@
</c-col>
</c-col>
<!-- right -->
<c-col :span="11" :offset="1">
<c-col :span="12">
<c-col :span="24">
<el-form-item label="付款人" prop="bfdgrp.rec.payrol">
<c-select
......@@ -425,7 +425,6 @@
v-model="model.bfdgrp.rec.docprbrol"
style="width: 100%"
placeholder="请选择交单行"
disabled
>
<el-option
v-for="item in codes.docprbrol"
......
......@@ -128,9 +128,6 @@ export default {
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
if(this.isInDisplay){
this.restoryDispaly();
}
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
......
......@@ -321,8 +321,7 @@
<el-divider></el-divider>
</c-col>
<c-col :span="24" style="margin-bottom: 30px">
<el-form-item label="" prop="bftp.docgrdm.docgrd" style="margin-left:-150px;">
<c-table
<c-table
height="200px"
style="text-align: center"
:list="this.model.bftp.docgrdm.docgrd || []"
......@@ -331,8 +330,7 @@
>
<el-table-column label="1st" width="auto">
<template slot-scope="scope">
<c-input v-model="scope.row.cmail1"
@change="prsdoc"></c-input>
<c-input v-model="scope.row.cmail1"></c-input>
</template>
</el-table-column>
<el-table-column label="2nd" width="auto">
......@@ -366,7 +364,6 @@
</template>
</el-table-column>
</c-table>
</el-form-item>
</c-col>
<c-col :span="24">
......@@ -410,7 +407,6 @@
v-model="model.bfdgrp.rec.matdat"
style="width: 100%"
placeholder="请选择到期日期"
:disabled="model.bfdgrp.rec.matdat!=''||model.bfdgrp.rec.doctypcod === 'P'"
></c-date-picker>
</el-form-item>
</c-col>
......@@ -509,7 +505,7 @@
maxlength="65"
show-word-limit
placeholder="请输入远期单据到期时间"
:disabled="model.bfdgrp.blk.matper!=''||model.bfdgrp.rec.doctypcod === 'P'"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -868,28 +864,7 @@ export default {
// break;
// }
// }
},//表格输入传入数据库
async prsdoc() {
let rtnmsg = await this.executeRule("bfdgrp.blk.prsdoc")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data);
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async matdat() {
let rtnmsg = await this.executeDefault("bfdgrp.blk.matper")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data);
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
},
created: function () {},
};
......
......@@ -142,9 +142,6 @@ export default {
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
if(this.isInDisplay){
this.restoreDisplay();
}
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
......
<template>
<div class="eibs-tab">
<c-col :span="24">
<c-col :span="14">
<c-col :span="24">
<span v-text="model.mtabut.coninf.oitinf.labinftxt"
data-path=".mtabut.coninf.oitinf.labinftxt"></span>
</c-col>
<c-col :span="24">
<el-form-item label="Infotext" prop="mtabut.coninf.oitinf.oit.inftxt">
<c-input type="textarea" v-model="model.mtabut.coninf.oitinf.oit.inftxt" maxlength="60"
show-word-limit placeholder="请输入Infotext"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="8" :offset="1">
<el-form-item label="Display Type" prop="mtabut.coninf.oitinf.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitinf.oit.inflev" style="width:100%"
placeholder="请选择Infotext Level">
</c-select>
</el-form-item>
</c-col>
<div class="eibs-tab">
<c-col :span="12">
<span v-text="model.mtabut.coninf.oitinf.labinftxt" data-path=".mtabut.coninf.oitinf.labinftxt" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext" prop="mtabut.coninf.oitinf.oit.inftxt">
<c-input type="textarea" v-model="model.mtabut.coninf.oitinf.oit.inftxt" maxlength="60" show-word-limit placeholder="请输入Infotext" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="14">
<c-col :span="24">
<span v-text="model.mtabut.coninf.oitset.labinftxt" data-path=".mtabut.coninf.oitset.labinftxt">
</span>
</c-col>
<c-col :span="24">
<el-form-item label="Infotext" prop="mtabut.coninf.oitset.oit.inftxt">
<c-input type="textarea" v-model="model.mtabut.coninf.oitset.oit.inftxt" maxlength="60"
show-word-limit placeholder="请输入Infotext"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="8" :offset="1">
<el-form-item label="Display Type" prop="mtabut.coninf.oitset.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitset.oit.inflev" style="width:100%"
placeholder="请选择Infotext Level">
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="11">
<el-form-item label="执行日期" prop="mtabut.coninf.conexedat">
<c-date-picker type="date" v-model="model.mtabut.coninf.conexedat" style="width:100%"
placeholder="请选择执行日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="User ID" prop="mtabut.coninf.usr.extkey">
<c-fullbox>
<c-input v-model="model.mtabut.coninf.usr.extkey" maxlength="8" placeholder="请输入User ID">
</c-input>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext Level" prop="mtabut.coninf.oitinf.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitinf.oit.inflev" style="width:100%" placeholder="请选择Infotext Level">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.mtabut.coninf.oitset.labinftxt" data-path=".mtabut.coninf.oitset.labinftxt" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext" prop="mtabut.coninf.oitset.oit.inftxt">
<c-input type="textarea" v-model="model.mtabut.coninf.oitset.oit.inftxt" maxlength="60" show-word-limit placeholder="请输入Infotext" ></c-input>
</el-form-item>
</c-col>
</div>
<c-col :span="12">
<el-form-item label="Infotext Level" prop="mtabut.coninf.oitset.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitset.oit.inflev" style="width:100%" placeholder="请选择Infotext Level">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="执行日期" prop="mtabut.coninf.conexedat">
<c-date-picker type="date" v-model="model.mtabut.coninf.conexedat" style="width:100%" placeholder="请选择执行日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="User ID" prop="mtabut.coninf.usr.extkey">
<c-input v-model="model.mtabut.coninf.usr.extkey" maxlength="8" placeholder="请输入User ID"></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
......@@ -74,18 +56,19 @@ import Event from "~/model/Botacc/Event"
export default {
inject: ['root'],
props: ["model", "codes"],
props:["model","codes"],
mixins: [commonProcess],
data() {
data(){
return {
}
},
methods: { ...Event },
created: function () {
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
......@@ -36,14 +36,14 @@
<c-col :span="24">
<c-col :span="11">
<c-col :span="12">
<c-col :span="10">
<el-form-item label="Document Amount" prop="bodgrp.cbs.max.cur">
<c-input v-model="model.bodgrp.cbs.max.cur" style="width:100%" placeholder="请选择Document Amount"
disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-col :span="13" :offset="1">
<el-form-item label="Document Amount" prop="bodgrp.cbs.max.amt">
<c-input v-model="model.bodgrp.cbs.max.amt" placeholder="请输入Document Amount" disabled></c-input>
</el-form-item>
......@@ -59,14 +59,14 @@
<c-col :span="24">
<c-col :span="11">
<c-col :span="12">
<c-col :span="10">
<el-form-item label="Warehouse/Insurance" prop="bodgrp.cbs.opn1.cur">
<c-input v-model="model.bodgrp.cbs.opn1.cur" style="width:100%"
placeholder="请选择Warehouse/Insurance" disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-col :span="13" :offset="1">
<el-form-item label="Open Amount" style="text-align: left" prop="bodgrp.cbs.opn1.amt">
<c-input v-model="model.bodgrp.cbs.opn1.amt" style="width:100%" placeholder="请输入Open Amount"
disabled></c-input>
......@@ -113,8 +113,7 @@
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="" prop="bodgrp.col.pts.nam">
<c-input v-model="model.bodgrp.col.pts.nam" maxlength="40" placeholder="bodgrp.col.pts.nam"
disabled>
<c-input v-model="model.bodgrp.col.pts.nam" maxlength="40" placeholder="bodgrp.col.pts.nam" disabled>
</c-input>
</el-form-item>
</c-col>
......@@ -123,48 +122,46 @@
<c-col :span="24">
<c-col :span="11">
<c-col :span="12">
<el-form-item label="Tenor Specification" prop="bodgrp.rec.matdat">
<c-input v-model="model.bodgrp.rec.matdat" placeholder="" disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="9">
<el-form-item label="" prop="bodgrp.rec.matpercnt">
<c-col :span="10">
<el-form-item label="Tenor Specification" prop="bodgrp.rec.matpercnt">
<c-input v-model="model.bodgrp.rec.matpercnt" placeholder="请输入Tenor Specification" disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="2" :offset="1">
<span>Days</span>
<c-col :span="11" :offset="1">
<span v-text="model.bodgrp.rec.matpertyp" data-path=".bodgrp.rec.matpertyp"> </span>
</c-col>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="Drawee Ref." prop="bodgrp.dre.pts.ref">
<c-input v-model="model.bodgrp.dre.pts.ref" maxlength="16" placeholder="请输入Drawee" disabled>
</c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="11">
<c-col :span="24">
<el-form-item label="" prop="bodgrp.rec.matperbeg">
<el-form-item label="Start of Maturity Period MATBEG" prop="bodgrp.rec.matperbeg">
<c-input v-model="model.bodgrp.rec.matperbeg" style="width:100%"
placeholder="请选择Start of Maturity Period MATBEG" disabled>
</c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="5">
<span v-text="model.bodgrp.rec.matpertyp" data-path=".bodgrp.rec.matpertyp"> </span>
</c-col> -->
</c-col>
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="Drawee Ref." prop="bodgrp.dre.pts.ref">
<c-input v-model="model.bodgrp.dre.pts.ref" maxlength="16" disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="bodgrp.dre.pts.nam">
<c-input v-model="model.bodgrp.dre.pts.nam" maxlength="40" placeholder="bodgrp.dre.pts.nam"
disabled>
<c-input v-model="model.bodgrp.dre.pts.nam" maxlength="40" placeholder="bodgrp.dre.pts.nam" disabled>
</c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
<c-col :span="24">
......@@ -183,12 +180,12 @@
</c-col>
</c-col>
</c-col>
<c-col :span="24" style="margin-top:15px;border-top:2px solid #ddd;padding-top:15px" >
<c-col :span="24">
<c-col :span="11">
<c-col :span="12">
<el-form-item label="Amount Accepted" prop="setmod.doccur">
<c-input v-model="model.setmod.doccur" style="width:100%" placeholder="请选择document currency"
disabled>
<c-input v-model="model.setmod.doccur" style="width:100%" placeholder="请选择document currency" disabled>
</c-input>
</el-form-item>
</c-col>
......@@ -199,45 +196,51 @@
</c-col>
</c-col>
</c-col>
<!-- <c-col :span="12">
<span v-text="model.botp.matp.mattxtlab" data-path=".botp.matp.mattxtlab"> </span>
</c-col> -->
<!-- <c-col :span="12">
<el-form-item label="Maturity Date" prop="bodgrp.rec.matdat">
<c-date-picker type="date" v-model="model.bodgrp.rec.matdat" style="width:100%"
placeholder="请选择Maturity Date"></c-date-picker>
</el-form-item>
</c-col> -->
<!-- <c-col :span="12">
<el-form-item label="currency discount paid back" prop="bptbck.dscbckcur">
<c-input v-model="model.bptbck.dscbckcur" maxlength="3" placeholder="请输入currency discount paid back">
</c-input>
</el-form-item>
</c-col> -->
<c-col :span="11">
<c-edit-table :model="model" v-bind="docgrd">
</c-edit-table>
</c-col>
<!-- <c-col :span="24">
<c-col :span="24">
<div class="e-table-wrapper">
<el-table :data="model.bptbck.bptbckg" style="width: 100%">
<el-table-column prop="ownref" label="owner" sortable width="100">
<el-table-column prop="ownref" label="" sortable width="100">
</el-table-column>
<el-table-column prop="opncur" label="opncur" sortable width="100">
<el-table-column prop="opncur" label="" sortable width="100">
</el-table-column>
<el-table-column prop="opnamt" label="opnamt" sortable width="100">
<el-table-column prop="opnamt" label="" sortable width="100">
</el-table-column>
<el-table-column prop="bckamt" label="bckamt" sortable width="100">
<el-table-column prop="bckamt" label="" sortable width="100">
</el-table-column>
<el-table-column prop="butcal" label="butcal" sortable width="100">
<el-table-column prop="butcal" label="" sortable width="100">
</el-table-column>
</el-table> -->
<!-- <el-pagination
</el-table>
<!-- <el-pagination
layout="prev, pager, next"
:total="pager.bptbck_bptbckg.total">
</el-pagination> -->
<!-- </div>
</c-col> -->
</div>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="Tenor Stream" prop="liaall.tenstm">
......@@ -258,34 +261,6 @@ export default {
mixins: [commonProcess],
data() {
return {
docgrd: {
columns: [{
title: "Reference",
width: "80px",
dataIndex: "ownref",
show: "input",
},
{
title: "Cur",
width: "80px",
dataIndex: "opncur",
show: "input",
},
{
title: "Open Amount",
width: "80px",
dataIndex: "opnamt",
show: "input",
},
{
title: "Amount Paid",
width: "320px",
dataIndex: "bckamt",
show: "input",
},
],
urls: "bptbck.bptbckg.docgrd",
},
}
},
......
......@@ -2,6 +2,7 @@
<c-page title="出口托收承兑">
<div class="eContainer">
<c-function-btn :handleSubmit="handleSubmit" :handleCheck="handleCheck" :handleStash="handleStash">
</c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right"
size="small" :validate-on-rule-change="false">
......@@ -28,13 +29,8 @@
</el-tab-pane>
<!--PD000000 -->
<!-- <el-tab-pane label="setpan" name="setpan">
<m-setpan :model="model" :codes="codes" />
</el-tab-pane> -->
<el-tab-pane label="setpan" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes" />
</c-content>
<m-setpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
......@@ -44,9 +40,7 @@
<!--PD000529 -->
<el-tab-pane label="docpan" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes" />
</c-content>
<m-docpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000546 -->
......@@ -60,7 +54,7 @@
</template>
<script>
import Api from "~/service/Api"
import Utils from "~/utils/index"
// import Utils from "~/utils/index"
import CodeTable from "~/config/CodeTable"
import Botacc from "~/model/Botacc"
import commonFuncs from "~/mixin/commonFuncs";
......@@ -71,16 +65,11 @@ import Pattern from "~/model/Botacc/Pattern"
import Setp from "./Setp"
import Inst from "./Inst"
import Ptyp from "./Ptyp"
// import Engp from "./Engp"
// import Setpan from "./Setpan"
// import Coninfp from "./Coninfp"
// import Docpan from "./Docpan"
// import Doctre from "./Doctre"
import Setpan from "~/views/Public/Setpan"
import Docpan from "~/views/Public/Docpan"
import Engp from "~/views/Public/Engp"
import Doctre from "~/views/Public/Doctre"
import Coninfp from "~/views/Public/Coninfp"
import Engp from "./Engp"
import Setpan from "./Setpan"
import Coninfp from "./Coninfp"
import Docpan from "./Docpan"
import Doctre from "./Doctre"
export default {
......@@ -111,7 +100,6 @@ export default {
pattern: Pattern,
rules: null,
codes: {
...CodeTable
},
}
},
......
......@@ -24,6 +24,7 @@
size="small"
type="primary"
icon="el-icon-search"
@click="onSeainf"
></c-button>
</c-col>
......@@ -53,7 +54,7 @@
<el-form-item label="" >
</el-form-item>
</c-col>
<c-col :span="12" :offset="4">
<c-col :span="12" offset="4">
<el-form-item label="Amount" >
</el-form-item>
</c-col>
......@@ -167,39 +168,30 @@
<!-- ====================底部======================= -->
<c-col>
<c-row>
<c-col :span="11">
<c-col :span="13">
<c-col :span="24">
<c-col :span="8">
<el-form-item label="Tenor Data" prop="oldbodgrp.rec.matpercnt">
<c-input disabled v-model="model.oldbodgrp.rec.matpercnt" placeholder="请输入New Tenor Data"></c-input>
<c-col :span="10">
<el-form-item label="Tenor Data" prop="trnmod.swiadd.newmatpercnt">
<c-input disabled v-model="model.trnmod.swiadd.newmatpercnt" placeholder="请输入New Tenor Data"></c-input>
</el-form-item>
</c-col>
<c-col :span="5">
<el-form-item label="" prop="oldbodgrp.rec.matpertyp" label-width="5px">
<c-select disabled v-model="model.oldbodgrp.rec.matpertyp" style="width: 100%" placeholder="请选择Days/Month or Year for Maturity Period">
<c-col :span="7">
<el-form-item label="" prop="trnmod.swiadd.newmatpertyp" label-width="5px">
<c-select disabled v-model="model.trnmod.swiadd.newmatpertyp" style="width: 100%" placeholder="请选择Days/Month or Year for Maturity Period"></c-select>
<el-option
v-for="item in matpertyp"
v-for="item in codes.matper"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" prop="oldbodgrp.rec.matperbeg" label-width="5px">
<c-select disabled v-model="model.oldbodgrp.rec.matperbeg" style="width:100%" placeholder="请选择Start of Maturity Period">
<el-option
v-for="item in codes.matperbeg"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
<c-col :span="7">
<el-form-item label="" prop="trnmod.swiadd.newmatperbeg" label-width="5px">
<c-select disabled v-model="model.trnmod.swiadd.newmatperbeg" style="width:100%" placeholder="请选择Start of Maturity Period">
</c-select>
</el-form-item>
</c-col>
......@@ -208,19 +200,19 @@
</c-row>
<c-row>
<c-col :span="11">
<c-col :span="13">
<c-col :span="24">
<c-col :span="8">
<el-form-item label="New Tenor Data" prop="trnmod.swiadd.newmatpercnt">
<c-input :disabled="model.bodgrp.rec.doctypcod === 'P'" v-model="model.trnmod.swiadd.newmatpercnt" placeholder="请输入Tenor Data"></c-input>
<c-col :span="10">
<el-form-item label="New Tenor Data" prop="oldbodgrp.rec.matpercnt">
<c-input :disabled="model.bodgrp.rec.doctypcod === 'P'" v-model="model.oldbodgrp.rec.matpercnt" placeholder="请输入Tenor Data"></c-input>
</el-form-item>
</c-col>
<c-col :span="5">
<el-form-item label="" prop="trnmod.swiadd.newmatpertyp" label-width="5px">
<c-select :disabled="model.bodgrp.rec.doctypcod === 'P'" v-model="model.trnmod.swiadd.newmatpertyp" style="width: 100%" placeholder="请输入Days/Months or Years for Maturity Period">
<c-col :span="7">
<el-form-item label="" prop="oldbodgrp.rec.matper" label-width="5px">
<c-select :disabled="model.bodgrp.rec.doctypcod === 'P'" v-model="model.oldbodgrp.rec.matper" style="width: 100%" placeholder="请输入Days/Months or Years for Maturity Period">
<el-option
v-for="item in matpertyp"
v-for="item in codes.matper"
:key="item.value"
:label="item.label"
:value="item.value"
......@@ -230,9 +222,9 @@
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" prop="trnmod.swiadd.newmatperbeg" label-width="5px">
<c-select :disabled="model.bodgrp.rec.doctypcod === 'P'" v-model="model.trnmod.swiadd.newmatperbeg" style="width:100%" placeholder="请选择Start of Maturity Period MATBEG">
<c-col :span="7">
<el-form-item label="" prop="oldbodgrp.rec.matperbeg" label-width="5px">
<c-select :disabled="model.bodgrp.rec.doctypcod === 'P'" v-model="model.oldbodgrp.rec.matperbeg" style="width:100%" placeholder="请选择Start of Maturity Period MATBEG">
<el-option
v-for="item in codes.matperbeg"
:key="item.value"
......@@ -283,31 +275,9 @@ export default {
mixins: [commonProcess],
data(){
return {
matpertyp: [
{ label: "Days", value: "D" },
],
}
},
watch:{
"model.bodgrp.rec.doctypcod":function(){
if(this.model.bodgrp.rec.doctypcod=='P'){
this.model.trnmod.swiadd.newmatpercnt="";
this.model.trnmod.swiadd.newmatpertyp="";
this.model.trnmod.swiadd.newmatperbeg="";
this.model.trnmod.swiadd.newmatdat="";
}
},
"model.trnmod.swiadd.newmatdat":function(){
if(this.model.trnmod.swiadd.newmatdat!=""||this.model.trnmod.swiadd.newmatpercnt!=""){
this.model.bodgrp.rec.matdat=this.model.trnmod.swiadd.newmatdat;
}
else{
this.model.bodgrp.rec.matdat=this.model.oldbodgrp.rec.matdat;
}
}
},
methods:{...Event},
created:function(){
......
......@@ -9,6 +9,8 @@
rol: 'drr',
}"
:disabled="true"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
>
</c-ptap>
......@@ -20,6 +22,8 @@
rol: 'dre',
}"
:disabled="true"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
>
</c-ptap>
</c-col>
......@@ -32,6 +36,8 @@
rol: 'col',
}"
:disabled="true"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
>
</c-ptap>
</c-col>
......@@ -51,7 +57,7 @@
</c-edit-table>
</c-col>
</c-row>
</div>
</template>
<script>
import Api from "~/service/Api"
......@@ -99,7 +105,7 @@ export default {
},
methods:{...Event},
created:function(){
console.log(this.root);
onsole.log(this.root);
}
}
</script>
......
......@@ -157,7 +157,7 @@ export default {
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data)
}
else
{
......
......@@ -133,13 +133,12 @@
<c-col :span="24">
<el-form-item label="Document Set Status" prop="bodgrp.rec.docsta">
<c-select
<c-input
disabled
v-model="model.bodgrp.rec.docsta"
style="width:100%"
placeholder="请选择Document Set Status"
:code="codes.docstabot"
></c-select>
maxlength="40"
placeholder="请输入Document Set Status"
></c-input>
</el-form-item>
</c-col>
......@@ -329,8 +328,7 @@ export default {
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
};
return {};
},
methods: { ...Event },
created: function() {},
......
......@@ -131,6 +131,7 @@ export default {
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
//更新数据
Utils.copyValueFromVO(this.model, rtnmsg.data);
this.updateModel(rtnmsg.data)
if (this.isInDisplay) {
this.restoreDisplay();
......
......@@ -122,8 +122,8 @@
<c-col :span="12">
<el-form-item label="Tenor Specification" prop="bodgrp.rec.matpercnt">
<c-input v-model.number="model.bodgrp.rec.matpercnt" placeholder="请输入Tenor Specification"
onkeyup="value=value.replace(/[^\d]/g,' ')" :disabled="model.bodgrp.rec.doctypcod === 'P'"></c-input>
<c-input v-model.number="model.bodgrp.rec.matpercnt" placeholder="请输入Tenor Specification" onkeyup="value=value.replace(/[^\d]/g,' ')"
:disabled="model.bodgrp.rec.doctypcod === 'P'"></c-input>
</el-form-item>
</c-col>
......@@ -153,7 +153,7 @@
</c-table>
</c-col> -->
<!-- <c-col :span="24" style="height: 24px; margin-top: -10px">
<c-col :span="24" style="height: 24px; margin-top: -10px">
<el-form-item :label="model.botp.docgrdm.docdsclab" class="messageLabel">
<c-button style="float: right" @click="addTableValue" type="primary">新增单据</c-button>
</el-form-item>
......@@ -163,18 +163,19 @@
:paginationShow="false" :border="true">
<el-table-column label="1st" width="auto">
<template slot-scope="scope">
<c-input v-model="scope.row.cmail1" @change="docpre" maxlength="12"></c-input>
<c-input v-model="scope.row.cmail1"></c-input>
</template>
</el-table-column>
<el-table-column label="2nd" width="auto">
<template slot-scope="scope">
<c-input v-model="scope.row.cmail2" maxlength="12" @change="docpre"></c-input>
<c-input v-model="scope.row.cmail2"></c-input>
</template>
</el-table-column>
<el-table-column label="Document" prop="docnam" width="auto">
<template slot-scope="scope">
<c-select style="width: 100%" placeholder="请选择" v-model="scope.row.docnam" @change="docpre">
<!-- {{scope.row.docnam}} -->
<c-select style="width: 100%" placeholder="请选择" v-model="scope.row.docnam">
<el-option v-for="item in codeTable" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
......@@ -186,16 +187,7 @@
</template>
</el-table-column>
</c-table>
</c-col> -->
<c-docpre
:model="model"
:argadr="{
path:'bodgrp.blk.docpre',
grp: 'botp',
code:'docpre'
}"></c-docpre>
</c-col>
</c-col>
<!-- ====================右边======================= -->
......@@ -241,12 +233,8 @@ import CodeTable from "~/config/CodeTable"
import Event from "~/model/Botdav/Event"
import Utils from "~/utils";
import Ptap from "~/views/Public/Ptap";
import Docpre from "~/views/Public/Docpre";
export default {
components: {
"c-ptap": Ptap,
"c-docpre": Docpre,
},
components: { "c-ptap": Ptap },
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
......@@ -341,16 +329,6 @@ export default {
// }
// }
},
async docpre() {
let rtnmsg = await this.executeDefault('bodgrp.blk.docpre')
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data)
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
},
computed: {
......
......@@ -10,8 +10,7 @@
</el-form-item>
</c-col>
<c-col :span="4">
<c-button style="margin:0 10px 0 0;padding: 0 10px;" size="small" type="primary" icon="el-icon-search">
</c-button>
<c-button style="margin:0 10px 0 0;padding: 0 10px;" size="small" type="primary" icon="el-icon-search"></c-button>
</c-col>
</c-col>
<c-col :span="11" :offset="1">
......@@ -57,15 +56,14 @@
<c-col :span="24">
<el-form-item label="Collection Condition" prop="bodgrp.rec.doctypcod">
<c-select v-model="model.bodgrp.rec.doctypcod" style="width:100%" placeholder="请选择Collection Condition"
:code="codes.doctypcod" disabled>
disabled>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Document Set Status" prop="bodgrp.rec.docsta">
<c-select v-model="model.bodgrp.rec.docsta" maxlength="40" placeholder="请输入Document Set Status" disabled
:code="codes.docstabot">
</c-select>
<c-input v-model="model.bodgrp.rec.docsta" maxlength="40" placeholder="请输入Document Set Status" disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="12">
......@@ -122,7 +120,7 @@
<c-col :span="24">
<el-form-item label="" prop="clsflg">
<c-checkbox v-model="clsflg" :disabled="model.rejtypsel != 'R'">Close Contract</c-checkbox>
<c-checkbox v-model="clsflg" :disabled="model.rejtypsel != 'R'">Close Flag</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="21">
......@@ -152,8 +150,7 @@
</c-col>
<c-col :span="24">
<el-form-item label="Collecting Bank" prop="bodgrp.col.pts.ref">
<c-input v-model="model.bodgrp.col.pts.ref" maxlength="16" placeholder="请输入Collecting Bank" disabled>
</c-input>
<c-input v-model="model.bodgrp.col.pts.ref" maxlength="16" placeholder="请输入Collecting Bank" disabled></c-input>
</el-form-item>
</c-col>
......@@ -173,7 +170,7 @@
</el-form-item>
</c-col>
<!-- <c-col :span="24" style="height: 24px; margin-top: -10px">
<c-col :span="24" style="height: 24px; margin-top: -10px">
<el-form-item :label="model.botp.docgrdm.docdsclab" class="messageLabel">
<div v-if="model.rejtypsel == 'R'">
<c-button style="float: right" @click="addTableValue" type="primary">新增单据</c-button>
......@@ -196,6 +193,7 @@
</el-table-column>
<el-table-column label="Document" prop="docnam" width="auto">
<template slot-scope="scope">
<!-- {{scope.row.docnam}} -->
<c-select style="width: 100%" placeholder="请选择" v-model="scope.row.docnam" :disabled="model.rejtypsel != 'R'">
<el-option v-for="item in codeTable" :key="item.value" :label="item.label" :value="item.value">
</el-option>
......@@ -210,20 +208,9 @@
</template>
</el-table-column>
</c-table>
</c-col> -->
<c-col>
<c-docpre
:model="model"
:argadr="{
path: 'bodgrp.blk.docpre',
grp: 'botp',
}"
:ifShowAdd="model.rejtypsel == 'R'"
:ifShowDelete="model.rejtypsel == 'R'"></c-docpre>
</c-col>
</c-col>
......@@ -238,13 +225,9 @@ import CodeTable from "~/config/CodeTable"
import Event from "~/model/Botdcr/Event"
import Utils from "~/utils";
import Ptap from "~/views/Public/Ptap";
import Docpre from "~/views/Public/Docpre";
export default {
components: {
"c-ptap": Ptap,
"c-docpre": Docpre,
},
components: { "c-ptap": Ptap },
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess],
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<span v-text="model.mtabut.coninf.oitinf.labinftxt" data-path=".mtabut.coninf.oitinf.labinftxt" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext" prop="mtabut.coninf.oitinf.oit.inftxt">
<c-input type="textarea" v-model="model.mtabut.coninf.oitinf.oit.inftxt" maxlength="60" show-word-limit placeholder="请输入Infotext" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext Level" prop="mtabut.coninf.oitinf.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitinf.oit.inflev" style="width:100%" placeholder="请选择Infotext Level">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.mtabut.coninf.oitset.labinftxt" data-path=".mtabut.coninf.oitset.labinftxt" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext" prop="mtabut.coninf.oitset.oit.inftxt">
<c-input type="textarea" v-model="model.mtabut.coninf.oitset.oit.inftxt" maxlength="60" show-word-limit placeholder="请输入Infotext" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext Level" prop="mtabut.coninf.oitset.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitset.oit.inflev" style="width:100%" placeholder="请选择Infotext Level">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="执行日期" prop="mtabut.coninf.conexedat">
<c-date-picker type="date" v-model="model.mtabut.coninf.conexedat" style="width:100%" placeholder="请选择执行日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="User ID" prop="mtabut.coninf.usr.extkey">
<c-input v-model="model.mtabut.coninf.usr.extkey" maxlength="8" placeholder="请输入User ID"></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Botpay/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<span v-text="model.trnmod.trndoc.advlabel" data-path=".trnmod.trndoc.advlabel" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="国内证落款" prop="trnmod.trndoc.advnam">
<c-input v-model="model.trnmod.trndoc.advnam" maxlength="50" placeholder="请输入国内证落款"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="修改申请人名称" prop="trnmod.trndoc.amdapl">
<c-input type="textarea" v-model="model.trnmod.trndoc.amdapl" maxlength="50" show-word-limit placeholder="请输入修改申请人名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.trnmod.trndoc.amdnam" data-path=".trnmod.trndoc.amdnam" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="国内证通知书" prop="trnmod.trndoc.advdoc">
<c-input v-model="model.trnmod.trndoc.advdoc" maxlength="1" placeholder="请输入国内证通知书"></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Botpay/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment