Ben Lin
2025-03-18 f3122a551bf69f6aed1467a6acc24805e6b469eb
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
import { BasicColumn } from '/@/components/Table';
import { FormSchema } from '/@/components/Table';
import { optionsListApi } from '/@/api/tigerapi/wms/wms_item';
import { h } from 'vue';
import { Tag } from 'ant-design-vue';
 
export const columns: BasicColumn[] = [
  {
    title: '批次号',
    dataIndex: 'SUPP_LOTNO',
    width:120,
    sorter: true,
    resizable:true
  },
  {
    title: '仓库',
    dataIndex: 'WH_CODE',
    width:100,
    sorter: true,
    resizable:true
  },
  {
    title: '储位',
    dataIndex: 'LOCATION_CODE',
    width:100,
    sorter: true,
    resizable:true
  },
  {
    title: '物料代码',
    dataIndex: 'ITEM_CODE',
    width: 200,
    sorter: true,
    resizable:true
  },
  {
    title: '物料名称',
    dataIndex: 'ITEM_NAME',
    width: 300,
    sorter: true,
    resizable:true
  },
  {
    title: '数量',
    dataIndex: 'ZK_QTY',
    width:100,
    sorter: true,
    resizable:true
  }
  ,
  {
    title: '单位',
    dataIndex: 'UNIT',
    width:100,
    resizable:true
  },
  {
    title: '入库时间',
    dataIndex: 'FIRST_IN_DATE',
    width:100,
    resizable:true
  },
];
 
export const searchFormSchema: FormSchema[] = [
  {
    field: 'WH_CODE',
    label: '仓库',
    component: 'Input',
    colProps: { span: 8 },
  },
 
  {
    field: 'ITEM_CODE',
    label: '物料代码',
    component: 'Input',
    colProps: { span: 8 },
  }
];