Commit 0e37f7ac6486cc275a6e705a688392de33595ecc
1 parent
82ac825a
配置管理新增车型分类名称
Showing
2 changed files
with
14 additions
and
0 deletions
src/pages/oop/Car/components/CarList.tsx
@@ -21,6 +21,11 @@ export default function CarList() { | @@ -21,6 +21,11 @@ export default function CarList() { | ||
21 | align: "center", | 21 | align: "center", |
22 | }, | 22 | }, |
23 | { | 23 | { |
24 | + title: '车型分类名称', | ||
25 | + dataIndex: 'classifyName', | ||
26 | + align: "center", | ||
27 | + }, | ||
28 | + { | ||
24 | title: '配置名称', | 29 | title: '配置名称', |
25 | dataIndex: 'name', | 30 | dataIndex: 'name', |
26 | width: "13%", | 31 | width: "13%", |
src/pages/oop/Car/components/CarModal.tsx
@@ -431,6 +431,7 @@ export default function CarModal() { | @@ -431,6 +431,7 @@ export default function CarModal() { | ||
431 | ))} | 431 | ))} |
432 | </Select> | 432 | </Select> |
433 | </FormItem> | 433 | </FormItem> |
434 | + | ||
434 | <FormItem | 435 | <FormItem |
435 | style={{ width: 400 }} | 436 | style={{ width: 400 }} |
436 | name="specCode" | 437 | name="specCode" |
@@ -501,6 +502,14 @@ export default function CarModal() { | @@ -501,6 +502,14 @@ export default function CarModal() { | ||
501 | <Input.TextArea autoSize allowClear /> | 502 | <Input.TextArea autoSize allowClear /> |
502 | </FormItem> | 503 | </FormItem> |
503 | <FormItem | 504 | <FormItem |
505 | + name="classifyName" | ||
506 | + label="车型分类名称" | ||
507 | + style={{ width: 400 }} | ||
508 | + rules={[{ required: true, message: "该选项为必填项" }]} | ||
509 | + > | ||
510 | + <Input placeholder="请输入" allowClear /> | ||
511 | + </FormItem> | ||
512 | + <FormItem | ||
504 | style={{ width: 400 }} | 513 | style={{ width: 400 }} |
505 | name="energyType" | 514 | name="energyType" |
506 | label="能源类型" | 515 | label="能源类型" |