| | |
| | | <template> |
| | | <view > |
| | | <scroll-view scroll-y catch:touchmove="touchmove"> |
| | | <view class="pak-seach-box"> |
| | | <view class="square-2"> |
| | | <view class="square-title"> |
| | | <view class="title-sign"><view class="sign"></view></view> |
| | | <view class="title-text"><text>托盘条码</text></view> |
| | | </view> |
| | | <view class="square-content"> |
| | | <view class="content-input"> |
| | | <input v-model="barcode" type="text" placeholder="扫码 / 输入" maxlength="8" @input="findBarcode()"> |
| | | <uni-icons type="closeempty" size="20" color="#dadada" @click="removeBarcode()"></uni-icons> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | <!-- <view class="pak-seach-box"> |
| | | <view class="box-top"> |
| | | <view class="color-block-blue"></view> |
| | | <text class="title">托盘条码</text> |
| | |
| | | <uni-icons type="closeempty" size="20" color="#a5a5a5" @click="removeBarcode()"></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>货品条码</text></view> |
| | | </view> |
| | | <view class="square-content"> |
| | | <view class="content-combox"> |
| | | <uni-combox emptyTips="暂无数据" :candidates="staNoList" v-model="staNo" placeholder="站台号"></uni-combox> |
| | | </view> |
| | | <view class="content-input-combox"> |
| | | <input type="text" v-model="matnr" placeholder="扫码 / 输入" @input="findMat()"> |
| | | <uni-icons type="closeempty" size="20" color="#dadada" @click="removeMatnr()"></uni-icons> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | <view class="pak-seach-box"> |
| | | |
| | | <!-- <view class="pak-seach-box"> |
| | | <view class="box-top"> |
| | | <view class="color-block-blue"></view> |
| | | <text class="title">货品条码</text> |
| | |
| | | <uni-icons type="closeempty" size="20" color="#a5a5a5" @click="removeMatnr()"></uni-icons> |
| | | </view> |
| | | </view> |
| | | <button class="cu-btn bg-blue" @click="selectMat()">+提取</button> |
| | | </view> |
| | | <view class="pak-data-box"> |
| | | <view class="box-top"> |
| | | <view class="color-block-blue"></view> |
| | | <text class="title">商品列表</text> |
| | | <view class="combox"> |
| | | <uni-combox emptyTips="暂无数据" :candidates="staNoList" v-model="staNo" placeholder="站台号"></uni-combox> |
| | | </view> |
| | | </view> --> |
| | | <view class="square-1"> |
| | | <view class="square-title"> |
| | | <view class="title-sign"><view class="sign"></view></view> |
| | | <view class="title-text"><text>商品列表</text></view> |
| | | </view> |
| | | </view> |
| | | <view class="pak-data-box" v-show="matList.length === 0"> |
| | | <view style="text-align: center;">暂无更多数据</view> |
| | | <view class="square-none" v-show="matList.length === 0"> |
| | | <view class="v-show">暂无更多数据...</view> |
| | | </view> |
| | | <!-- <view class="pak-data-box" v-show="matList.length === 0"> |
| | | <view style="text-align: center;">暂无更多数据</view> |
| | | </view> --> |
| | | <checkbox-group @change="checkbox"> |
| | | <view v-for="(item,index) in matList" :key="index" class="data-list bg-false" :class="'bg-'+item.checked" > |
| | | <view class="data-list-left"> |
| | |
| | | pick:'hide', |
| | | matnr:'', |
| | | matList:[], |
| | | result: '' |
| | | result: '', |
| | | staNoList:[], |
| | | staNo:'', |
| | | } |
| | | }, |
| | | mounted(){ |
| | |
| | | this.baseIP = UIP; |
| | | const UPORT = uni.getStorageSync('UPORT'); |
| | | this.basePORT = UPORT |
| | | this.getOutBound(); |
| | | }, |
| | | methods: { |
| | | resst() { |
| | |
| | | uni.request({ |
| | | url: that.baseHttp + that.baseIP + ':' +that.basePORT + that.baseUrl + '/mobile/pakout/query/auth', |
| | | data: { |
| | | staNo:that.staNo, |
| | | matnr:that.matnr |
| | | }, |
| | | header: { |
| | |
| | | }, |
| | | }); |
| | | }, // getOutBound |
| | | getCheckDetl() { // 获取出库口货物信息 |
| | | let that = this |
| | | |
| | | }, // getCheckDetl |
| | | change(e) { |
| | | console.log('当前模式:' + e.type + ',状态:' + e.show); |
| | | }, |
| | |
| | | } |
| | | .box-buttom { |
| | | display: inline-block; |
| | | background-color: #ededed; |
| | | background-color: #f0f0f0; |
| | | width: 65%; |
| | | height: 60rpx; |
| | | border-radius: 20rpx; |
| | |
| | | margin-top: 5rpx; |
| | | margin-right: 10rpx; |
| | | } |
| | | .combox { |
| | | position: fixed; |
| | | display: inline-block; |
| | | width: 28%; |
| | | float: right; |
| | | } |
| | | /* .pak-seach-box input { |
| | | background-color: #ededed; |
| | | border: 1rpx solid #d8d8d8; |