cl
2024-08-12 c95d41115a594784ce1debe43b42b9abca6149d8
修改采集参数
已修改1个文件
36 ■■■■■ 文件已修改
jcdm-ui/src/views/main/kb/stationTerminal/index.vue 36 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
jcdm-ui/src/views/main/kb/stationTerminal/index.vue
@@ -370,6 +370,34 @@
      console.log(tab, event);
    },
    handleEnter() {
      //赋值总成码
      if(this.headContent.sfcCode === ""){
        if(this.headContent.processesCode === "OP170" ||
          this.headContent.processesCode === "OP180" ||
          this.headContent.processesCode === "OP190" ||
          this.headContent.processesCode === "OP200" ||
          this.headContent.processesCode === "OP210" ||
          this.headContent.processesCode === "OP220" ||
          this.headContent.processesCode === "OP230"
        ){
          this.headContent.sfcCode = this.materialCode;
          this.queryParams.productNum = this.materialCode;
          this.getList()
          this.cakeLamp.scanFinish = 1
          this.cakeLamp.startWork = 1
          this.cakeLamp.InPlace = 1
          const param = {
            processesCode: this.headContent.processesCode,
            productCode: this.workpieceInformation.productCode
          }
          fistSetpNumber(param).then(response => {
            console.log("fistSetpNumber------"+response.msg)
          });
        }
      }
      this.serialPortMethod(this.materialCode);
      this.$message("扫描物料编码"+this.materialCode);
      this.setFocus();
@@ -657,8 +685,12 @@
          fistSetpNumber(param).then(response => {
            console.log("fistSetpNumber------"+response.msg)
          });
          self.test1()
          self.test2()
          //打印
          if(self.headContent.processesCode === "OP165"){
            self.test1()
            self.test2()
          }
        }else if (event.data.includes("[")) {//拧紧
          let formulaChilds = "";