Index: ssts-web/src/main/webapp/disinfectsystem/packing/packingView.js =================================================================== diff -u -r33164 -r33166 --- ssts-web/src/main/webapp/disinfectsystem/packing/packingView.js (.../packingView.js) (revision 33164) +++ ssts-web/src/main/webapp/disinfectsystem/packing/packingView.js (.../packingView.js) (revision 33166) @@ -3660,7 +3660,7 @@ // 根据装配组的配置来设置光标 if(taskGroupObj && taskGroupObj.cursorFieldAfterPacking && taskGroupObj.cursorFieldAfterPacking == '标识牌条码'){ Ext4.getCmp('scanIdCardBarcode').focus('', 10); - }else{ + }else { Ext4.getCmp('basketBarcodeInput').focus('', 10); } @@ -4426,6 +4426,7 @@ waitPackingTreeGrid.getStore().reload(); showScanIDCardBarcode(); } + onPackingTousseBtnClickComplete(); }else { var tousseName = params[index].tousseName; var splitCount = params[index].basketBarcode.split(";").length; @@ -4527,7 +4528,6 @@ if(!packing){ return; } - onPackingTousseBtnClickComplete(); var packAmount = packedToussesArray.length; // showResult(packAmount + "个" + showName + "装配完成"); var printGroupType = Ext4.getCmp('printGroupType').getValue(); @@ -5085,6 +5085,7 @@ } if(sstsConfig.packingView_autoSelectTousseWhenScanBasket && checked){ basketColumnTreeGrid.getView().fireEvent('itemClick','',parentNode,'',''); + Ext4.getCmp('basketBarcodeInput').focus('', 10); } } var root = basketStore.getRootNode();