#
whycq
2024-03-27 71457f33c4b12af7f26067e031e1b4dc2c189658
pages/phyz/AGV/AGVPakin3.vue
@@ -11,7 +11,7 @@
         </view>
         <view class="item">
            <view class="dropdown" @click="toggleDropdown()">
               <input type="text" style="width: 650rpx;" v-model="containerType">
               <input type="text" style="width: 650rpx;" v-model="containerType"  placeholder="请选择货架类型">
               <uni-icons :type="isOpen ? 'top' : 'bottom'" color="#c1c1c1" style="margin-left: 10rpx;"></uni-icons>
               <scroll-view scroll-y="ture" class="dropdown-content" v-if="isOpen">
                  <view class="dropdown-item" v-for="option in selects" @click="selected(option)">{{option}}</view>
@@ -183,7 +183,8 @@
            hide: true,
            hidebg: 'kb-bgtr',
            isOpen: false,
            selects: ['1号','2号']
            selects: [1,2,3,4],
            kind: 'pakin'
         }
      },
      onLoad() {
@@ -546,8 +547,6 @@
                  return;
               }
            }
            // console.log(that.dataList);
            // return
            uni.request({
               url: that.baseUrl + '/agvMobile/comb/auth',
               data: JSON.stringify({
@@ -641,15 +640,26 @@
         },
          start() {
            let that = this
            let params = []
            if (this.kind == 'pakin') {
               let param = {
                  devNo: this.stationCode,
                  containerCode: this.barcode,
                  containerType: this.containerType,
                  }
               params.push(param)
            } else {
               let param = {
                  devNo: this.stationCode,
                  containerType: this.containerType,
                  }
               params.push(param)
            }
            uni.request({
               url: that.baseUrl + '/agvMobile/pakin/auth',
               data: JSON.stringify({
                  devNo: that.devNo
               }),
               url: that.baseUrl + '/agvMobile/pakin/empty/auth',
               data: {pad: params},
               method: 'POST',
               header: {
                  'token': uni.getStorageSync('token')
               },
               header: {'token': uni.getStorageSync('token')},
               success(result) {
                  var res = result.data
                  if (res.code === 200) {
@@ -705,7 +715,6 @@
      height: 50rpx;
      line-height: 50rpx;
      /* font-family: PingFang SC; uniapp 默认字体不居中 */
      font-size: 36upx;
      font-family: PingFang SC;
   }
@@ -727,7 +736,7 @@
      width: 100%;
      background-color: white;
      position: fixed;
      margin-top: 210rpx;
      margin-top: 280rpx;
      z-index: 9;
      /* border-top: 1px solid #DCDFE6; */
      text-align: center;