| | |
| | | </u-sticky> --> |
| | | <uni-list :border="true"> |
| | | <uni-list-item direction="column" clickable @click="groupClick(item.batch_num)" link |
| | | :to="page+item.batch_num+'&order_qty='+item.order_qty+'&order_Inqty='+item.order_Inqty+'&goods_no='+item.goods_no" |
| | | v-for="item in allReceivingOrders" :key="item.batch_num"> |
| | | :to="page+item.batch_num+'&order_qty='+item.order_qty+'&order_Inqty='+item.order_Inqty+'&goods_no='+item.goods_no+'&id='+item.id" |
| | | v-for="item in allReceivingOrders" :key="item.id"> |
| | | <template v-slot:body> |
| | | <uni-group margin-top="20"> |
| | | <view> åæ®ç¼å·:{{orderNo}} </view> |
| | |
| | | return { |
| | | page: "/pages/stash/raworderboxing?", |
| | | loadVisible: false, |
| | | isIn:false, |
| | | searchValue: "", |
| | | status: "more", |
| | | allReceivingOrders: [], |
| | |
| | | this.allReceivingOrders=res.detail; |
| | | this.page = this.page + "orderNo=" + this.orderNo +"&warehouseId=" + this.warehouseId + "&batchNo="; |
| | | this.getData(); |
| | | }, |
| | | onShow() { |
| | | this.isIn = uni.getStorageSync('isIn'); |
| | | if (this.isIn) { |
| | | uni.removeStorageSync('isIn'); |
| | | this.pageNo = 1; |
| | | // ä»å
¶ä»é¡µé¢è¿åæ¶å·æ° |
| | | this.getData(); |
| | | } |
| | | }, |
| | | onReachBottom() { |
| | | this.pageNo += 1; |
| | |
| | | this.status = 'noMore'; |
| | | //this.allReceivingOrders = []; |
| | | this.loadVisible = true; |
| | | if (this.allReceivingOrders.length < 1) { |
| | | // uni.showModal({ |
| | | // title: 'æç¤º', |
| | | // content: 'å
¥åºå·²å®æï¼æ¯å¦è¿åå
¥åºåï¼', |
| | | // success: (res) => { |
| | | // if (res.confirm) { |
| | | uni.setStorageSync('isLoaded', true); |
| | | // // ç¨æ·ç¹å»ç¡®å® |
| | | setTimeout(() => { |
| | | uni.navigateBack({ |
| | | delta:1 |
| | | }); |
| | | }, 500); |
| | | // } else { |
| | | // // ç¨æ·ç¹å»åæ¶ï¼å¯ä»¥åçå¨å½åé¡µé¢ |
| | | // // æè
æ§è¡å
¶ä»æä½ |
| | | // } |
| | | // } |
| | | // }); |
| | | } |
| | | } |
| | | } |
| | | }) |