Commit f2b0ac01 by 潘际乾

校验Pettern

parent f722fde9
...@@ -70,12 +70,12 @@ export default { ...@@ -70,12 +70,12 @@ export default {
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"didgrp.rec.nomtop":[ "didgrp.rec.nomtop":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项", trigger: "blur"},
{max: 8,message:"长度不能超过8"} {max: 8,message:"长度不能超过8", trigger: "blur"}
], ],
"didgrp.rec.nomton":[ "didgrp.rec.nomton":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项", trigger: "blur"},
{max: 8,message:"长度不能超过8"} {max: 8,message:"长度不能超过8", trigger: "blur"}
], ],
"didgrp.apl.pts.youzbm":[ "didgrp.apl.pts.youzbm":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
...@@ -276,8 +276,8 @@ export default { ...@@ -276,8 +276,8 @@ export default {
"didgrp.rec.tenmaxday":[ "didgrp.rec.tenmaxday":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项", trigger: "blur"},
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3", trigger: "blur"}
], ],
...@@ -322,8 +322,8 @@ export default { ...@@ -322,8 +322,8 @@ export default {
"didgrp.rec.conamt":[ "didgrp.rec.conamt":[
// {type: "number", required: false, message: "必输项"}, // {type: "number", required: false, message: "必输项"},
{max: 16,message:"整数位不能超过13位"}, {max: 16,message:"整数位不能超过13位", trigger: "blur"},
{pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" } {pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位", trigger: "blur" }
], ],
"didgrp.rec.tzref":[ "didgrp.rec.tzref":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
...@@ -505,8 +505,8 @@ export default { ...@@ -505,8 +505,8 @@ export default {
], ],
"liaall.misamt":[ "liaall.misamt":[
// {type: "number", required: false, message: "必输项"}, // {type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位", trigger: "blur"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位", trigger: "blur" }
], ],
...@@ -584,8 +584,8 @@ export default { ...@@ -584,8 +584,8 @@ export default {
], ],
"liaall.limmod.comamt":[ "liaall.limmod.comamt":[
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位", trigger: "blur"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位", trigger: "blur" }
], ],
"liaall.limmod.limpts.wrk.pts.nam":[ "liaall.limmod.limpts.wrk.pts.nam":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
...@@ -596,8 +596,8 @@ export default { ...@@ -596,8 +596,8 @@ export default {
{max: 40,message:"长度不能超过40"} {max: 40,message:"长度不能超过40"}
], ],
"liaall.limmod.ccvamt":[ "liaall.limmod.ccvamt":[
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位", trigger: "blur"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位", trigger: "blur" }
], ],
...@@ -642,13 +642,13 @@ export default { ...@@ -642,13 +642,13 @@ export default {
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"liaall.liaccv.cshpct":[ "liaall.liaccv.cshpct":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项", trigger: "blur"},
{max: 5,message:"长度不能超过5"} {max: 5,message:"长度不能超过5", trigger: "blur"}
], ],
"liaall.liaccv.newresamt":[ "liaall.liaccv.newresamt":[
{required: false, message: "必输项"}, {required: false, message: "必输项", trigger: "blur"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位", trigger: "blur"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位", trigger: "blur" }
], ],
"liaall.liaccv.relcshpct":[ "liaall.liaccv.relcshpct":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
......
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