From cf6d0c5158c414fd32f8c198ec067a150c368c30 Mon Sep 17 00:00:00 2001 From: wangshiming Date: Mon, 21 Feb 2022 17:00:23 +0800 Subject: [PATCH] fix bug --- .../receipts-audit.component.html | 158 +++++++++--------- .../receipts-audit.component.ts | 30 ++-- 2 files changed, 93 insertions(+), 95 deletions(-) diff --git a/src/app/routes/order-management/components/receipts-audit/receipts-audit.component.html b/src/app/routes/order-management/components/receipts-audit/receipts-audit.component.html index 412ccb1b..5f3e3b30 100644 --- a/src/app/routes/order-management/components/receipts-audit/receipts-audit.component.html +++ b/src/app/routes/order-management/components/receipts-audit/receipts-audit.component.html @@ -9,14 +9,21 @@ * Copyright (C) 2022 huzhenhong. All rights reserved. --> - - +
- +
@@ -25,10 +32,10 @@
- - + + - + +
- \ No newline at end of file + diff --git a/src/app/routes/order-management/components/receipts-audit/receipts-audit.component.ts b/src/app/routes/order-management/components/receipts-audit/receipts-audit.component.ts index cf8a24d4..b2caf424 100644 --- a/src/app/routes/order-management/components/receipts-audit/receipts-audit.component.ts +++ b/src/app/routes/order-management/components/receipts-audit/receipts-audit.component.ts @@ -329,33 +329,33 @@ export class OrderManagementReceiptsAuditComponent implements OnInit { { title: '操作', fixed: 'right', - width: '120px', + width: '136px', className: 'text-left', buttons: [ { - text: '通过', + text: '生成电子单据', + click: _record => this.generate(_record, 2), + iif: item => item.auditStatus == '1', + acl: { ability: ['ORDER-RECEIPTS-electronicBillingOne'] }, + }, + { + text: '通过    ', click: _record => this.sign(_record), iif: item => item.auditStatus == '1', acl: { ability: ['ORDER-RECEIPTS-billAuditPassBatch'] }, }, { - text: '生成电子单据', - click: _record => this.generate(_record, 2), - iif: item => item.auditStatus == '1', - acl: { ability: ['ORDER-RECEIPTS-generate'] }, - }, - { - text: '查看凭证', - click: _record => this.generate(_record, 3), - iif: item => item.auditStatus == '2', - acl: { ability: ['ORDER-RECEIPTS-view'] }, - }, - { - text: '修改', + text: '修改    ', click: _record => this.modification(_record), iif: item => item.auditStatus == '1' , acl: { ability: ['ORDER-RECEIPTS-updateBillExamine'] }, }, + { + text: '查看凭证 ', + click: _record => this.generate(_record, 3), + iif: item => item.auditStatus == '2', + acl: { ability: ['ORDER-RECEIPTS-view'] }, + }, ] } ];