| | |
| | | <!-- <view class="time-tools">{{calendar}}</view> |
| | | <view class="button-left" @click="ejected()"></view> |
| | | <view class="button-right" @click="ejected()"></view> --> |
| | | <view v-if="!locs"><button size="mini" @click="ejected()" >配置</button></view> |
| | | <view v-if="locs.length==0"><button size="mini" @click="ejected()" >配置</button></view> |
| | | <view class="main" v-if="locs" > |
| | | <view class="main-b" v-for="item in locs" :class="item.color"> |
| | | <view class="flex-col" style="width: 100%;font-size: 5rpx;"> |
| | |
| | | <view style="flex: 3;">订单号</view> |
| | | <view style="flex: 3;">物料号</view> |
| | | <view style="flex: 1;">数量</view> |
| | | <view style="flex: 1;">库存</view> |
| | | <view style="flex: 1;">结余</view> |
| | | </view> |
| | | <view class="flex-row" v-for="k in item.agvWaitPakin.orderNo"> |
| | | <view style="flex: 3;">{{k.orderNo}}</view> |
| | | <view style="flex: 3;">{{item.agvWaitPakin.matnr}}</view> |
| | | <view style="flex: 1;">{{k.anfme}}</view> |
| | | <view style="flex: 1;">{{item.agvWaitPakin.anfme + item.agvWaitPakin.volume}}</view> |
| | | <view style="flex: 1;">{{item.agvWaitPakin.volume}}</view> |
| | | </view> |
| | | </view> |
| | | |
| | |
| | | <view style="flex: 3;">订单号</view> |
| | | <view style="flex: 3;">物料号</view> |
| | | <view style="flex: 1;">数量</view> |
| | | <view style="flex: 1;">库存</view> |
| | | <view style="flex: 1;">结余</view> |
| | | </view> |
| | | <view class="flex-row" v-for="k in item.agvWrkDetl.orderNo"> |
| | | <view style="flex: 3;">{{k.orderNo}}</view> |
| | | <view style="flex: 3;">{{item.agvWrkDetl.matnr}}</view> |
| | | <view style="flex: 1;">{{k.anfme}}</view> |
| | | <view style="flex: 1;">{{item.agvWrkDetl.anfme + item.agvWrkDetl.volume}}</view> |
| | | <view style="flex: 1;">{{item.agvWrkDetl.volume}}</view> |
| | | </view> |
| | | </view> |
| | | <view style="align-self: center;margin-top: auto;width: 100%;display: flex;align-items: center;justify-content: center;" v-if="item.agvWrkMast && item.agvWrkMast.ioType == 103 && item.agvWrkDetl"> |
| | | <view style="width: 60%;background-color: #007aff;height: 3vh;display: flex;align-items: center;justify-content: center;font-size: 10rpx; |
| | | border-radius: 8rpx;" @click="pickIn(item.devNo)">拣料回库</view> |
| | | </view> |
| | | |
| | | <view style="align-self: center;margin-top: auto;width: 100%;display: flex;align-items: center;justify-content: center;" v-if="item.agvWrkMast && item.agvWrkMast.ioType == 107 && item.agvWrkDetl"> |
| | | <view style="width: 60%;background-color: #007aff;height: 3vh;display: flex;align-items: center;justify-content: center;font-size: 10rpx; |
| | | border-radius: 8rpx;" @click="pickIn(item.devNo)">盘点回库</view> |
| | | </view> |
| | | |
| | | <view style="align-self: center;margin-top: auto;width: 100%;display: flex;align-items: center;justify-content: center;" v-if="item.agvWrkMast && item.agvWrkMast.ioType == 101 && item.agvWrkDetl"> |
| | |
| | | return { |
| | | locs: [], |
| | | floors: [{value: 1,name:'1楼'},{value:2,name:'3楼'}], |
| | | rows: [{value: 'cs-101',name:'1号'},{value: 'cs-102',name:'2号'}], |
| | | rows: [{value: 'cs-101',name:'101'},{value: 'cs-102',name:'102'}], |
| | | ck1: true, |
| | | ck2: false, |
| | | current: 'cs-101', |
| | |
| | | // 容器离场 |
| | | containerMoveOut(e) { |
| | | let _this = this |
| | | let devNo = {devNo:[e]} |
| | | // console.log(JSON.stringify(devNo)); |
| | | uni.request({ |
| | | url: `${_this.commonUrl}/agv/basDevp/visualized/container/moveOut`, |
| | | data: {devNo: e}, |
| | | data: JSON.stringify(devNo), |
| | | method: 'POST', |
| | | success(res) { |
| | | |
| | | } |
| | | }) |
| | | }, |
| | |
| | | this.ck1 = this.ck2 |
| | | this.ck2 = temp |
| | | if (this.ck1) { |
| | | this.rows = [{value: 'cs-101',name:'1号'},{value: 'cs-102',name:'2号'}] |
| | | this.rows = [{value: 'cs-101',name:'101'},{value: 'cs-102',name:'102'}] |
| | | } else { |
| | | this.rows = [{value: 'CS-305',name:'1号'},{value: 'CS-306',name:'2号'},{value: 'CS-307',name:'3号'}] |
| | | this.rows = [{value: 'CS-305',name:'305'},{value: 'CS-306',name:'306'},{value: 'CS-307',name:'307'},{value: 'CS-308',name:'308'},{value: 'CS-309',name:'309'}] |
| | | } |
| | | }, |
| | | radioChange(evt) { |