加快PDA扫码响应速度
This commit is contained in:
@@ -66,27 +66,27 @@
|
||||
this.$nextTick(function() {
|
||||
this.isFocus = true;
|
||||
});
|
||||
}, 1500);
|
||||
}, 500);
|
||||
}
|
||||
},
|
||||
// 获取扫码信息
|
||||
async getInfo(e) {
|
||||
const text = e.target.value;
|
||||
const type = this.type;
|
||||
if (type === 1) {
|
||||
await this.handleScanWareHouseCode(text);
|
||||
} else if (type === 2) {
|
||||
await this.handleScanGoodsCode(text);
|
||||
} else if (type === 3) {
|
||||
await this.handleScanDeliveryOrderCode(text);
|
||||
} else if (type === 4) {
|
||||
await this.handleScanStockReturnCode(text);
|
||||
}
|
||||
setTimeout(() => {
|
||||
this.$nextTick(function() {
|
||||
this.search = '';
|
||||
});
|
||||
}, 500);
|
||||
if (type === 1) {
|
||||
this.handleScanWareHouseCode(text);
|
||||
} else if (type === 2) {
|
||||
this.handleScanGoodsCode(text);
|
||||
} else if (type === 3) {
|
||||
this.handleScanDeliveryOrderCode(text);
|
||||
} else if (type === 4) {
|
||||
this.handleScanStockReturnCode(text);
|
||||
}
|
||||
}, 300);
|
||||
},
|
||||
// type = 1 入库扫仓库编码
|
||||
async handleScanWareHouseCode(text) {
|
||||
|
||||
Reference in New Issue
Block a user