diff --git a/pages/count/job/countDetail.vue b/pages/count/job/countDetail.vue index ebe1187e..202bc487 100644 --- a/pages/count/job/countDetail.vue +++ b/pages/count/job/countDetail.vue @@ -357,27 +357,25 @@ } else if (subItems.length == 1) { let subItem = subItems[0]; if (subItem.scaned) { - if (subItem != undefined) { - - that.editCountResult(item, subItem); - - // this.$refs.comMessage.showQuestionMessage("箱码【" + that.label.packingNumber + - // "】已经完成盘点,是否要编辑盘点结果?", - // res => { - // if (res) { - // this.currentEditItem = subItem; - // this.$refs.countQtyEdit.openEditPopup(subItem, - // item.subList); - // // this.$refs.countQtyEdit.openEditPopupShowSeconds(subItem, - // // item.subList); - // } else { - // this.scanPopupGetFocus(); - // } - // }) - } else { - that.scanByBalance(result); - } + that.editCountResult(item, subItem); + // this.$refs.comMessage.showQuestionMessage("箱码【" + that.label.packingNumber + + // "】已经完成盘点,是否要编辑盘点结果?", + // res => { + // if (res) { + // this.currentEditItem = subItem; + // this.$refs.countQtyEdit.openEditPopup(subItem, + // item.subList); + // // this.$refs.countQtyEdit.openEditPopupShowSeconds(subItem, + // // item.subList); + // } else { + // this.scanPopupGetFocus(); + // } + // }) + } else { + that.scanByBalance(result); } + } else if (subItems.length == 0) { + that.scanByBalance(result); } } } catch (e) {