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
d5b81734
Commit
d5b81734
authored
Oct 17, 2022
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解决路线价格修改特需价格无法回显
parent
7935e108
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
edit.vue
src/views/ecw/productPrice/edit.vue
+7
-2
No files found.
src/views/ecw/productPrice/edit.vue
View file @
d5b81734
...
...
@@ -272,7 +272,8 @@ export default {
if
(
!
val
)
return
// 特殊需求回显
if
(
val
.
specialList
)
{
let
keyed
=
arrryToKeyedObjectBy
(
val
.
specialList
,
'
specialDictType
'
)
this
.
specialProducts
=
val
.
specialList
/* let keyed = arrryToKeyedObjectBy(val.specialList, 'specialDictType')
this.specialProducts.map((item, index) => {
if (keyed[item.specialDictType]) {
for (let field in item) {
...
...
@@ -281,7 +282,7 @@ export default {
}
}
}
}
)
}
)
*/
}
}
,
'
form.transportVolumeUnit
'
(
val
){
...
...
@@ -353,6 +354,10 @@ export default {
if
(
res
.
data
.
validateEndDate
){
this
.
form
.
validateEndDate
=
parseTime
(
res
.
data
.
validateEndDate
)
}
// 特需价格更新
this
.
lineList
=
[
res
.
data
]
}
)
}
...
...
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