Commit 96d82df3 by fuqiang

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

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