Browse Source

添加校验

hella_online_20241226
lijuncheng 1 month ago
parent
commit
bfc7db33db
  1. 11
      src/pages/query/nullLocation.vue

11
src/pages/query/nullLocation.vue

@ -46,7 +46,6 @@
<view class="" style="margin: 10rpx;"> <view class="" style="margin: 10rpx;">
<view class="" style="display: flex; "> <view class="" style="display: flex; ">
<view class=""> <view class="">
是否可用: 是否可用:
</view> </view>
@ -54,13 +53,8 @@
<text v-if="item.available=='TRUE'" >可用</text> <text v-if="item.available=='TRUE'" >可用</text>
<text v-else >不可用</text> <text v-else >不可用</text>
</view> </view>
</view> </view>
</view> </view>
</view> </view>
</view> </view>
@ -118,7 +112,10 @@
methods: { methods: {
getList(type) { getList(type) {
if(!this.locationAreaCode){
this.showMessage("请输入库区");
return;
}
let that = this; let that = this;
uni.showLoading({ uni.showLoading({
title: "加载中­....", title: "加载中­....",

Loading…
Cancel
Save