|
|
@@ -166,6 +166,7 @@
|
|
|
|
|
|
(function 焦点放置(){
|
|
|
let inventoryInput=$('#inventoryInput')
|
|
|
+ console.log(inventoryInput.length)
|
|
|
if(inventoryInput.length>0)
|
|
|
$('#inventoryInput').focus()
|
|
|
})();
|
|
|
@@ -194,8 +195,10 @@
|
|
|
barcodes.push(inventoryMission.commodity.barcode);
|
|
|
});
|
|
|
if (!barcodes.includes(barcode)){
|
|
|
- tempTip.setDuration(2000);
|
|
|
- tempTip.show('输入的产品条码没有对应的产品!');
|
|
|
+ if (barcode!=''){
|
|
|
+ tempTip.setDuration(2000);
|
|
|
+ tempTip.show('输入的产品条码没有对应的产品!');
|
|
|
+ }
|
|
|
}else {
|
|
|
//根据该库存和产品条码查询该条盘点记录
|
|
|
let url='{{url('inventory/searchStockInventoryRecord')}}';
|