|  |  | 
 |  |  |             <view>目标库位:{{orderDetl.locNo}}</view> | 
 |  |  |             <view>货架码:{{orderDetl.barcode}}</view> | 
 |  |  |          </view> | 
 |  |  |          <view class="list-right" @click="opt(index)"> | 
 |  |  |          <view class="list-right" @click="opt(orderDetl)"> | 
 |  |  |             <uni-icons type="bars" size="25"  color="#fff"></uni-icons> | 
 |  |  |          </view> | 
 |  |  |       </view> | 
 |  |  | 
 |  |  |             <view class="filter-popup" style="height: 50vh;"> | 
 |  |  |                <!-- 标题 --> | 
 |  |  |                <view class="title">操作</view> | 
 |  |  |                <button size="mini">完成</button> | 
 |  |  |                <button size="mini">取消(AGV)</button> | 
 |  |  |                <button size="mini">取消</button> | 
 |  |  |                <button size="mini">更改调拨方式</button> | 
 |  |  |                <view style="display: flex;flex-wrap: wrap;"> | 
 |  |  |                   <button size="mini" type="primary" @click="handControlWrkMast('1')" >完成</button> | 
 |  |  |                   <button size="mini" type="warn" @click="handControlWrkMast('2')">取消(AGV)</button> | 
 |  |  |                   <button size="mini" @click="handControlWrkMast('5')">取消</button> | 
 |  |  |                </view> | 
 |  |  | 					 | 
 |  |  |                <!-- <button size="mini">更改调拨方式</button> --> | 
 |  |  |             </view> | 
 |  |  |          </uni-popup> | 
 |  |  |       </view> | 
 |  |  | 
 |  |  |             }, | 
 |  |  |             index: 0, | 
 |  |  |             count: 0, | 
 |  |  |             mask: false | 
 |  |  |             mask: false, | 
 |  |  |             wrkNo: '' | 
 |  |  |              | 
 |  |  |          } | 
 |  |  |       }, | 
 |  |  | 
 |  |  |       onLoad() { | 
 |  |  |          this.baseUrl = uni.getStorageSync('baseUrl'); | 
 |  |  |          this.token = uni.getStorageSync('token'); | 
 |  |  |          this.searchValue = uni.getStorageSync('bcpThreeCode'); | 
 |  |  |          this.searchValue = uni.getStorageSync('wrkNo'); | 
 |  |  |          this.getOrderDetlList(this.searchValue,10) | 
 |  |  |          console.log("onLoad"); | 
 |  |  |       }, | 
 |  |  |       onShow() { | 
 |  |  |          console.log(uni.getStorageSync('pakinOrderCar')); | 
 |  |  |          console.log(uni.getStorageSync('wrkNo')); | 
 |  |  |       }, | 
 |  |  |       onHide() { | 
 |  |  |          uni.setStorageSync('pakinOrderCar', this.orderCarList); | 
 |  |  |          uni.setStorageSync('wrkNo', this.orderCarList); | 
 |  |  |       }, | 
 |  |  |       methods: { | 
 |  |  |          getOrderDetlList(threeCode,limit) { | 
 |  |  | 
 |  |  |          searchValueInput2() { | 
 |  |  |             this.dataList = [] | 
 |  |  |             this.data.curr = 1 | 
 |  |  |             uni.setStorageSync('bcpThreeCode', this.searchValue); | 
 |  |  |             uni.setStorageSync('wrkNo', this.searchValue); | 
 |  |  |             if (this.searchValue.length == 0) { | 
 |  |  |                this.getOrderDetlList(this.searchValue,10) | 
 |  |  |             } else { | 
 |  |  | 
 |  |  |             },300) | 
 |  |  |          }, | 
 |  |  |          // 添加入库商品至 待组托列表 | 
 |  |  |          opt(index) { | 
 |  |  |          opt(orderDetl) { | 
 |  |  |             this.wrkNo = orderDetl.wrkNo | 
 |  |  |             this.$refs.option.open('bottom') | 
 |  |  |          }, | 
 |  |  |          addClose() { | 
 |  |  | 
 |  |  |                      console.log(data); | 
 |  |  |                      if (data.data == 1) { | 
 |  |  |                         _this.orderCarList = [] | 
 |  |  |                         _this.getOrderDetlList(uni.getStorageSync('bcpThreeCode'),10) | 
 |  |  |                         _this.getOrderDetlList(uni.getStorageSync('wrkNo'),10) | 
 |  |  |                      } | 
 |  |  |                   } | 
 |  |  |                } | 
 |  |  | 
 |  |  |             this.data.io_type = '' | 
 |  |  |             this.getOrderDetlList(this.searchValue,10) | 
 |  |  |             this.$refs.filter.close() | 
 |  |  |          }, | 
 |  |  |          handControlWrkMast(type) { | 
 |  |  |             let _this = this | 
 |  |  |             let param = {workNo: _this.wrkNo,type: type} | 
 |  |  |             uni.request({ | 
 |  |  |                url: `${_this.baseUrl}/agv/hand/control/wrkMast`, | 
 |  |  |                header: { | 
 |  |  |                   'token': uni.getStorageSync('token'), | 
 |  |  |                   'content-type': 'application/x-www-form-urlencoded' | 
 |  |  |                }, | 
 |  |  |                data: param, | 
 |  |  |                method: 'POST', | 
 |  |  |                success(res) { | 
 |  |  |                   res = res.data | 
 |  |  |                   if (res.code === 200) { | 
 |  |  |                      _this.$refs.option.close() | 
 |  |  |                      setTimeout(()=>{ | 
 |  |  |                         _this.getOrderDetlList(_this.searchValue,10) | 
 |  |  |                      },100) | 
 |  |  |                   } else if (res.code == 403) { | 
 |  |  |                      uni.showToast({ title: res.msg, icon: "error", position: 'top' }) | 
 |  |  |                      setTimeout(() => { uni.reLaunch({ url: '../../login/login' }); }, 1000); | 
 |  |  |                   } else { | 
 |  |  |                      uni.showToast({ title: res.msg, icon: "error", position: 'top' }) | 
 |  |  |                   } | 
 |  |  |                } | 
 |  |  |             })  | 
 |  |  |          } | 
 |  |  |           | 
 |  |  |       } | 
 |  |  | 
 |  |  |       border-radius: 30rpx 30rpx 0rpx 0rpx; | 
 |  |  |    } | 
 |  |  |    .filter-popup button { | 
 |  |  |       flex: 1; | 
 |  |  |       margin: 16rpx; | 
 |  |  |    } | 
 |  |  |    .filter-popup-item { |