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
0f88c36c
Commit
0f88c36c
authored
Oct 10, 2022
by
lianyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
litopn正金额保留两位小数,整数位不超15,改为c-input-currency
parent
32a418bd
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
24 deletions
+22
-24
Pattern.js
src/model/Litopn/Pattern.js
+14
-14
Aamp.vue
src/views/Business/Litopn/Aamp.vue
+4
-4
Ovwp.vue
src/views/Business/Litopn/Ovwp.vue
+4
-4
Ptyp.vue
src/views/Business/Litopn/Ptyp.vue
+0
-2
No files found.
src/model/Litopn/Pattern.js
View file @
0f88c36c
...
...
@@ -50,8 +50,8 @@ export default {
"lidgrp.cbs.nom1.amt"
:[
{
type
:
"string"
,
required
:
true
,
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
位"
}
],
"lidgrp.apl.pts.adrblk"
:[
...
...
@@ -82,8 +82,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
:
"必输项"
},
...
...
@@ -191,17 +191,17 @@ export default {
{
max
:
16
,
message
:
"长度不能超过16"
}
],
//
"lidgrp.cbs.max2.amt":[
// {type: "number
", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14
位"},
// // {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3
位" }
//
],
"lidgrp.cbs.max2.amt"
:[
{
type
:
"string
"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过15
位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,2}
$
)
|
(
^
\d
+
\.\d{1,2}
$
)
/
,
message
:
"小数位不能超过2
位"
}
],
//
"lidgrp.cbs.opn2.amt":[
// {type: "number
", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14
位"},
// // {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3
位" }
//
],
"lidgrp.cbs.opn2.amt"
:[
{
type
:
"string
"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过15
位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,2}
$
)
|
(
^
\d
+
\.\d{1,2}
$
)
/
,
message
:
"小数位不能超过2
位"
}
],
"lidgrp.blk.addamtcov"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
...
...
src/views/Business/Litopn/Aamp.vue
View file @
0f88c36c
...
...
@@ -26,11 +26,11 @@
label-width=
"20px"
prop=
"lidgrp.cbs.max2.amt"
>
<c-input
<c-input
-currency
v-model=
"model.lidgrp.cbs.max2.amt"
style=
"text-align: left; width: 100%"
placeholder=
"0"
></c-input>
></c-input
-currency
>
</el-form-item>
</c-col>
...
...
@@ -53,12 +53,12 @@
label-width=
"20px"
prop=
"lidgrp.cbs.opn2.amt"
>
<c-input
<c-input
-currency
v-model=
"model.lidgrp.cbs.opn2.amt"
style=
"text-align: left; width: 100%"
placeholder=
"0"
disabled
></c-input>
></c-input
-currency
>
</el-form-item>
</c-col>
...
...
src/views/Business/Litopn/Ovwp.vue
View file @
0f88c36c
...
...
@@ -114,11 +114,11 @@
label-width=
"20px"
prop=
"lidgrp.cbs.nom1.amt"
>
<c-input
<c-input
-currency
v-model=
"model.lidgrp.cbs.nom1.amt"
style=
"text-align: left; width: 100%"
placeholder=
"请输入金额"
></c-input>
></c-input
-currency
>
</el-form-item>
</c-col>
...
...
@@ -192,11 +192,11 @@
<c-col
:span=
"11"
>
<el-form-item
label=
""
label-width=
"5px"
prop=
"lidgrp.cbs.max.amt"
>
<c-input
<c-input
-currency
v-model=
"model.lidgrp.cbs.max.amt"
disabled
placeholder=
"请输入信用证最大金额"
></c-input>
></c-input
-currency
>
</el-form-item>
</c-col>
...
...
src/views/Business/Litopn/Ptyp.vue
View file @
0f88c36c
...
...
@@ -357,7 +357,6 @@
prop=
"lidgrp.avb.pts.ref"
>
<c-input
disabled
v-model=
"model.lidgrp.avb.pts.ref"
maxlength=
"16"
placeholder=
"请输入参考号"
...
...
@@ -369,7 +368,6 @@
<el-form-item
label=
"地址编码"
prop=
"lidgrp.avb.pts.extkey"
>
<c-fullbox>
<c-input
disabled
v-model=
"model.lidgrp.avb.pts.extkey"
maxlength=
"16"
placeholder=
"请输入地址编码"
...
...
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