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)