| | |
| | | </view> |
| | | <view class="square-content"> |
| | | <view class="content-input"> |
| | | <input v-model="sourceLocNo" type="text" placeholder="扫码 / 输入" |
| | | <input v-model="barcode" type="text" placeholder="扫码 / 输入" |
| | | placeholder-style="line-height: 85rpx;"> |
| | | <uni-icons type="closeempty" size="20" color="#dadada" @click="removeSouLocNo()"></uni-icons> |
| | | </view> |
| | |
| | | <view class="sign"></view> |
| | | </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> |
| | | </view> |
| | | </view> |
| | | <view class="square-2"> |
| | | <view class="square-title"> |
| | | <view class="title-sign"> |
| | | <view class="sign"></view> |
| | | </view> |
| | | <view class="title-text"><text>AGV库位号</text></view> |
| | | </view> |
| | | <view class="square-content"> |
| | | <view class="content-input"> |
| | |
| | | comb() { |
| | | uni.vibrateShort(); |
| | | let that = this; |
| | | if (that.sourceLocNo === '' || that.locNo === '') { |
| | | if (that.barcode === '' ) { |
| | | uni.showToast({ |
| | | title: '请扫描起始站或目标库位', |
| | | icon: "none", |
| | |
| | | }); |
| | | return; |
| | | } |
| | | if (!that.staList.includes(that.locNo)) { |
| | | if (!that.staList.includes(that.staNo)) { |
| | | uni.showToast({ |
| | | title: '目标站必须为' + that.staList, |
| | | icon: "none", |
| | |
| | | uni.request({ |
| | | url: that.commonUrl + '/open/asrs/agv/bindCtnrAndBin/v1', |
| | | data: JSON.stringify({ |
| | | barcode: that.sourceLocNo, |
| | | staNo: that.locNo, |
| | | barcode: that.barcode, |
| | | staNo: that.staNo, |
| | | locNo: that.locNo, |
| | | indBind: '0' |
| | | }), |
| | | method: 'POST', |