Commit 35a5d377 authored by Bill's avatar Bill

fix: 修改待新增生产通知单状态为不接受时不能批量提交

parent 01297b31
......@@ -57,7 +57,14 @@ const SERVICES = {
const Query: React.FC<{}> = (props) => {
const ref = useRef<any>({});
const pathname = history.location.pathname
const [selectRow, selectRowFns] = useRowSelectionTable({ customKey: 'id' });
const [selectRow, selectRowFns] = useRowSelectionTable({
customKey: 'id',
extendsSelection: {
getCheckboxProps: (record: any) => ({
disabled: record.outerStatus === 0
}),
}
});
const [submitLoadingID, setSubmitLoadingID] = useState<number | null>(null)
const [batchLoading, setBatchLoading] = useState<boolean>(false);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment