From 7c30e26f3cc97ebcbb2cf86e2026b10f2e23994d Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期一, 08 十二月 2025 16:40:26 +0800
Subject: [PATCH] 流程卡添加订单类型、补片流程卡调整样式,工序待完成报表添加厚度

---
 north-glass-erp/northglass-erp/src/components/pp/PrintProcess.vue           |    2 +-
 north-glass-erp/northglass-erp/public/config.js                             |    2 +-
 north-glass-erp/northglass-erp/src/views/pp/report/ProcessToBeCompleted.vue |    4 ++++
 north-glass-erp/src/main/resources/mapper/pp/Report.xml                     |    4 +++-
 north-glass-erp/northglass-erp/src/components/pp/PrintProcessReplenish.vue  |   28 ++++++++++++++--------------
 north-glass-erp/src/main/resources/mapper/pp/FolwCard.xml                   |   15 ++++++++++-----
 6 files changed, 33 insertions(+), 22 deletions(-)

diff --git a/north-glass-erp/northglass-erp/public/config.js b/north-glass-erp/northglass-erp/public/config.js
index faa10a4..f789fa9 100644
--- a/north-glass-erp/northglass-erp/public/config.js
+++ b/north-glass-erp/northglass-erp/public/config.js
@@ -11,4 +11,4 @@
 //娲涢槼 172.17.2.7
 //澶╂触 192.168.150.39
 //涓婃捣 10.153.18.3
-//娓╁窞 192.168.2.7
\ No newline at end of file
+//娓╁窞 192.168.2.7  1171bpue44086.vicp.fun:44934
\ No newline at end of file
diff --git a/north-glass-erp/northglass-erp/src/components/pp/PrintProcess.vue b/north-glass-erp/northglass-erp/src/components/pp/PrintProcess.vue
index 64a6757..bfb2ece 100644
--- a/north-glass-erp/northglass-erp/src/components/pp/PrintProcess.vue
+++ b/north-glass-erp/northglass-erp/src/components/pp/PrintProcess.vue
@@ -326,7 +326,7 @@
         <div id="bj" v-else style="float: right;font-size: 28px"></div>
         <div>{{ company.companyName }}</div>
         <div>
-          鐢熶骇娴佺▼鍗�<span style="font-weight: bold" v-if="printProject!=null">({{ printProject }})</span>
+          ({{itemFlow.order_type}})鐢熶骇娴佺▼鍗�<span style="font-weight: bold" v-if="printProject!=null">({{ printProject }})</span>
           <span style="font-weight: bold" v-if="props.compound!=null">({{ props.compound }}灞傚悓鏋�)</span>
         </div>
         <div  style="font-weight: bolder;display: flex;justify-content:space-between">
diff --git a/north-glass-erp/northglass-erp/src/components/pp/PrintProcessReplenish.vue b/north-glass-erp/northglass-erp/src/components/pp/PrintProcessReplenish.vue
index ba16e46..0467bcf 100644
--- a/north-glass-erp/northglass-erp/src/components/pp/PrintProcessReplenish.vue
+++ b/north-glass-erp/northglass-erp/src/components/pp/PrintProcessReplenish.vue
@@ -281,7 +281,7 @@
           <div style="float: left;"><img id="img-pic" style="width: 42px;height: 32px" src="@/assets/northGlass.ico" alt=""></div>
           <div id="bj" style="float: right;font-size: 28px">琛� {{ id + 1 }}</div>
           <div style="left: 150px">{{ company.companyName }}</div>
-          <div>鐢熶骇娴佺▼鍗�</div>
+          <div>({{itemFlow.order_type}})鐢熶骇娴佺▼鍗�</div>
           <div  style="font-weight: bolder;display: flex;justify-content:space-between">
             <div>
               琛ョ墖鍗曞彿锛歿{itemFlow.patch_id}}&nbsp;&nbsp;&nbsp;
@@ -299,16 +299,16 @@
       </tr>
       <tr v-for="(items,index) in item.detail" :key="index">
         <td class="tdNowrap">瀹㈡埛鍚嶇О锛�</td>
