Ben Lin
2025-03-11 2beada4c5b6d529b985c680a4672fa7e9a0587df
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
import { BasicColumn } from '/@/components/Table';
import { FormSchema } from '/@/components/Table';
//列表显示
export const columns: BasicColumn[] = [
  {
    title: '供应商名称',
    dataIndex: 'SUPP_NAME_CN',
  },
  {
    title: '供应商代码',
    dataIndex: 'SUPP_CODE',
    width: 100,
  },
  {
    title: '创建时间',
    dataIndex: 'CREATE_TIME',
  },
  {
    title: '创建人',
    dataIndex: 'CREATE_USER',
    width: 180,
  }
];
//模糊查询
export const searchFormSchema: FormSchema[] = [
  {
    field: 'SUPP_CODE',
    label: '供应商代码',
    component: 'Input',
    colProps: { span: 8 },
  },
  {
    field: 'SUPP_NAME_CN',
    label: '供应商名称',
    component: 'Input',
    colProps: { span: 8 },
  },
];
//新增组件
export const formSchema: FormSchema[] = [
  {
    field: 'SUPP_CODE',
    label: '供应商代码',
    required: true,
    component: 'Input',
    colProps: { span: 8 },
  },
  {
    field: 'ID',
    label: 'ID',
    component: 'Input',
    show: false,
  },
  {
    field: 'CREATE_TIME',
    label: '创建时间',
    component: 'Input',
    show: false,
  },
  {
    field: 'SUPP_NAME_CN',
    label: '供应商名称',
    required: true,
    component: 'Input',
    colProps: { span: 8 },
  }
];