|
@ -201,7 +201,7 @@ const InForTable = (props) => { |
|
|
}, |
|
|
}, |
|
|
fieldProps: { |
|
|
fieldProps: { |
|
|
onChange: (value, cs) => { |
|
|
onChange: (value, cs) => { |
|
|
console.log(cs) |
|
|
// console.log(cs)
|
|
|
setTestTime(cs) |
|
|
setTestTime(cs) |
|
|
}, |
|
|
}, |
|
|
getPopupContainer: (triggerNode) => triggerNode.parentNode, |
|
|
getPopupContainer: (triggerNode) => triggerNode.parentNode, |
|
@ -423,7 +423,7 @@ const InForTable = (props) => { |
|
|
setTestTime('') |
|
|
setTestTime('') |
|
|
}} |
|
|
}} |
|
|
request={async (params) => { |
|
|
request={async (params) => { |
|
|
console.log(params) |
|
|
// console.log(params)
|
|
|
const query = { |
|
|
const query = { |
|
|
limit: params.pageSize, |
|
|
limit: params.pageSize, |
|
|
page: params.current - 1, |
|
|
page: params.current - 1, |
|
@ -436,7 +436,7 @@ const InForTable = (props) => { |
|
|
} |
|
|
} |
|
|
setRowSelected([]); |
|
|
setRowSelected([]); |
|
|
const res = await dispatch(getPurchase(query)); |
|
|
const res = await dispatch(getPurchase(query)); |
|
|
console.log(res) |
|
|
// console.log(res)
|
|
|
setCounts(res.payload.data.rows) |
|
|
setCounts(res.payload.data.rows) |
|
|
return { |
|
|
return { |
|
|
...res, |
|
|
...res, |
|
@ -448,7 +448,7 @@ const InForTable = (props) => { |
|
|
optionRender: (searchConfig, formProps, dom) => [ |
|
|
optionRender: (searchConfig, formProps, dom) => [ |
|
|
...dom.reverse(), |
|
|
...dom.reverse(), |
|
|
<Popconfirm title="确认导出?" onConfirm={() => { |
|
|
<Popconfirm title="确认导出?" onConfirm={() => { |
|
|
console.log(rowSelected) |
|
|
// console.log(rowSelected)
|
|
|
|
|
|
|
|
|
props.exports(rowSelected, counts) }}> |
|
|
props.exports(rowSelected, counts) }}> |
|
|
<Button |
|
|
<Button |
|
|