Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Fedex
/
imac-vue
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Elements-SY
2023-10-07 17:32:48 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
270d530b7f4a384418d7e2d924b03dba73cceec7
270d530b
1 parent
34552bd7
modify
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
1 deletions
src/utils/mixins.js
src/utils/mixins.js
View file @
270d530
...
...
@@ -264,6 +264,14 @@ export const inputBlurValidate = {
this
.
$refs
[
coin
[
customVal
]].
innerHTML
=
""
;
this
.
validateForm
=
true
;
}
// 如果人民币其中任何一个有值,去判断美元是否有值,如果有值把美元值清空
if
(
this
.
minCNYCustomVal
||
this
.
maxCNYCustomVal
)
{
if
(
this
.
minSUDCustomVal
||
this
.
maxSUDCustomVal
)
{
this
.
$refs
.
minSUDCustomVal
.
innerHTML
=
""
;
this
.
validateForm
=
true
;
this
.
minSUDCustomVal
=
this
.
maxSUDCustomVal
=
""
;
}
}
}
// 其中一个有值的情况下美元
if
(
...
...
@@ -282,8 +290,16 @@ export const inputBlurValidate = {
this
.
validateForm
=
true
;
}
}
else
{
this
.
validateForm
=
true
;
this
.
$refs
[
coin
[
customVal
]].
innerHTML
=
""
;
this
.
validateForm
=
true
;
}
// 如果美元其中任何一个有值,去判断人民币是否有值,如果有值把人民币值清空
if
(
this
.
minSUDCustomVal
||
this
.
maxSUDCustomVal
)
{
if
(
this
.
minCNYCustomVal
||
this
.
maxCNYCustomVal
)
{
this
.
$refs
.
minCNYCustomVal
.
innerHTML
=
""
;
this
.
validateForm
=
true
;
this
.
minCNYCustomVal
=
this
.
maxCNYCustomVal
=
""
;
}
}
}
}
else
{
...
...
Please
register
or
login
to post a comment