fix:优化关联关系

20240912_adapter
chenhc 5 months ago
parent 750ab410ce
commit d3fd38b176

@ -4,18 +4,19 @@
<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-col>
<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>
<el-col :span="4">
@ -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">
@ -243,6 +245,9 @@ export default {
getInputFocus(event) {
event.currentTarget.select();
},
enterKey(event){
this.onSubmitFind();
},
deleteDialog(row) {
this.$confirm("此操作将永久删除关联记录, 是否继续?", "提示", {
confirmButtonText: "确定",

Loading…
Cancel
Save