| | |
| | | </view> |
| | | </u-sticky> --> |
| | | <uni-list :border="true"> |
| | | <uni-list-item direction="column" clickable @click="groupClick(item.batchNo)" link :to="page+item.batchNo" |
| | | <uni-list-item direction="column" clickable @click="groupClick(item.batchNo)" link |
| | | :to="page+item.batchNo+'&receiptQuantity='+item.receiptQuantity+'&orderQuantity='+item.orderQuantity" |
| | | v-for="item in allReceivingOrders" :key="item.batchNo"> |
| | | <template v-slot:body> |
| | | <uni-group margin-top="20"> |
| | | <view> 鎵瑰彿:{{orderNo}} </view> |
| | | <view> 鏌滃彿:{{item.batchNo}} </view> |
| | | <!-- <view> 鎵瑰彿:{{orderNo}} </view> --> |
| | | <view> 鎵瑰彿:{{item.batchNo}} </view> |
| | | <view> 鍗曟嵁鏁伴噺:{{item.orderQuantity}} </view> |
| | | <view> 缁勭洏鏁伴噺:{{item.receiptQuantity}} </view> |
| | | <view> 鍏ュ簱鏁伴噺:{{item.overInQuantity}} </view> |
| | |
| | | // }, |
| | | // } |
| | | if (this.pageNo == 1) this.allReceivingOrders = []; |
| | | this.$u.post('/api/PDA/QueryOrderDetailInfo?pageNo=' + this.pageNo + '&orderNo=' + this.orderNo).then((res) => { |
| | | if (res.status) { |
| | | if (res.data.length > 0) { |
| | | if (this.searchValue == '') { |
| | | this.allReceivingOrders = this.allReceivingOrders.concat(res.data); |
| | | // this.allReceivingOrders = res.data; |
| | | if (this.allReceivingOrders.length > 3) { |
| | | this.loadVisible = true; |
| | | this.$u.post('/api/PDA/QueryOrderDetailInfo?pageNo=' + this.pageNo + '&orderNo=' + this.orderNo).then(( |
| | | res) => { |
| | | if (res.status) { |
| | | if (res.data.length > 0) { |
| | | if (this.searchValue == '') { |
| | | this.allReceivingOrders = this.allReceivingOrders.concat(res.data); |
| | | // this.allReceivingOrders = res.data; |
| | | if (this.allReceivingOrders.length > 3) { |
| | | this.loadVisible = true; |
| | | } else { |
| | | this.loadVisible = false; |
| | | } |
| | | } else { |
| | | this.loadVisible = false; |
| | | this.allReceivingOrders = res.data; |
| | | if (this.allReceivingOrders.length > 3) { |
| | | this.loadVisible = true; |
| | | } else { |
| | | this.loadVisible = false; |
| | | } |
| | | } |
| | | } else { |
| | | this.allReceivingOrders = res.data; |
| | | if (this.allReceivingOrders.length > 3) { |
| | | this.loadVisible = true; |
| | | } else { |
| | | this.loadVisible = false; |
| | | } |
| | | this.status = 'noMore'; |
| | | //this.allReceivingOrders = []; |
| | | this.loadVisible = true; |
| | | } |
| | | } else { |
| | | this.status = 'noMore'; |
| | | //this.allReceivingOrders = []; |
| | | this.loadVisible = true; |
| | | } |
| | | } |
| | | }) |
| | | }) |
| | | } |
| | | } |
| | | } |