Commit 0e37f7ac6486cc275a6e705a688392de33595ecc

Authored by 莫红玲
1 parent 82ac825a

配置管理新增车型分类名称

src/pages/oop/Car/components/CarList.tsx
... ... @@ -21,6 +21,11 @@ export default function CarList() {
21 21 align: "center",
22 22 },
23 23 {
  24 + title: '车型分类名称',
  25 + dataIndex: 'classifyName',
  26 + align: "center",
  27 + },
  28 + {
24 29 title: '配置名称',
25 30 dataIndex: 'name',
26 31 width: "13%",
... ...
src/pages/oop/Car/components/CarModal.tsx
... ... @@ -431,6 +431,7 @@ export default function CarModal() {
431 431 ))}
432 432 </Select>
433 433 </FormItem>
  434 +
434 435 <FormItem
435 436 style={{ width: 400 }}
436 437 name="specCode"
... ... @@ -501,6 +502,14 @@ export default function CarModal() {
501 502 <Input.TextArea autoSize allowClear />
502 503 </FormItem>
503 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 513 style={{ width: 400 }}
505 514 name="energyType"
506 515 label="能源类型"
... ...