From 1952d7b7e8b08162fb4af799679d18468bfe7f8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=BF=97=E5=9B=BD?= <854933521@qq.com> Date: Thu, 7 Nov 2024 09:08:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E4=BB=B6=E4=BF=AE=E6=94=B9=20?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E8=BF=81=E7=A7=BBVue2=E5=8D=87=E7=BA=A7Vue3?= =?UTF-8?q?=208/2-10/25?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/mycomponents/balance/balanceSelect.vue | 1 + src/mycomponents/item/itemFilter.vue | 8 +++++-- src/mycomponents/job/jobFilter.vue | 7 +++--- src/mycomponents/package/packageCard.vue | 2 +- src/mycomponents/package/packageList.vue | 2 +- src/mycomponents/scan/winComScan.vue | 2 +- src/mycomponents/scan/winScanItem.vue | 2 +- src/mycomponents/scan/winScanLocation.vue | 8 +++---- .../scan/winScanPackAndLocation.vue | 8 +++---- src/pages/putaway/job/putawayJob.vue | 1 + src/pages/putaway/record/putawayRecord.vue | 22 +++++++++---------- src/pages/query/item.vue | 2 +- 12 files changed, 34 insertions(+), 31 deletions(-) diff --git a/src/mycomponents/balance/balanceSelect.vue b/src/mycomponents/balance/balanceSelect.vue index 4d631b7b..ec79a6ae 100644 --- a/src/mycomponents/balance/balanceSelect.vue +++ b/src/mycomponents/balance/balanceSelect.vue @@ -24,6 +24,7 @@ import item from '@/mycomponents/item/item.vue' import balance from '@/mycomponents/balance/balance.vue' const balanceItems = ref([]) +const show = ref(false) const openPopup = (items) => { if (Array.isArray(items)) { balanceItems.value = items diff --git a/src/mycomponents/item/itemFilter.vue b/src/mycomponents/item/itemFilter.vue index 3e5c0aea..2935572f 100644 --- a/src/mycomponents/item/itemFilter.vue +++ b/src/mycomponents/item/itemFilter.vue @@ -6,7 +6,7 @@ 库位 - + 库存状态 : @@ -108,8 +108,12 @@ const clearData = ()=>{ locationCode.value = '' state.value = [] } -// 传递给父类 const emit = defineEmits(['onConfirmClick', 'switchChangeToday']) +defineExpose({ + openFilter, + closeScanPopup, + clearData +})