#
whycq
2022-12-28 a7a950fa1feabacbd30a2d2d530ad2dbaa722d1a
pages/basics/stockQuery.vue
@@ -48,7 +48,8 @@
               <checkbox :value="item.id+''" :checked="item.checked" style="display: block;" />
            </label>
            <view class="data-list-left">
               <view class="matnr"><text style="width: 700rpx;">编码:{{item.matnr}}</text></view>
               <view class="matnr"><text style="width: 700rpx;">规格:{{item.matnr}}</text></view>
               <view class="matnr"><text style="width: 700rpx;">规格:{{item.specs}}</text></view>
               <view><text style="width: 700rpx;">品名:{{item.maktx}}</text></view>
               <view><text style="width: 700rpx;">批号:{{item.batch}}</text></view>
               <view>
@@ -73,6 +74,7 @@
   export default {
      data () {
         return {
            commonUrl:null,
            matList: [],
            locNo: null,
            matnr: null
@@ -84,8 +86,15 @@
         this.baseIP = UIP;
         const UPORT = uni.getStorageSync('UPORT');
         this.basePORT = UPORT
         const PROJ = uni.getStorageSync('UPROJ');
         this.baseUrl = PROJ
         this.getUrl()
      },
      methods: {
         // 获取url
         getUrl() {
            this.commonUrl = this.baseHttp + this.baseIP + ':' +this.basePORT + "/" +this.baseUrl
         },
         checkbox: function () {
            
         },
@@ -100,7 +109,7 @@
         request() {
            let that = this
            uni.request({
               url:that.baseHttp + that.baseIP + ':' +that.basePORT + that.baseUrl + '/locDetl/list/auth',
               url:that.commonUrl + '/locDetl/list/auth',
               header:{'token':uni.getStorageSync('token')},
               data: {
                  curr: 1,
@@ -160,7 +169,7 @@
   }
   .data-list {
      border-bottom: 1px solid #d8d8d8;
      height: 180rpx;
      height: 230rpx;
      margin: 15rpx;
      border-radius: 20rpx;
   }
@@ -185,7 +194,7 @@
      height: 100%;
      width: 100rpx;
      text-align: center;
      line-height: 170rpx;
      line-height: 230rpx;
   }
   .data-list-left {
      /* background-color: #ffff7f; */
@@ -203,8 +212,8 @@
      display: inline-block;
      float: right;
      width: 100rpx;
      height: 180rpx;
      line-height: 180rpx;
      height: 230rpx;
      line-height: 230rpx;
   }
   .data-list-right label {
      display: inline-block;