Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue-gjjs
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fukai
vue-gjjs
Commits
f1abb3e7
Commit
f1abb3e7
authored
May 23, 2023
by
WH
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
brteus前端校验修改
parent
04259ab5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
check.js
src/business/brteus/model/check.js
+6
-6
No files found.
src/business/brteus/model/check.js
View file @
f1abb3e7
...
...
@@ -18,12 +18,12 @@ export default {
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
3
,
message
:
"长度不能超过3"
}
],
"lidgrp.cbs.opn1.amt"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
//原为number类型,类型不匹配,页面上会显示”必输项“,为去掉”必输项“三个字,数据类型改为string
{
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位"
}
//含正负数
],
//
"lidgrp.cbs.opn1.amt":[
//
{type: "string", required: false, message: "必输项"},//原为number类型,类型不匹配,页面上会显示”必输项“,为去掉”必输项“三个字,数据类型改为string
//
{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位" }//含正负数
//
],
"brtp.recget.sdamod.dadsnd"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
16
,
message
:
"长度不能超过16"
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment