...
|
...
|
@@ -231,6 +231,18 @@ function changeOrderStatus(orderItem) { |
|
|
}),
|
|
|
});
|
|
|
break;
|
|
|
case 'modifyAddress':// 修改收货地址
|
|
|
orderBtn.push({
|
|
|
modifyAddress: true,
|
|
|
link: helpers.urlFormat('/home/orders/addressModify', {
|
|
|
relation: orderItem.relate_order_code === 'Y', // 判断是否有关联订单
|
|
|
orderCode: orderItem.order_code,
|
|
|
areaCode: _.get(orderItem, 'delivery_address.area_code', ''),
|
|
|
provinceAreaCode: orderItem.is_support_change_province !== 'Y' &&
|
|
|
_.get(orderItem, 'delivery_address.province_area_code', '') || ''// 如果不允许修改省
|
|
|
})
|
|
|
});
|
|
|
break;
|
|
|
case 'closeOrder': // 取消订单
|
|
|
orderBtn.push({
|
|
|
closeOrder: true
|
...
|
...
|
|