From d368d765d9ca1384cec38988db3d97f093ae5ee3 Mon Sep 17 00:00:00 2001
From: ZengTao <2773468879@qq.com>
Date: 星期三, 14 八月 2024 15:22:20 +0800
Subject: [PATCH] 调整界面表格高度,修改下片前卧式理片破损接口
---
UI-Project/src/views/UnLoadGlass/loadmachinerack.vue | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/UI-Project/src/views/UnLoadGlass/loadmachinerack.vue b/UI-Project/src/views/UnLoadGlass/loadmachinerack.vue
index 5463263..d3e6467 100644
--- a/UI-Project/src/views/UnLoadGlass/loadmachinerack.vue
+++ b/UI-Project/src/views/UnLoadGlass/loadmachinerack.vue
@@ -6,6 +6,7 @@
import request from "@/utils/request";
import {closeWebSocket, initializeWebSocket} from '@/utils/WebSocketService';
import {host, WebSocketHost} from '@/utils/constants'
+import PrintFlow from "@/views/UnLoadGlass/PrintFlow.vue";
const router = useRouter()
const {t} = useI18n()
@@ -146,7 +147,7 @@
ElMessage.success(response.message);
dialogFormVisiblea2.value = false;
if(fullFlowCard.value==workFlowCard.value){
- fullFlowCard.value=="";
+ fullFlowCard.value="";
}
} else if (response.code === 500) {
// 娓呴櫎澶辫触鐨勯�昏緫
@@ -194,11 +195,10 @@
selectOptionsa.value = data.engineerIdList[0]
}
if (data.autoPrint != null) {
- autoPrint.value = data.autoPrint;
+ autoPrint.value = data.autoPrint[0];
}
- console.log(autoPrint.value)
- tableData.splice(0, tableData.length, ...data.params[0]);
+
if (fullFlowCard.value == ""&&autoPrint.value==true) {
for (let i = 0; i < tableData.length; i++) {
if (tableData[i].totalQuantity != 0) {
@@ -213,7 +213,9 @@
}
}
}
-
+ if(data.params!=null){
+ tableData.splice(0, tableData.length, ...data.params[0]);
+ }
// console.log("鏇存柊鍚庢暟鎹�", data.params[0]);
};
--
Gitblit v1.8.0