-
admin
2024-05-10 1c84aef7b3d88ce9f2ac5d3173f892a1cd727800
jcdm-ui/src/views/main/kb/heatingFilmTerminal/index.vue
@@ -6,20 +6,22 @@
         <span class="head-font">工位编号 : {{headContent.processesCode}}</span>
       </el-card>
     </el-col>
     <el-col :span="7">
     <el-col :span="17">
       <el-card shadow="never">
         <span class="head-font">工位名称 : {{headContent.processesName}}</span>
       </el-card>
     </el-col>
     <el-col :span="10">
       <el-card shadow="never">
         <span class="head-font">产品序列号 : {{headContent.sfcCode}}</span>
<!--         <el-input v-model="content" style="float: right;width: 150px;" placeholder="请输入内容"></el-input>-->
<!--         <el-button @click="scanCompleted" style="float: right" type="primary">扫码完成</el-button>-->
         <el-button type="primary" style="float: right" icon="el-icon-search" size="mini" @click="serialLink">串口连接</el-button>
         <el-button @click="clearClick" style="float: right" type="danger" size="mini">清除</el-button>
       </el-card>
     </el-col>
<!--     <el-col :span="10">-->
<!--       <el-card shadow="never">-->
<!--         <span class="head-font">产品序列号 : {{headContent.sfcCode}}</span>-->
<!--&lt;!&ndash;         <el-input v-model="content" style="float: right;width: 150px;" placeholder="请输入内容"></el-input>&ndash;&gt;-->
<!--&lt;!&ndash;         <el-button @click="scanCompleted" style="float: right" type="primary">扫码完成</el-button>&ndash;&gt;-->
<!--         <el-button type="primary" style="float: right" icon="el-icon-search" size="mini" @click="serialLink">串口连接</el-button>-->
<!--         <el-button @click="clearClick" style="float: right" type="danger" size="mini">清除</el-button>-->
<!--       </el-card>-->
<!--     </el-col>-->
   </el-row>
   <el-row :gutter="5" style="margin-top: 5px">
@@ -268,7 +270,7 @@
  addParamCollection,
  addTighteningParameters,
  saveCampaignTimeParameters,
  replaceAssemblyCode,
  replaceAssemblyCode, jrmSaveCampaignTimeParameters,
} from "@/api/main/da/paramCollection/paramCollection";
export default {
@@ -457,6 +459,7 @@
    },
    /** 查询配方配置子信息列表 */
    getListFormulaChild() {
      console.log('getListFormulaChild')
      // this.formulaChildList = []
      this.formulaChildParams.productCode = '1P102S'
      this.formulaChildParams.processesCode = this.headContent.processesCode
@@ -464,6 +467,7 @@
      noPageListFormulaChild(this.formulaChildParams).then(response => {
        this.formulaChildList = response.rows;
      });
      console.log('success_getListFormulaChild')
    },
    endClear(){
      this.cakeLamp.InPlace= 0 //工件到位
@@ -503,6 +507,7 @@
    /** 入站增加过站采集记录 **/
    addOverStationCollection(){
      console.log('addOverStationCollection')
      this.passingStationForm = {
        id: null,
        // workOrderNo: this.workpieceInformation.workOrderNo,
@@ -513,7 +518,6 @@
        sfcCode: this.headContent.moduleA+','+this.headContent.moduleB,
        inboundTime: new Date()
      }
      // addPassingStationCollection(this.passingStationForm).then(response => {});
      jrmAddPassingStationCollection(this.passingStationForm).then(response => {});
      // addBasicParameters(this.passingStationForm).then(response => {});
    },
@@ -575,7 +579,7 @@
            locationCode: self.headContent.processesCode,
            productBarcode: self.headContent.sfcCode,
          }
          saveCampaignTimeParameters(param).then(response => {});
          jrmSaveCampaignTimeParameters(param).then(response => {});
          self.cakeLamp.release = 1;
          self.endClear()
          workpieceRelease(param).then(response => {});
@@ -595,8 +599,8 @@
          const param = {
            tightenTheArray: event.data,
            paramCode: formulaChilds.paramCode,
            workOrderNo: self.workpieceInformation.workOrderNo,
            productCode: self.workpieceInformation.productCode,
            // workOrderNo: self.workpieceInformation.workOrderNo,
            productCode: '1P102S',
            locationCode: self.headContent.processesCode,
            productBarcode: self.headContent.sfcCode,
          }