| | |
| | | <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"> |
| | |
| | | <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"> |
| | |
| | | temp2: '', |
| | | sourceLocNo: '', |
| | | locNo: '', |
| | | staList: ['1037', '4003'] |
| | | // staList: ['1037', '4003'], |
| | | floorList: ['1', '2', '4'], |
| | | floor: '', |
| | | podcode:'', |
| | | floorNo:'', |
| | | positionCode:'' |
| | | } |
| | | }, |
| | | onShow() { |
| | |
| | | }); |
| | | 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', |