From 6dd74d6739305ba7ab51c43b83d166bdf9e12c52 Mon Sep 17 00:00:00 2001
From: 廖井涛 <2265517004@qq.com>
Date: 星期五, 21 十一月 2025 10:16:39 +0800
Subject: [PATCH] Merge branch 'master' of http://10.153.19.25:10105/r/ERP_override

---
 north-glass-erp/northglass-erp/src/stores/sd/order/orderInfo.js         |   14 ++++++++++++++
 north-glass-erp/src/main/resources/mapper/pp/Report.xml                 |    6 +++---
 north-glass-erp/northglass-erp/src/components/sd/order/OrderProcess.vue |    3 ++-
 north-glass-erp/src/main/resources/mapper/pp/ReportingWork.xml          |    2 +-
 4 files changed, 20 insertions(+), 5 deletions(-)

diff --git a/north-glass-erp/northglass-erp/src/components/sd/order/OrderProcess.vue b/north-glass-erp/northglass-erp/src/components/sd/order/OrderProcess.vue
index 10176c5..f7e2d89 100644
--- a/north-glass-erp/northglass-erp/src/components/sd/order/OrderProcess.vue
+++ b/north-glass-erp/northglass-erp/src/components/sd/order/OrderProcess.vue
@@ -97,7 +97,8 @@
 
 let props = defineProps({
   orderId:null,
-  row: {}
+  row: {},
+  processId:null//鐢ㄤ簬鍚庣鏁版嵁杩斿洖锛岀粨鏋滅瓫閫�
 })
 const columns = [
   {field: 'order_number',fixed:"left", width: 90,title: t('order.OrderNum'),showOverflow:"ellipsis",filters:[{ data: '' }],slots: { filter: 'num1_filter' }},
diff --git a/north-glass-erp/northglass-erp/src/stores/sd/order/orderInfo.js b/north-glass-erp/northglass-erp/src/stores/sd/order/orderInfo.js
index 243b28d..035097b 100644
--- a/north-glass-erp/northglass-erp/src/stores/sd/order/orderInfo.js
+++ b/north-glass-erp/northglass-erp/src/stores/sd/order/orderInfo.js
@@ -85,6 +85,20 @@
                 list:[],
                 data:{}
             }
+            this.selectReportingWorksFilter={
+                list:ref([]),
+                    data:{
+                    order: {
+                        project: '',
+                            batch:''
+                    },
+                    orderGlassDetail: {
+                        completedArea:'',
+                            wornArea:''
+                    }
+                }
+
+            }
             this.selectProcessCardFilter={
                 list:[],
                 data:{
diff --git a/north-glass-erp/src/main/resources/mapper/pp/Report.xml b/north-glass-erp/src/main/resources/mapper/pp/Report.xml
index 21414da..c1f24ab 100644
--- a/north-glass-erp/src/main/resources/mapper/pp/Report.xml
+++ b/north-glass-erp/src/main/resources/mapper/pp/Report.xml
@@ -1733,7 +1733,7 @@
             AND rw.this_process REGEXP #{teamOutputDTO.thisProcess}
         </if>
         <if test="teamOutputDTO.teamsGroupsName != null and teamOutputDTO.teamsGroupsName != ''">
-            AND rw.teams_groups_name REGEXP #{teamOutputDTO.teamsGroupsName}
+            and rw.teams_groups_name like concat('%', #{teamOutputDTO.teamsGroupsName}, '%')
         </if>
         <if test="teamOutputDTO.project != null and teamOutputDTO.project != ''">
             AND o.project REGEXP #{teamOutputDTO.project}
@@ -1886,7 +1886,7 @@
             and rw.this_process regexp #{teamOutputDTO.thisProcess}
         </if>
         <if test="teamOutputDTO.teamsGroupsName != null and teamOutputDTO.teamsGroupsName != ''">
-            and rw.teams_groups_name regexp #{teamOutputDTO.teamsGroupsName}
+            and rw.teams_groups_name like concat('%', #{teamOutputDTO.teamsGroupsName}, '%')
         </if>
         <if test="teamOutputDTO.project != null and teamOutputDTO.project != ''">
             and o.project regexp #{teamOutputDTO.project}
@@ -2570,7 +2570,7 @@
             AND rw.this_process REGEXP #{teamOutputDTO.thisProcess}
         </if>
         <if test="teamOutputDTO.teamsGroupsName != null and teamOutputDTO.teamsGroupsName != ''">
-            AND rw.teams_groups_name REGEXP #{teamOutputDTO.teamsGroupsName}
+            and rw.teams_groups_name like concat('%', #{teamOutputDTO.teamsGroupsName}, '%')
         </if>
         <if test="teamOutputDTO.project != null and teamOutputDTO.project != ''">
             AND o.project REGEXP #{teamOutputDTO.project}
diff --git a/north-glass-erp/src/main/resources/mapper/pp/ReportingWork.xml b/north-glass-erp/src/main/resources/mapper/pp/ReportingWork.xml
index 1268707..7490e80 100644
--- a/north-glass-erp/src/main/resources/mapper/pp/ReportingWork.xml
+++ b/north-glass-erp/src/main/resources/mapper/pp/ReportingWork.xml
@@ -579,7 +579,7 @@
             and rw.device_name regexp #{reportingWork.deviceName}
         </if>
         <if test="reportingWork.teamsGroupsName != null and reportingWork.teamsGroupsName != ''">
-            and rw.teams_groups_name regexp #{reportingWork.teamsGroupsName}
+            and rw.teams_groups_name like concat('%', #{reportingWork.teamsGroupsName}, '%')
         </if>
         GROUP BY rw.reporting_work_id
         ORDER BY rw.reporting_work_id desc

--
Gitblit v1.8.0