|  |  | 
 |  |  |             <uni-popup ref="inputPopup" type="dialog"> | 
 |  |  |                 <view class="popup3"> | 
 |  |  |                     <view class="popup3-input-title">{{tipsTitle}}</view> | 
 |  |  |                     <view class="popup3-input-box"> | 
 |  |  |                     <view class="popup3-input-box2" :class="item.chose" | 
 |  |  |                         v-if="!meterShow" v-for="item in emptyMatList" @click="chose(item.matnr)"> | 
 |  |  |                         <view> | 
 |  |  |                             {{item.maktx}} | 
 |  |  |                         </view> | 
 |  |  |                     </view> | 
 |  |  |                     <view class="popup3-input-box" v-if="meterShow"> | 
 |  |  |                         <text>{{desc}}:</text> | 
 |  |  |                         <view style="margin-left: 3rpx;"> | 
 |  |  |                             <input type="text" v-model="code"/> | 
 |  |  | 
 |  |  |                     {name: '9号托盘站',code:'KW-9',type: 'tray'}, | 
 |  |  |                     {name: '10号托盘站',code:'KW-10',type: 'tray'} | 
 |  |  |                 ], | 
 |  |  |                 emptyMatList: [], | 
 |  |  |                 item: '', | 
 |  |  |                 text: '', | 
 |  |  |                 btnTitle1: '', | 
 |  |  | 
 |  |  |                 meter: '', | 
 |  |  |                 meterShow: '', | 
 |  |  |                 desc: '', | 
 |  |  |                 tipsTitle: '' | 
 |  |  |                 tipsTitle: '', | 
 |  |  |             } | 
 |  |  |         }, | 
 |  |  |         onShow() { | 
 |  |  | 
 |  |  |                     this.btnTitle3 = '仓库-满托盘(出库)' | 
 |  |  |                 } | 
 |  |  |                 this.$refs.revise.open(type) | 
 |  |  |             }, | 
 |  |  |             chose(matnr) { | 
 |  |  |                 for (let k of this.emptyMatList) { | 
 |  |  |                     if (k.matnr == matnr) { | 
 |  |  |                         k.chose = 'chosed' | 
 |  |  |                     } else { | 
 |  |  |                         k.chose = '' | 
 |  |  |                     } | 
 |  |  |                 } | 
 |  |  |                 this.code = matnr | 
 |  |  |             }, | 
 |  |  |             // 地面站上架 / 托盘站入库按钮 | 
 |  |  |             upTray() { | 
 |  |  | 
 |  |  |                     this.tipsTitle = '空托盘出库' | 
 |  |  |                     this.desc = '物料码' | 
 |  |  |                     this.meterShow = false | 
 |  |  |                     let that = this | 
 |  |  |                     uni.request({ | 
 |  |  |                         url: `${that.baseUrl}/open/asrs/getEmptyMat`, | 
 |  |  |                         header: { 'token': uni.getStorageSync('token') }, | 
 |  |  |                         method: 'GET', | 
 |  |  |                         success(res) { | 
 |  |  |                             res = res.data | 
 |  |  |                             if (res.code === 200) { | 
 |  |  |                                 that.emptyMatList = res.data | 
 |  |  | 								 | 
 |  |  |                             } | 
 |  |  |                         } | 
 |  |  |                     }) | 
 |  |  |                 } else { | 
 |  |  |                     this.tipsTitle = '满托盘出库' | 
 |  |  |                     this.desc = '订单号' | 
 |  |  |                     this.meterShow = true | 
 |  |  |                     this.$refs.inputPopup.open('center') | 
 |  |  |                 } | 
 |  |  |                 this.$refs.inputPopup.open('center') | 
 |  |  |             }, | 
 |  |  | 
 |  |  |     } | 
 |  |  |     .popup3 { | 
 |  |  |         background-color: #eee; | 
 |  |  |         max-height: 80vw; | 
 |  |  |         width: 50vw; | 
 |  |  |         padding: 0 10vw; | 
 |  |  |         display: flex; | 
 |  |  | 
 |  |  |         padding: 2rpx 10rpx; | 
 |  |  |         margin: 20rpx; | 
 |  |  |     } | 
 |  |  |     .popup3-input-box2 { | 
 |  |  |         display: flex; | 
 |  |  |         border: 1px solid #cecece; | 
 |  |  |         border-radius: 5rpx; | 
 |  |  |         padding: 2rpx 10rpx; | 
 |  |  |         margin: 10rpx; | 
 |  |  |         background-color: #FFF; | 
 |  |  |     } | 
 |  |  |     .chosed { | 
 |  |  |         background-color: #09d174; | 
 |  |  |         color: #cecece; | 
 |  |  |     } | 
 |  |  | </style> |