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
e72039f0
Commit
e72039f0
authored
Oct 31, 2022
by
lianyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bttdck字段j金额显示必填项的pattern微调
parent
839218d2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
30 deletions
+28
-30
Pattern.js
src/model/Bttdck/Pattern.js
+20
-21
Drv.vue
src/views/Business/Bttdck/Drv.vue
+8
-9
No files found.
src/model/Bttdck/Pattern.js
View file @
e72039f0
...
...
@@ -41,9 +41,9 @@ export default {
{
max
:
3
,
message
:
"长度不能超过3"
}
],
"btdgrp.cbs.opn1.amt"
:[
{
type
:
"
number
"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
1
8
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3
位"
}
{
type
:
"
string
"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
1
7
,
message
:
"整数位不能超过14位"
},
// {pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2
位" }
],
"btdgrp.be1.pts.nam"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
...
...
@@ -92,9 +92,8 @@ export default {
{
max
:
3
,
message
:
"长度不能超过3"
}
],
"btdgrp.cbs.max.amt"
:[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
17
,
message
:
"整数位不能超过14位"
},
],
"btdgrp.rec.rcvdatbe1"
:[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
...
...
@@ -107,31 +106,31 @@ export default {
{
max
:
3
,
message
:
"长度不能超过3"
}
],
"btdgrp.be2amt"
:[
{
type
:
"
number
"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
1
8
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
{
type
:
"
string
"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
1
7
,
message
:
"整数位不能超过14位"
},
//
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"btdgrp.be2amt2"
:[
{
type
:
"
number
"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
1
8
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
{
type
:
"
string
"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
1
7
,
message
:
"整数位不能超过14位"
},
//
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"btdgrp.cbs.opnbe1amt.amt"
:[
{
type
:
"
number
"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
1
8
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
{
type
:
"
string
"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
1
7
,
message
:
"整数位不能超过14位"
},
//
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"btdgrp.prp.pts.ref"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
16
,
message
:
"长度不能超过16"
}
],
"btdgrp.cbs.opnbe1amt2.amt"
:[
{
type
:
"
number
"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
1
8
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
{
type
:
"
string
"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
1
7
,
message
:
"整数位不能超过14位"
},
//
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bttp.prpp.ptsget.sdamod.dadsnd"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
...
...
@@ -183,9 +182,9 @@ export default {
{
max
:
65
,
message
:
"长度不能超过65"
}
],
"btdgrp.cbs.max2.amt"
:[
{
type
:
"
number
"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
1
8
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,
3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3
位"
}
{
type
:
"
string
"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
1
7
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,
2}
$
)
|
(
^
\d
+
\.\d{1,2}
$
)
/
,
message
:
"小数位不能超过2
位"
}
],
"btdgrp.blk.chaded"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
...
...
src/views/Business/Bttdck/Drv.vue
View file @
e72039f0
...
...
@@ -114,12 +114,11 @@
style=
"text-align: left; margin-left: 5px"
prop=
"btdgrp.cbs.opn1.amt"
>
<c-input
<c-input
-currency-min
v-model=
"model.btdgrp.cbs.opn1.amt"
placeholder=
"请输入余额"
class=
"m-input-currency"
disabled
></c-input>
></c-input
-currency-min
>
</el-form-item>
</c-col>
</c-col>
...
...
@@ -232,11 +231,11 @@
style=
"text-align: left; margin-left: 5px"
prop=
"btdgrp.cbs.max2.amt"
>
<c-input-currency
<c-input-currency
-min
v-model=
"model.btdgrp.cbs.max2.amt"
placeholder=
""
disabled
></c-input-currency>
></c-input-currency
-min
>
</el-form-item>
</c-col>
</c-col>
...
...
@@ -293,10 +292,10 @@
style=
"text-align: left; margin-left: 5px"
prop=
"btdgrp.be2amt2"
>
<c-input-currency
<c-input-currency
-min
v-model=
"model.btdgrp.be2amt2"
placeholder=
""
></c-input-currency>
></c-input-currency
-min
>
</el-form-item>
</c-col>
</c-col>
...
...
@@ -352,10 +351,10 @@
style=
"text-align: left; margin-left: 5px"
prop=
"btdgrp.cbs.opnbe1amt2.amt"
>
<c-input-currency
<c-input-currency
-min
v-model=
"model.btdgrp.cbs.opnbe1amt2.amt"
placeholder=
""
></c-input-currency>
></c-input-currency
-min
>
</el-form-item>
</c-col>
</c-col>
...
...
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