Authored by htoooth

fix

... ... @@ -136,7 +136,7 @@
</p>
</a>
{{#if_cond is_limit_skn '===' 'Y'}}
{{#if_cond tags.lenght '!=' 0}}
<div class="special-tip">
{{#each tags}}
{{#if_cond this '===' 'LRE'}}
... ...
... ... @@ -225,21 +225,6 @@ const getOrderRefund = (orderCode, uid) => {
remark2: remarks[1] || ''
};
_.get(value, 'tags', []).forEach((val) => {
switch (val) {
case 'LRD':
item.specialNoticeBo.limit7Day = true;
break;
case 'L15ED':
item.specialNoticeBo.limit15Day = true;
break;
default:
break;
}
});
item.specialNoticeBo.limit7Day = true;
// tar note 对数组做处理,为不显示的添加 inactive
if (_.get(result, 'data.special_return_reason')) {
let spReason = _.get(result, 'data.special_return_reason');
... ... @@ -252,6 +237,19 @@ const getOrderRefund = (orderCode, uid) => {
}
}
_.get(value, 'tags', []).forEach((val) => {
switch (val) {
case 'LRE':
_.set(item, 'specialNoticeBo.limit7Day', true);
break;
case 'L15ED':
_.set(item, 'specialNoticeBo.limit15Day', true);
break;
default:
break;
}
});
goods.push(item);
// 商品中有鞋类,传给前端标识
... ... @@ -576,19 +574,6 @@ const getOrderExchange = (orderCode, uid) => {
remark2: remarks[1] || ''
};
_.get(value, 'tags', []).forEach((val) => {
switch (val) {
case 'LRD':
item.specialNoticeBo.limit7Day = true;
break;
case 'L15ED':
item.specialNoticeBo.limit15Day = true;
break;
default:
break;
}
});
let spReason = _.get(result, 'data.special_exchange_reason', []);
// tar note 对数组做处理,为不显示的添加 inactive
... ... @@ -601,6 +586,19 @@ const getOrderExchange = (orderCode, uid) => {
}
}
_.get(value, 'tags', []).forEach((val) => {
switch (val) {
case 'LRE':
_.set(item, 'specialNoticeBo.limit7Day', true);
break;
case 'L15ED':
_.set(item, 'specialNoticeBo.limit15Day', true);
break;
default:
break;
}
});
goods.push(item);
// 商品中有鞋类,传给前端标识
... ...