-
This commit is contained in:
@ -410,6 +410,7 @@ export class DatatableFundReportingComponent implements OnInit {
|
|||||||
const ids = this.selectedRows.map(i => i?.id);
|
const ids = this.selectedRows.map(i => i?.id);
|
||||||
this.service.request(this.service.$api_update_fund_data, ids).subscribe(res => {
|
this.service.request(this.service.$api_update_fund_data, ids).subscribe(res => {
|
||||||
if (res) {
|
if (res) {
|
||||||
|
this.service.msgSrv.success('更新成功');
|
||||||
this.selectedRows = [];
|
this.selectedRows = [];
|
||||||
this.st.reload();
|
this.st.reload();
|
||||||
|
|
||||||
|
|||||||
@ -559,9 +559,9 @@ export class DatatableOrderReportingComponent implements OnInit {
|
|||||||
const ids = this.selectedRows.map(i => i?.id);
|
const ids = this.selectedRows.map(i => i?.id);
|
||||||
this.service.request(this.service.$api_update_order_data, ids).subscribe(res => {
|
this.service.request(this.service.$api_update_order_data, ids).subscribe(res => {
|
||||||
if (res) {
|
if (res) {
|
||||||
|
this.service.msgSrv.success('更新成功');
|
||||||
this.selectedRows = [];
|
this.selectedRows = [];
|
||||||
this.st.reload();
|
this.st.reload();
|
||||||
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user