feat : 岗位数据入库监测 新增字段

This commit is contained in:
bin
2025-11-07 15:00:54 +08:00
parent 2c0bd8c617
commit 2175fd2020
3 changed files with 20 additions and 0 deletions

View File

@@ -61,6 +61,7 @@ const StorageEdit: React.FC<StorageFormProps> = (props) => {
<ProDescriptions.Item dataIndex="storageDate" label="采集入库日期" /> <ProDescriptions.Item dataIndex="storageDate" label="采集入库日期" />
<ProDescriptions.Item dataIndex="storageNumber" label="采集入库数量" /> <ProDescriptions.Item dataIndex="storageNumber" label="采集入库数量" />
<ProDescriptions.Item dataIndex="storageResult" label="采集入库结果" /> <ProDescriptions.Item dataIndex="storageResult" label="采集入库结果" />
<ProDescriptions.Item dataIndex="websiteName" label="入库数据来源名称" />
<ProDescriptions.Item dataIndex="storageDetail" label="入库数据详情" span={2} /> <ProDescriptions.Item dataIndex="storageDetail" label="入库数据详情" span={2} />
</ProDescriptions> </ProDescriptions>
</ModalForm> </ModalForm>
@@ -111,6 +112,13 @@ const StorageEdit: React.FC<StorageFormProps> = (props) => {
/> />
</ProForm.Group> </ProForm.Group>
<ProForm.Group> <ProForm.Group>
<ProFormText
width="md"
name="websiteName"
label="入库数据来源名称"
placeholder="请输入入库数据来源名称"
rules={[{ required: true, message: '请输入入库数据来源名称!' }]}
/>
<ProFormTextArea <ProFormTextArea
width="lg" width="lg"
name="storageDetail" name="storageDetail"

View File

@@ -87,6 +87,14 @@ function StorageDetectionList() {
align: 'center', align: 'center',
hideInSearch: true, hideInSearch: true,
}, },
{
title: '入库数据来源名称',
dataIndex: 'websiteName',
valueType: 'text',
align: 'center',
hideInSearch: true,
ellipsis: true,
},
{ {
title: '入库数据详情', title: '入库数据详情',
dataIndex: 'storageDetail', dataIndex: 'storageDetail',
@@ -95,6 +103,7 @@ function StorageDetectionList() {
hideInSearch: true, hideInSearch: true,
ellipsis: true, ellipsis: true,
}, },
{ {
title: '操作', title: '操作',
hideInSearch: true, hideInSearch: true,

View File

@@ -5,6 +5,8 @@ declare namespace API.StorageDetection {
storageNumber?: string; storageNumber?: string;
storageResult?: string; storageResult?: string;
storageDetail?: string; storageDetail?: string;
websiteId?: string;
websiteName?: string;
} }
export interface AddParams { export interface AddParams {
@@ -12,6 +14,7 @@ declare namespace API.StorageDetection {
storageNumber?: string; storageNumber?: string;
storageResult?: string; storageResult?: string;
storageDetail?: string; storageDetail?: string;
websiteName?: string;
} }
export interface ListParams { export interface ListParams {