Commit 33d07729 authored by 武广's avatar 武广

fix: 添加已选商品禁用功能

parent 7ba3bb2c
...@@ -193,6 +193,9 @@ const SaleDateModal = props => { ...@@ -193,6 +193,9 @@ const SaleDateModal = props => {
selectedRowKeys, selectedRowKeys,
onSelect: onSelectChange, onSelect: onSelectChange,
onSelectAll: onSelectAllChange, onSelectAll: onSelectAllChange,
getCheckboxProps: record => ({
disabled: !!record.selected,
}),
}; };
const onChangeSearchType = v => { const onChangeSearchType = v => {
setSearchType(v); setSearchType(v);
......
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