|
@ -21,6 +21,8 @@ |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</uni-popup> |
|
|
</uni-popup> |
|
|
|
|
|
<!-- 模拟扫描功能 --> |
|
|
|
|
|
<win-com-scan-fg v-show="false" ref="comscansimulate" @getResult="getScanResult" :isShowHistory="false" :clearResult="true"></win-com-scan-fg> |
|
|
<comMessage ref="comMessage" @afterClose="getfocus"></comMessage> |
|
|
<comMessage ref="comMessage" @afterClose="getfocus"></comMessage> |
|
|
</view> |
|
|
</view> |
|
|
</template> |
|
|
</template> |
|
@ -52,6 +54,11 @@ |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
methods: { |
|
|
methods: { |
|
|
|
|
|
//模拟扫描功能 |
|
|
|
|
|
simulateScan(item){ |
|
|
|
|
|
this.$refs.comscansimulate.setItemCodeSimulate(item.itemCode,item.copyContent) |
|
|
|
|
|
this.$refs.comscansimulate.clickScanMsg(); |
|
|
|
|
|
}, |
|
|
openScanPopup(itemCode) { |
|
|
openScanPopup(itemCode) { |
|
|
setTimeout(res => { |
|
|
setTimeout(res => { |
|
|
this.$refs.popup.open('bottom') |
|
|
this.$refs.popup.open('bottom') |
|
|