提交代码

pull/1/head
胡锐 2 years ago
parent b49bd53346
commit 14c2ea96c0
  1. 14
      src/app/services/order/order-manage.service.ts

@ -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);
}); });
} }

Loading…
Cancel
Save