Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-app-operator-master
Commits
7a4be32b
Commit
7a4be32b
authored
Jan 17, 2024
by
邓春圆
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
70a0866c
9d40d2e0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
edit.vue
src/views/ecw/order/edit.vue
+1
-1
batchIncreaseAir.vue
src/views/ecw/productPrice/batchIncreaseAir.vue
+8
-1
No files found.
src/views/ecw/order/edit.vue
View file @
7a4be32b
...
@@ -952,7 +952,7 @@ export default {
...
@@ -952,7 +952,7 @@ export default {
// 更新目的城市备选
// 更新目的城市备选
await
this
.
getTradeCity
()
await
this
.
getTradeCity
()
// 如果已选择城市,在切换后不可用则重置
// 如果已选择城市,在切换后不可用则重置
if
(
this
.
form
.
objectiveId
&&
!
this
.
importList
.
find
(
item
=>
item
.
id
==
this
.
form
.
objectiveId
)){
if
(
this
.
form
.
objectiveId
&&
!
this
.
import
City
List
.
find
(
item
=>
item
.
id
==
this
.
form
.
objectiveId
)){
this
.
$set
(
this
.
form
,
'
objectiveId
'
,
null
)
this
.
$set
(
this
.
form
,
'
objectiveId
'
,
null
)
}
}
// 更新线路备选
// 更新线路备选
...
...
src/views/ecw/productPrice/batchIncreaseAir.vue
View file @
7a4be32b
...
@@ -275,10 +275,13 @@ export default {
...
@@ -275,10 +275,13 @@ export default {
// 检查被忽略的阶梯价
// 检查被忽略的阶梯价
let
msgArr
=
[];
let
msgArr
=
[];
if
(
data
.
priceType
){
if
(
data
.
priceType
){
const
ignoreAll
=
data
.
fullPriceStepList
.
length
!=
this
.
form
.
fullPriceStepList
.
length
const
ignoreAll
=
this
.
form
.
fullPriceStepList
.
length
-
data
.
fullPriceStepList
.
length
if
(
ignoreAll
){
if
(
ignoreAll
){
msgArr
.
push
(
this
.
$t
(
"
{n}个全包阶梯价
"
,
{
n
:
ignoreAll
}))
msgArr
.
push
(
this
.
$t
(
"
{n}个全包阶梯价
"
,
{
n
:
ignoreAll
}))
}
}
if
(
!
data
.
fullPriceStepList
?.
length
){
return
this
.
$message
.
error
(
this
.
$t
(
'
请设置全包价
'
))
}
}
else
{
}
else
{
const
ignoreFreight
=
this
.
form
.
freightPriceStepList
.
length
-
data
.
freightPriceStepList
.
length
const
ignoreFreight
=
this
.
form
.
freightPriceStepList
.
length
-
data
.
freightPriceStepList
.
length
const
ignoreClearance
=
this
.
form
.
clearancePriceStepList
.
length
-
data
.
clearancePriceStepList
.
length
const
ignoreClearance
=
this
.
form
.
clearancePriceStepList
.
length
-
data
.
clearancePriceStepList
.
length
...
@@ -289,6 +292,10 @@ export default {
...
@@ -289,6 +292,10 @@ export default {
if
(
ignoreClearance
){
if
(
ignoreClearance
){
msgArr
.
push
(
this
.
$t
(
"
{n}个清关费阶梯价
"
,
{
n
:
ignoreClearance
}))
msgArr
.
push
(
this
.
$t
(
"
{n}个清关费阶梯价
"
,
{
n
:
ignoreClearance
}))
}
}
if
(
!
data
.
freightPriceStepList
?.
length
&&
!
data
.
clearancePriceStepList
?.
length
){
return
this
.
$message
.
error
(
this
.
$t
(
'
请设置运费或清关费
'
))
}
}
}
let
msg
=
this
.
$t
(
'
已选择{route}条路线,{product}个商品
'
,
{
let
msg
=
this
.
$t
(
'
已选择{route}条路线,{product}个商品
'
,
{
route
:
data
.
lineChannelList
.
length
,
route
:
data
.
lineChannelList
.
length
,
...
...
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