| | |
| | | <template> |
| | | <view> |
| | | <view class="list shop-car" v-for="item in dataList"> |
| | | <view class="list shop-car" v-for="(item,index) in dataList" :key="index"> |
| | | <view class="list-left"> |
| | | <view class="detl-threeCode" style="padding: 16rpx 0;">{{item.csocode}}</view> |
| | | <view>库位:{{item.locNo}}</view> |
| | |
| | | </view> |
| | | |
| | | <view class="detl-threeCode" style="display: flex;padding: 0 0 32rpx 0;font-size: 24px;">出库站: |
| | | <view class="dropdown" @click="toggleDropdown(item)"> |
| | | <!-- @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 type="text" style="width: 270rpx;font-size: 20px;" v-model="item.agvStaNo" placeholder="请选择出库站" placeholder-style="color: #fff"> |
| | | <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> |
| | | <scroll-view scroll-y="ture" class="dropdown-content" v-if="item.isOpen"> |
| | | <!-- <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> |
| | | </scroll-view> --> |
| | | </view> |
| | | </view> |
| | | <button @click="combConfirm(item)" :disabled="combDis">立即出库</button> |
| | |
| | | selected(option,item) { |
| | | item.agvStaNo = option |
| | | }, |
| | | staInput(item,items,index) { |
| | | var flag = false |
| | | for (let k of items) { |
| | | if (k == item) flag = true |
| | | } |
| | | if(!flag) { |
| | | setTimeout(() => { |
| | | this.dataList[index].agvStaNo = '' |
| | | }, 100); |
| | | } |
| | | }, |
| | | // 订单明细 |
| | | getPakoutList(ids,locNo) { |
| | | let _this = this |
| | |
| | | if (k.locNo != null) { |
| | | k['isOpen'] = false |
| | | 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) { |