From 980be2fe3d4af4ca28c00e45f53a3e4f479e208a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=BE=E5=BA=86=E6=BA=90?= Date: Thu, 15 May 2025 09:37:36 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20[SBBJ-972]=20=E6=88=90=E6=9C=AC=E4=B8=AD?= =?UTF-8?q?=E5=BF=83=E6=96=87=E6=9C=AC=E5=9B=9E=E6=98=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/costCenter/index.vue | 4 +++- src/pages/outLocation/addForm.vue | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/costCenter/index.vue b/src/components/costCenter/index.vue index 42fec11..ea78aaf 100644 --- a/src/components/costCenter/index.vue +++ b/src/components/costCenter/index.vue @@ -85,6 +85,7 @@ function showFullText(text) { function sure() { isShowSelectItem.value = false emits('sure', form1.value) + keyword.value = '' } function searchItem() { @@ -101,7 +102,8 @@ function chooseItem(item) { defineExpose({ isShowSelectItem, open, - singleColumnList + singleColumnList, + keyword }) diff --git a/src/pages/outLocation/addForm.vue b/src/pages/outLocation/addForm.vue index 4f0d29c..7a62800 100644 --- a/src/pages/outLocation/addForm.vue +++ b/src/pages/outLocation/addForm.vue @@ -421,6 +421,7 @@ async function openSingleNewColumn(fieldName, val, list) { } await getSparePartsList() costCenterRef.value.open(singleColumnList.value) + costCenterRef.value.keyword = '' } async function searchItem(keywords) {