diff --git a/src/app/admin/order-manage/order-refund-list/order-refund-list.component.ts b/src/app/admin/order-manage/order-refund-list/order-refund-list.component.ts index 8636c79..f3bc154 100644 --- a/src/app/admin/order-manage/order-refund-list/order-refund-list.component.ts +++ b/src/app/admin/order-manage/order-refund-list/order-refund-list.component.ts @@ -106,21 +106,14 @@ export class OrderRefundListComponent implements OnInit { whereObject['createTimeE'] = null; } - if (whereObject['payTime'] != null) { - whereObject['payTimeS'] = whereObject['payTime'][0].getTime(); - whereObject['payTimeE'] = whereObject['payTime'][1].getTime(); + if (whereObject['refundTime'] != null) { + whereObject['refundTimeS'] = whereObject['refundTime'][0].getTime(); + whereObject['refundTimeE'] = whereObject['refundTime'][1].getTime(); } else { - whereObject['payTimeS'] = null; - whereObject['payTimeE'] = null; + whereObject['refundTimeS'] = null; + whereObject['refundTimeE'] = null; } - if (whereObject['finishTime'] != null) { - whereObject['finishTimeS'] = whereObject['finishTime'][0].getTime(); - whereObject['finishTimeE'] = whereObject['finishTime'][1].getTime(); - } else { - whereObject['finishTimeS'] = null; - whereObject['finishTimeE'] = null; - } this.whereObject = whereObject; this.requestData(1); }