批量审核
This commit is contained in:
@ -68,6 +68,10 @@ export class OrderManagementRiskComponent implements OnInit {
|
||||
},
|
||||
};
|
||||
}
|
||||
search() {
|
||||
this.st?.load(1);
|
||||
this.getGoodsSourceStatistical()
|
||||
}
|
||||
get selectedRows() {
|
||||
return this.st?.list.filter(item => item.checked) || [];
|
||||
}
|
||||
@ -420,9 +424,8 @@ export class OrderManagementRiskComponent implements OnInit {
|
||||
if (res) {
|
||||
this.service.msgSrv.success('审核通过成功!');
|
||||
this.isVisibleRE = false;
|
||||
this.st.reload()
|
||||
} else {
|
||||
this.service.msgSrv.error(res?.msg);
|
||||
this.st?.load(1);
|
||||
this.getGoodsSourceStatistical()
|
||||
}
|
||||
});
|
||||
}
|
||||
@ -447,9 +450,8 @@ export class OrderManagementRiskComponent implements OnInit {
|
||||
if (res) {
|
||||
this.service.msgSrv.success('审核拒绝成功!');
|
||||
this.isVisibleRE = false;
|
||||
this.st.reload()
|
||||
} else {
|
||||
this.service.msgSrv.error(res?.msg);
|
||||
this.st?.load(1);
|
||||
this.getGoodsSourceStatistical()
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user