|
|
@ -33,7 +33,19 @@ export class OrderManageService { |
|
|
|
* @param callBack 回调 |
|
|
|
* @param callBack 回调 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public refundOrder(orderNo: string, remarks: string, callBack) { |
|
|
|
public refundOrder(orderNo: string, remarks: string, callBack) { |
|
|
|
this.http.post(environment.orderUrl + 'refundOrder', { orderNo: orderNo, remarks: remarks}).subscribe(data => { |
|
|
|
this.http.post(environment.orderUrl + 'refund', { orderNo: orderNo, remarks: remarks}).subscribe(data => { |
|
|
|
|
|
|
|
callBack(data); |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* 子订单商品退款 |
|
|
|
|
|
|
|
* |
|
|
|
|
|
|
|
* @param paramsObject 参数 |
|
|
|
|
|
|
|
* @param callBack 回调 |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
public refundChild(childOrderNo: string, refundGoodsNum: number, remarks: string, callBack) { |
|
|
|
|
|
|
|
this.http.post(environment.orderUrl + 'refundChild', { orderNo: childOrderNo, refundGoodsNum: refundGoodsNum, remarks: remarks}).subscribe(data => { |
|
|
|
callBack(data); |
|
|
|
callBack(data); |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|