...
|
...
|
@@ -57,10 +57,9 @@ function getGoodsData(goods) { |
|
|
let arr = [];
|
|
|
|
|
|
goods.forEach(good => {
|
|
|
let cnAlphabet = good.cn_alphabet || '';
|
|
|
|
|
|
arr.push({
|
|
|
href: getProductUrlBySkc(good.product_skn, good.goods_id, cnAlphabet),
|
|
|
href: getProductUrlBySkc(good.product_skn),
|
|
|
thumb: helpers.image(good.goods_image, 60, 60),
|
|
|
name: good.product_name,
|
|
|
color: good.color_name,
|
...
|
...
|
@@ -180,9 +179,8 @@ const getOrderRefund = (orderCode, uid) => { |
|
|
|
|
|
|
|
|
_.forEach(_.get(result, 'data.goods_list', []), value => {
|
|
|
let cnAlphabet = value.cn_alphabet || 'cnalphabet';
|
|
|
let item = {
|
|
|
href: getProductUrlBySkc(value.product_skn, value.goods_id, cnAlphabet),
|
|
|
href: getProductUrlBySkc(value.product_skn),
|
|
|
thumb: helpers.image(value.goods_image, 60, 60),
|
|
|
name: value.product_name,
|
|
|
color: value.factory_color_name,
|
...
|
...
|
|