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-24 10:25:54 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
9631d9f3518d7b9a1e3bcf162a14955b623d3c3f
9631d9f3
1 parent
e89c7c95
modify
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
28 additions
and
26 deletions
public/html/ie.html
src/utils/mixins.js
src/views/allocationConfig/flightAllocConfig/mixins/index.js
src/views/et86Config/et86RuleConfig/edit/index.vue
public/html/ie.html
View file @
9631d9f
This diff is collapsed. Click to expand it.
src/utils/mixins.js
View file @
9631d9f
...
...
@@ -370,14 +370,14 @@ export const inputBlurValidate = {
}
},
// 美元最小申报价值
input
SU
DBlurMin
({
target
})
{
input
US
DBlurMin
({
target
})
{
// 申报价值最小值和最大值都为空的情况下
if
(
this
.
queryForm
.
minUsdCustomVal
==
""
&&
this
.
queryForm
.
maxUsdCustomVal
==
""
)
{
this
.
validateForm
=
true
;
this
.
$refs
.
min
SU
DCustomVal
.
innerHTML
=
""
;
this
.
$refs
.
min
US
DCustomVal
.
innerHTML
=
""
;
}
// 鼠标聚焦最小申报价值,最小申报价值无值的情况下去校验最大申报价值
if
(
target
.
value
==
""
&&
this
.
queryForm
.
maxUsdCustomVal
)
{
...
...
@@ -387,7 +387,7 @@ export const inputBlurValidate = {
)
)
{
this
.
validateForm
=
true
;
this
.
$refs
.
min
SU
DCustomVal
.
innerHTML
=
""
;
this
.
$refs
.
min
US
DCustomVal
.
innerHTML
=
""
;
}
}
// 最小申报价值有值的情况下
...
...
@@ -399,7 +399,7 @@ export const inputBlurValidate = {
Number
(
this
.
queryForm
.
minUsdCustomVal
)
)
{
this
.
validateForm
=
false
;
this
.
$refs
.
min
SU
DCustomVal
.
innerHTML
=
this
.
$refs
.
min
US
DCustomVal
.
innerHTML
=
"最小申报价值不得大于最大申报价值"
;
}
else
if
(
/^
(
0|
[
1-9
]\d
*
)(
.
\d{1,2})?
$/
.
test
(
...
...
@@ -407,43 +407,43 @@ export const inputBlurValidate = {
)
)
{
this
.
validateForm
=
true
;
this
.
$refs
.
min
SU
DCustomVal
.
innerHTML
=
""
;
this
.
$refs
.
min
US
DCustomVal
.
innerHTML
=
""
;
}
else
{
this
.
validateForm
=
false
;
this
.
$refs
.
min
SU
DCustomVal
.
innerHTML
=
this
.
$refs
.
min
US
DCustomVal
.
innerHTML
=
"请输入有效申报价值,小数保留2位"
;
}
}
else
{
this
.
validateForm
=
true
;
this
.
$refs
.
min
SU
DCustomVal
.
innerHTML
=
""
;
this
.
$refs
.
min
US
DCustomVal
.
innerHTML
=
""
;
}
}
else
{
this
.
validateForm
=
false
;
this
.
$refs
.
min
SU
DCustomVal
.
innerHTML
=
this
.
$refs
.
min
US
DCustomVal
.
innerHTML
=
"请输入有效申报价值,小数保留2位"
;
}
}
else
{
if
(
target
.
value
&&
isNaN
(
target
.
value
))
{
this
.
validateForm
=
false
;
this
.
$refs
.
min
SU
DCustomVal
.
innerHTML
=
this
.
$refs
.
min
US
DCustomVal
.
innerHTML
=
"请输入有效申报价值,小数保留2位"
;
}
if
(
target
.
value
&&
Number
(
target
.
value
)
<
0
)
{
this
.
validateForm
=
false
;
this
.
$refs
.
min
SU
DCustomVal
.
innerHTML
=
this
.
$refs
.
min
US
DCustomVal
.
innerHTML
=
"请输入有效申报价值,小数保留2位"
;
}
}
},
// 美元最大申报价值
input
SU
DBlurMax
({
target
})
{
input
US
DBlurMax
({
target
})
{
// 申报价值最小值和最大值都为空的情况下
if
(
this
.
queryForm
.
minUsdCustomVal
==
""
&&
this
.
queryForm
.
maxUsdCustomVal
==
""
)
{
this
.
validateForm
=
true
;
this
.
$refs
.
min
SU
DCustomVal
.
innerHTML
=
""
;
this
.
$refs
.
min
US
DCustomVal
.
innerHTML
=
""
;
}
// 鼠标聚焦最大申报价值,最大申报价值无值的情况下去校验最小申报价值
if
(
target
.
value
==
""
&&
this
.
queryForm
.
minUsdCustomVal
)
{
...
...
@@ -453,10 +453,10 @@ export const inputBlurValidate = {
)
)
{
this
.
validateForm
=
true
;
this
.
$refs
.
min
SU
DCustomVal
.
innerHTML
=
""
;
this
.
$refs
.
min
US
DCustomVal
.
innerHTML
=
""
;
}
else
{
this
.
validateForm
=
false
;
this
.
$refs
.
min
SU
DCustomVal
.
innerHTML
=
this
.
$refs
.
min
US
DCustomVal
.
innerHTML
=
"请输入有效申报价值,小数保留2位"
;
}
}
...
...
@@ -469,7 +469,7 @@ export const inputBlurValidate = {
Number
(
this
.
queryForm
.
minUsdCustomVal
)
)
{
this
.
validateForm
=
false
;
this
.
$refs
.
min
SU
DCustomVal
.
innerHTML
=
this
.
$refs
.
min
US
DCustomVal
.
innerHTML
=
"最小申报价值不得大于最大申报价值"
;
}
else
if
(
/^
(
0|
[
1-9
]\d
*
)(
.
\d{1,2})?
$/
.
test
(
...
...
@@ -477,27 +477,27 @@ export const inputBlurValidate = {
)
)
{
this
.
validateForm
=
true
;
this
.
$refs
.
min
SU
DCustomVal
.
innerHTML
=
""
;
this
.
$refs
.
min
US
DCustomVal
.
innerHTML
=
""
;
}
else
{
this
.
validateForm
=
false
;
this
.
$refs
.
min
SU
DCustomVal
.
innerHTML
=
this
.
$refs
.
min
US
DCustomVal
.
innerHTML
=
"请输入有效申报价值,小数保留2位"
;
}
}
}
else
{
this
.
validateForm
=
false
;
this
.
$refs
.
min
SU
DCustomVal
.
innerHTML
=
this
.
$refs
.
min
US
DCustomVal
.
innerHTML
=
"请输入有效申报价值,小数保留2位"
;
}
}
else
{
if
(
target
.
value
&&
isNaN
(
target
.
value
))
{
this
.
validateForm
=
false
;
this
.
$refs
.
min
SU
DCustomVal
.
innerHTML
=
this
.
$refs
.
min
US
DCustomVal
.
innerHTML
=
"请输入有效申报价值,小数保留2位"
;
}
if
(
target
.
value
&&
Number
(
target
.
value
)
<
0
)
{
this
.
validateForm
=
false
;
this
.
$refs
.
min
SU
DCustomVal
.
innerHTML
=
this
.
$refs
.
min
US
DCustomVal
.
innerHTML
=
"请输入有效申报价值,小数保留2位"
;
}
}
...
...
src/views/allocationConfig/flightAllocConfig/mixins/index.js
View file @
9631d9f
...
...
@@ -233,6 +233,7 @@ export default {
this
.
$route
.
query
.
querySpecifyData
==
"1"
)
{
data
.
list
.
map
((
item
)
=>
{
item
.
status
=
"1"
;
delete
item
.
id
;
delete
item
.
historyId
;
return
item
;
...
...
@@ -322,6 +323,7 @@ export default {
.
catch
(()
=>
{});
});
},
// 根据航班号ID查看航班航线配置详情
getFindByFlightId
(
parmas
)
{
this
.
pageLoading
=
true
;
...
...
src/views/et86Config/et86RuleConfig/edit/index.vue
View file @
9631d9f
...
...
@@ -387,11 +387,11 @@
<el-input
v-model.trim="queryForm.minUsdCustomVal"
placeholder="最小申报价值"
@blur="input
SU
DBlurMin($event)"
@blur="input
US
DBlurMin($event)"
:disabled="!getRouter"
></el-input>
<span
ref="min
SU
DCustomVal"
ref="min
US
DCustomVal"
class="el-form-item__error"
></span>
</el-col>
...
...
@@ -400,7 +400,7 @@
<el-input
v-model.trim="queryForm.maxUsdCustomVal"
placeholder="最大申报价值"
@blur="input
SU
DBlurMax($event)"
@blur="input
US
DBlurMax($event)"
:disabled="!getRouter"
></el-input>
</el-col>
...
...
@@ -463,7 +463,7 @@ export default {
minNumOfPieces: "", // 最小件数
maxNumOfPieces: "",
currencyCd: "RMB", // 人民币种
currencyCdUsd: "
SU
D", // 美元币种
currencyCdUsd: "
US
D", // 美元币种
minCustomVal: "", // 人民币最小申报值
maxCustomVal: "", // 人民币最大申报值
minUsdCustomVal: "", // 美元最小申报值
...
...
@@ -481,8 +481,8 @@ export default {
serviceCodeData: [], // 【服务种类】调用接口获取服务种类所有的serviceCode
minCNYCustomVal: "", // 人民币最小申报值
maxCNYCustomVal: "", //
min
SU
DCustomVal: "", // 美元最小申报值
max
SU
DCustomVal: "", //
min
US
DCustomVal: "", // 美元最小申报值
max
US
DCustomVal: "", //
currentFlightNo: "", // 当前航班号
};
},
...
...
Please
register
or
login
to post a comment