| | |
| | | |
| | | <script> |
| | | import ValueTable from '../../tool/value-table.vue' |
| | | import Circuit from './circuit.vue' |
| | | import file from '../../../util/file' |
| | | import excelFunction from '../../../util/excelFountion' |
| | | import CircuitParameters1 from './circuit-parameters1.vue' |
| | |
| | | props: ['sonLaboratory', 'orderId', 'state','inspectorList','version','orderStateId','isLook','num1','noBack'], |
| | | components: { |
| | | ValueTable, |
| | | Circuit, |
| | | CircuitParameters1, |
| | | CircuitParameters2, |
| | | filePreview, |
| | |
| | | </el-table-column> |
| | | </el-table> |
| | | </el-dialog> |
| | | <input type="text" id="ScanCodeInfo" v-model="codeInfo" @keyup.enter="keyup" style="opacity: 0;height: 0px;margin: 0px;padding: 0px;position: absolute;top: 0;" autocomplete="off"></input> |
| | | <el-dialog title="æ«ç æ£éª" :visible.sync="qrCodeVisible" width="350px"> |
| | | <el-row> |
| | | <el-col class="search_thing" :span="24"> |
| | |
| | | this.initializeSortable(); |
| | | } |
| | | }, |
| | | watch:{ |
| | | qrCodeVisible(newVal){ |
| | | if(newVal){ |
| | | // this.$message.success('æ«ç ï¼æå¼') |
| | | let input = document.getElementById('ScanCodeInfo'); |
| | | input.focus(); |
| | | this.startTime = setInterval(()=>{ |
| | | input.focus() |
| | | },1000) |
| | | }else{ |
| | | // this.$message.warning('æ«ç ï¼å
³é') |
| | | clearInterval(this.startTime) |
| | | this.sampleCode = '' |
| | | } |
| | | }, |
| | | exportVisible(newVal){ |
| | | if(newVal){ |
| | | // this.$message.success('æ«ç ï¼æå¼') |
| | | let input = document.getElementById('ScanCodeInfo'); |
| | | input.focus(); |
| | | this.startTime = setInterval(()=>{ |
| | | input.focus() |
| | | },1000) |
| | | }else{ |
| | | // this.$message.warning('æ«ç ï¼å
³é') |
| | | clearInterval(this.startTime) |
| | | this.sampleCode = '' |
| | | } |
| | | }, |
| | | }, |
| | | methods: { |
| | | selectList () { |
| | | this.$axios.get(this.$api.warehouse.selectWarehouse).then(res => { |
| | |
| | | <el-button type="primary" @click="confirmShelves" :loading="upLoadShelves">ç¡® å®</el-button> |
| | | </span> |
| | | </el-dialog> |
| | | <input type="password" id="ScanCodeInfo" v-model="codeInfo" @keyup.enter="keyup" style="opacity: 0;height: 0px;margin: 0px;padding: 0px;position: absolute;top: 0;"></input> |
| | | <!-- <input type="password" id="ScanCodeInfo" v-model="codeInfo" @keyup.enter="keyup" style="opacity: 0;height: 0px;margin: 0px;padding: 0px;position: absolute;top: 0;"></input> --> |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | codeInfo:null, |
| | | } |
| | | }, |
| | | watch:{ |
| | | storageVisible(newVal){ |
| | | if(newVal){ |
| | | // this.$message.success('æ«ç ï¼æå¼') |
| | | let input = document.getElementById('ScanCodeInfo'); |
| | | input.focus(); |
| | | this.startTime = setInterval(()=>{ |
| | | input.focus() |
| | | },1000) |
| | | }else{ |
| | | // this.$message.warning('æ«ç ï¼å
³é') |
| | | clearInterval(this.startTime) |
| | | } |
| | | }, |
| | | exportVisible(newVal){ |
| | | if(newVal){ |
| | | // this.$message.success('æ«ç ï¼æå¼') |
| | | let input = document.getElementById('ScanCodeInfo'); |
| | | input.focus(); |
| | | this.startTime = setInterval(()=>{ |
| | | input.focus() |
| | | },1000) |
| | | }else{ |
| | | // this.$message.warning('æ«ç ï¼å
³é') |
| | | clearInterval(this.startTime) |
| | | } |
| | | }, |
| | | isEdit(newVal){ |
| | | if(!newVal){ |
| | | this.shelves = {} |
| | | } |
| | | } |
| | | }, |
| | | // watch:{ |
| | | // storageVisible(newVal){ |
| | | // if(newVal){ |
| | | // // this.$message.success('æ«ç ï¼æå¼') |
| | | // let input = document.getElementById('ScanCodeInfo'); |
| | | // input.focus(); |
| | | // this.startTime = setInterval(()=>{ |
| | | // input.focus() |
| | | // },1000) |
| | | // }else{ |
| | | // // this.$message.warning('æ«ç ï¼å
³é') |
| | | // clearInterval(this.startTime) |
| | | // } |
| | | // }, |
| | | // exportVisible(newVal){ |
| | | // if(newVal){ |
| | | // // this.$message.success('æ«ç ï¼æå¼') |
| | | // let input = document.getElementById('ScanCodeInfo'); |
| | | // input.focus(); |
| | | // this.startTime = setInterval(()=>{ |
| | | // input.focus() |
| | | // },1000) |
| | | // }else{ |
| | | // // this.$message.warning('æ«ç ï¼å
³é') |
| | | // clearInterval(this.startTime) |
| | | // } |
| | | // }, |
| | | // isEdit(newVal){ |
| | | // if(!newVal){ |
| | | // this.shelves = {} |
| | | // } |
| | | // } |
| | | // }, |
| | | mounted() { |
| | | this.selectList() |
| | | }, |
| | |
| | | //æ¬å° |
| | | // Vue.prototype.LOCATIONVUE = "http://127.0.0.1:80"; |
| | | // const javaApi = 'http://127.0.0.1:8001'; |
| | | const javaApi = 'http://172.20.10.5:8001'; |
| | | // const javaApi = 'http://172.20.10.5:8001'; |
| | | |
| | | // //éä¿¡æµè¯åº |
| | | // Vue.prototype.LOCATIONVUE = "http://10.1.13.77:8080"; |
| | | // const javaApi = 'http://10.1.13.77:8001'; |
| | | const javaApi = 'http://10.1.13.77:8001'; |
| | | |
| | | // //éä¿¡æ£å¼åº |
| | | // Vue.prototype.LOCATIONVUE = "https://ztwxlims.ztt.cn:7443"; |
| | | // const javaApi = 'https://ztwxlims.ztt.cn:7443/lims/'; |
| | | |
| | | //äº |
| | | // Vue.prototype.LOCATIONVUE = "http://114.132.189.42:8080"; |