8/17 模板打印

20240912_adapter_z
wangwei 8 months ago
parent 37d4f0c8e8
commit 664dcda581

@ -813,7 +813,7 @@ export default {
})
},
printLabel(row) {
row.labelId = 5
row.labelId = 6
printWorkLabel(row).then((response) => {
const binaryData = []
binaryData.push(response)

@ -1546,7 +1546,7 @@ export default {
},
printLabel() {
let query = {
labelId: 5,
labelId: 7,
}
printSplitLabel(query).then((response) => {
const binaryData = [];

@ -7,7 +7,7 @@
<!-- 分割线 -->
<el-form :model="query" class="query-form" size="mini" label-width="100px" :inline="true">
<el-form-item prop="key" label="工位信息:">
<el-input v-model="query.key" clearable placeholder="请输入工位信息"></el-input>
<el-input v-model="query.key" clearable placeholder="请输入或扫描工位二维码" style="width: 400px" ref="inputField" ></el-input>
</el-form-item>
<el-form-item>
@ -115,6 +115,11 @@ export default {
this.stationList = res.data?.list || []
})
},
},
mounted() {
this.$nextTick(() => {
this.$refs.inputField.focus();
});
}
}
</script>

Loading…
Cancel
Save