Commit f1abb3e7 by WH

brteus前端校验修改

parent 04259ab5
...@@ -18,12 +18,12 @@ export default { ...@@ -18,12 +18,12 @@ export default {
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"lidgrp.cbs.opn1.amt":[ // "lidgrp.cbs.opn1.amt":[
{type: "string", required: false, message: "必输项"},//原为number类型,类型不匹配,页面上会显示”必输项“,为去掉”必输项“三个字,数据类型改为string // {type: "string", required: false, message: "必输项"},//原为number类型,类型不匹配,页面上会显示”必输项“,为去掉”必输项“三个字,数据类型改为string
{max: 18,message:"整数位不能超过14位"}, // {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } // // {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{pattern: /(^-?\d+$)|(^\.\d{1,3}$)|(^-?\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }//含正负数 // {pattern: /(^-?\d+$)|(^\.\d{1,3}$)|(^-?\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }//含正负数
], // ],
"brtp.recget.sdamod.dadsnd":[ "brtp.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
......
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