diff --git a/src/pages/wms/Raw/SapStock/index.vue b/src/pages/wms/Raw/SapStock/index.vue index e006b11..f991ac7 100644 --- a/src/pages/wms/Raw/SapStock/index.vue +++ b/src/pages/wms/Raw/SapStock/index.vue @@ -34,6 +34,7 @@ + @@ -122,6 +123,14 @@ export default class sapStockPo extends BasePage { getList() { getSapStockList(this.queryParams).then((res) => { + if (res.total === 0) { + uni.showModal({ + title: '提示', + content: '未查询到该物料,或该物料库存为0', + confirmText: '确认', + showCancel: false, + }); + } this.sapStockList = res.rows; this.total = res.total; });