| | |
| | | <el-col class="search_thing" :span="24"> |
| | | <div class="search_label" style="width: 90px"><span class="required-span">* </span>样品编号:</div> |
| | | <div class="search_input"> |
| | | <el-input v-model="sampleCode" size="small"></el-input> |
| | | <el-input v-model="sampleCode" size="small" clearable></el-input> |
| | | </div> |
| | | </el-col> |
| | | </el-row> |
| | |
| | | keyup(e){ |
| | | var code = '' |
| | | try{ |
| | | code = JSON.parse(this.codeInfo) |
| | | // console.log(2222,this.codeInfo) |
| | | code = this.codeInfo.substring() |
| | | if(code==null||code==undefined||code==''){ |
| | | this.$message.error('该二维码有误') |
| | | }else{ |
| | |
| | | } |
| | | }catch(e){ |
| | | this.$message.error('请调至英文键盘') |
| | | console.log(e) |
| | | } |
| | | this.codeInfo = null |
| | | }, |