diff --git a/src/app/routes/datatable/reporting/components/order-reporting/order-reporting.component.ts b/src/app/routes/datatable/reporting/components/order-reporting/order-reporting.component.ts index e035bd05..af13dbb0 100644 --- a/src/app/routes/datatable/reporting/components/order-reporting/order-reporting.component.ts +++ b/src/app/routes/datatable/reporting/components/order-reporting/order-reporting.component.ts @@ -556,7 +556,7 @@ export class DatatableOrderReportingComponent implements OnInit { this.openWainingModal('请选择需要更新的数据'); return; } - const ids = this.selectedRows.map(i => i?.id); + const ids = this.selectedRows.map(i => i?.orderId); this.service.request(this.service.$api_update_order_data, ids).subscribe(res => { if (res) { this.service.msgSrv.success('更新成功');