| | |
| | | <div class="search_thing"> |
| | | <div class="search_label">样品编号:</div> |
| | | <div class="search_input"> |
| | | <el-input placeholder="请输入样品编号" v-model="searchSampleCode" size="small"> |
| | | <el-input placeholder="请输入样品编号" v-model="searchSampleCode" size="small" autocomplete="off"> |
| | | <el-button slot="append" icon="el-icon-search" @click="handleSearch"></el-button> |
| | | </el-input> |
| | | </div> |
| | |
| | | <el-col class="search_thing" :span="24"> |
| | | <div class="search_label"><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" @change="sampleCodeChange"></el-input> |
| | | </div> |
| | | </el-col> |
| | | </el-row> |
| | |
| | | <el-col class="search_thing" :span="24"> |
| | | <div class="search_label"><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" @change="sampleCodeChange"></el-input> |
| | | </div> |
| | | </el-col> |
| | | </el-row> |
| | |
| | | methods: { |
| | | keyup(e){ |
| | | var code = '' |
| | | // console.log(3333,this.codeInfo,e) |
| | | try{ |
| | | code = JSON.parse(this.codeInfo) |
| | | if(code==null||code==undefined||code==''){ |
| | |
| | | this.isDetail = true; |
| | | } |
| | | }) |
| | | }, |
| | | sampleCodeChange(e){ |
| | | if(e){ |
| | | this.sampleCode = e.replaceAll('"','') |
| | | } |
| | | } |
| | | } |
| | | } |