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
2559eb60
Commit
2559eb60
authored
Dec 07, 2022
by
lianyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gitcrq交易金额框及天数框报“必输项”解决,改pattern.js
parent
4ad3e3bb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
27 deletions
+18
-27
Pattern.js
src/model/Gitcrq/Pattern.js
+14
-23
Gitsetp1.vue
src/views/Business/Gitcrq/Gitsetp1.vue
+4
-4
No files found.
src/model/Gitcrq/Pattern.js
View file @
2559eb60
...
...
@@ -21,9 +21,9 @@ export default {
{
max
:
3
,
message
:
"长度不能超过3"
}
],
"gidgrp.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,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"gcdgrp.rec.ownref"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
...
...
@@ -47,9 +47,9 @@ export default {
{
max
:
3
,
message
:
"长度不能超过3"
}
],
"gcdgrp.cbs.max.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位" }
],
"gcdgrp.apl.pts.ref"
:[
...
...
@@ -61,9 +61,9 @@ export default {
{
max
:
3
,
message
:
"长度不能超过3"
}
],
"gcdgrp.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,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"gcdgrp.apl.pts.nam"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
...
...
@@ -88,24 +88,15 @@ export default {
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
],
"gcdgrp.cbs.max.cur"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
3
,
message
:
"长度不能超过3"
}
],
"gcdgrp.cbs.max.amt"
:[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
"gcdgrp.prb.pts.ref"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
16
,
message
:
"长度不能超过16"
}
],
"gcdgrp.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,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"gctp.prbp.ptsget.sdamod.dadsnd"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
...
...
@@ -168,8 +159,8 @@ export default {
{
max
:
35
,
message
:
"长度不能超过35"
}
],
"payday"
:[
{
type
:
"
string
"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
2
,
message
:
"长度不能超过2
"
}
{
type
:
"
number
"
,
required
:
false
,
message
:
"必输项"
},
{
type
:
"number"
,
max
:
99
,
message
:
"不能超过99
"
}
],
"gcdgrp.oth.pts.adrblk"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
...
...
src/views/Business/Gitcrq/Gitsetp1.vue
View file @
2559eb60
...
...
@@ -66,7 +66,7 @@
<c-col
:span=
"24"
>
<c-col
:span=
"10"
>
<c-form-item
label=
"索赔金额"
prop=
"gcdgrp.cbs.max.cur"
previewLabel=
"信用证币种"
>
<c-
input
v-model=
"model.gcdgrp.cbs.max.cur"
maxlength=
"3"
disabled
placeholder=
"请输入索赔金额"
></c-inpu
t>
<c-
select
v-model=
"model.gcdgrp.cbs.max.cur"
maxlength=
"3"
disabled
placeholder=
"请输入索赔金额"
:code=
"codes.cur"
></c-selec
t>
</c-form-item>
</c-col>
<c-col
:span=
"9"
>
...
...
@@ -117,7 +117,7 @@
<c-col
:span=
"24"
>
<c-col
:span=
"12"
>
<c-form-item
label=
"索赔金额"
prop=
"gcdgrp.cbs.max.cur"
previewLabel=
"信用证币种"
>
<c-
input
v-model=
"model.gcdgrp.cbs.max.cur"
maxlength=
"3"
disabled
placeholder=
"请输入索赔金额"
></c-inpu
t>
<c-
select
v-model=
"model.gcdgrp.cbs.max.cur"
maxlength=
"3"
disabled
placeholder=
"请输入索赔金额"
:code=
"codes.cur"
></c-selec
t>
</c-form-item>
</c-col>
...
...
@@ -132,7 +132,7 @@
<c-col
:span=
"24"
>
<c-col
:span=
"12"
>
<c-form-item
label=
"提取附加金额"
prop=
"gcdgrp.cbs.opn2.cur"
previewLabel=
"信用证币种"
>
<c-
input
v-model=
"model.gcdgrp.cbs.opn2.cur"
maxlength=
"3"
disabled
placeholder=
"请输入索赔金额"
></c-inpu
t>
<c-
select
v-model=
"model.gcdgrp.cbs.opn2.cur"
maxlength=
"3"
disabled
placeholder=
"请输入索赔金额"
:code=
"codes.cur"
></c-selec
t>
</c-form-item>
</c-col>
...
...
@@ -173,7 +173,7 @@
<c-col
:span=
"24"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"我行将于"
prop=
"payday"
>
<c-input
v-model=
"model.payday"
placeholder=
""
>
</c-input>
<c-input
v-model
.
number
=
"model.payday"
placeholder=
""
>
</c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
...
...
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