From d6d1471490a0857a194622ed6222eaa057e32127 Mon Sep 17 00:00:00 2001 From: hurui <177768073@qq.com> Date: Fri, 22 Jul 2022 17:23:57 +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/oil-station-order/oil-station-order.component.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/app/admin/order/oil-station-order/oil-station-order.component.ts b/src/app/admin/order/oil-station-order/oil-station-order.component.ts index edf91ff..ffd02f7 100644 --- a/src/app/admin/order/oil-station-order/oil-station-order.component.ts +++ b/src/app/admin/order/oil-station-order/oil-station-order.component.ts @@ -133,6 +133,10 @@ export class OilStationOrderComponent implements OnInit { whereObject['createTimeS'] = whereObject['createTime'][0].getTime(); whereObject['createTimeE'] = whereObject['createTime'][1].getTime(); } + if (whereObject['payTime'] != null && whereObject['payTime'].length !== 0) { + whereObject['payTimeS'] = whereObject['payTime'][0].getTime(); + whereObject['payTimeE'] = whereObject['payTime'][1].getTime(); + } this.loading = false; if (reset) {