|
@@ -1,5 +1,5 @@
|
|
import React, { useEffect, useState } from 'react';
|
|
import React, { useEffect, useState } from 'react';
|
|
-import { Col, Form, Input, message, Modal, Row, Select } from 'antd';
|
|
|
|
|
|
+import { Col, Form, Input, InputNumber, message, Modal, Row, Select } from 'antd';
|
|
import { queryInfraredCategory } from '@/services/Infrared/category';
|
|
import { queryInfraredCategory } from '@/services/Infrared/category';
|
|
import { createInfraredBrands, updateInfraredBrands } from '@/services/Infrared/brand';
|
|
import { createInfraredBrands, updateInfraredBrands } from '@/services/Infrared/brand';
|
|
|
|
|
|
@@ -117,6 +117,17 @@ const Edit: React.FC<userEditPros> = (props) => {
|
|
</Select>
|
|
</Select>
|
|
</Form.Item>
|
|
</Form.Item>
|
|
</Col>
|
|
</Col>
|
|
|
|
+ <Col span={24}>
|
|
|
|
+ <Form.Item
|
|
|
|
+ {...formItemLayout}
|
|
|
|
+ name="code"
|
|
|
|
+ label="品牌序号"
|
|
|
|
+ rules={[{ required: true, message: '请输入品牌序号' }]}
|
|
|
|
+ initialValue={detailData?.code || ''}
|
|
|
|
+ >
|
|
|
|
+ <InputNumber placeholder="请输入品牌序号" min={0} style={{ width: '100%' }} />
|
|
|
|
+ </Form.Item>
|
|
|
|
+ </Col>
|
|
</Row>
|
|
</Row>
|
|
</Form>
|
|
</Form>
|
|
</Modal>
|
|
</Modal>
|