Commit 96d82df3 by fuqiang

【商家端】商品管理-商品编辑

parent bd277506
......@@ -365,8 +365,8 @@
titleValue() {
return (spec, row) => {
for (let s of row.specs) {
if (s.specId == spec.specId) {
return s.name
if (s.id == spec.specId) {
return s.specName
}
}
return "未知"
......@@ -433,8 +433,8 @@
if(skus && skus.length > 0) {
let specs = skus[0].specs.map(r => {
return {
specId: r.specId,
specName: r.specName
specId: r.id,
specName: r.name
}
})
this.specs = specs
......
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