|
|
|
@ -4,17 +4,18 @@
|
|
|
|
|
<el-form :model="filterQuery" class="query-form" label-width="100px" v-if="showSearch">
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="12">
|
|
|
|
|
<el-form-item prop="code" label="扫码录入:">
|
|
|
|
|
<el-input
|
|
|
|
|
id="inputer"
|
|
|
|
|
@focus="getInputFocus($event)"
|
|
|
|
|
ref="inputRef"
|
|
|
|
|
style="ime-mode: disabled"
|
|
|
|
|
type="tel"
|
|
|
|
|
placeholder="请点击输入框进行扫码设置或者扫码录入"
|
|
|
|
|
v-model="filterQuery.code"
|
|
|
|
|
></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item prop="code" label="扫码录入:">
|
|
|
|
|
<el-input
|
|
|
|
|
id="inputer"
|
|
|
|
|
@focus="getInputFocus($event)"
|
|
|
|
|
@keypress.enter.native="enterKey($event)"
|
|
|
|
|
ref="inputRef"
|
|
|
|
|
style="ime-mode: disabled"
|
|
|
|
|
type="tel"
|
|
|
|
|
placeholder="请点击输入框进行扫码设置或者扫码录入"
|
|
|
|
|
v-model="filterQuery.code"
|
|
|
|
|
></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-row>
|
|
|
|
@ -88,6 +89,7 @@
|
|
|
|
|
<el-table-column label="批次号" prop="batchNo"></el-table-column>
|
|
|
|
|
<el-table-column label="生产日期" prop="madeDate"></el-table-column>
|
|
|
|
|
<el-table-column label="失效日期" prop="validateDate"></el-table-column>
|
|
|
|
|
<el-table-column label="供应商Id" prop="erpId"></el-table-column>
|
|
|
|
|
<el-table-column label="备注" prop="comment"></el-table-column>
|
|
|
|
|
<el-table-column label="操作" width="120px">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
@ -240,6 +242,9 @@ export default {
|
|
|
|
|
this.getList();
|
|
|
|
|
this.detailList = [];
|
|
|
|
|
},
|
|
|
|
|
enterKey(event){
|
|
|
|
|
this.onSubmitFind()
|
|
|
|
|
},
|
|
|
|
|
getInputFocus(event) {
|
|
|
|
|
event.currentTarget.select();
|
|
|
|
|
},
|
|
|
|
|