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
14b81c4c
Commit
14b81c4c
authored
Sep 27, 2024
by
332784038@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
编辑线路价格得包装类型转换bug修复
parent
446a923c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
edit.vue
src/views/ecw/productPrice/edit.vue
+8
-4
No files found.
src/views/ecw/productPrice/edit.vue
View file @
14b81c4c
...
...
@@ -637,7 +637,7 @@ export default {
if
(
this
.
form
.
freightPricePackagingList
?.
length
)
{
this
.
form
.
freightPricePackagingList
.
forEach
((
item
)
=>
{
if
(
!
item
.
packagingTypes
)
{
this
.
$set
(
item
,
"
packagingTypes
"
,
[]
);
this
.
$set
(
item
,
"
packagingTypes
"
,
""
);
}
else
if
(
typeof
item
.
packagingTypes
==
"
string
"
)
{
item
.
packagingTypes
=
item
.
packagingTypes
.
split
(
"
,
"
);
}
...
...
@@ -874,7 +874,11 @@ export default {
return
packging
.
filter
((
item
)
=>
!!
item
.
packagingTypes
)
.
map
((
item
)
=>
{
if
(
item
.
packagingTypes
.
length
===
0
){
item
.
packagingTypes
=
""
;
}
else
{
item
.
packagingTypes
=
item
.
packagingTypes
?.
join
(
"
,
"
)
||
""
;
}
return
item
;
});
},
...
...
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