#
lty
2026-01-08 2b94d415aa8602da5509da946e5155e47cfb117b
pages/agv/unBind.vue
@@ -6,7 +6,7 @@
               <view class="title-sign">
                  <view class="sign"></view>
               </view>
               <view class="title-text"><text>容器号</text></view>
               <view class="title-text"><text>条码值</text></view>
            </view>
            <view class="square-content">
               <view class="content-input">
@@ -22,14 +22,15 @@
               <view class="title-sign">
                  <view class="sign"></view>
               </view>
               <view class="title-text"><text>站点号</text></view>
               <view class="title-text"><text>楼层</text></view>
            </view>
            <view class="square-content">
               <view class="content-input">
                  <input v-model="staNo" type="text" placeholder="扫码 / 输入"
                     placeholder-style="line-height:  85rpx;">
                  <uni-icons type="closeempty" size="20" color="#dadada" @click="removelocNo()"></uni-icons>
               <view class="content-combox">
                  <uni-combox emptyTips="暂无数据" :candidates="floorList" v-model="floor"
                     placeholder="楼层"></uni-combox>
               </view>
            </view>
         </view>
         <view class="square-2">
@@ -186,7 +187,12 @@
            temp2: '',
            sourceLocNo: '',
            locNo: '',
            staList: ['1037', '4003']
            // staList: ['1037', '4003'],
            floorList: ['1', '2', '4'],
            floor: '',
            podcode:'',
            floorNo:'',
            positionCode:''
         }
      },
      onShow() {
@@ -327,22 +333,22 @@
               });
               return;
            }
            if (!that.staList.includes(that.staNo)) {
               uni.showToast({
                  title: '目标站必须为' + that.staList,
                  icon: "none",
                  position: 'top'
               });
               return;
            }
            // if (!that.staList.includes(that.staNo)) {
            //    uni.showToast({
            //       title: '目标站必须为' + that.staList,
            //       icon: "none",
            //       position: 'top'
            //    });
            //    return;
            // }
            uni.showLoading();
            uni.request({
               url: that.commonUrl + '/open/asrs/agv/bindCtnrAndBin/v1',
               url: that.commonUrl + '/mobile/AgvUnlockLoc/wcs/auth',
               data: JSON.stringify({
                  barcode: that.barcode,
                  staNo: that.staNo,
                  locNo: that.locNo,
                  podcode: that.barcode,
                  floorNo: that.floor,
                  positionCode: that.locNo,
                  indBind: '0'
               }),
               method: 'POST',