From 25cc86fd8a2fb3b2bb6b385cba0adaf89ff3dcdc Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期四, 18 十二月 2025 16:39:32 +0800
Subject: [PATCH] 流程卡进度打印部分代码

---
 north-glass-erp/northglass-erp/src/components/sd/order/OrderProcess.vue |   22 ++++++++++++++++++----
 1 files changed, 18 insertions(+), 4 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 b4b2d83..f488d93 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
@@ -23,8 +23,8 @@
   printConfig: {},
   importConfig: {},
   exportConfig: {},
-  scrollY:{ enabled: true,gt:13 },//寮�鍚櫄鎷熸粴鍔�
-  scrollX:{ enabled: true,gt:15 },//寮�鍚櫄鎷熸粴鍔�
+  // scrollY:{ enabled: true,gt:13 },//寮�鍚櫄鎷熸粴鍔�
+  // scrollX:{ enabled: true,gt:15 },//寮�鍚櫄鎷熸粴鍔�
   filterConfig: {   //绛涢�夐厤缃」
     // remote: true
   },
@@ -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' }},
@@ -266,6 +267,16 @@
 const changeZoom = ()=> {
   showTitle.value = !showTitle.value
 }
+
+const rowStyle = ({ row,rowIndex  }) => {
+    if(row.termination_status==1){
+      return {
+        backgroundColor: 'rgb(186 188 192)'
+      }
+    }
+
+
+}
 </script>
 
 <template>
@@ -279,6 +290,7 @@
         ref="xGrid"
         v-bind="gridOptions"
         v-on="gridEvents"
+        :row-style="rowStyle"
     >
       <template #num1_filter="{ column, $panel }">
         <div>
@@ -303,7 +315,9 @@
       <template #title>
         <span style="font-weight: bold" v-show="showTitle">
           {{ row.orderId }}
-          {{ row.project?'--':'' }}
+          {{ row.customerName?'--':'' }}
+          {{ row.customerName}}
+          {{row.project?'--':'' }}
           {{row.project}}
           {{ row.batch?'--':'' }}
           {{row.batch}}

--
Gitblit v1.8.0