lrf 2 سال پیش
والد
کامیت
ef07ce25dc
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      app/service/view/goods.js

+ 1 - 0
app/service/view/goods.js

@@ -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;