Browse Source

修改库位扫描标签

hella_vue3
lijuncheng 8 months ago
parent
commit
13039715d5
  1. 10
      src/common/label.js
  2. 2
      src/mycomponents/location/locationCompare.vue
  3. 2
      src/mycomponents/scan/winScanLocation.vue

10
src/common/label.js

@ -42,10 +42,12 @@ export function getLabelInfo(scanMsg,headerType, callBack) {
if (type == 'Q') //qrcode
{
getQRCodeInfo(header, version, scanMsg, callBack);
} else if (type == 'B') //barcode
{
getBarCodeInfo(header, version, items[2], callBack);
} else { //直接输入文本
}
// else if (type == 'B') //barcode
// {
// getBarCodeInfo(header, version, items[2], callBack);
// }
else { //直接输入文本
getBarCodeInfo('text', 'V1.0', scanMsg, callBack);
}
}else {

2
src/mycomponents/location/locationCompare.vue

@ -83,7 +83,7 @@
},
copy() {
// HPQ;V1.0;ICE115F11161AG;PP20230427000026;B20230427002;Q100
var content = "HLB;V1.0;" + this.recommendLocationCode;
var content = this.recommendLocationCode;
// #ifdef H5
this.$copyText(content).then(
res => {

2
src/mycomponents/scan/winScanLocation.vue

@ -13,7 +13,7 @@
<view class="">
<view class="">
<win-com-scan ref="scan" @getResult="getScanResult" :placeholder='title' :clearResult="false"
:boxFocus="true" :isShowHistory="isShowHistory" headerType="HLB">
:boxFocus="true" :isShowHistory="isShowHistory" headerType="">
</win-com-scan>
</view>
</view>

Loading…
Cancel
Save