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()