From 2fbce7d8c0b7e5b055bb7ab77e58b1ec9ce61885 Mon Sep 17 00:00:00 2001 From: admin <15939171744@163.com> Date: 星期一, 24 六月 2024 19:00:22 +0800 Subject: [PATCH] 1,优化人工工位参数采集temp表删除方法 pushGeelycvMesFeedback 2,优化人工工位更新过站记录方法 workpieceRelease 3,优化未绑定小车码弹框提示 4,优化人工工位扫码重复会添加参数采集记录的问题及拧紧数据会添加上物料采集上的问题 --- jcdm-ui/src/views/main/kb/heatingFilmTerminal/index.vue | 39 +++++++++++++++++++-------------------- 1 files changed, 19 insertions(+), 20 deletions(-) diff --git a/jcdm-ui/src/views/main/kb/heatingFilmTerminal/index.vue b/jcdm-ui/src/views/main/kb/heatingFilmTerminal/index.vue index b4bc0a7..d9276f0 100644 --- a/jcdm-ui/src/views/main/kb/heatingFilmTerminal/index.vue +++ b/jcdm-ui/src/views/main/kb/heatingFilmTerminal/index.vue @@ -245,7 +245,7 @@ import {listWorkReport} from "@/api/main/om/workReport/workReport"; import {listStationConf,getIpv4} from "@/api/main/sc/stationConf"; import { - jrmUpdateResults, + jrmUpdateResults, jrmWorkpieceRelease, listFormulaChild, noPageListFormulaChild, releaseCheck, @@ -409,19 +409,6 @@ serialLink() { this.open1 = true }, - bindYzSfc(){ - if(this.headContent.sfcCode!==""&&this.headContent.yzSfcCode!==""){ - let param = { - sfcCode: this.headContent.sfcCode, - locationCode: this.headContent.processesCode, - yzSfcCode: this.headContent.yzSfcCode - } - this.$message('鍙互缁戝畾锛�'); - replaceAssemblyCode(param).then(response => { - - }); - } - }, Release(){ // this.$message('portsList锛�'+this.portsList.length); if(this.btnType === "danger"){ @@ -518,8 +505,19 @@ console.log(tab, event); }, clearClick(){ - this.$message('杩欐槸涓�鏉℃竻闄ゆ秷鎭彁绀�'); - this.headContent.sfcCode = null + const param = { + workOrderNo: this.workpieceInformation.workOrderNo, + productCode: "1P102S", + locationCode: this.headContent.processesCode, + productBarcode: this.headContent.moduleA+','+this.headContent.moduleB, + } + jrmSaveCampaignTimeParameters(param).then(response => {}); + this.cakeLamp.release = 1; + this.endClear() + // workpieceRelease(param).then(response => {}); + jrmWorkpieceRelease(param).then(response => {}); + // this.$message('杩欐槸涓�鏉℃竻闄ゆ秷鎭彁绀�'); + // this.headContent.sfcCode = null }, scanCompleted(){ this.$message('鎵爜瀹屾垚'+this.content); @@ -607,14 +605,15 @@ } else if (event.data === "END") { const param = { workOrderNo: self.workpieceInformation.workOrderNo, - productCode: self.workpieceInformation.productCode, + productCode: "1P102S", locationCode: self.headContent.processesCode, - productBarcode: self.headContent.sfcCode, + productBarcode: self.headContent.moduleA+','+self.headContent.moduleB, } jrmSaveCampaignTimeParameters(param).then(response => {}); self.cakeLamp.release = 1; self.endClear() - workpieceRelease(param).then(response => {}); + // workpieceRelease(param).then(response => {}); + jrmWorkpieceRelease(param).then(response => {}); } else if (event.data.includes("[")) { let formulaChilds = ""; self.formulaChildList.sort((a, b) => a.stepSort - b.stepSort); @@ -665,7 +664,7 @@ this.headContent.moduleB = scanValue; this.$message('鎵爜璇嗗埆浜у搧搴忓垪鍙�'+scanValue); this.getList() - this.cakeLamp.InPlace = 1 + // this.cakeLamp.InPlace = 1 this.cakeLamp.scanFinish = 1 this.cakeLamp.startWork = 1 } -- Gitblit v1.9.3