-        <td colspan="2">{{ items.customer_name }}</td>
+        <td colspan="3">{{ items.customer_name }}</td>
         <td class="tdNowrap">椤圭洰鍚嶇О锛�</td>
         <td v-if="name=='娲涢槼鍖楁柟鐜荤拑鎶�鏈偂浠芥湁闄愬叕鍙�'" colspan="4" style="min-width: 250px;">{{ items.projectBatch }}</td>
         <td v-else colspan="4" style="min-width: 250px;">{{ items.project }}</td>
         <td class="tdNowrap">宸ヨ壓娴佺▼锛�</td>
-        <td :colspan="2+item.processList.length*2"  style="width: 500px">{{ items.process }}</td>
+        <td :colspan="4+item.processList.length*2"  style="width: 500px">{{ items.process }}</td>
       </tr>
       <tr v-for="(itemTr,index) in item.detail" :key="index">
         <td class="tdNowrap">纾ㄨ竟绫诲瀷锛�</td>
-        <td colspan="2">{{ itemTr.edging_type }}</td>
+        <td colspan="3">{{ itemTr.edging_type }}</td>
         <td class="tdNowrap">鍗曠墖鍚嶇О锛�</td>
         <td colspan="8">{{ itemTr.glass_child }}</td>
         <td class="tdNowrap">浜у搧鍚嶇О锛�</td>
@@ -317,8 +317,8 @@
       <tr>
         <td rowspan='2'>搴忓彿</td>
         <td rowspan='2'>缂栧彿</td>
-        <td rowspan="2">灏忕墖椤哄簭</td>
-        <td rowspan='2'>瀹�*楂�</td>
+        <td rowspan="2">灞傚彿</td>
+        <td rowspan='2'>瀹�(寮ч暱)*楂�</td>
         <td rowspan='2'>鏁伴噺</td>
         <td rowspan='2'>闈㈢Н</td>
         <td rowspan='2'>鍛ㄩ暱</td>
@@ -342,8 +342,8 @@
 
       <tr v-for="(itemDatile,index) in item.detailList" :key="index">
         <td>{{ itemDatile.order_number }}</td>
-        <td v-if="name=='閲戝崕绂忓枩澶╂垚鐜荤拑鏈夐檺鍏徃' || name=='娴欐睙宸ㄦ槦鍢夋嘲鏂版潗鏂欐湁闄愬叕鍙�' ">{{ itemDatile.building_number }}</td>
-        <td v-else>{{ itemDatile.s01Value }}</td>
+        <td class="tdNowrap" v-if="name=='閲戝崕绂忓枩澶╂垚鐜荤拑鏈夐檺鍏徃' || name=='娴欐睙宸ㄦ槦鍢夋嘲鏂版潗鏂欐湁闄愬叕鍙�' ">{{ itemDatile.building_number }}</td>
+        <td class="tdNowrap" v-else>{{ itemDatile.s01Value }}</td>
         <td>{{ itemDatile.technology_number }}</td>
         <td>{{ itemDatile.child_width }}</td>
         <td class="item" style="width: 5%;height: 100%;">
@@ -352,12 +352,12 @@
         <td>{{ itemDatile.total_area }}</td>
         <td>{{ itemDatile.perimeter }}</td>
         <td>{{ itemDatile.bend_radius }}</td>
-        <td>{{ itemDatile.patch_type }}</td>
-        <td>{{ itemDatile.patch_reason }}</td>
-        <td>{{ itemDatile.patch_processes }}</td>
-        <td>{{ itemDatile.responsible_team }}</td>
+        <td class="tdNowrap">{{ itemDatile.patch_type }}</td>
+        <td class="tdNowrap">{{ itemDatile.patch_reason }}</td>
+        <td class="tdNowrap">{{ itemDatile.patch_processes }}</td>
+        <td class="tdNowrap">{{ itemDatile.responsible_team }}</td>
         <td>{{ itemDatile.responsible_personnel }}</td>
-        <td>{{ itemDatile.remarks }}</td>
+        <td class="tdNowrap">{{ itemDatile.remarks }}</td>
         <template v-for=" n in item.processList.length">
           <td></td>
           <td></td>
@@ -491,7 +491,7 @@
 }
 
 .tdNowrap {
-
+  white-space: nowrap;
 }
 
 #contentTable tfoot {
