Improvement: 库存记录增加筛选
This commit is contained in:
parent
ce8a1f8bd7
commit
a575618f8f
|
|
@ -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 (
|
||||||
|
|
|
||||||
|
|
@ -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 = {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue