fix bug
This commit is contained in:
@ -63,7 +63,7 @@
|
||||
</div>
|
||||
<button nz-button nzType="primary" (click)="upload()">上传</button>
|
||||
<button nz-button nzType="primary" (click)="recall()">撤回</button>
|
||||
<button nz-button nzType="primary" (click)="uploadSetting()">更新数据</button>
|
||||
<button nz-button nzType="primary" (click)="resetData()">更新数据</button>
|
||||
<button nz-button nzType="primary" (click)="uploadSetting()">税务设置</button>
|
||||
</div>
|
||||
</ng-template>
|
||||
|
||||
@ -313,6 +313,22 @@ export class TaxManagementOrderReportingComponent implements OnInit {
|
||||
});
|
||||
|
||||
}
|
||||
/**
|
||||
*撤销
|
||||
* @param record 记录实例
|
||||
*/
|
||||
resetData() {
|
||||
if (this.selectedRows.length === 0) {
|
||||
this.openWainingModal('请选择需要更新的数据!');
|
||||
return;
|
||||
}
|
||||
this.service.request(this.service.$api_recall_reporting, { rows: this.selectedRows }).subscribe((res: any) => {
|
||||
if (res) {
|
||||
this.service.msgSrv.success('更新成功');
|
||||
this.search();
|
||||
}
|
||||
})
|
||||
}
|
||||
/**
|
||||
*撤销
|
||||
* @param record 记录实例
|
||||
|
||||
Reference in New Issue
Block a user