From 33dbc6a161554f3a897f9e9273feb4f2c1b47381 Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期一, 15 十二月 2025 17:04:27 +0800
Subject: [PATCH] Merge branch 'master' of http://10.153.19.25:10105/r/ERP_override

---
 north-glass-erp/northglass-erp/src/views/pp/processCard/PrintFlowCardDetails.vue |   28 +++++++++++++++++++++++-----
 1 files changed, 23 insertions(+), 5 deletions(-)

diff --git a/north-glass-erp/northglass-erp/src/views/pp/processCard/PrintFlowCardDetails.vue b/north-glass-erp/northglass-erp/src/views/pp/processCard/PrintFlowCardDetails.vue
index 6d681a5..c3b4eee 100644
--- a/north-glass-erp/northglass-erp/src/views/pp/processCard/PrintFlowCardDetails.vue
+++ b/north-glass-erp/northglass-erp/src/views/pp/processCard/PrintFlowCardDetails.vue
@@ -218,6 +218,7 @@
   })
 }
 const printOrder = (type) => {
+  printNumber()
   const list = tag.value.value
   list.panels[0].printElements.forEach(element => {
     element.options.fontFamily = 'Arial'
@@ -710,7 +711,7 @@
             return
           }
           if (printMerge.value === null || printMerge.value === '') {
-            ElMessage.warning('璇峰~鍏ラ渶瑕佸悎骞剁殑灞�')
+            ElMessage.warning(t('rework.msg1'))
             return
           }
 
@@ -848,7 +849,7 @@
 const printNumber = () => {
 
   selectRecordsData.value.printList = selectRecords
-  request.post(`/processCard/updatePrintNumber`, selectRecordsData.value).then((res) => {
+  request.post(`/tagStyle/updatePrintNumber`, selectRecordsData.value).then((res) => {
     if (res.code == 200 && res.data === true) {
     } else {
 
@@ -967,7 +968,7 @@
         destroy-on-close
         style="width: 75%;height:75% ">
       <template #header="{ close, titleId, titleClass }">
-        <el-button v-print="printContent" :icon="Printer" circle @click="printNumber"/>
+        <el-button v-print="printContent" :icon="Printer" circle />
       </template>
       <print-process
           id="child"
@@ -1004,7 +1005,7 @@
         destroy-on-close
         style="width: 80%;height:75% ">
       <template #header="{ close, titleId, titleClass }">
-        <el-button v-print="printContentLabelSemi" :icon="Printer" circle/>
+        <el-button v-print="printContentLabelSemi" :icon="Printer" circle @click="printNumber"/>
       </template>
       <print-custom-label-semi id="childLabelSemi"
                                :faceOrientation="labelRow.faceOrientation"
@@ -1051,7 +1052,24 @@
         destroy-on-close
         style="width: 80%;height:75% ">
       <template #header="{ close, titleId, titleClass }">
-        <el-button :icon="Printer" circle @click="printOrder(1)"/>
+        <el-tooltip
+            class="box-item"
+            effect="dark"
+            :content="$t('processCard.yesTitle')"
+            placement="top"
+        >
+          <el-button :icon="Printer" circle @click="printOrder(1)"/>
+        </el-tooltip>
+        <el-tooltip
+            class="box-item"
+            effect="dark"
+            :content="$t('processCard.noTitle')"
+            placement="top"
+        >
+          <el-button @click="printOrder(3)">
+            <i class="vxe-icon-print"></i>
+          </el-button>
+        </el-tooltip>
       </template>
       <print-custom-label-x-j id="childLabel"
                               :faceOrientation="labelRow.faceOrientation"

--
Gitblit v1.8.0