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
07ff6688
Commit
07ff6688
authored
Nov 02, 2022
by
lianyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
金额靠左显示加class="input-currency-left"。litopn的承兑金额限制微调
parent
fba69aeb
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
7 deletions
+17
-7
InputCurrency.vue
src/components/InputCurrency.vue
+4
-0
InputCurrencyMin.vue
src/components/InputCurrencyMin.vue
+5
-0
Pattern.js
src/model/Litopn/Pattern.js
+3
-3
Libp.vue
src/views/Business/Litopn/Libp.vue
+5
-4
No files found.
src/components/InputCurrency.vue
View file @
07ff6688
...
@@ -218,4 +218,7 @@ export default {
...
@@ -218,4 +218,7 @@ export default {
.el-input.m-input-currency
.el-input__inner
{
.el-input.m-input-currency
.el-input__inner
{
text-align
:
right
;
text-align
:
right
;
}
}
.input-currency-left.el-input.m-input-currency
.el-input__inner
{
text-align
:
left
;
}
</
style
>
</
style
>
\ No newline at end of file
src/components/InputCurrencyMin.vue
View file @
07ff6688
...
@@ -215,4 +215,8 @@ export default {
...
@@ -215,4 +215,8 @@ export default {
.el-input.m-input-currency
.el-input__inner
{
.el-input.m-input-currency
.el-input__inner
{
text-align
:
right
;
text-align
:
right
;
}
}
.input-currency-left.el-input.m-input-currency
.el-input__inner
{
text-align
:
left
;
}
</
style
>
</
style
>
\ No newline at end of file
src/model/Litopn/Pattern.js
View file @
07ff6688
...
@@ -748,9 +748,9 @@ export default {
...
@@ -748,9 +748,9 @@ export default {
],
],
"cnybop.cnylib.famt"
:[
"cnybop.cnylib.famt"
:[
{
type
:
"
number
"
,
required
:
true
,
message
:
"必输项"
},
{
type
:
"
string
"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
1
8
,
message
:
"整数位不能超过14位"
},
{
max
:
1
7
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3
位"
}
{
pattern
:
/
(
^
-
?\d
+$
)
|
(
^
\.\d{1,2}
$
)
|
(
^-
?\d
+
\.\d{1,2}
$
)
/
,
message
:
"小数位不能超过2
位"
}
],
],
"cnybop.cnylib.dexchangedate"
:[
"cnybop.cnylib.dexchangedate"
:[
...
...
src/views/Business/Litopn/Libp.vue
View file @
07ff6688
...
@@ -221,20 +221,21 @@
...
@@ -221,20 +221,21 @@
<c-col
:span=
"24"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"金额"
prop=
"cnybop.cnylib.famt"
>
<el-form-item
label=
"金额"
prop=
"cnybop.cnylib.famt"
>
<c-input
<c-input
-currency-min
v-model=
"model.cnybop.cnylib.famt"
v-model=
"model.cnybop.cnylib.famt"
placeholder=
"请输入金额"
placeholder=
"请输入金额"
></c-input>
class=
"input-currency-left"
></c-input-currency-min>
</el-form-item>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"承兑金额"
prop=
"cnybop.fexchangeamt"
>
<el-form-item
label=
"承兑金额"
prop=
"cnybop.fexchangeamt"
>
<c-input
<c-input
-currency
v-model=
"model.cnybop.fexchangeamt"
v-model=
"model.cnybop.fexchangeamt"
maxlength=
"20"
maxlength=
"20"
placeholder=
"请输入承兑金额"
placeholder=
"请输入承兑金额"
></c-input>
></c-input
-currency
>
</el-form-item>
</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