...
|
...
|
@@ -219,15 +219,19 @@ const _getRelatedData = (idList) => { |
|
|
|
|
|
if (result && result.code === 200) {
|
|
|
|
|
|
|
|
|
_.forEach(result.data.product_list, function(data) {
|
|
|
|
|
|
productList.push({
|
|
|
name: data.product_name,
|
|
|
price: data.sales_price,
|
|
|
productId: data.product_id,
|
|
|
cnAlphabet: data.cn_alphabet,
|
|
|
productSkn: data.product_skn
|
|
|
});
|
|
|
if(data){
|
|
|
productList.push({
|
|
|
name: data.product_name,
|
|
|
price: data.sales_price,
|
|
|
productId: data.product_id,
|
|
|
cnAlphabet: data.cn_alphabet,
|
|
|
productSkn: data.product_skn
|
|
|
});
|
|
|
}
|
|
|
|
|
|
});
|
|
|
|
|
|
return productList;
|
...
|
...
|
|