| | |
| | | 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> |
| | |
| | | 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' |
| | |
| | | }, |
| | | //查询列表 |
| | | 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 |
| | |
| | | } |
| | | }, |
| | | mounted() { |
| | | console.log('singleSelect111',this.singleSelect) |
| | | this.getListData() |
| | | this.setFocus() |
| | | this.$refs.inputdata.addEventListener('keydown',this.handleScannerInput) |