实时库存未查询出数据提示

master
FCD 3 weeks ago
parent f80d61c383
commit 105b50b13b

@ -34,6 +34,7 @@
</u-col>
</u-row>
</view>
<u-toast ref="uToast" />
</view>
</template>
@ -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;
});

Loading…
Cancel
Save