Commit 27deec92 by 李少勇

去掉日期类型的校验规则的type属性

parent 1018ff34
......@@ -156,6 +156,9 @@ export default {
},
// 表单校验
async handleCheck(rulePath) {
// this.$refs['modelForm'].validate((valid) => {
// console.log('valid', valid)
// })
let result;
if(rulePath){
result = await this.executeRule(rulePath);
......
......@@ -16,20 +16,20 @@ export default {
{max: 25,message:"长度不能超过25"}
],
"addbcb.pwdat":[
{type: "date", required: false, message: "输入正确的日期"}
{required: false, message: "输入正确的日期"}
],
"addbcb.bcbdat":[
{type: "date", required: false, message: "输入正确的日期"}
{required: false, message: "输入正确的日期"}
],
"addbcb.ameadvrmk":[
{type: "string", required: true, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"addbcb.expdat":[
{type: "date", required: false, message: "输入正确的日期"}
{required: false, message: "输入正确的日期"}
],
"addbcb.preexpdat":[
{type: "date", required: false, message: "输入正确的日期"}
{required: false, message: "输入正确的日期"}
],
"addbcb.gitamermk":[
{type: "string", required: true, message: "必输项"},
......@@ -45,14 +45,14 @@ export default {
],
"gidgrp.rec.orcdat":[
{type: "date", required: false, message: "输入正确的日期"}
{required: false, message: "输入正确的日期"}
],
"gidgrp.rec.bngcod":[
{type: "string", required: false, message: "必输项"},
{max: 10,message:"长度不能超过10"}
],
"gidgrp.rec.tenclsdat":[
{type: "date", required: false, message: "输入正确的日期"}
{required: false, message: "输入正确的日期"}
],
"gidgrp.rec.juscod":[
{type: "string", required: false, message: "必输项"},
......@@ -104,10 +104,10 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"gidgrp.rec.tendat":[
{type: "date", required: false, message: "输入正确的日期"}
{required: false, message: "输入正确的日期"}
],
"gidgrp.rec.trmdat":[
{type: "date", required: false, message: "输入正确的日期"}
{required: false, message: "输入正确的日期"}
],
"gidgrp.ghd.remark":[
{type: "string", required: true, message: "必输项"},
......@@ -134,10 +134,10 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"gidgrp.rec.orcdatc":[
{type: "date", required: false, message: "输入正确的日期"}
{required: false, message: "输入正确的日期"}
],
"gidgrp.rec.tenclsdatc":[
{type: "date", required: false, message: "输入正确的日期"}
{required: false, message: "输入正确的日期"}
],
"gidgrp.blk.covgodsrvc":[
{type: "string", required: true, message: "必输项"},
......@@ -177,10 +177,10 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"gidgrp.rec.tendatc":[
{type: "date", required: false, message: "输入正确的日期"}
{required: false, message: "输入正确的日期"}
],
"gidgrp.rec.trmdatc":[
{type: "date", required: false, message: "输入正确的日期"}
{required: false, message: "输入正确的日期"}
],
"gidgrp.blk.addinfc":[
{type: "string", required: true, message: "必输项"},
......@@ -298,10 +298,10 @@ export default {
{max: 16,message:"长度不能超过16"}
],
"gidgrp.rec.vrfdat":[
{type: "date", required: false, message: "输入正确的日期"}
{required: false, message: "输入正确的日期"}
],
"gidgrp.rec.orddat":[
{type: "date", required: false, message: "输入正确的日期"}
{required: false, message: "输入正确的日期"}
],
"gitp.issp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
......@@ -352,7 +352,7 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"gidgrp.rec.opndat":[
{type: "date", required: false, message: "输入正确的日期"}
{required: false, message: "输入正确的日期"}
],
"gidgrp.iss.adrelc":[
{type: "string", required: true, message: "必输项"},
......@@ -367,7 +367,7 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"gidgrp.rec.expdat":[
{type: "date", required: false, message: "输入正确的日期"}
{required: false, message: "输入正确的日期"}
],
"gidgrp.ben.pts.ref":[
{type: "string", required: false, message: "必输项"},
......@@ -382,7 +382,7 @@ export default {
{max: 65,message:"长度不能超过65"}
],
"gidgrp.rec.inudat":[
{type: "date", required: false, message: "输入正确的日期"}
{required: false, message: "输入正确的日期"}
],
"gitp.benp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
......@@ -397,7 +397,7 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"gidgrp.rec.liadat":[
{type: "date", required: false, message: "输入正确的日期"}
{required: false, message: "输入正确的日期"}
],
"gidgrp.ben.namelc":[
......@@ -731,7 +731,7 @@ export default {
{max: 40,message:"长度不能超过40"}
],
"gidgrp.rec.opndatc":[
{type: "date", required: false, message: "输入正确的日期"}
{required: false, message: "输入正确的日期"}
],
"gidgrp.cbs.mac.amt":[
{type: "number", required: false, message: "必输项"},
......@@ -820,10 +820,10 @@ export default {
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cnybop.cnyvou.dvouchefficientdate":[
{type: "date", required: false, message: "输入正确的日期"}
{required: false, message: "输入正确的日期"}
],
"cnybop.cnyvou.dvouchenddate":[
{type: "date", required: false, message: "输入正确的日期"}
{required: false, message: "输入正确的日期"}
],
"cnybop.cnyvou.scontractno":[
{type: "string", required: false, message: "必输项"},
......@@ -873,7 +873,7 @@ export default {
{max: 5,message:"长度不能超过5"}
],
"gidgrp.rec.cnfdat":[
{type: "date", required: false, message: "输入正确的日期"}
{required: false, message: "输入正确的日期"}
],
"gidgrp.cnr.pts.ref":[
{type: "string", required: false, message: "必输项"},
......@@ -929,10 +929,10 @@ export default {
{pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" }
],
"cfagit.recgrp.bas.contractdate":[
{type: "date", required: false, message: "输入正确的日期"}
{required: false, message: "输入正确的日期"}
],
"cfagit.recgrp.bas.maturity":[
{type: "date", required: false, message: "输入正确的日期"}
{required: false, message: "输入正确的日期"}
],
"cfagit.recgrp.bas.maindebtamount":[
{type: "number", required: false, message: "必输项"},
......@@ -990,10 +990,10 @@ export default {
],
"cfagit.recgrp.bas.maindebtcondate":[
{type: "date", required: false, message: "输入正确的日期"}
{required: false, message: "输入正确的日期"}
],
"cfagit.recgrp.bas.maindebtmaturity":[
{type: "date", required: false, message: "输入正确的日期"}
{required: false, message: "输入正确的日期"}
],
"cfagit.recgrp.bas.maindebtdate":[
{type: "string", required: false, message: "必输项"},
......@@ -1061,99 +1061,38 @@ export default {
{max:128, message:"长度不能超过128"},
],
"cfagit.vrfflg": null,
"gidgrp.blk.atxexptxt": null,
"gidgrp.blk.exptxt": null,
"gidgrp.rec.purpos": null,
"gidgrp.rec.atxinr": null,
"gidgrp.rec.secuilflg": null,
"gidgrp.cbs.max.cur": null,
"gidgrp.rec.fingua": null,
"gidgrp.con.pts.extkey": null,
"gidgrp.con.adrelc": null,
"gidgrp.con.namelc": null,
"gidgrp.con.dbfadrblkcn": null,
"gidgrp.con.pts.adrblk": null,
"gidgrp.rec.purposin": null,
"gidgrp.rec.liatypc": null,
"gidgrp.blk.preper": null,
"gidgrp.blk.atxpreper": null,
"gidgrp.rec.expdat": null,
"gidgrp.rec.expflg": null,
"gidgrp.rec.deloric": null,
"gidgrp.adv.pts.extkey": null,
"gidgrp.adv.adrelc": null,
"gidgrp.adv.namelc": null,
"gidgrp.adv.dbfadrblkcn": null,
"cnybop.libflg": null,
"gidgrp.rec.ownref": null,
"gidgrp.rec.exptyp": null,
"gidgrp.rec.orcdatc": null,
"gidgrp.rec.stdwrduilc": null,
"gidgrp.ghd.segtyp": null,
"gidgrp.rec.tendat": null,
"gidgrp.rec.giduil": null,
"gidgrp.rec.gtxinrc": null,
"gitp.prepercmodflg": null,
"gidgrp.apc.pts.extkey": null,
"gidgrp.apc.adrelc": null,
"gidgrp.apc.namelc": null,
"gidgrp.apc.dbfadrblkcn": null,
"gidgrp.apc.pts.adrblk": null,
"gidgrp.rec.gartyp": null,
"gidgrp.cbs.max.amt": null,
"gitp.gidtxtmodflg": null,
"gidgrp.bec.pts.extkey": null,
"gidgrp.bec.adrelc": null,
"gidgrp.bec.namelc": null,
"gidgrp.bec.dbfadrblkcn": null,
"gidgrp.bec.pts.adrblk": null,
"gidgrp.rec.revflg": null,
"gitp.prepermodflg": null,
"gidgrp.ben.pts.adrblk": null,
"gidgrp.blk.gtxgidtxtc": null,
"gidgrp.rec.gtxinr": null,
"gidgrp.blk.gtxgidtxt": null,
"gidgrp.blk.gidtxt": null,
"gitp.swiftflg": null,
"gidgrp.cnr.pts.extkey": null,
"gidgrp.cnr.adrelc": null,
"gidgrp.cnr.namelc": null,
"gidgrp.cnr.dbfadrblkcn": null,
"gidgrp.cnr.pts.adrblk": null,
"gidgrp.apl.pts.extkey": null,
"gidgrp.apl.adrelc": null,
"gidgrp.apl.namelc": null,
"gidgrp.apl.dbfadrblkcn": null,
"gitp.covgodsrvcmodflg": null,
"gidgrp.rec.autrnwflgc": null,
"gidgrp.atb.pts.extkey": null,
"gidgrp.rec.stdwrdc": null,
"gidgrp.ben.pts.extkey": null,
"gidgrp.rec.orcdat": null,
"gidgrp.rec.hndtyp": null,
"gidgrp.rec.orcratc": null,
"gidgrp.cbs.mac.cur": null,
"gidgrp.rec.orcamtc": null,
"gidgrp.cbs.mac.amt": null,
"gidgrp.ghd.bustyp": null,
"gidgrp.blk.gidtxtc": null,
"gidgrp.apl.pts.adrblk": null,
"gidgrp.rec.mannum": null,
"gidgrp.bdb.pts.extkey": null,
"gidgrp.rec.orccur": null,
"gitp.exptxtmodflg": null,
"gidgrp.blk.liatxtc": null,
"gidgrp.blk.atxliatxtc": null,
"cnybop.vouflg": null,
"gidgrp.atb.adrelc": null,
"gidgrp.atb.namelc": null,
"gidgrp.atb.dbfadrblkcn": null,
"gidgrp.atb.pts.adrblk": null,
"gidgrp.cbs.mac2.amt": null,
"gitp.usr.extkey": null,
"gidgrp.rec.liadat": null,
"gidgrp.rec.legfrm": null,
"gidgrp.adv.pts.adrblk": null,
"cfagit.recp.pubp.founds7": null,
"cfagit.recp.pubp.founds6": null,
"cfagit.recp.pubp.founds5": null,
......@@ -1163,17 +1102,8 @@ export default {
"cfagit.recp.pubp.founds2": null,
"cfagit.recp.pubp.founds1": null,
"cfagit.recgrp.bas.thyn": null,
"gidgrp.iss.pts.extkey": null,
"gidgrp.iss.adrelc": null,
"gidgrp.iss.namelc": null,
"gidgrp.iss.dbfadrblkcn": null,
"gitp.inc760": null,
"cfagit.recgrp.bas.bencountrycode": null,
"cnybop.traflg": null,
"gidgrp.blk.covgodsrv": null,
"gidgrp.blk.atxcovgodsrv": null,
"gidgrp.blk.atxcovgodsrvc": null,
"gidgrp.blk.covgodsrvc": null,
"gidgrp.rec.orccurc": null,
"gitp.gidtxtmodflgc": null,
"cfagit.recgrp.bas.bentype": null,
......@@ -1181,97 +1111,42 @@ export default {
"cfagit.recgrp.bas.maindebtmanner": null,
"cfagit.dclflg": null,
"gidgrp.rec.cnfsta": null,
"gidgrp.cbs.cnf.amt": null,
"gidgrp.rec.partcon": null,
"gidgrp.cbs.cnf.cur": null,
"cfagit.cfaflg": null,
"gidgrp.rec.transferc": null,
"gidgrp.rec.opndat": null,
"gidgrp.ctc.pts.extkey": null,
"gidgrp.ctc.adrelc": null,
"gidgrp.ctc.namelc": null,
"gidgrp.ctc.dbfadrblkcn": null,
"gidgrp.ctr.pts.adrblk": null,
"gidgrp.blk.preperc": null,
"gidgrp.blk.atxpreperc": null,
"gidgrp.rec.gartypc": null,
"gidgrp.rec.legfrmc": null,
"gitp.aamp.aammod.addamtflg": null,
"gidgrp.rec.rmbflg": null,
"gidgrp.rec.reccnfdet": null,
"gidgrp.ctr.pts.extkey": null,
"cfagit.recgrp.bas.guaranamount": null,
"addbcb.pwtyp8": null,
"gidgrp.avc.pts.extkey": null,
"gidgrp.rec.orddat": null,
"addbcb.bcbtyp6": null,
"gidgrp.ctr.adrelc": null,
"gidgrp.ctr.namelc": null,
"gidgrp.ctr.dbfadrblkcn": null,
"gidgrp.rec.delori": null,
"cfagit.recgrp.bas.cgyn": null,
"cfagit.recgrp.bas.actiontype": null,
"cfagit.recp.pubp.acp": null,
"gidgrp.rec.jurlawc": null,
"gidgrp.rec.fenlishi": null,
"gidgrp.ctc.pts.adrblk": null,
"gidgrp.cbs.opn1.amt": null,
"gidgrp.rec.trmdat": null,
"gidgrp.bdb.adrelc": null,
"gidgrp.bdb.namelc": null,
"gidgrp.bdb.dbfadrblkcn": null,
"gidgrp.bdb.pts.adrblk": null,
"cfagit.recp.pubp.cousel1.guedparecompcode": null,
"gitp.inccormsgflg": null,
"gidgrp.gidcxm.warran": null,
"gidgrp.avc.pts.nam": null,
"gitp.apcsupflg": null,
"gidgrp.rec.trmdatc": null,
"gidgrp.rec.tendatc": null,
"gidgrp.rec.jurlaws20": null,
"gidgrp.rec.inudat": null,
"gidgrp.blk.addamtcovc": null,
"gidgrp.cbs.mac2.cur": null,
"gitp.aacp.aacmod.addamtflg": null,
"gidgrp.rec.cnfdat": null,
"gidgrp.ben.adrelc": null,
"gidgrp.ben.namelc": null,
"gidgrp.ben.dbfadrblkcn": null,
"addbcb.bccls1": null,
"cfagit.recgrp.bas.issuecountrycode": null,
"gitp.covgodsrvmodflg": null,
"cnybop.cnyvou.sreversecountrycode": null,
"gidgrp.rec.liaflg": null,
"gitp.liatxtcmodflg": null,
"gitp.aplsupflg": null,
"gidgrp.rec.deltoc": null,
"gidgrp.rec.transfer": null,
"gidgrp.rec.stacty": null,
"cfagit.recgrp.bas.guedcouncode": null,
"gidgrp.blk.apprul": null,
"gitp.drpreflg": null,
"gidgrp.rec.tenclsdat": null,
"gidgrp.rec.orcamt": null,
"gidgrp.rec.cnfdet": null,
"cfagit.basflg": null,
"gidgrp.rec.delto": null,
"cnybop.cnyflg": null,
"cnybop.cnyvou.svouchercountrycode": null,
"gidgrp.rec.orcrat": null,
"gidgrp.iss.pts.adrblk": null,
"cfagit.recgrp.bas.cgcouncode": null,
"cfagit.recgrp.bas.guedtype": null,
"gidgrp.rec.tenclsdatc": null,
"cfagit.recgrp.bas.maindebtmaturity": null,
"cfagit.recgrp.bas.maindebtcondate": null,
"gidgrp.ghd.aplnam": null,
"gidgrp.rec.vrfdat": null,
"cnybop.outflg": null,
"cnybop.cnyvou.svoucheecountrycode": null,
"gidgrp.rec.opndatc": null,
"cnybop.cnyvou.sdebtorcountrycode": null,
"cnybop.cnyvou.cvouchdirection": null,
"gitp.lettername": null,
"gidgrp.blk.apprulc": null,
"gidgrp.rec.autrnwflg": null,
"gidgrp.rec.sndto": null,
......@@ -1279,7 +1154,6 @@ export default {
"cfagit.cfap": null,
"cfagit.recp.dclp": null,
"cfagit.recp.dclp.actiontype": null,
"cfagit.recp.dclp.actiondesc": null,
"cnybop.voup": null,
"gitp.preperp": null,
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment