|
@@ -91,10 +91,8 @@ Page({
|
|
|
let image = value.attinfos.find(v => v.fileType == "image");
|
|
|
value.cover = image ? image.cover : "";
|
|
|
}
|
|
|
-
|
|
|
if (newPrice) value.newPrice = CNY(value[newPrice] || 0);
|
|
|
if (oldPrice) value.oldPrice = CNY(value[oldPrice] || 0);
|
|
|
-
|
|
|
value.brandName = value.brand.map(name => name.brandname)
|
|
|
value.tradefields = value.tradefield.map(name => name.tradefield)
|
|
|
return value;
|