From b71d6c0877e0aa00d202cf7df910ff48b9563513 Mon Sep 17 00:00:00 2001 From: hurui <177768073@qq.com> Date: Mon, 20 Feb 2023 11:47:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../order-refund-list.component.ts | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) 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); }