From 928ce303640ec457f45a5760aaa60053be925b12 Mon Sep 17 00:00:00 2001 From: xzg <4727863@qq.com> Date: Tue, 19 Nov 2024 17:38:23 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=B7=B2=E7=9F=A5bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/aftersales/aftersalesWorkOrder.js | 2 +- .../MultiConditionSearch.vue | 11 +- src/views/aftersales/aftersalesWorkOrder.vue | 224 +++++++++++++++++- .../aftersales/aftersalesWorkOrderAdd.vue | 2 +- .../aftersales/aftersalesWorkOrderend.vue | 35 ++- .../warehouse/tray/basicdataTrayedt.vue | 17 +- .../delivery/distributionStockArticle.vue | 20 +- src/views/waybill/WaybillOrderList.vue | 15 +- 8 files changed, 271 insertions(+), 55 deletions(-) diff --git a/src/api/aftersales/aftersalesWorkOrder.js b/src/api/aftersales/aftersalesWorkOrder.js index e8fc781e..2812bc3e 100644 --- a/src/api/aftersales/aftersalesWorkOrder.js +++ b/src/api/aftersales/aftersalesWorkOrder.js @@ -389,7 +389,7 @@ export const $_updateWorkOrderStatus = (data) => { data }) } -// 处理结果完结结果确定 +// 完结审核 export const $_updateManagerConfirmed = (data) => { return request({ url: '/api/logpm-aftersales/aftersalesWorkOrder/updateManagerConfirmed', diff --git a/src/components/MultiConditionSearch/MultiConditionSearch.vue b/src/components/MultiConditionSearch/MultiConditionSearch.vue index 8b60419d..16bbdf83 100644 --- a/src/components/MultiConditionSearch/MultiConditionSearch.vue +++ b/src/components/MultiConditionSearch/MultiConditionSearch.vue @@ -100,6 +100,8 @@ const maximize = () => { const close = () => { emit('update:modelValue', false); + minimizeState.value = false; + emit('update:inputValue', localInputValue.value); }; const expandWindow = () => { @@ -114,7 +116,14 @@ const destroyWindow = () => { }; const dialogSearchSubmit = () => { - emit('dialogSearchSubmit', localInputValue.value); + const lines = localInputValue.value + .split('\n') // 按换行分割 + .map(line => line.trim()) // 移除每一行前后的空格 + .filter(line => line !== ''); // 过滤掉空行 + + const joinedLines = lines.join(','); // 使用逗号连接,无空格 + emit('dialogSearchSubmit', joinedLines); + emit('update:inputValue', localInputValue.value); }; diff --git a/src/views/aftersales/aftersalesWorkOrder.vue b/src/views/aftersales/aftersalesWorkOrder.vue index ef3c46d9..23a53bf8 100644 --- a/src/views/aftersales/aftersalesWorkOrder.vue +++ b/src/views/aftersales/aftersalesWorkOrder.vue @@ -115,16 +115,24 @@ 客服介入 - 钉钉号填写 - 批量完结 + > --> 批量完结审核 - 财务入账 @@ -440,6 +448,76 @@ 本地导出 + + + +
+ + + + + + + + + + + +
+ +
+ + +
+ + + + + + + + +
+ +