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
3b15087c
Commit
3b15087c
authored
Oct 17, 2022
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化路线价格特需价格回显
parent
d5b81734
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
edit.vue
src/views/ecw/productPrice/edit.vue
+5
-1
No files found.
src/views/ecw/productPrice/edit.vue
View file @
3b15087c
...
@@ -272,7 +272,11 @@ export default {
...
@@ -272,7 +272,11 @@ export default {
if
(
!
val
)
return
if
(
!
val
)
return
// 特殊需求回显
// 特殊需求回显
if
(
val
.
specialList
)
{
if
(
val
.
specialList
)
{
this
.
specialProducts
=
val
.
specialList
val
.
specialList
.
forEach
(
item
=>
{
let
index
=
this
.
specialProducts
.
findIndex
(
special
=>
special
.
specialDictType
==
item
.
specialDictType
)
if
(
index
>
-
1
)
this
.
specialProducts
[
index
]
=
item
}
)
// this.specialProducts = val.specialList
/* let keyed = arrryToKeyedObjectBy(val.specialList, 'specialDictType')
/* let keyed = arrryToKeyedObjectBy(val.specialList, 'specialDictType')
this.specialProducts.map((item, index) => {
this.specialProducts.map((item, index) => {
if (keyed[item.specialDictType]) {
if (keyed[item.specialDictType]) {
...
...
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