Authored by htoooth

add refund and exchange

... ... @@ -393,8 +393,17 @@ const getOrders = (uid, page, limit, type, isPage)=> {
// 操作
let op = _.get(order, 'links', []);
// 新增加一些操作
op.unshift('showDetail');
if (_.get(order, 'is_support_exchange', 'N') === 'Y') {
op.push('exchange');
}
if (_.get(order, 'is_support_refund', 'N') === 'Y') {
op.push('refund');
}
if (order.attribute === 9) {
op = ['deposit'];
}
... ...