Ben Lin
2024-04-25 fa77d6fcb0b770edc33c65ee9b947c34af2c3bf9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
import { BasicColumn } from '/@/components/Table';
import { FormSchema } from '/@/components/Table';
 
export const columns: BasicColumn[] = [
  {
    title: '储区编码',
    resizable: true,
    sorter: true,
    dataIndex: 'REGION_CODE',
  },
  {
    title: '储区名称',
    resizable: true,
    sorter: true,
    dataIndex: 'REGION_NAME',
  },
  {
    title: '仓库编号',
    resizable: true,
    sorter: true,
    dataIndex: 'WH_CODE',
  },
  {
    title: '创建时间',
    resizable: true,
    sorter: true,
    dataIndex: 'CREATE_TIME',
    width: 180,
  },
  {
    title: '备注',
    resizable: true,
    sorter: true,
    dataIndex: 'REMARK',
  },
];
 
export const searchFormSchema: FormSchema[] = [
  {
    field: 'REGION_CODE',
    label: '储区编码',
    component: 'Input',
    colProps: { span: 8 },
  },
  {
    field: 'REGION_NAME',
    label: '储区名称',
    component: 'Input',
    colProps: { span: 8 },
  },
];
 
export const formSchema: FormSchema[] = [
  {
    field: 'REGION_CODE',
    label: '储区编码',
    required: true,
    component: 'Input',
    colProps: { span: 8 },
  },
  {
    field: 'ID',
    label: 'ID',
    component: 'Input',
    show: false,
  },
  {
    field: 'REGION_NAME',
    label: '储区名称',
    required: true,
    component: 'Input',
    colProps: { span: 8 },
  },
  {
    field: 'WAREHOUESE_CODE',
    label: '仓库编号',
    required: true,
    component: 'Input',
    colProps: { span: 8 },
  },
  {
    field: 'REMARK',
    label: '备注',
    // required: true,
    component: 'Input',
    colProps: { span: 24 },
  },
];