From 7a9a51361253ccada873972f45f5c6674f661445 Mon Sep 17 00:00:00 2001 From: BianLzhaoMin <11485688+bianliangzhaomin123@user.noreply.gitee.com> Date: Thu, 5 Feb 2026 17:55:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/settlementManage/components/PlanSelectDialog.vue | 5 +++++ src/views/settlementManage/edit.vue | 3 ++- src/views/settlementManage/index.vue | 1 + 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/views/settlementManage/components/PlanSelectDialog.vue b/src/views/settlementManage/components/PlanSelectDialog.vue index 969b9ad..cbe01e9 100644 --- a/src/views/settlementManage/components/PlanSelectDialog.vue +++ b/src/views/settlementManage/components/PlanSelectDialog.vue @@ -71,6 +71,10 @@ const props = defineProps({ type: Array, default: () => [], }, + inspectionStationId: { + type: [String, Number], + default: '', + }, }) const emit = defineEmits(['confirm', 'close']) @@ -83,6 +87,7 @@ const selectedPlans = ref([]) const queryParams = reactive({ keyWord: '', + inspectionStationId: props.inspectionStationId, }) // 监听弹框打开,重置数据 diff --git a/src/views/settlementManage/edit.vue b/src/views/settlementManage/edit.vue index 25a08b2..6a81f5e 100644 --- a/src/views/settlementManage/edit.vue +++ b/src/views/settlementManage/edit.vue @@ -319,6 +319,7 @@ ref="planSelectDialogRef" :dialog-config="planSelectDialogConfig" :selected-plan-ids="selectedPlanIds" + :inspection-station-id="inspectionStationId" @confirm="onPlanSelectConfirm" @close="onPlanSelectClose" /> @@ -357,7 +358,7 @@ const { contract_satus } = proxy.useDict('contract_satus') const mode = computed(() => route.query.mode || 'add') const isDetail = computed(() => mode.value === 'detail') - +const inspectionStationId = computed(() => route.query.inspectionStationId || '') const pageTitle = computed(() => { if (mode.value === 'edit') return '编辑结算' if (mode.value === 'detail') return '结算详情' diff --git a/src/views/settlementManage/index.vue b/src/views/settlementManage/index.vue index 9f3ef54..e2f42f3 100644 --- a/src/views/settlementManage/index.vue +++ b/src/views/settlementManage/index.vue @@ -110,6 +110,7 @@ const actionColumns = [ path: '/settlement/settlementEdit/index', query: { id: row.settlementId, + inspectionStationId: row.inspectionStationId, mode: 'edit', }, })