diff --git a/src/views/wms/basicDataManage/factoryModeling/areabasic/areabasic.data.ts b/src/views/wms/basicDataManage/factoryModeling/areabasic/areabasic.data.ts index b78703ba9..1e94bd35b 100644 --- a/src/views/wms/basicDataManage/factoryModeling/areabasic/areabasic.data.ts +++ b/src/views/wms/basicDataManage/factoryModeling/areabasic/areabasic.data.ts @@ -68,6 +68,18 @@ export const Area = useCrudSchemas(reactive([ width: 150 }, }, + { + label: '管理精度', + field: 'manageMode', + dictType: DICT_TYPE.MANAGEMENT_MODE, + dictClass: 'string', + isSearch: true, + isTable: true, + sort: 'custom', + table: { + width: 150 + }, + }, { label: '是否是功能区', field: 'isFunctional', @@ -93,7 +105,6 @@ export const Area = useCrudSchemas(reactive([ dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', isTable: true, - isSearch: true, sort: 'custom', table: { width: 150 @@ -229,4 +240,7 @@ export const AreaRules = reactive({ type: [ { required: true, message: '请选择类型', trigger: 'change' } ], + manageMode: [ + { required: true, message: '请选择管理精度', trigger: 'change' } + ] }) \ No newline at end of file