优化创建需求

This commit is contained in:
weibl
2026-02-05 09:13:24 +08:00
parent 67cfb7c789
commit 08438203b9
3 changed files with 26 additions and 7 deletions

View File

@@ -15,6 +15,7 @@ export const getDemandHideKeys = (key: string) => {
'deviceMessage',
'materialAndCraftsmanship',
'robotNum',
'colorRequirements',
];
let keys: string[] = [];
if (key.indexOf('有限元') !== -1 || key.indexOf('DISCIPLINE_TYPE') !== -1) {
@@ -30,6 +31,7 @@ export const getDemandHideKeys = (key: string) => {
'viewRequirements',
'referenceData',
'deviceMessage',
'colorRequirements',
'materialAndCraftsmanship',
];
keys = allKeys.filter((item) => !industrialKeys.includes(item));