Commit c44a77b5 authored by 皮倩雯's avatar 皮倩雯

fix: '台账编辑设置列表显示为true时,可编辑列计算规则'

parent 06fb1ac1
Pipeline #82060 passed with stages
...@@ -193,7 +193,13 @@ const EditableCell = ({ ...@@ -193,7 +193,13 @@ const EditableCell = ({
} }
if (val === '列计算规则') { if (val === '列计算规则') {
return ( return (
<Select ref={inputRef} onPressEnter={save} onBlur={save} showSearch> <Select
ref={inputRef}
onPressEnter={save}
onBlur={save}
showSearch
disabled={!record.WebDisplay}
>
<Select.Option value="合计">合计</Select.Option> <Select.Option value="合计">合计</Select.Option>
<Select.Option value="平均">平均</Select.Option> <Select.Option value="平均">平均</Select.Option>
<Select.Option value="计数">计数</Select.Option> <Select.Option value="计数">计数</Select.Option>
......
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