From 3bfff48245e0eb8affcbf2a16fb2c75eb1cff8bb Mon Sep 17 00:00:00 2001
From: 廖井涛 <2265517004@qq.com>
Date: 星期一, 14 四月 2025 11:10:40 +0800
Subject: [PATCH] 模拟计算发送数据处理

---
 north-glass-erp/northglass-erp/src/views/pp/processCard/SelectPrintProject.vue |   53 ++++++++++++++++++++++++++++++++++++++++++++++++++---
 1 files changed, 50 insertions(+), 3 deletions(-)

diff --git a/north-glass-erp/northglass-erp/src/views/pp/processCard/SelectPrintProject.vue b/north-glass-erp/northglass-erp/src/views/pp/processCard/SelectPrintProject.vue
index ff19127..19b74ae 100644
--- a/north-glass-erp/northglass-erp/src/views/pp/processCard/SelectPrintProject.vue
+++ b/north-glass-erp/northglass-erp/src/views/pp/processCard/SelectPrintProject.vue
@@ -14,12 +14,14 @@
 import companyInfo from "@/stores/sd/companyInfo"
 import {remove} from "xe-utils";
 import PrintProcess from "@/components/pp/PrintProcess.vue";
+import PrintProcessStraight from "@/components/pp/PrintProcessStraight.vue";
 //璇█鑾峰彇
 const {t} = useI18n()
 
 let router = useRouter()
 const dialogTableVisible = ref(false)
 const dialogTableVisibleLabelXJTwo = ref(false)
+const dialogTableVisibleStraight = ref(false)
 let rowClickIndex = ref(null)
 
 
@@ -52,7 +54,8 @@
   list: null,
   printMergeVal: null,
   like: null,
-  project:null
+  project:null,
+  merge: null
 })
 const getTableRow = (row, type) => {
   switch (type) {
@@ -66,7 +69,11 @@
       break
     }
     case 'edit1' :{
-      router.push({path: '/main/processCard/PrintLabel', query: { projectNo: row.project_no,type:2 }})
+      if(parseInt(print.value)==1){
+        router.push({path: '/main/processCard/PrintLabel', query: { projectNo: row.project_no,type:2 }})
+      }else{
+        router.push({path: '/main/processCard/PrintCustomLabelSemi2', query: { projectNo: row.project_no,type:2 }})
+      }
       break
     }
     case 'edit2' :{
@@ -75,7 +82,12 @@
     }
     case 'edit3' :{
       printRow.value.project=row.project_no
-      dialogTableVisible.value = true
+      printRow.value.merge = company.flowCardMerge
+      if(company.companyName=='甯稿窞甯傚悏鍒╃幓鐠冩湁闄愬叕鍙�'){
+        dialogTableVisibleStraight.value = true
+      }else{
+        dialogTableVisible.value = true
+      }
     }
   }
 }
@@ -207,6 +219,20 @@
     {
       field: 'project_no',
       title: t('ingredientsStock.projectNo'),
+      filters: [{data: ''}],
+      slots: {filter: 'num1_filter'},
+      filterMethod: filterChanged
+    },
+    {
+      field: 'glass_thickness',
+      title: t('order.totalThickness'),
+      filters: [{data: ''}],
+      slots: {filter: 'num1_filter'},
+      filterMethod: filterChanged
+    },
+    {
+      field: 'glass_type',
+      title: t('ingredients.films'),
       filters: [{data: ''}],
       slots: {filter: 'num1_filter'},
       filterMethod: filterChanged
@@ -449,6 +475,26 @@
           :printList="printRow.list"
           :printMerge="printRow.printMergeVal"
           :printProject="printRow.project"
+          :merges="printRow.merge"
+          style="width: 100%;height: 100%"/>
+    </el-dialog>
+
+    <el-dialog
+        id="sizePrintCalrd"
+        v-model="dialogTableVisibleStraight"
+        :title="$t('processCard.print')"
+        destroy-on-close
+        style="width: 75%;height:75% ">
+      <template #header="{ close, titleId, titleClass }">
+        <el-button v-print="printContent" :icon="Printer" circle @click="printNumber"/>
+      </template>
+      <print-process-straight
+          id="child"
+          :printLike="printRow.like"
+          :printList="printRow.list"
+          :printMerge="printRow.printMergeVal"
+          :printProject="printRow.project"
+          :merges="printRow.merge"
           style="width: 100%;height: 100%"/>
     </el-dialog>
   </div>
@@ -477,4 +523,5 @@
   overflow-y: auto;
 }
 
+
 </style>
\ No newline at end of file

--
Gitblit v1.8.0