空木箱入库连续扫码

This commit is contained in:
2024-05-13 14:13:14 +08:00
parent 52e9d1e8fb
commit 020f332163
3 changed files with 138 additions and 2 deletions

View File

@@ -16,7 +16,7 @@
<span class="filter_label">木箱号</span>
</view>
<view class="filter_input_wraper">
<search-box v-model="val2" />
<link-scan ref="scanChild" @getScanlist="getScanlist"/>
</view>
</view>
<view class="filter_item">
@@ -45,11 +45,13 @@
<script>
import NavBar from '@/components/NavBar.vue'
import SearchBox from '@/components/SearchBox.vue'
import LinkScan from '@/components/LinkScan.vue'
import {twoPdaBoxIn} from '@/utils/getData3.js'
export default {
components: {
NavBar,
SearchBox
SearchBox,
LinkScan
},
data() {
return {
@@ -62,6 +64,9 @@
};
},
methods: {
getScanlist (e) {
this.val2 = e.join()
},
selectChange (e) {
this.index = e
},
@@ -87,6 +92,7 @@
this.val2 = ''
this.val3 = ''
this.index = ''
this.$refs.scanChild.toDel()
}
}
}