hdy
2024-06-07 4a53ae7900954ef581b45a9c742f01ded1a66db5
jcdm-ui/src/views/main/kb/preInstalledTerminal/index.vue
@@ -189,6 +189,7 @@
<script>
import {getIpv4, listStationConf} from "@/api/main/sc/stationConf";
import {
  fistSetpNumber,
  noPageListFormulaChild,
  workpieceRelease,
  yzUpdateResults,
@@ -420,6 +421,10 @@
    },
    /** 查询工单列表 */
    async getList() {
      const param = {
        processesCode: this.headContent.processesCode,
      }
      fistSetpNumber(param).then(response => {});
      this.getListFormulaChild()
      this.addOverStationCollection()
    },
@@ -528,12 +533,15 @@
            locationCode: self.headContent.processesCode,
            productBarcode: self.headContent.sfcCode,
          }
          if(formulaChilds.paramCode === null||formulaChilds.paramCode ===''){
            self.$message('未找到参数码,请检查参数码是否正确');
            return;
          }
          addTighteningParameters(param).then(response => {});
          yzUpdateTighteningFormula(param).then(response => {
            console.log(response.msg)
            if(response.msg === "1"){
            console.log(response)
            if(response.msg === "1" || response.msg === "3"){
                self.getListFormulaChild()
            }else {
              const param = {
                workOrderNo: self.workpieceInformation.workOrderNo,
@@ -547,6 +555,8 @@
              self.headContent.sfcCode = '';
            }
          });
          // self.getListFormulaChild()
        }
      };
    },