wangfei
2024-10-21 07b0cdcb34db682b51ca972f5c23da653aa5d32d
UI-Project/src/views/Returns/upreturns.vue
@@ -15,10 +15,10 @@
const selectedProjectNo = ref(''); // 当前选中的工程号  
const loadingline = ref(''); // 当前选中的上片线
const dialogFormVisible = ref(false)
const blind = ref(false)
const blinda = ref(false)
const blindb = ref(false)
@@ -60,8 +60,8 @@
const selectproject = () => {
  dialogFormVisible.value = true;
};
onMounted(() => {
  // socket = initializeWebSocket(socketUrl, handleMessage);
});
@@ -80,12 +80,12 @@
let socket = null;
const socketUrl = `ws://${WebSocketHost}:${host}/api/loadGlass/api/talk/loadGlass`;
// 定义消息处理函数,更新 receivedData 变量
const requestData = {  
  state: 100  
};  
 
onBeforeUnmount(() => {
  closeWebSocket();
});
@@ -519,9 +519,9 @@
.flex-container .el-form-item:last-child {  
  margin-left: 20px; /* 为第二个表单项添加左侧边距 */  
}
#dt { display:block; float:left;line-height: 20px;margin-left: 100px;}
#dta { display:block; float:left;line-height: 20px;margin-left: 80%;}
#dialog-footer{