| | |
| | | |
| | | <!-- <el-button style="width:200px;height:100px;margin-top:100px;margin-left:100px" type="success" size="big" @click="generalFun">éä¿¡æé®</el-button> --> |
| | | <div> |
| | | <el-button class="btnStyle" type="success" size="big" @click="checkToNormalModel">忢尿£å¸¸æ¨¡å¼</el-button> |
| | | <el-button class="btnStyle" type="danger" size="big" @click="checkToEmergeModel">忢å°åºæ¥æ¨¡å¼</el-button> |
| | | <el-button class="btnStyle" type="success" size="big" @click="checkToNormalModel">æ£å¸¸æ¨¡å¼</el-button> |
| | | <!-- <el-button class="btnStyle" type="danger" size="big" @click="checkToEmergeModel">忢å°åºæ¥æ¨¡å¼</el-button> --> |
| | | <el-button class="btnStyle" type="success" size="big" @click="checkToEmptyIn">忢å°ç©ºæå
¥åº</el-button> |
| | | <el-button class="btnStyle" type="danger" size="big" @click="checkToBoxIn">忢å°è½´æ¿å
¥åº</el-button> |
| | | </div> |
| | |
| | | </div> |
| | | |
| | | <div> |
| | | <div class="fontStyle">å
¥åºçº¿ä½å½å模å¼ï¼æ£å¸¸æ¨¡å¼å¼ï¼{{normalModelVal}},åºæ¥æ¨¡å¼å¼:{{emergeModelVal}}</div> |
| | | <div class="fontStyle">å
¥åºçº¿ä½å½å模å¼ï¼æ£å¸¸æ¨¡å¼å¼ï¼{{normalModelVal}}</div> |
| | | </div> |
| | | |
| | | <div> |
| | |
| | | <el-row type="flex" justify="left" align="middle" style="background-color:#ffffff"> |
| | | <div class="fontStyle">å
¥åºæ£éªæçç ç»æï¼ç³»ç»æ¡ç å¼ï¼{{systemBarcode_30301}}ï¼PLCæ¡ç å¼ï¼{{plcBarcode_30301}}</div> |
| | | <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> |
| | | |
| | | |
| | |
| | | goodscount:0, |
| | | standarcount:0, |
| | | dateDiffResultcount:0, |
| | | inboundState:"", // å
¥åºåºæ¨¡å¼ |
| | | outboundState:"", // åºåºåºæ¨¡å¼ |
| | | }; |
| | | }, |
| | | |
| | |
| | | openWebSocket () { |
| | | const _this = this; |
| | | //åå§åwebsocket |
| | | // 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å¼å¯æå"); |
| | | }; |
| | |
| | | |
| | | //debugger; |
| | | var keys = Object.keys(jsonObj); |
| | | console.log("webscoketçæ°æ®ï¼" + msgData) |
| | | if (keys.includes('checkBarcode')) { |
| | | _this.systemBarcode_30301 = jsonObj.systemRFID; |
| | | _this.plcBarcode_30301 = jsonObj.lineRFID; |
| | |
| | | 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){ |
| | | |