| | |
| | | </view> |
| | | |
| | | <!-- list列表 --> |
| | | <checkbox-group @change="checkbox"> |
| | | <label v-for="(item,index) in listData" :key="index" class="demo-list bg-false" :class="'bg-'+item.checked" > |
| | | <view class="demo-list-left"> |
| | | <checkbox :value="item.id+''" :checked="item.checked" style="display: block;" /> |
| | | </view> |
| | | <view class="demo-list-right"> |
| | | <checkbox-group > |
| | | <view v-for="(item,index) in listData" :key="index" class="data-list bg-false" :class="'bg-'+item.checked" > |
| | | <view class="data-list-left"> |
| | | <view>托盘条码:{{item.zpallet}}</view> |
| | | <view>托盘名称:{{item.maktx}}</view> |
| | | <view>商品编码:{{item.matnr}}-{{item.batch}}</view> |
| | | <view>仓库号:{{item.origin}}</view> |
| | | </view> |
| | | </label> |
| | | </view> |
| | | </checkbox-group> |
| | | |
| | | |
| | | <!-- 底部刷新 --> |
| | | <uni-load-more :status="status" :icon-size="16" :content-text="contentText" /> |
| | | |
| | | <!-- 底部按钮 --> |
| | | <view class="footer flex justify-around"> |
| | |
| | | const PROJ = uni.getStorageSync('UPROJ'); |
| | | this.baseUrl = PROJ |
| | | this.getUrl() |
| | | this.getList() |
| | | }, |
| | | onPullDownRefresh() { |
| | | this.reload = true; |
| | | this.getList() |
| | | }, |
| | | onReachBottom() { |
| | | this.status = 'more'; |
| | | this.getList(); |
| | | // this.reload = true; |
| | | // this.getList() |
| | | }, |
| | | methods: { |
| | | // 获取url |
| | |
| | | url: that.commonUrl + '/waitPakin/list/auth', |
| | | data:{ |
| | | curr:1, |
| | | limit:10, |
| | | limit:20, |
| | | }, |
| | | header: { |
| | | 'token':uni.getStorageSync('token') |