|
@@ -45,7 +45,7 @@ export default class BaseInfoCard extends PureComponent {
|
|
|
{getFieldDecorator('code', {
|
|
|
rules: [{ required: true, type: 'string', message: '编号为必填写!' }],
|
|
|
initialValue: item.code,
|
|
|
- })(<Input />)}
|
|
|
+ })(<Input disabled={item.code ? true : false} />)}
|
|
|
</Form.Item>
|
|
|
<Form.Item label="厂商名称" hasFeedback {...formItemLayout}>
|
|
|
{getFieldDecorator('name', {
|