From 5cd4cc31e05b42f26596074b60a03d975ac5e6a6 Mon Sep 17 00:00:00 2001 From: xzg <4727863@qq.com> Date: Thu, 14 Nov 2024 09:51:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=B7=A5=E5=8D=95=E9=A1=B6?= =?UTF-8?q?=E9=83=A8=E6=90=9C=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/aftersales/aftersalesWorkOrder.vue | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/views/aftersales/aftersalesWorkOrder.vue b/src/views/aftersales/aftersalesWorkOrder.vue index 31bbf78d..25aeb594 100644 --- a/src/views/aftersales/aftersalesWorkOrder.vue +++ b/src/views/aftersales/aftersalesWorkOrder.vue @@ -572,6 +572,7 @@ const warehouseData = ref([]); //仓库信息 const UserInfo = ref({}); //登陆人信息 const assignFromForm = ref(null); //指派客服表单实例 const dialogSearch = ref(false); //弹窗搜索 +const dialogSearchTitle=ref('');//弹出搜索记录 const ExportObjects = ref({ tcTableexport: false, //本地导出 ExportSelection: false, //导出选择弹窗 @@ -2348,6 +2349,9 @@ const Assignbutton = async () => { * 5.最终将选择的客服信息,分配给对应的工单 */ const MultilineSearch = (title, input) => { + dialogSearchTitle.value = title + console.log(dialogSearchTitle.value,'dialogSearchTitle.value'); + if (input) { const formattedInput = input.split(',').join('\n'); TopQuery.value.inputAll = formattedInput; // 赋值给 inputAll @@ -2385,7 +2389,13 @@ const dialogSearchSubmit = () => { const joinedLines = lines.join(','); // 使用逗号连接,无空格 // 5.将连接起来的数据重新赋值给workOrderNumber - TopQuery.value.workOrderNumbers = joinedLines; + + if(dialogSearchTitle.value == '工单号搜索'){ + TopQuery.value.workOrderNumbers = joinedLines; + }else if(dialogSearchTitle.value == '订单自编号搜索'){ + TopQuery.value.orderCodes = joinedLines; + + } Searchboxpop.value.dialogSearch = false; //关闭弹窗 console.log(details.query, 'details.query');