#
lty
5 天以前 f6feff7d471ab34763ee125357da4b08405a16ff
pages/agv/unBind.vue
@@ -10,7 +10,7 @@
            </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>
@@ -23,6 +23,21 @@
                  <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">
@@ -304,7 +319,7 @@
         comb() {
            uni.vibrateShort();
            let that = this;
            if (that.sourceLocNo === '' || that.locNo === '') {
            if (that.barcode === '' ) {
               uni.showToast({
                  title: '请扫描起始站或目标库位',
                  icon: "none",
@@ -312,7 +327,7 @@
               });
               return;
            }
            if (!that.staList.includes(that.locNo)) {
            if (!that.staList.includes(that.staNo)) {
               uni.showToast({
                  title: '目标站必须为' + that.staList,
                  icon: "none",
@@ -325,8 +340,9 @@
            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',