From 6beea2392e3f87be0a355e036e00546f82a1e50f Mon Sep 17 00:00:00 2001 From: yinq Date: Wed, 3 Dec 2025 10:53:47 +0800 Subject: [PATCH] =?UTF-8?q?1.0.44=20=E9=80=89=E6=8B=A9=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/ProjectSelect/index.vue | 25 ++++++++++++++++------- src/views/oa/erp/projectPurchase/edit.vue | 3 ++- 2 files changed, 20 insertions(+), 8 deletions(-) diff --git a/src/components/ProjectSelect/index.vue b/src/components/ProjectSelect/index.vue index 8fabfe0..c045a82 100644 --- a/src/components/ProjectSelect/index.vue +++ b/src/components/ProjectSelect/index.vue @@ -6,14 +6,18 @@
- + - + - + + + + + + - 搜索 重置 @@ -38,9 +42,14 @@ > - + + + + - + @@ -96,6 +105,8 @@ const emit = defineEmits(['update:modelValue', 'confirmCallBack']); const { proxy } = getCurrentInstance() as ComponentInternalInstance; +const { project_category } = toRefs(proxy?.useDict('project_category')); + const loading = ref(true); const showSearch = ref(true); const total = ref(0); @@ -108,7 +119,7 @@ const queryFormRef = ref(); const tableRef = ref>(); const projectSelectDialog = useDialog({ - title: '项目选择' + title: '选择项目' }); const initFormData: ProjectInfoForm = { diff --git a/src/views/oa/erp/projectPurchase/edit.vue b/src/views/oa/erp/projectPurchase/edit.vue index cdda0b2..0e669ae 100644 --- a/src/views/oa/erp/projectPurchase/edit.vue +++ b/src/views/oa/erp/projectPurchase/edit.vue @@ -806,7 +806,7 @@ onMounted(async () => { nextTick(async () => { // 获取路由参数 Object.assign(routeParams, route.query); - pageLoading.value = true; + // pageLoading.value = true; loadSelectOptions(); const id = routeParams.id as string | number; const type = routeParams.type as string; @@ -820,6 +820,7 @@ onMounted(async () => { } const shouldLoadDetail = !!id && (type === 'update' || type === 'view' || type === 'approval'); await loadDetail(shouldLoadDetail ? (id as string | number) : undefined); + pageLoading.value = false; }); });