Improvement: 库存记录增加筛选 #19

Merged
longbot merged 1 commits from longbot/WEB:Improvement-stock-record-search into main 2025-09-19 08:54:51 +00:00
2 changed files with 31 additions and 0 deletions

View File

@ -26,6 +26,19 @@ const ListPage: React.FC = () => {
dataIndex: 'productSku', dataIndex: 'productSku',
hideInSearch: true, hideInSearch: true,
}, },
{
title: '出入库',
dataIndex: 'operationType',
valueType: 'select',
valueEnum: {
'in': {
text: '入库'
},
"out": {
text: '出库'
}
},
},
{ {
title: '库存', title: '库存',
hideInSearch: true, hideInSearch: true,
@ -52,6 +65,18 @@ const ListPage: React.FC = () => {
valueType: 'dateTime', valueType: 'dateTime',
hideInSearch: true, hideInSearch: true,
}, },
{
title: '起始日期',
dataIndex: 'startDate',
valueType: 'date',
hideInTable: true,
},
{
title: '结束日期',
dataIndex: 'endDate',
valueType: 'date',
hideInTable: true,
},
]; ];
return ( return (

View File

@ -920,6 +920,9 @@ declare namespace API {
stockPointId?: number; stockPointId?: number;
productSku?: string; productSku?: string;
productName?: string; productName?: string;
operationType?: string;
startDate?: string;
endDate?: string;
}; };
type QueryStrengthDTO = { type QueryStrengthDTO = {
@ -1137,6 +1140,9 @@ declare namespace API {
stockPointId?: number; stockPointId?: number;
productSku?: string; productSku?: string;
productName?: string; productName?: string;
operationType?: string;
startDate?: string;
endDate?: string;
}; };
type stockcontrollerGetstocksParams = { type stockcontrollerGetstocksParams = {