From b10bcda3fc7b420f702fc4da0095001b6b1fd545 Mon Sep 17 00:00:00 2001 From: Teng <461587751@qq.com> Date: Tue, 18 Nov 2025 13:15:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=88=E5=B9=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- component/public/superpicker.vue | 3 ++- pages/Warehouse/picking.vue | 7 ++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/component/public/superpicker.vue b/component/public/superpicker.vue index ba4a43d..d6a981f 100644 --- a/component/public/superpicker.vue +++ b/component/public/superpicker.vue @@ -95,7 +95,7 @@ default: () => [] } }); - const emit = defineEmits(['update:modelValue', 'confirm', 'change', 'update:position', 'update:size']); + const emit = defineEmits(['update:modelValue', 'confirm', 'change', 'update:position', 'update:size','close']); /* ========== 基本可见性 / 同步 ========== */ const visible = ref(props.modelValue); @@ -366,6 +366,7 @@ function cancel() { visible.value = false; + emit('close'); } /* ========== boxStyle ========== */ diff --git a/pages/Warehouse/picking.vue b/pages/Warehouse/picking.vue index c45d216..cb7ccea 100644 --- a/pages/Warehouse/picking.vue +++ b/pages/Warehouse/picking.vue @@ -1013,7 +1013,7 @@ + :init-height="360" @close="opengys=false" @confirm="gysclick" /> @@ -1029,6 +1029,11 @@ const opengaijia = ref(false); const openjianhuo = ref(false); const opendata = ref(false); + + const gysclick = (res:any) => { + console.log("///",res); + opengys.value=false; + } const openjianhuoclick = () => { openjianhuo.value = true;