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
import { BasicColumn } from '/@/components/Table';
import { FormSchema } from '/@/components/Table';
import { optionsListApi } from '/@/api/tigerapi/wms/inventorySearch';
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:120,
    sorter: true,
    resizable:true
  },
  {
    title: '据点',
    dataIndex: 'AUTH_ORG',
    width:120,
    sorter: true,
    resizable:true
  },
  {
    title: '储位',
    dataIndex: 'LOCATION_CODE',
    width:120,
    sorter: true,
    resizable:true
  },
  {
    title: '物料代码',
    dataIndex: 'ITEM_CODE',
    width:100,
    resizable:true
  },
  {
    title: '数量',
    dataIndex: 'QTY',
    width:60,
    resizable:true
  },
  {
    title: '物料名称',
    dataIndex: 'ITEM_NAME',
    width: 400,
    resizable:true
  },
];
 
export const searchFormSchema: FormSchema[] = [
  {
    field: 'WH_CODE',
    label: '库位',
    component: 'Input',
    colProps: { span: 8 },
  },
  // {
  //   field: 'AUTH_ORG',
  //   label: '据点',
  //   component: 'Input',
  //   colProps: { span: 8 },
  // },
];