fix bug
This commit is contained in:
@ -249,9 +249,9 @@ export class TaxManagementIndividualCollectComponent extends BasicTableComponent
|
|||||||
if (this.selectedRows.length === 0) {
|
if (this.selectedRows.length === 0) {
|
||||||
params ={}
|
params ={}
|
||||||
} else{
|
} else{
|
||||||
params = [];
|
params ={ ids: []}
|
||||||
this.selectedRows.forEach(item => {
|
this.selectedRows.forEach(item => {
|
||||||
params.push(item.billId);
|
params.ids.push(item.id);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
this.service.request(this.service.$api_get_updateData,params).subscribe((res: any) => {
|
this.service.request(this.service.$api_get_updateData,params).subscribe((res: any) => {
|
||||||
|
|||||||
@ -385,9 +385,9 @@ export class TaxManagementIndividualDeclareComponent extends BasicTableComponent
|
|||||||
if (this.selectedRows.length === 0) {
|
if (this.selectedRows.length === 0) {
|
||||||
params ={}
|
params ={}
|
||||||
} else{
|
} else{
|
||||||
params = [];
|
params ={ ids: []}
|
||||||
this.selectedRows.forEach(item => {
|
this.selectedRows.forEach(item => {
|
||||||
params.push(item.billId);
|
params.ids.push(item.id);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
this.service.request(this.service.$api_get_taxDeclaration_updateAll, params).subscribe((res: any) => {
|
this.service.request(this.service.$api_get_taxDeclaration_updateAll, params).subscribe((res: any) => {
|
||||||
|
|||||||
@ -330,9 +330,9 @@ export class TaxManagementIndividualIncomeComponent extends BasicTableComponent
|
|||||||
if (this.selectedRows.length === 0) {
|
if (this.selectedRows.length === 0) {
|
||||||
params ={}
|
params ={}
|
||||||
} else{
|
} else{
|
||||||
params = [];
|
params ={ ids: []}
|
||||||
this.selectedRows.forEach(item => {
|
this.selectedRows.forEach(item => {
|
||||||
params.push(item.billId);
|
params.ids.push(item.id);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
this.service.request(this.service.$api_update_individual_income_page, params).subscribe((res: any) => {
|
this.service.request(this.service.$api_update_individual_income_page, params).subscribe((res: any) => {
|
||||||
|
|||||||
@ -285,13 +285,13 @@ export class TaxManagementOrderReportingComponent extends BasicTableComponent im
|
|||||||
* @param record 记录实例
|
* @param record 记录实例
|
||||||
*/
|
*/
|
||||||
resetData() {
|
resetData() {
|
||||||
let params: any;
|
let params: any = {};
|
||||||
if (this.selectedRows.length === 0) {
|
if (this.selectedRows.length === 0) {
|
||||||
params ={}
|
params ={}
|
||||||
} else{
|
} else{
|
||||||
params = [];
|
params ={ ids: []}
|
||||||
this.selectedRows.forEach(item => {
|
this.selectedRows.forEach(item => {
|
||||||
params.push(item.billId);
|
params.ids.push(item.id);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user