From 384a55a1e24be145a7fa469d26ce38cb111edf0d Mon Sep 17 00:00:00 2001 From: weiyu Date: Thu, 28 Apr 2022 16:09:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../invoice-reporting.component.html | 7 ++-- .../invoice-reporting.component.ts | 37 +------------------ 2 files changed, 6 insertions(+), 38 deletions(-) diff --git a/src/app/routes/tax-management/components/invoice-reporting/invoice-reporting.component.html b/src/app/routes/tax-management/components/invoice-reporting/invoice-reporting.component.html index 010dee32..6784c8fd 100644 --- a/src/app/routes/tax-management/components/invoice-reporting/invoice-reporting.component.html +++ b/src/app/routes/tax-management/components/invoice-reporting/invoice-reporting.component.html @@ -9,7 +9,7 @@
- +
- + diff --git a/src/app/routes/tax-management/components/invoice-reporting/invoice-reporting.component.ts b/src/app/routes/tax-management/components/invoice-reporting/invoice-reporting.component.ts index 9ec54f1a..4bf92d71 100644 --- a/src/app/routes/tax-management/components/invoice-reporting/invoice-reporting.component.ts +++ b/src/app/routes/tax-management/components/invoice-reporting/invoice-reporting.component.ts @@ -281,26 +281,7 @@ export class TaxManagementInvoiceReportingComponent implements OnInit { }); } - /** - *撤销 - * @param record 记录实例 - */ - resetData() { - if (this.selectedRows.length === 0) { - this.openWainingModal('请选择需要更新的数据!'); - return; - } - let params: any[] = []; - this.selectedRows.forEach(item => { - params.push(item.billId); - }); - this.service.request(this.service.$api_get_renewalOrderById, params).subscribe((res: any) => { - if (res) { - this.service.msgSrv.success('更新成功'); - this.st.load(1); - } - }) - } + /** *撤销 * @param record 记录实例 @@ -333,28 +314,13 @@ export class TaxManagementInvoiceReportingComponent implements OnInit { } selectChange(item: any) { - console.log(item); - this.selectedIndex = item?.value || ''; - console.log(this.selectedIndex); setTimeout(() => { this.st.load(); }) } - /** - * 查看当行数据 - */ - view(record: STData) { - // this.router.navigate(['../view', record.uuid], { relativeTo: this.ar }); - this.router.navigate(['../detail'], { - queryParams: { - id: record.id, - }, - relativeTo: this.ar - }); - } /** * 上传 @@ -368,6 +334,7 @@ export class TaxManagementInvoiceReportingComponent implements OnInit { this.selectedRows.forEach(item => { params.push(item.id); }); + return; //TODO 接口未提供 this.service.request(this.service.$api_get_uploadingTaxOrder, params).subscribe((res: any) => { if (res) { this.service.msgSrv.success('上传成功');