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
zhouqian
vue-gjjs
Commits
002d4a92
Commit
002d4a92
authored
Oct 11, 2022
by
“yanyuxin”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
LITAME输入栏检验规则修改
parent
ce8a15af
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
45 additions
and
45 deletions
+45
-45
Pattern.js
src/model/Litame/Pattern.js
+32
-32
Amep.vue
src/views/Business/Litame/Amep.vue
+13
-13
No files found.
src/model/Litame/Pattern.js
View file @
002d4a92
...
...
@@ -20,11 +20,11 @@ export default {
],
"trnmod.swiadd.amenbr"
:[
{
required
:
true
,
message
:
"必输项"
},
{
type
:
"number"
,
max
:
999
,
message
:
"长度不能超过3"
}
{
type
:
"number"
,
max
:
999
,
message
:
"
只能输入数字,且
长度不能超过3"
}
],
"litamep.amenbr"
:[
{
required
:
false
,
message
:
"必输项"
},
{
type
:
"number"
,
max
:
999
,
message
:
"长度不能超过3"
}
{
type
:
"number"
,
max
:
999
,
message
:
"
只能输入数字,
长度不能超过3"
}
],
"lidgrp.cbs.nom1.cur"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
...
...
@@ -32,16 +32,16 @@ export default {
],
"oldlidgrp.cbs.nom1.amt"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过1
4
位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,
3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3
位"
}
{
max
:
18
,
message
:
"整数位不能超过1
5
位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,
2}
$
)
|
(
^
\d
+
\.\d{1,2}
$
)
/
,
message
:
"小数位不能超过2
位"
}
],
"oldlidgrp.rec.nomtop"
:[
{
required
:
false
,
message
:
"必输项"
},
{
type
:
"number"
,
max
:
99
,
message
:
"长度不能超过2"
}
{
type
:
"number"
,
max
:
99
,
message
:
"
只能输入数字,
长度不能超过2"
}
],
"oldlidgrp.rec.nomton"
:[
{
required
:
false
,
message
:
"必输项"
},
{
type
:
"number"
,
max
:
99
,
message
:
"长度不能超过2"
}
{
type
:
"number"
,
max
:
99
,
message
:
"
只能输入数字,
长度不能超过2"
}
],
"oldlidgrp.cbs.max.cur"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
...
...
@@ -49,34 +49,34 @@ export default {
],
"oldlidgrp.cbs.max.amt"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过1
4
位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,
3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3
位"
}
{
max
:
18
,
message
:
"整数位不能超过1
5
位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,
2}
$
)
|
(
^
\d
+
\.\d{1,2}
$
)
/
,
message
:
"小数位不能超过2
位"
}
],
"trnmod.swiadd.ameamt"
:[
{
required
:
false
,
message
:
"必输项"
},
{
type
:
"string"
,
max
:
18
,
message
:
"整数位不能超过1
4
位"
},
{
pattern
:
/
(
^
(\+
|
\-)
|
\d
+$
)
|
(
^
(\+
|
\-)
|
\.\d{1,
3}
$
)
|
(
^
(\+
|
\-)
|
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3
位"
}
{
type
:
"string"
,
max
:
18
,
message
:
"整数位不能超过1
5
位"
},
{
pattern
:
/
(
^
(\+
|
\-)
|
\d
+$
)
|
(
^
(\+
|
\-)
|
\.\d{1,
2}
$
)
|
(
^
(\+
|
\-)
|
\d
+
\.\d{1,2}
$
)
/
,
message
:
"小数位不能超过2
位"
}
],
"litamep.engamt"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过1
4
位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,
3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3
位"
}
{
max
:
18
,
message
:
"整数位不能超过1
5
位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,
2}
$
)
|
(
^
\d
+
\.\d{1,2}
$
)
/
,
message
:
"小数位不能超过2
位"
}
],
"trnmod.swiadd.newamt"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过1
4
位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,
3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3
位"
}
{
max
:
18
,
message
:
"整数位不能超过1
5
位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,
2}
$
)
|
(
^
\d
+
\.\d{1,2}
$
)
/
,
message
:
"小数位不能超过2
位"
}
],
"trnmod.swiadd.newnomtop"
:[
{
required
:
false
,
message
:
"必输项"
},
{
type
:
"number"
,
max
:
99
,
message
:
"长度不能超过2"
}
{
type
:
"number"
,
max
:
99
,
message
:
"
只能输入数字,
长度不能超过2"
}
],
"trnmod.swiadd.newnomton"
:[
{
required
:
false
,
message
:
"必输项"
},
{
type
:
"number"
,
max
:
99
,
message
:
"长度不能超过2"
}
{
type
:
"number"
,
max
:
99
,
message
:
"
只能输入数字,
长度不能超过2"
}
],
"litamep.maxcur"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
...
...
@@ -84,8 +84,8 @@ export default {
],
"litamep.maxamt"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过1
4
位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,
3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3
位"
}
{
max
:
18
,
message
:
"整数位不能超过1
5
位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,
2}
$
)
|
(
^
\d
+
\.\d{1,2}
$
)
/
,
message
:
"小数位不能超过2
位"
}
],
"oldlidgrp.rec.expdat"
:[
...
...
@@ -103,11 +103,11 @@ export default {
"oldlidgrp.rec.prepers18"
:[
{
required
:
false
,
message
:
"必输项"
},
{
type
:
"number"
,
max
:
999
,
message
:
"长度不能超过3"
}
{
type
:
"number"
,
max
:
999
,
message
:
"
只能输入数字,
长度不能超过3"
}
],
"trnmod.swiadd.prepers18"
:[
{
required
:
false
,
message
:
"必输项"
},
{
type
:
"number"
,
max
:
999
,
message
:
"长度不能超过3"
}
{
type
:
"number"
,
max
:
999
,
message
:
"
只能输入数字,
长度不能超过3"
}
],
"oldlidgrp.blk.preper"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
...
...
@@ -129,8 +129,8 @@ export default {
],
"trnmod.swiadd.addamt"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过1
4
位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,
3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3
位"
}
{
max
:
18
,
message
:
"整数位不能超过1
5
位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,
2}
$
)
|
(
^
\d
+
\.\d{1,2}
$
)
/
,
message
:
"小数位不能超过2
位"
}
],
"trnmod.swiadd.trnfeetxt"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
...
...
@@ -209,11 +209,11 @@ export default {
],
"lidgrp.rec.nomtop"
:[
{
required
:
false
,
message
:
"必输项"
},
{
type
:
"number"
,
max
:
99
,
message
:
"长度不能超过2"
}
{
type
:
"number"
,
max
:
99
,
message
:
"
只能输入数字,
长度不能超过2"
}
],
"lidgrp.rec.nomton"
:[
{
required
:
false
,
message
:
"必输项"
},
{
type
:
"number"
,
max
:
99
,
message
:
"长度不能超过2"
}
{
type
:
"number"
,
max
:
99
,
message
:
"
只能输入数字,
长度不能超过2"
}
],
"lidgrp.apl.adrelc"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
...
...
@@ -227,8 +227,8 @@ export default {
"lidgrp.cbs.max.amt"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过1
4
位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,
3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3
位"
}
{
max
:
18
,
message
:
"整数位不能超过1
5
位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,
2}
$
)
|
(
^
\d
+
\.\d{1,2}
$
)
/
,
message
:
"小数位不能超过2
位"
}
],
"litp.advp.ptsget.sdamod.dadsnd"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
...
...
@@ -358,7 +358,7 @@ export default {
],
"lidgrp.rec.prepers18"
:[
{
required
:
false
,
message
:
"必输项"
},
{
type
:
"number"
,
max
:
999
,
message
:
"长度不能超过3"
}
{
type
:
"number"
,
max
:
999
,
message
:
"
只能输入数字,
长度不能超过3"
}
],
"litp.avbp.ptsget.sdamod.dadsnd"
:[
...
...
@@ -455,7 +455,7 @@ export default {
],
"lidgrp.rec.tenmaxday"
:[
{
required
:
false
,
message
:
"必输项"
},
{
type
:
"number"
,
max
:
999
,
message
:
"长度不能超过3"
}
{
type
:
"number"
,
max
:
999
,
message
:
"
只能输入数字,
长度不能超过3"
}
],
"lidgrp.rec.porloa"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
...
...
@@ -613,8 +613,8 @@ export default {
],
"liaall.outamt"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过1
4
位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,
3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3
位"
}
{
max
:
18
,
message
:
"整数位不能超过1
5
位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,
2}
$
)
|
(
^
\d
+
\.\d{1,2}
$
)
/
,
message
:
"小数位不能超过2
位"
}
],
"liaall.outpct"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
...
...
@@ -647,8 +647,8 @@ export default {
],
"liaall.liaccv.newamt"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过1
4
位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,
3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3
位"
}
{
max
:
18
,
message
:
"整数位不能超过1
5
位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,
2}
$
)
|
(
^
\d
+
\.\d{1,2}
$
)
/
,
message
:
"小数位不能超过2
位"
}
],
"liaall.liaccv.cshpct"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
...
...
src/views/Business/Litame/Amep.vue
View file @
002d4a92
...
...
@@ -42,11 +42,11 @@
<c-col
:span=
"12"
>
<el-form-item
label=
"信用证金额"
prop=
"oldlidgrp.cbs.nom1.amt"
>
<c-input
<c-input
-currency
v-model=
"model.oldlidgrp.cbs.nom1.amt"
placeholder=
"请输入信用证金额"
disabled
></c-input>
></c-input
-currency
>
</el-form-item>
</c-col>
...
...
@@ -83,8 +83,8 @@
<c-col
:span=
"12"
>
<el-form-item
label=
""
prop=
"trnmod.swiadd.ameamt"
>
<c-input
v-model=
"model.trnmod.swiadd.ameamt"
placeholder=
"请输入增减金额."
></c-input>
<c-input
-currency
v-model=
"model.trnmod.swiadd.ameamt"
placeholder=
"请输入增减金额."
></c-input
-currency
>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
...
...
@@ -101,7 +101,7 @@
<c-col
:span=
"12"
>
<el-form-item
label=
""
prop=
"trnmod.swiadd.newamt"
>
<c-input
v-model=
"model.trnmod.swiadd.newamt"
placeholder=
"请输入修改后金额"
></c-input
>
<c-input
-currency
v-model=
"model.trnmod.swiadd.newamt"
placeholder=
"请输入修改后金额"
></c-input-currency
>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
...
...
@@ -235,11 +235,11 @@
<c-col
:span=
"12"
>
<el-form-item
label=
""
prop=
"oldlidgrp.cbs.max.amt"
>
<c-input
<c-input
-currency
v-model=
"model.oldlidgrp.cbs.max.amt"
placeholder=
"请输入金额"
disabled
></c-input>
></c-input
-currency
>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
...
...
@@ -256,11 +256,11 @@
<c-col
:span=
"12"
>
<el-form-item
label=
""
prop=
"litamep.engamt"
>
<c-input
<c-input
-currency
v-model=
"model.litamep.engamt"
placeholder=
"请输入修改总金额"
disabled
></c-input>
></c-input
-currency
>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
...
...
@@ -276,11 +276,11 @@
<c-col
:span=
"12"
>
<el-form-item
label=
""
prop=
"litamep.maxamt"
>
<c-input
<c-input
-currency
v-model=
"model.litamep.maxamt"
placeholder=
"请输入New Maximum Amount"
disabled
></c-input>
></c-input
-currency
>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
...
...
@@ -325,9 +325,9 @@
<c-col
:span=
"24"
>
<el-form-item
label=
"附加金额"
prop=
"trnmod.swiadd.addamt"
>
<c-input
<c-input
-currency
:disabled=
" !(this.model.litp.aamp.aammod.addamtflg == 'X') "
v-model=
"model.trnmod.swiadd.addamt"
placeholder=
"请输入附加金额"
></c-input>
v-model=
"model.trnmod.swiadd.addamt"
placeholder=
"请输入附加金额"
></c-input
-currency
>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
...
...
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