From 61df46fad507daec00a9d1ed9fdb3c433e7c1363 Mon Sep 17 00:00:00 2001
From: ZengTao <2773468879@qq.com>
Date: 星期四, 17 十月 2024 15:09:24 +0800
Subject: [PATCH] 大理片添加标签打印功能

---
 UI-Project/src/views/UnLoadGlass/loadmachinerack.vue |   31 +++++++++++++++----------------
 1 files changed, 15 insertions(+), 16 deletions(-)

diff --git a/UI-Project/src/views/UnLoadGlass/loadmachinerack.vue b/UI-Project/src/views/UnLoadGlass/loadmachinerack.vue
index cb55ff6..b0b40f3 100644
--- a/UI-Project/src/views/UnLoadGlass/loadmachinerack.vue
+++ b/UI-Project/src/views/UnLoadGlass/loadmachinerack.vue
@@ -1,14 +1,18 @@
 <script setup>
-import {onBeforeUnmount, onMounted, onUnmounted, reactive, ref} from "vue";
-import {useRouter} from "vue-router"
-import {useI18n} from 'vue-i18n'
-import {ElMessage} from 'element-plus'
+import { onBeforeUnmount, onMounted, onUnmounted, reactive, ref } from "vue";
+import { useRouter } from "vue-router"
+import { useI18n } from 'vue-i18n'
+import { ElMessage } from 'element-plus'
 import request from "@/utils/request";
-import {closeWebSocket, initializeWebSocket} from '@/utils/WebSocketService';
-import {host, WebSocketHost} from '@/utils/constants'
+import { closeWebSocket, initializeWebSocket } from '@/utils/WebSocketService';
+import { host, WebSocketHost } from '@/utils/constants'
+import PrintFlow from "@/views/UnLoadGlass/PrintFlow.vue";
+import Landingindication from "./Landingindication.vue";
+import Landingindicationtwo from "./Landingindicationtwo.vue";
+import PrintLabel from "@/views/UnLoadGlass/PrintCustomLabelSemi1.vue";
 
 const router = useRouter()
-const {t} = useI18n()
+const { t } = useI18n()
 let language = ref(localStorage.getItem('lang') || 'zh')
 const printLoading = ref(true)
 const fullFlowCard = ref('')
@@ -231,7 +235,7 @@
       scanGlass.value.width = height;
       scanGlass.value.height = width;
     }
-    if (autoPrint.value == true && browser.value == true) {
+    if(autoPrint.value == true && browser.value == true){
       open1(scanGlass);
     }
   }
@@ -537,9 +541,7 @@
               </div>
               <div style="font-size: 50px; text-align: center;position: absolute;top:0px;left:170px;">
                 <div>浜哄伐涓嬬墖褰撳墠鐜荤拑淇℃伅</div>
-                <div>
-                  <el-button type="primary" @click="open1(takeGlass)">鎵撳嵃鏍囩</el-button>
-                </div>
+                <div><el-button type="primary" @click="open1(takeGlass)" >鎵撳嵃鏍囩</el-button></div>
                 <div>{{ takeGlass.flowCardId }}</div>
                 <div>{{ takeGlass.layer }}</div>
                 <div>{{ takeGlass.glassId }}</div>
@@ -555,9 +557,7 @@
               </div>
               <div style="font-size: 50px; text-align: center;position: absolute;top:0px;left:200px;">
                 <div>鎵爜鏋綋鍓嶇幓鐠冧俊鎭�</div>
-                <div>
-                  <el-button type="primary" @click="open1(scanGlass)">鎵撳嵃鏍囩</el-button>
-                </div>
+                <div><el-button type="primary" @click="open1(scanGlass)" >鎵撳嵃鏍囩</el-button></div>
                 <div>{{ scanGlass.flowCardId }}</div>
                 <div>{{ scanGlass.layer }}</div>
                 <div>{{ scanGlass.glassId }}</div>
@@ -629,8 +629,7 @@
       style="width: 100%;height: 100%" />
   </el-dialog>
   <el-dialog id="sizePrintCalrd1" v-model="dialogTableVisible1" destroy-on-close>
-    <print-label id="printFlowCard" :printFlowCardId="printFlowCardId" :printLayer="printLayer"
-                 :printGlassId="printGlassId" style=""/>
+    <print-label id="printFlowCard" :printFlowCardId="printFlowCardId" :printLayer="printLayer" :printGlassId="printGlassId"  style="" />
   </el-dialog>
 
 </template>

--
Gitblit v1.8.0