diff --git a/src/pages/Stock/Record/index.tsx b/src/pages/Stock/Record/index.tsx index 244c3f1..48a5e88 100644 --- a/src/pages/Stock/Record/index.tsx +++ b/src/pages/Stock/Record/index.tsx @@ -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 ( diff --git a/src/servers/api/typings.d.ts b/src/servers/api/typings.d.ts index 89b7b71..bb41385 100644 --- a/src/servers/api/typings.d.ts +++ b/src/servers/api/typings.d.ts @@ -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 = {