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 742e069..9b1e59c 100644 --- a/pages/Warehouse/picking.vue +++ b/pages/Warehouse/picking.vue @@ -1044,10 +1044,7 @@ - - - + @@ -1066,6 +1063,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 = () => { if(showvalue.value.jianhuobtn == false){