From 55cc5bd9281d3a676cae2034ef0ea6195927df42 Mon Sep 17 00:00:00 2001 From: zhangds Date: Fri, 26 Apr 2024 15:56:46 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=A2=9E=E5=8A=A0=E9=80=89=E6=8B=A9?= =?UTF-8?q?=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/order/settlementList/list.jsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/pages/order/settlementList/list.jsx b/src/pages/order/settlementList/list.jsx index 0360ed82..2343df80 100644 --- a/src/pages/order/settlementList/list.jsx +++ b/src/pages/order/settlementList/list.jsx @@ -291,7 +291,10 @@ export default class settlementList extends React.Component { let params = {} // 如果是选择 if (this.state.selectionData.length > 0) { + let { combinedValue } = this.state params.ids = this.state.selectionData.map((item) => item.id) + params.begin_time = combinedValue[0] + params.end_time = combinedValue[1] } else { let { page, limit, search, combinedValue } = this.state let { key, key_batch_id, plan_id, reseller_id, type, settlement_no } = search @@ -318,7 +321,7 @@ export default class settlementList extends React.Component { let res = await createExportTask(params) if (res.code === 200) { - Notify.success("创建导出任务成功!"); + Notify.success("创建导出任务成功!") this.props.history.push("/home/bm-download-orderlist") } else { Notify.error(res.message)