time none8.3

This commit is contained in:
2020-08-03 20:59:24 +08:00
parent f63594706f
commit 0a52842e35
10 changed files with 116 additions and 95 deletions

View File

@@ -257,6 +257,15 @@ export default {
if(msg) Object.assign(params, {msg: msg});
return vm.$u.post('Order/buyer_cancel', params);
},
// add_refund
refundOrder({ order_id, goods_id, refund_amount, refund_type = 1 } = {}) {
return vm.$u.post('order/add_refund', {
order_id: order_id,
goods_id: goods_id,
refund_amount: refund_amount,
refund_type: refund_type,
});
},
// 删除订单
deleteOrder({ order_id }) {
return vm.$u.post('order/order_delete', { order_id: order_id });