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;