Browse Source

查找空库位

hella_online_20241226
lijuncheng 2 months ago
parent
commit
74036343c2
  1. 8
      src/pages/query/nullLocation.vue

8
src/pages/query/nullLocation.vue

@ -51,8 +51,8 @@
是否可用: 是否可用:
</view> </view>
<view class="" style="margin-left: 20rpx;"> <view class="" style="margin-left: 20rpx;">
<button v-if="item.available=='TRUE'" type="primary" size="mini">可用</button> <text v-if="item.available=='TRUE'" type="primary" size="mini">可用</text>
<button v-else type="warn" size="mini">不可用</button> <text v-else type="warn" size="mini">不可用</text>
</view> </view>
@ -142,6 +142,10 @@
} }
var list = res.data.list; var list = res.data.list;
this.totalCount = res.data.total this.totalCount = res.data.total
if(this.totalCount==0){
this.showMessage("库区["+this.locationAreaCode+"]没有查找到空库位");
return;
}
this.loadingType = "loadmore"; this.loadingType = "loadmore";
if (list == null || list.length == 0) { if (list == null || list.length == 0) {
this.loadingType = "nomore"; this.loadingType = "nomore";

Loading…
Cancel
Save