fix:fmlogdetail添加扫码

This commit is contained in:
shijing 2025-03-11 17:11:18 +08:00
parent e439a0d7c3
commit 9b6e9cc438
1 changed files with 16 additions and 0 deletions

View File

@ -30,6 +30,14 @@
@click="table_add" @click="table_add"
>新增</el-button >新增</el-button
> >
<el-input
ref="codeInput"
v-model="codeText"
clearable
placeholder="正常交接"
style="width:150px"
@keyup.enter="codeTextChange"
></el-input>
<scTable <scTable
stripe stripe
ref="table" ref="table"
@ -235,6 +243,7 @@ export default {
抽检数:'', 抽检数:'',
强度落球:'', 强度落球:'',
}, },
codeText:"",
fileList:[], fileList:[],
tableData:[], tableData:[],
batchContains:[], batchContains:[],
@ -298,6 +307,13 @@ export default {
this.$refs.saveDialog.open('add'); this.$refs.saveDialog.open('add');
}); });
}, },
codeTextChange(){
let that = this;
that.dialog.save = true;
that.$nextTick(() => {
that.$refs.saveDialog.open('add',that.codeText);
});
},
table_edit(row){ table_edit(row){
this.dialog.save = true; this.dialog.save = true;
this.$nextTick(() => { this.$nextTick(() => {