From c3b60d865c3457c35054446e81b352e93e00a696 Mon Sep 17 00:00:00 2001
From: xiaojiao <xiaojiao@kaokeziliao.com>
Date: 星期一, 12 一月 2026 18:31:11 +0800
Subject: [PATCH] 更改了大部分功能和逻辑
---
项目代码/WMS/WIDESEA_WMSClient/src/views/Home.vue | 17 ++++++++++++++---
1 files changed, 14 insertions(+), 3 deletions(-)
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/views/Home.vue" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/views/Home.vue"
index dc55a26..521918c 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/views/Home.vue"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/views/Home.vue"
@@ -38,6 +38,10 @@
<el-button style="width:150px;height:45px;margin-left:20px;margin-top:30px;" type="success" size="big" @click="checkByManualOk">缁х画浠诲姟</el-button>
</el-row>
+ <el-row type="flex" justify="left" align="middle" style="background-color:#ffffff">
+ <div class="fontStyle">鍏ュ簱鍖哄煙妯″紡锛歿{inboundRunModelVal}}锛屽嚭搴撳尯鍩熸ā寮忥細{{outboundState}}</div>
+ </el-row>
+
<div>
<div class="fontStyle" style="color: red;">娴嬮噺涓嶅悎鏍兼暟閲忥細{{goodscount}}</div>
@@ -74,6 +78,8 @@
goodscount:0,
standarcount:0,
dateDiffResultcount:0,
+ inboundState:"", // 鍏ュ簱鍖烘ā寮�
+ outboundState:"", // 鍑哄簱鍖烘ā寮�
};
},
@@ -93,8 +99,8 @@
openWebSocket () {
const _this = this;
//鍒濆鍖杦ebsocket
- // const ws = new WebSocket("ws://127.0.0.1:9111/");
- const ws = new WebSocket("ws://192.168.1.10:9111/");
+ const ws = new WebSocket("ws://127.0.0.1:9111/");
+ //const ws = new WebSocket("ws://192.168.1.10:9111/");
ws.onopen = function () {
console.log("websocket寮�鍚垚鍔�");
};
@@ -105,6 +111,7 @@
//debugger;
var keys = Object.keys(jsonObj);
+ console.log("webscoket鐨勬暟鎹細" + msgData)
if (keys.includes('checkBarcode')) {
_this.systemBarcode_30301 = jsonObj.systemRFID;
_this.plcBarcode_30301 = jsonObj.lineRFID;
@@ -160,12 +167,16 @@
this.inboundRunModelVal = x.data["controlModel"];
this.carStatusValue = x.data["carStatus"];
this.measureStatusValue = x.data["measureStatus"];
-
+ this.outboundState = x.data["modelResult"];
+ console.log("涓夊彴绌挎杞︾殑鐘舵�侊細"+this.carStatusValue)
} else {
//this.$Message.error(x.message);
}
})
+ // 杩欓噷鍔犱竴涓幏鍙栫殑
+
+
this.http.post("/api/Dt_general_info/GetInboundModel",null,null).then(x=>{
if(x.status===true){
--
Gitblit v1.9.3