diff --git a/src/app/pages/trade/order-oil-list/order-oil-list.component.html b/src/app/pages/trade/order-oil-list/order-oil-list.component.html index b776ff3..98f8289 100644 --- a/src/app/pages/trade/order-oil-list/order-oil-list.component.html +++ b/src/app/pages/trade/order-oil-list/order-oil-list.component.html @@ -228,7 +228,7 @@ diff --git a/src/app/pages/trade/order-oil-list/order-oil-list.component.ts b/src/app/pages/trade/order-oil-list/order-oil-list.component.ts index e4168fa..52810bf 100644 --- a/src/app/pages/trade/order-oil-list/order-oil-list.component.ts +++ b/src/app/pages/trade/order-oil-list/order-oil-list.component.ts @@ -146,7 +146,6 @@ export class OrderOilListComponent { refundForm: FormGroup; GAS_REFUND_BTN = new ButtonPipe().isButton("GAS_REFUND"); GAS_ORDER_PRINT_BTN = new ButtonPipe().isButton("GAS_ORDER_PRINT_BTN"); - constructor(private fb: NonNullableFormBuilder, private orderOilService : OrderOilService, private agentService : AgentService, @@ -156,6 +155,7 @@ export class OrderOilListComponent { private message: NzMessageService, private modal: NzModalService) { this.accountType = this.storage.get(DATA)['account']['objectType']; + console.log(this.GAS_REFUND_BTN); // 退款提示模态框 this.refundForm = this.fb.group({ diff --git a/src/app/pipes/common/date-minutes-diff.pipe.ts b/src/app/pipes/common/date-minutes-diff.pipe.ts index f3f4e84..e61d38a 100644 --- a/src/app/pipes/common/date-minutes-diff.pipe.ts +++ b/src/app/pipes/common/date-minutes-diff.pipe.ts @@ -11,6 +11,7 @@ export class DateMinutesDiffPipe implements PipeTransform { transform(newTime: number | Date, olbTime: number | Date): number { + console.log('123'); var diffTimeStamp = new Date().getTime() - new Date(olbTime).getTime(); return parseInt(String(diffTimeStamp / (1000 * 60))); }