Ben Lin
2024-06-23 f1d47feeee1ddb5751847b71f789f2c3b822ec32
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
89
90
91
92
import { BasicColumn } from '/@/components/Table';
import { FormSchema } from '/@/components/Table';
import { h } from 'vue';
import { Tag } from 'ant-design-vue';
//列表显示
export const columns: BasicColumn[] = [
  {
    title: '条码',
    dataIndex: 'SN',
    width: 180,
  },
  {
    title: '父包装条码',
    dataIndex: 'PARENT_SN',
  },
  {
    title: '物料编码',
    dataIndex: 'ITEM_CODE',
  },
  {
    title: '数量',
    dataIndex: 'QTY',
  },
  {
    title: '单据号码',
    dataIndex: 'TRANS_NO',
  },
  {
    title: '单据行号',
    dataIndex: 'TRANS_LINE',
  },
  {
    title: '仓库代码',
    dataIndex: 'WH_CODE',
  },
  {
    title: '储区/代码',
    dataIndex: 'REGION_CODE',
  },
  {
    title: '货架/料车编码',
    dataIndex: 'SHELF_CODE',
  },
  {
    title: '储位代码',
    dataIndex: 'LOCATION_CODE',
  },
  {
    title: 'ERP库位代码',
    dataIndex: 'ERP_WH',
  },
];
//模糊查询
export const searchFormSchema: FormSchema[] = [
  {
    field: 'SN',
    label: '条码',
    component: 'Input',
    colProps: { span: 8 },
  },
  {
    field: 'PARENT_SN',
    label: '父包装条码',
    component: 'Input',
    colProps: { span: 8 },
  },
  {
    field: 'ITEM_CODE',
    label: '物料编码',
    component: 'Input',
    colProps: { span: 8 },
  },
  {
    field: 'TRANS_NO',
    label: '单据号码',
    component: 'Input',
    colProps: { span: 8 },
  },
  {
    field: 'WH_CODE',
    label: '仓库代码',
    component: 'Input',
    colProps: { span: 8 },
  },
  {
    field: 'REGION_CODE',
    label: '储区/代码',
    component: 'Input',
    // defaultValue:'01',
    colProps: { span: 8 },
  },
];