zhangc
2025-03-24 c9bf178eb14f830e503481c6acbe883e13b3f189
pages/phyz/orderOut/orderCheck_2.vue
@@ -17,12 +17,14 @@
               </view>
            </view>
            
            <view class="detl-threeCode" style="display: flex;padding: 0 0 32rpx 0;font-size: 24px;">出库站:
            <view class="detl-threeCode" style="display: flex;padding: 0 0 32rpx 0;font-size: 20px;">出库站:
                  <!-- @click="toggleDropdown(item)" -->
               <view class="dropdown" >
                  <!-- <view style="height: 100%;width: 100%; position: fixed;background-color: rgba(0,0,0,.4);left:0;top:0" v-if = "item.isOpen"></view> -->
                  <input @input="staInput(item.agvStaNo,item.agvStaNos,index)" type="text" style="width: 270rpx;font-size: 20px;" v-model="item.agvStaNo" placeholder="请选择出库站" placeholder-style="color: #fff">
                  <uni-icons :type="item.isOpen ? 'top' : 'bottom'" color="#fff" style="margin-left: 10rpx;"></uni-icons>
                  <input @input="staInput(item.agvStaNo,item.agvStaNos,index)" type="text" style="width: 270rpx;font-size: 16px;" v-model="item.agvStaNo" placeholder="请选择出库站" placeholder-style="color: #fff">
                  <!-- <uni-icons :type="item.isOpen ? 'top' : 'bottom'" color="#fff" style="margin-left: 10rpx;"></uni-icons> -->
                  <view style="font-size: 10px;">只支持扫码</view>
                  <!-- <scroll-view scroll-y="ture" class="dropdown-content" v-if="item.isOpen">
                     <view class="dropdown-item" v-for="option in options" @click="selected(option,item)">{{option}}</view>
                  </scroll-view> -->
@@ -127,7 +129,7 @@
               if (k == item) flag = true 
            }
            if(!flag) {
               uni.showToast({ title: '当前站点无法使用,已复位', icon: "error", position: 'top' })
               uni.showToast({ title: '当前站点存在工作档无法使用,已复位', icon: "error", position: 'top' })
               setTimeout(() => {
                  this.dataList[index].agvStaNo = ''
               }, 100);
@@ -150,14 +152,15 @@
                           k['count'] = k.anfme
                           k.agvStaNo = ''
                           k.anfme = 0
                           if (_this.orderType == 'bcp') {
                              if (k.locNo.substring(k.locNo.length - 1, k.locNo.length) == 1) {
                                 continue
                              }
                           }
                           // if (_this.orderType == 'bcp') {
                           //    if (k.locNo.substring(k.locNo.length - 1, k.locNo.length) == 1) {
                           //       continue
                           //    }
                           // }
                           _this.dataList.push(k)
                        }
                     }
                     console.log(_this.dataList);
                  } else if (res.code == 403) {
                     uni.showToast({ title: res.msg, icon: "error", position: 'top' })
                     setTimeout(() => { uni.reLaunch({ url: '../../login/login' }); }, 1000);