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
6b1fe58c
Commit
6b1fe58c
authored
Jan 04, 2024
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复包装单位不同步
parent
5dcd111d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
3 deletions
+13
-3
edit.vue
src/views/ecw/productPrice/edit.vue
+6
-1
editAir.vue
src/views/ecw/productPrice/editAir.vue
+7
-2
No files found.
src/views/ecw/productPrice/edit.vue
View file @
6b1fe58c
...
@@ -561,7 +561,12 @@ export default {
...
@@ -561,7 +561,12 @@ export default {
item
[
data
.
field
]
=
data
.
value
item
[
data
.
field
]
=
data
.
value
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/editAir.vue
View file @
6b1fe58c
...
@@ -527,7 +527,12 @@ export default {
...
@@ -527,7 +527,12 @@ export default {
item
[
data
.
field
]
=
data
.
value
item
[
data
.
field
]
=
data
.
value
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
){
...
@@ -584,7 +589,7 @@ export default {
...
@@ -584,7 +589,7 @@ export default {
}
else
{
}
else
{
data
.
clearancePriceStepList
=
this
.
getPriceList
(
this
.
form
.
clearancePriceStepList
)
data
.
clearancePriceStepList
=
this
.
getPriceList
(
this
.
form
.
clearancePriceStepList
)
data
.
freightPriceStepList
=
this
.
getPriceList
(
this
.
form
.
freightPriceStepList
)
data
.
freightPriceStepList
=
this
.
getPriceList
(
this
.
form
.
freightPriceStepList
)
delete
data
.
f
reight
PriceStepList
delete
data
.
f
ull
PriceStepList
}
}
// 设置了有效期,且已过期则给提示
// 设置了有效期,且已过期则给提示
...
...
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