白包盘点扫描成功后光标重新定位到批次输入框

This commit is contained in:
彭枝刚 2024-11-01 13:35:02 +08:00
parent e9c37e5f20
commit ce070d344a

View File

@ -311,7 +311,10 @@ export default {
me.formObj.inventoryList = me.formObj.inventoryList.concat(data);
inputFocus(this, "batchNumber");
me.formObj.inventoryList.reverse();
return me.$u.toast('扫描成功');
me.$u.toast('扫描成功');
me.formObj.batchNumber = '';
inputFocus(this, "batchNumber");
return;
}).catch(e => {
me.formObj.batchNumber = ''
uni.hideLoading();