| | |
| | | <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" ref="organization" readonly="readonly" @focus="remove('organization')"> |
| | | <el-button slot="append" icon="el-icon-search" @click="handleSearch"></el-button> |
| | | </el-input> |
| | | </div> |
| | |
| | | tableLoading:false, |
| | | sampleCode:'', |
| | | currentId:null, |
| | | searchSampleCode:'', |
| | | searchSampleCode:null, |
| | | codeInfo:null, |
| | | } |
| | | }, |
| | |
| | | if(e){ |
| | | this.sampleCode = e.replaceAll('"','') |
| | | } |
| | | } |
| | | }, |
| | | remove(type){ |
| | | this.$refs[type].$el.querySelector('input').removeAttribute('readonly') |
| | | }, |
| | | } |
| | | } |
| | | </script> |