From f4a504f7fc66d8db27707ea198bd3561ba821e52 Mon Sep 17 00:00:00 2001
From: guoyuji <guoyujie@ng.com>
Date: 星期一, 24 二月 2025 13:33:01 +0800
Subject: [PATCH] Merge branch 'master' of http://bore.pub:10439/r/ERP_override

---
 north-glass-erp/northglass-erp/src/components/pp/PrintProcessStraight.vue |    2 +-
 north-glass-erp/northglass-erp/src/stores/sd/companySet/金华天成.js           |    2 +-
 north-glass-erp/src/main/resources/mapper/mm/MaterialInventory.xml        |   12 ++++++------
 north-glass-erp/src/main/resources/mapper/pp/FolwCard.xml                 |    5 +++--
 4 files changed, 11 insertions(+), 10 deletions(-)

diff --git a/north-glass-erp/northglass-erp/src/components/pp/PrintProcessStraight.vue b/north-glass-erp/northglass-erp/src/components/pp/PrintProcessStraight.vue
index 592201c..5f5b30a 100644
--- a/north-glass-erp/northglass-erp/src/components/pp/PrintProcessStraight.vue
+++ b/north-glass-erp/northglass-erp/src/components/pp/PrintProcessStraight.vue
@@ -266,7 +266,7 @@
               鏃堕棿锛歿{formattedTime}}
               &nbsp;&nbsp;
             </div>
-            <div>{{itemFlow.rack}}
+            <div><span v-if="item.detailList[0].merge===1">鍚�</span>{{itemFlow.rack}}
               娴佺▼鍗″彿锛� {{
                 itemFlow.process_id
               }}/{{ itemFlow.technologyNumber }} 鍏� {{ item.count }} 鏋�
diff --git "a/north-glass-erp/northglass-erp/src/stores/sd/companySet/\351\207\221\345\215\216\345\244\251\346\210\220.js" "b/north-glass-erp/northglass-erp/src/stores/sd/companySet/\351\207\221\345\215\216\345\244\251\346\210\220.js"
index 0f07113..e6ff52e 100644
--- "a/north-glass-erp/northglass-erp/src/stores/sd/companySet/\351\207\221\345\215\216\345\244\251\346\210\220.js"
+++ "b/north-glass-erp/northglass-erp/src/stores/sd/companySet/\351\207\221\345\215\216\345\244\251\346\210\220.js"
@@ -5,7 +5,7 @@
     state: () => ({
         companyName: '閲戝崕绂忓枩澶╂垚鐜荤拑鏈夐檺鍏徃',
         address:'娴欐睙鐪侀噾鍗庡競閲戜笢鍖烘浌瀹呴晣宸ヤ笟鍔熻兘鍖洪工宀╄28鍙�2鍙�',
-        telephone:'189 3119 1362 璧栧巶闀�',
+        telephone:'153 8178 1915 ',
         fax:'',
         errorArea:0.3,
         widHeiLength:{//璁㈠崟瀹介珮闀垮害
diff --git a/north-glass-erp/src/main/resources/mapper/mm/MaterialInventory.xml b/north-glass-erp/src/main/resources/mapper/mm/MaterialInventory.xml
index 0304072..6a98ee0 100644
--- a/north-glass-erp/src/main/resources/mapper/mm/MaterialInventory.xml
+++ b/north-glass-erp/src/main/resources/mapper/mm/MaterialInventory.xml
@@ -958,13 +958,13 @@
             </if>
 
             <if test="materialLog.inventoryId != null and materialLog.inventoryId != ''">
-                and  ml.inventoryId regexp  #{materialLog.inventoryId}
+                and  ml.inventory_id regexp  #{materialLog.inventoryId}
             </if>
             <if test="materialLog.materialCode != null and materialLog.materialCode != ''">
-                and  ml.materialCode regexp  #{materialLog.materialCode}
+                and  ml.material_code regexp  #{materialLog.materialCode}
             </if>
             <if test="materialLog.materialName != null and materialLog.materialName != ''">
-                and  ml.materialName regexp  #{materialLog.materialName}
+                and  ml.material_name regexp  #{materialLog.materialName}
             </if>
             <if test="materialLog.producer != null and materialLog.producer != ''">
                 and  ml.producer regexp  #{materialLog.producer}
@@ -1019,13 +1019,13 @@
             </if>
 
             <if test="materialLog.inventoryId != null and materialLog.inventoryId != ''">
-                and  ml.inventoryId regexp  #{materialLog.inventoryId}
+                and  ml.inventory_id regexp  #{materialLog.inventoryId}
             </if>
             <if test="materialLog.materialCode != null and materialLog.materialCode != ''">
-                and  ml.materialCode regexp  #{materialLog.materialCode}
+                and  ml.material_code regexp  #{materialLog.materialCode}
             </if>
             <if test="materialLog.materialName != null and materialLog.materialName != ''">
-                and  ml.materialName regexp  #{materialLog.materialName}
+                and  ml.material_name regexp  #{materialLog.materialName}
             </if>
             <if test="materialLog.producer != null and materialLog.producer != ''">
                 and  ml.producer regexp  #{materialLog.producer}
diff --git a/north-glass-erp/src/main/resources/mapper/pp/FolwCard.xml b/north-glass-erp/src/main/resources/mapper/pp/FolwCard.xml
index b658b20..a221506 100644
--- a/north-glass-erp/src/main/resources/mapper/pp/FolwCard.xml
+++ b/north-glass-erp/src/main/resources/mapper/pp/FolwCard.xml
@@ -525,7 +525,7 @@
                  left join pp.flow_card as fc on op.project_no=fc.project_no
                  left join sd.`order` as o on o.order_id=fc.order_id
         where date(op.create_time)>=#{selectTime1} and date(op.create_time) &lt;= #{selectTime2}
-          and state >= 20 and o.create_order>0
+          and state >= 20 and (o.create_order>0   or o.create_order is null)
         GROUP BY op.project_no
         order by op.create_time desc
     </select>
@@ -1455,7 +1455,8 @@
                pd.separation,
                fc.technology_number,
                IFNULL(JSON_UNQUOTE(JSON_EXTRACT(od.other_columns, '$.S02')),'') as mapNumber,
-               od.building_number
+               od.building_number,
+               fc.merge                                                         as merge
         from flow_card as fc
                  left join sd.order_glass_detail as ogd
                            on fc.order_id = ogd.order_id and fc.order_number = ogd.order_number and

--
Gitblit v1.8.0