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
3dd251f8
Commit
3dd251f8
authored
Jan 30, 2024
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
批量加价包装类型单位不同步的bug
parent
22285a92
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
3 deletions
+13
-3
batchIncrease.vue
src/views/ecw/productPrice/batchIncrease.vue
+6
-1
batchIncreaseAir.vue
src/views/ecw/productPrice/batchIncreaseAir.vue
+7
-2
No files found.
src/views/ecw/productPrice/batchIncrease.vue
View file @
3dd251f8
...
@@ -278,7 +278,12 @@ export default {
...
@@ -278,7 +278,12 @@ export default {
}
}
if
(
item
.
packagingList
?.
length
){
if
(
item
.
packagingList
?.
length
){
item
.
packagingList
.
forEach
(
p
=>
{
item
.
packagingList
.
forEach
(
p
=>
{
p
[
data
.
field
]
=
data
.
value
if
(
data
.
field
.
indexOf
(
"
PriceUnit
"
)
>
-
1
){
p
[
'
packagingPriceUnit
'
]
=
data
.
value
}
if
(
data
.
field
.
indexOf
(
"
VolumeUnit
"
)
>
-
1
){
p
[
'
packagingVolumeUnit
'
]
=
data
.
value
}
})
})
}
}
if
(
item
.
specialList
?.
length
){
if
(
item
.
specialList
?.
length
){
...
...
src/views/ecw/productPrice/batchIncreaseAir.vue
View file @
3dd251f8
...
@@ -206,7 +206,7 @@ export default {
...
@@ -206,7 +206,7 @@ export default {
if
(
index
>
0
)
return
if
(
index
>
0
)
return
const
isVolumeUnit
=
data
.
field
.
indexOf
(
"
VolumeUnit
"
)
>
-
1
const
isVolumeUnit
=
data
.
field
.
indexOf
(
"
VolumeUnit
"
)
>
-
1
// 如果是重量单位,且不是清关费想换的,则需要同步最小起计量单位
// 如果是重量单位,且不是清关费想换的,则需要同步最小起计量单位
if
(
isVolumeUnit
===
'
weightUnit
'
&&
data
.
type
!=
'
clearance
'
){
if
(
isVolumeUnit
&&
data
.
type
!=
'
clearance
'
){
this
.
form
.
minWeightUnit
=
data
.
value
this
.
form
.
minWeightUnit
=
data
.
value
}
}
stepPriceList
.
forEach
(
item
=>
{
stepPriceList
.
forEach
(
item
=>
{
...
@@ -217,7 +217,12 @@ export default {
...
@@ -217,7 +217,12 @@ export default {
}
}
if
(
item
.
packagingList
?.
length
){
if
(
item
.
packagingList
?.
length
){
item
.
packagingList
.
forEach
(
p
=>
{
item
.
packagingList
.
forEach
(
p
=>
{
p
[
data
.
field
]
=
data
.
value
if
(
data
.
field
.
indexOf
(
"
PriceUnit
"
)
>
-
1
){
p
[
'
packagingPriceUnit
'
]
=
data
.
value
}
if
(
data
.
field
.
indexOf
(
"
VolumeUnit
"
)
>
-
1
){
p
[
'
packagingVolumeUnit
'
]
=
data
.
value
}
})
})
}
}
if
(
item
.
specialList
?.
length
){
if
(
item
.
specialList
?.
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