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
c753c9e5
Commit
c753c9e5
authored
Sep 01, 2022
by
lianyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bdtdcr/Bdteus/Ditdck/Bdtdck/Ditdck信用证余额pattern包含负数
parent
1a511ca3
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
9 deletions
+14
-9
Pattern.js
src/model/Bdtdcr/Pattern.js
+2
-1
Pattern.js
src/model/Bdteus/Pattern.js
+2
-1
Pattern.js
src/model/Ditdck/Pattern.js
+6
-3
Brtdckp.vue
src/views/Business/Bdtdck/Brtdckp.vue
+4
-4
No files found.
src/model/Bdtdcr/Pattern.js
View file @
c753c9e5
...
...
@@ -21,7 +21,8 @@ export default {
"didgrp.cbs.opn1.amt"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
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位"
}
],
"bdtp.recget.sdamod.dadsnd"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
...
...
src/model/Bdteus/Pattern.js
View file @
c753c9e5
...
...
@@ -21,7 +21,8 @@ export default {
"didgrp.cbs.opn1.amt"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
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位"
}
],
"bdtp.recget.sdamod.dadsnd"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
...
...
src/model/Ditdck/Pattern.js
View file @
c753c9e5
...
...
@@ -32,7 +32,8 @@ export default {
"didgrp.cbs.opn1.amt"
:[
{
required
:
false
,
message
:
"必输项"
,
trigger
:
'blur'
},
{
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位"
}
],
"bddgrp.apl.pts.nam"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
...
...
@@ -97,7 +98,8 @@ export default {
"bddgrp.cbs.max.amt"
:[
{
required
:
true
,
message
:
"必输项"
,
trigger
:
'blur'
},
{
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位"
}
],
"bddgrp.rec.docprbrol"
:
[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
...
...
@@ -188,7 +190,8 @@ export default {
"bddgrp.cbs.opn1.amt"
:[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
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位"
}
],
// "bddgrp.rec.rcvdat":[
// {type: "date", required: false, message: "输入正确的日期"}
...
...
src/views/Business/Bdtdck/Brtdckp.vue
View file @
c753c9e5
...
...
@@ -67,7 +67,7 @@
</c-col>
<c-col
:span=
"13"
>
<el-form-item
label-width=
"0"
prop=
"bddgrp.cbs.max.amt"
>
<c-input
:disabled=
"model.mhtyp == 'R'"
v-model=
"model.bddgrp.cbs.max.amt"
maxlength=
"3
"
<c-input
disabled
v-model=
"model.bddgrp.cbs.max.amt
"
placeholder=
"请输入单据金额"
></c-input>
</el-form-item>
</c-col>
...
...
@@ -80,7 +80,7 @@
</c-col>
<c-col
:span=
"13"
>
<el-form-item
label-width=
"0"
prop=
"bddgrp.cbs.opn1.amt"
>
<c-input
v-model=
"model.bddgrp.cbs.opn1.amt"
maxlength=
"3"
placeholder=
"请输入单据余额"
disabled
>
<c-input
v-model=
"model.bddgrp.cbs.opn1.amt"
placeholder=
"请输入单据余额"
disabled
>
</c-input>
</el-form-item>
</c-col>
...
...
@@ -153,7 +153,7 @@
</c-col>
<c-col
:span=
"13"
>
<el-form-item
label-width=
"0"
prop=
"bddgrp.cbs.max.amt"
>
<c-input
v-model=
"model.bddgrp.cbs.max.amt"
maxlength=
"3"
placeholder=
"请输入单据金额"
<c-input
v-model=
"model.bddgrp.cbs.max.amt"
placeholder=
"请输入单据金额"
:disabled=
"model.mhtyp == 'R'"
></c-input>
</el-form-item>
</c-col>
...
...
@@ -289,7 +289,7 @@
</c-col>
<c-col
:span=
"13"
>
<el-form-item
label-width=
"0"
prop=
"didgrp.cbs.opn1.amt"
>
<c-input
v-model=
"model.didgrp.cbs.opn1.amt"
maxlength=
"3"
placeholder=
"请输入信用证余额"
disabled
>
<c-input
v-model=
"model.didgrp.cbs.opn1.amt"
placeholder=
"请输入信用证余额"
disabled
>
</c-input>
</el-form-item>
</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