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-09-27 17:05:12 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
67bd0bbb93ef6341f3e473433d159ba7d7c6c818
67bd0bbb
1 parent
cc85eead
modify
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
37 additions
and
20 deletions
src/utils/mixins.js
src/views/et86Config/et86RuleConfig/edit/index.vue
src/utils/mixins.js
View file @
67bd0bb
...
...
@@ -188,25 +188,26 @@ export const inputBlurValidate = {
this
.
$refs
.
minWeight
.
innerHTML
=
""
;
}
}
}
else
{
if
(
value
.
length
)
{
if
(
Number
(
value
)
>
34
)
{
if
(
Array
.
isArray
(
this
.
$refs
.
minWeight
))
{
this
.
validateForm
=
false
;
this
.
msgError
(
"最大重量不能大于34KG"
);
}
else
{
this
.
validateForm
=
false
;
this
.
$refs
.
minWeight
.
innerHTML
=
""
;
this
.
$refs
.
minWeight
.
innerHTML
=
"最大重量不能大于34KG"
;
}
}
else
{
if
(
!
Array
.
isArray
(
this
.
$refs
.
minWeight
))
{
this
.
validateForm
=
true
;
this
.
$refs
.
minWeight
.
innerHTML
=
""
;
}
}
}
}
// else {
// if (value.length) {
// if (Number(value) > 34) {
// if (Array.isArray(this.$refs.minWeight)) {
// this.validateForm = false;
// this.msgError("最大重量不能大于34KG");
// } else {
// this.validateForm = false;
// this.$refs.minWeight.innerHTML = "";
// this.$refs.minWeight.innerHTML = "最大重量不能大于34KG";
// }
// } else {
// if (!Array.isArray(this.$refs.minWeight)) {
// this.validateForm = true;
// this.$refs.minWeight.innerHTML = "";
// }
// }
// }
// }
}
else
{
if
(
Array
.
isArray
(
this
.
$refs
.
minWeight
))
{
this
.
validateForm
=
false
;
...
...
@@ -262,6 +263,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
(
...
...
@@ -280,8 +289,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
{
...
...
src/views/et86Config/et86RuleConfig/edit/index.vue
View file @
67bd0bb
...
...
@@ -725,7 +725,7 @@ export default {
this.queryForm.minCustomVal = this.minSUDCustomVal;
this.queryForm.maxCustomVal = this.maxSUDCustomVal;
} else {
this.queryForm.currencyCd =
"CNY"
;
this.queryForm.currencyCd =
null
;
}
let fltNo = this.tableData.some((item) => item.flightNo == ""); // 通过遍历判断航班顺位列表有没有填写的航班号
let fltNoRoute = this.tableData.some(
...
...
Please
register
or
login
to post a comment