Commit f2b0ac01 by 潘际乾

校验Pettern

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