Commit d5b81734 authored by dragondean@qq.com's avatar dragondean@qq.com

解决路线价格修改特需价格无法回显

parent 7935e108
......@@ -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]
})
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment