YangYuGang
2025-03-08 8cae1dcd8d2bde01880ac4b70bdda4e61df3c7ef
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';
import { optionsListApi,optionsListApiType } from '/@/api/tigerapi/mes/smt/feeder';
import { h,unref } from 'vue';
import { Tag ,Tooltip} from 'ant-design-vue';
import{ useLocale } from '/@/locales/useLocale';
 
const { getLocale }=useLocale();
 
export const columns: BasicColumn[] = [
  {
    title: '飞达类型编码',
    dataIndex: 'TYPE_CODE',
    width:200,
    sorter: true,
    resizable:true
  },
  {
    title: '飞达类型名称',
    dataIndex: 'TYPE_NAME',
    width: 100,
    sorter: true,
    resizable:true
  }
  ,
  {
    title: '备注',
    dataIndex: 'REMARK',
    width:100,
    sorter: true,
    resizable:true
  }
  ,
  {
    title: '创建人',
    dataIndex: 'CREATE_USER',
    width:100,
    sorter: true,
    resizable:true
  },
  {
    title: '创建时间',
    dataIndex: 'CREATE_TIME',
    width:100,
    sorter: true,
    resizable:true
  }
];
 
export const searchFormSchema: FormSchema[] = [
  {
    field: 'FEEDER_CODE',
    label: '飞达编码',
    component: 'Input',
    colProps: { span: 8 },
  }
];
 
//新增组件export const
export const formSchema: FormSchema[] = [
  {
    field: 'ID',
    label: 'ID',
    component: 'Input',
    show: false,
  },
  {
    label: '飞达类型编码',
    field: 'TYPE_CODE',
    required: true,
    colProps: { span: 24 },
    component: 'Input',
  },
  {
    label: '飞达类型名称',
    field: 'TYPE_NAME',
    required: true,
    colProps: { span: 24 },
    component: 'Input',
  },
  {
    label: '备注',
    field: 'REMARK',
    required: true,
    colProps: { span: 24},
    component: 'Input',
  }
];