forked from yoone/WEB
Improvement: 库存记录增加筛选
This commit is contained in:
parent
ce8a1f8bd7
commit
a575618f8f
|
|
@ -26,6 +26,19 @@ const ListPage: React.FC = () => {
|
|||
dataIndex: 'productSku',
|
||||
hideInSearch: true,
|
||||
},
|
||||
{
|
||||
title: '出入库',
|
||||
dataIndex: 'operationType',
|
||||
valueType: 'select',
|
||||
valueEnum: {
|
||||
'in': {
|
||||
text: '入库'
|
||||
},
|
||||
"out": {
|
||||
text: '出库'
|
||||
}
|
||||
},
|
||||
},
|
||||
{
|
||||
title: '库存',
|
||||
hideInSearch: true,
|
||||
|
|
@ -52,6 +65,18 @@ const ListPage: React.FC = () => {
|
|||
valueType: 'dateTime',
|
||||
hideInSearch: true,
|
||||
},
|
||||
{
|
||||
title: '起始日期',
|
||||
dataIndex: 'startDate',
|
||||
valueType: 'date',
|
||||
hideInTable: true,
|
||||
},
|
||||
{
|
||||
title: '结束日期',
|
||||
dataIndex: 'endDate',
|
||||
valueType: 'date',
|
||||
hideInTable: true,
|
||||
},
|
||||
];
|
||||
|
||||
return (
|
||||
|
|
|
|||
|
|
@ -920,6 +920,9 @@ declare namespace API {
|
|||
stockPointId?: number;
|
||||
productSku?: string;
|
||||
productName?: string;
|
||||
operationType?: string;
|
||||
startDate?: string;
|
||||
endDate?: string;
|
||||
};
|
||||
|
||||
type QueryStrengthDTO = {
|
||||
|
|
@ -1137,6 +1140,9 @@ declare namespace API {
|
|||
stockPointId?: number;
|
||||
productSku?: string;
|
||||
productName?: string;
|
||||
operationType?: string;
|
||||
startDate?: string;
|
||||
endDate?: string;
|
||||
};
|
||||
|
||||
type stockcontrollerGetstocksParams = {
|
||||
|
|
|
|||
Loading…
Reference in New Issue