生产管理系统 - 页面上样式、刷新等内容的规范

This commit is contained in:
2025-11-05 17:48:09 +08:00
parent 1fb128ede5
commit 279bbe8536
7 changed files with 17 additions and 120 deletions

View File

@@ -148,26 +148,6 @@ export function EmployeeFormDialog({
disabled={editingEmployee && loadingDetail}
/>
</div>
<div>
<Label htmlFor="idCard"></Label>
<Input
id="idCard"
value={formData.idCard || ''}
onChange={(e) => onFormDataChange({ ...formData, idCard: e.target.value })}
placeholder="18位身份证号码"
disabled={editingEmployee && loadingDetail}
/>
</div>
<div>
<Label htmlFor="address"></Label>
<Input
id="address"
value={formData.address || ''}
onChange={(e) => onFormDataChange({ ...formData, address: e.target.value })}
placeholder="详细住址"
disabled={editingEmployee && loadingDetail}
/>
</div>
</div>
</div>

View File

@@ -176,8 +176,6 @@ export default function EmployeeManagementPage() {
status: 'active' as const,
auditStatus: 'pending' as const,
roleIds: [],
idCard: '',
address: '',
username: '',
name: '',
phone: '',

View File

@@ -82,7 +82,5 @@ export interface EmployeeFormData {
enterpriseName?: string;
status?: UserStatus;
roleIds?: string[];
idCard?: string;
address?: string;
auditStatus?: 'pending' | 'approved' | 'rejected';
}