Compare commits

...

2 Commits

Author SHA1 Message Date
FCD 105b50b13b 实时库存未查询出数据提示 2 months ago
FCD f80d61c383 修改版本号 2 months ago

@ -142,7 +142,7 @@ export default class LoginPage extends BasePage {
// console.log('Version////', this.Version); // console.log('Version////', this.Version);
} }
///****************** ///******************
version = '0.0.182'; // version = '0.0.183'; //
//version = '0.0.14'; // //version = '0.0.14'; //
//*************** false true **************** //*************** false true ****************
//isTest = true; //isTest = true;

@ -34,6 +34,7 @@
</u-col> </u-col>
</u-row> </u-row>
</view> </view>
<u-toast ref="uToast" />
</view> </view>
</template> </template>
@ -122,6 +123,14 @@ export default class sapStockPo extends BasePage {
getList() { getList() {
getSapStockList(this.queryParams).then((res) => { getSapStockList(this.queryParams).then((res) => {
if (res.total === 0) {
uni.showModal({
title: '提示',
content: '未查询到该物料或该物料库存为0',
confirmText: '确认',
showCancel: false,
});
}
this.sapStockList = res.rows; this.sapStockList = res.rows;
this.total = res.total; this.total = res.total;
}); });

Loading…
Cancel
Save