diff --git a/north-glass-erp/northglass-erp/src/views/pp/report/ProcessToBeCompleted.vue b/north-glass-erp/northglass-erp/src/views/pp/report/ProcessToBeCompleted.vue
index 2d6196f..4a134e7 100644
--- a/north-glass-erp/northglass-erp/src/views/pp/report/ProcessToBeCompleted.vue
+++ b/north-glass-erp/northglass-erp/src/views/pp/report/ProcessToBeCompleted.vue
@@ -288,6 +288,10 @@
     {field: 'child_height', width: 120, title: t('order.height'),filters: [{data: ''}],
       slots: {filter: 'num1_filter'},
       filterMethod: filterChanged},
+    {field: 'thickness',filters: [{data: ''}],
+      slots: {filter: 'num1_filter'},
+      width: 90, title: t('order.totalThickness')},
+
     {field: 'quantity', width: 120, title: t('order.quantity'),filters: [{data: ''}],
       slots: {filter: 'num1_filter'},
       filterMethod: filterChanged},
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 cea4d1c..cdef190 100644
--- a/north-glass-erp/src/main/resources/mapper/pp/FolwCard.xml
+++ b/north-glass-erp/src/main/resources/mapper/pp/FolwCard.xml
@@ -730,7 +730,8 @@
                ''                                              as qrcode,
                ifnull(rack,"")                                  as rack,
                o.quantity as orderQuantity,
-               o.area as orderArea
+               o.area as orderArea,
+               o.order_type
         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
@@ -770,7 +771,8 @@
                #{technologyNumber}                             as technologyNumber,
                concat(fc.process_id, '/', #{technologyNumber}) as processIdNumber,
                concat('瀵瑰簲鎴戝徃鍗曞彿', o.batch)                 AS otherRemarks,
-               ''                                              as qrcode
+               ''                                              as qrcode,
+               o.order_type
         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
@@ -1771,7 +1773,8 @@
                round(SUM(ogd.total_area), 2)                   as gross_area,
                sum(od.weight)                                  as weight,
                #{technologyNumber}                             as technologyNumber,
-               concat(fc.process_id, '/', #{technologyNumber}) as processIdNumber
+               concat(fc.process_id, '/', #{technologyNumber}) as processIdNumber,
+               o.order_type
         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
@@ -1859,7 +1862,8 @@
                concat('瀵瑰簲鎴戝徃鍗曞彿', o.batch)                 AS otherRemarks,
                dd.responsible_personnel,
                #{mergeTechnologyNumber} as  mergeTechnologyNumber,
-               pl.patch_id
+               pl.patch_id,
+               o.order_type
         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
@@ -2664,7 +2668,8 @@
                fc.technology_number                            as qrcode,
                o.other_remarks,
                o.quantity as orderQuantity,
-               o.area as orderArea
+               o.area as orderArea,
+               o.order_type
         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
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 898dad1..03253e7 100644
--- a/north-glass-erp/src/main/resources/mapper/pp/Report.xml
+++ b/north-glass-erp/src/main/resources/mapper/pp/Report.xml
@@ -732,7 +732,8 @@
                fc.quantity - odpd.reporting_work_num - ifnull(fc.termination_quantity,0)      as incompleteNum,
                ROUND(ogd.child_width * ogd.child_height * (fc.quantity - odpd.reporting_work_num- ifnull(fc.termination_quantity,0)) / 1000000,
                      2)                                                             as incompleteArea,
-               od.product_name
+               od.product_name,
+               JSON_UNQUOTE(JSON_EXTRACT(pd.separation, '$.thickness')) AS thickness
 
         from sd.order_detail AS od
                  LEFT JOIN sd.order_glass_detail AS ogd
@@ -750,6 +751,7 @@
                                and odpd.process_id = fc.process_id
                  left join sd.`order` as o
                            on o.order_id = od.order_id
+                 left join sd.product_detail as pd on pd.prod_id=od.product_id
         where  o.create_order>0
           and odpd.process = #{selectProcesses}
           and  o.create_time >= #{selectTime1}

--
Gitblit v1.8.0