|
@@ -56,6 +56,7 @@ class GoodsService extends CrudService {
|
|
for (const i of list) {
|
|
for (const i of list) {
|
|
const spec = _.minBy(i.specs, 'sell_money');
|
|
const spec = _.minBy(i.specs, 'sell_money');
|
|
i.sell_money = _.get(spec, 'sell_money');
|
|
i.sell_money = _.get(spec, 'sell_money');
|
|
|
|
+ if (i.sell_money) i.sell_money = i.sell_money.toString() * 1;
|
|
delete i.specs;
|
|
delete i.specs;
|
|
}
|
|
}
|
|
return list;
|
|
return list;
|