Commit 0eea334f by fanyj

tijiao

parent 4c9a96c6
...@@ -23,7 +23,7 @@ const CodeInput = ({ value = '', onChange, restrict = false, action }) => { ...@@ -23,7 +23,7 @@ const CodeInput = ({ value = '', onChange, restrict = false, action }) => {
} }
return <Input return <Input
placeholder="请输入编号(只允许输入大写英文字母,并且最多3个)" placeholder="请输入编号"
//disabled={action!=='add'} //disabled={action!=='add'}
maxLength={restrict?3:null} maxLength={restrict?3:null}
value={value} value={value}
...@@ -267,7 +267,7 @@ const UpdateDirectoryModal = (props) => { ...@@ -267,7 +267,7 @@ const UpdateDirectoryModal = (props) => {
style={{ marginBottom }} style={{ marginBottom }}
> >
{ {
(action==='detail') ? <span>{dir?.code}</span> : <CodeInput restrict={codeRestrict} action={action} /> (action==='detail') ? <span>{dir?.code}</span> : <CodeInput restrict={false} action={action} />
} }
</Form.Item> </Form.Item>
{/* { {/* {
......
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