From c5c7a98b20f1dfc7789c48e17d5acade3f10871c Mon Sep 17 00:00:00 2001 From: niexiting <85552560@qq.com> Date: Wed, 31 Jan 2024 11:27:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=9B=98=E7=82=B9=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/count/job/countDetail.vue | 38 ++++++++++++++++----------------- 1 file changed, 18 insertions(+), 20 deletions(-) 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) {