From f0c6a5264f3dbcea9cfecac88de9298495fbc1ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=85=B4=E8=BE=89?= Date: Mon, 24 Mar 2025 10:46:24 +0800 Subject: [PATCH] =?UTF-8?q?1)=20PC=20=20=E5=A4=87=E8=B4=A7=E5=87=BA?= =?UTF-8?q?=E5=BA=93=202)=20PC=20=E5=A4=87=E8=B4=A7=E5=87=BA=E5=BA=93?= =?UTF-8?q?=EF=BC=88=E5=A4=AA=E4=BB=93=EF=BC=89=203)=20PC=20=E9=A2=84?= =?UTF-8?q?=E5=A4=87=E8=B4=A7=E5=87=BA=E5=BA=93=204)=20PDA=20=E5=A4=87?= =?UTF-8?q?=E8=B4=A7=E5=87=BA=E5=BA=93=205)=20PDA=20=E9=A2=84=E5=A4=87?= =?UTF-8?q?=E8=B4=A7=E5=87=BA=E5=BA=93=206)=20PDA=20=E9=9D=9E=E5=85=88?= =?UTF-8?q?=E8=BF=9B=E5=85=88=E5=87=BA=E5=87=BA=E5=BA=93=207)=20PDA=20?= =?UTF-8?q?=E9=94=80=E5=94=AE=E5=87=BA=E8=B4=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/StockOut/features/ShipRequestReservation/index.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pages/StockOut/features/ShipRequestReservation/index.vue b/pages/StockOut/features/ShipRequestReservation/index.vue index 7392346..ee19e17 100644 --- a/pages/StockOut/features/ShipRequestReservation/index.vue +++ b/pages/StockOut/features/ShipRequestReservation/index.vue @@ -650,6 +650,10 @@ user: this.userId }).then(res => { if (res.data.success) { + if (res.data.resultObj.length < 1) { + this.$showMessage("查询不到库存") + return + } if (indexList.length > 0) { res.data.resultObj.map((val) => { if (indexList.some(el => el.MATERIALPACKINGNAME == val @@ -657,7 +661,9 @@ val.IS_CHECK = 'Y' } }) - } + } else { + this.$showMessage(res.data.message) + } this.BoxInfoList = res.data.resultObj this.currentPage = 1 this.getStockOutInvoiceInfo()