whycq
2022-03-04 009851b4daec9895cfe6bcb895dce5fed2cf59b0
pages/basics/stockQuery.vue
@@ -25,9 +25,15 @@
         </uni-table>
         
      </view>
      <view class="reset flex solid-bottom padding justify-around" >
         <button class="cu-btn bg-grey lg" @click="reset">重 置</button>
      <view style="height: 200rpx;">
          <!-- 空白层 -->
      </view>
      <view class="cu-bar foot justify-center input">
         <view class="reset flex solid-bottom padding justify-center" >
            <button class="cu-btn bg-grey lg margin-xs" style="width: 400rpx;" @click="reset">重 置</button>
         </view>
      </view>
   </view>
</template>
@@ -38,11 +44,14 @@
            locNo:'',
            matNo:'',
            locDetlData:[],
            basePORT:'',
         }
      },
      mounted(){
         const UIP = uni.getStorageSync('UIP');
         this.baseIP = UIP
         this.baseIP = UIP;
         const UPORT = uni.getStorageSync('UPORT');
         this.basePORT = UPORT;
      },
      methods: {
         reset:function() {
@@ -71,7 +80,7 @@
         find(){
            let that = this
            uni.request({
               url: that.baseHttp + that.baseIP + that.baseUrl + "/mobile/locDetl/stockQuery",
               url: that.baseHttp + that.baseIP + ':' +that.basePORT + that.baseUrl + "/mobile/locDetl/stockQuery",
               header:{
                  'content-type':'application/x-www-form-urlencoded',
                  'token':uni.getStorageSync('token')