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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
import React, { useEffect, useMemo, useRef, useState } from "react";
import { Dropdown, Menu, Button, Tooltip } from "antd";
import { ProTable } from "@ant-design/pro-table";
import { doFetch } from "@/utils/doFetch";
import AutoTable from "@/components/AutoTable";
function Instore(props) {
const columns = [
{
title: "操作时间",
dataIndex: "operateTime",
key: "operateTimeList",
width: 300,
valueType: "dateRange",
search: false,
render: (_, row) => {
return <div>{row.operateTime}</div>;
},
},
{
title: "操作人",
dataIndex: "operateUserName",
key: "operateUserName",
},
{
title: "物料编码",
dataIndex: "materieCode",
key: "materieCode",
width: 300,
search: false,
},
{
title: "物料名称",
dataIndex: "materieName",
key: "materieName",
},
{
title: "批次号",
dataIndex: "materieControlNo",
key: "materieControlNo",
},
{
title: "规格型号",
dataIndex: "specificationModel",
key: "specificationModel",
search: false,
},
{
title: "铁损",
dataIndex: "ironLoss",
key: "ironLoss",
readonly: "ironLoss",
search: false,
},
{
title: "片厚",
dataIndex: "sheetThickness",
key: "sheetThickness",
readonly: "sheetThickness",
search: false,
},
{
title: "宽度",
dataIndex: "width",
key: "width",
readonly: "width",
search: false,
},
{
title: "单边厚度",
key: "unilateralThickness",
dataIndex: "unilateralThickness",
search: false,
},
{
title: "米数",
dataIndex: "length",
key: "length",
search: false,
},
{
title: "牌号",
dataIndex: "shopSign",
key: "shopSign",
readonly: "shopSign",
search: false,
},
{
title: "当时库存数量",
dataIndex: "currentNum",
key: "currentNum",
search: false,
width: 200,
},
{
title: "操作数量",
dataIndex: "operateNum",
key: "operateNum",
search: false,
},
{
title: "库存单位",
dataIndex: "productionUnitName",
key: "productionUnitName",
search: false,
width: 280,
},
{
title: "仓库名称",
dataIndex: "storeName",
key: "storeName",
search: false,
},
{
title: "库位",
dataIndex: "storePositionName",
key: "storePositionName",
search: false,
},
{
title: "操作类型",
dataIndex: "stockDetailTypeName",
key: "stockDetailTypeName",
width: 280,
search: false,
},
{
title: "相关单号",
dataIndex: "relatedNo",
key: "relatedNo",
search: false,
},
];
return (
<div>
<AutoTable
{...props}
pageextra="none"
path="/ngic-workmanship/wmsMaterieStockRecord/queryList"
columns={columns}
></AutoTable>
</div>
);
}
export default Instore;