春风项目四线(合箱线、总装线)
yyt
2024-05-28 1c703617885275090d69c697e82e61f4940c0bdc
jcdm-ui/src/views/main/om/productionOrde/detail.vue
@@ -10,8 +10,6 @@
                   placeholder="请扫描箱体码"
                     />
          </el-form-item>
<!--          <el-button size="large" type="primary" >上线</el-button>-->
<!--          <el-button size="large" type="danger">下线</el-button>-->
          <el-button size="large" type="info" @click="refresh">返回</el-button>
        </el-form>
      </el-card>
@@ -126,20 +124,16 @@
        this.$refs.inputdata.value = ''
        this.scannerFlag = false
      }
      console.log('+++++++++++++++=++++++',event)
      const input = event.target
      const inputValue = input.value
      this.queryParams.productionNotice = inputValue
      console.log('----------------------',this.queryParams.productionNotice)
      if (event.key === 'Enter'){
        this.scannerFlag = true
        //扫描完成
        engineNoIsInModel({engineNo:this.queryParams.productionNotice,
          model:this.singleSelect.typeZ,orderNo:this.singleSelect.workOrderNo
        }).then(res => {
          console.log('rerrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrs----',res)
          if (res.data===500){
            console.log('====---===')
            this.$message({
              message:res.msg,
              type:'warning'
@@ -156,9 +150,7 @@
    },
    //查询列表
    getListData(){
      console.log('this.queryParams.workOrderNo',this.singleSelect.workOrderNo)
      this.queryParams.orderNo = this.singleSelect.workOrderNo
      console.log('this.queryParams',this.queryParams)
      listOrderScheduling3(this.queryParams).then(res => {
        this.orderSchedulingList = res.rows
        this.total = res.total
@@ -172,7 +164,6 @@
    }
  },
  mounted() {
    console.log('singleSelect111',this.singleSelect)
    this.getListData()
    this.setFocus()
    this.$refs.inputdata.addEventListener('keydown',this.handleScannerInput)