src/views/system/dept/form.vue
@@ -8,9 +8,10 @@ import { Operation } from "@element-plus/icons-vue"; import { getCaigoufangshiList } from "@/api/item/index"; const { state } = useDept(); const { state } = useDept(ref({})); const props = withDefaults(defineProps<FormProps>(), { formInline: () => ({ id: "", projectCode: "", // 项目编号(必填) projectName: "", // 项目名称(必填) hangyepinmu: null, // 行业品目(可选)