From 792598efd4885f0647efffc22082212b70161f84 Mon Sep 17 00:00:00 2001 From: wangshiming Date: Fri, 15 Apr 2022 15:56:00 +0800 Subject: [PATCH] fix bug --- .../individual-collect/individual-collect.component.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/app/routes/tax-management/components/individual-collect/individual-collect.component.ts b/src/app/routes/tax-management/components/individual-collect/individual-collect.component.ts index 8876c702..a22ef126 100644 --- a/src/app/routes/tax-management/components/individual-collect/individual-collect.component.ts +++ b/src/app/routes/tax-management/components/individual-collect/individual-collect.component.ts @@ -298,6 +298,10 @@ export class TaxManagementIndividualCollectComponent implements OnInit { * @param params 更新数据 */ uploadSetting() { + if (this.selectedRows.length === 0) { + this.service.msgSrv.warning('请选择需要更新的数据'); + return; + } // this.service.request(this.service.$api_recall_reporting, { rows: this.selectedRows }).subscribe((res: any) => { // if (res) { // this.service.msgSrv.success('更新成功');