| | |
| | | </view> |
| | | </u-sticky> |
| | | <uni-list :border="true"> |
| | | <uni-list-item direction="column" clickable @click="groupClick(item.inboundOrderNo)" link |
| | | :to="page+item.inboundOrderNo" v-for="item in allReceivingOrders" :key="item.inboundOrderNo"> |
| | | <uni-list-item direction="column" clickable @click="groupClick(item.orderNo)" link :to="page+item.orderNo" |
| | | v-for="item in allReceivingOrders" :key="item.orderNo"> |
| | | <template v-slot:body> |
| | | <uni-group margin-top="20"> |
| | | <view> åå·:{{item.inboundOrderNo}} </view> |
| | | <view> æ¹å·:{{item.orderNo}} </view> |
| | | <view> å建人:{{item.creater}} </view> |
| | | <view> æ¥æ:{{item.createDate}} </view> |
| | | </uni-group> |
| | |
| | | export default { |
| | | data() { |
| | | return { |
| | | page: "/pages/stash/raworderboxing?", |
| | | page: "/pages/stash/inboundorderDetail?", |
| | | loadVisible: false, |
| | | searchValue: "", |
| | | status: "more", |
| | |
| | | }, |
| | | onLoad(res) { |
| | | this.warehouseId = res.warehouseId; |
| | | this.page = this.page + "warehouseId=" + this.warehouseId + "&orderNo="; |
| | | this.page = this.page + "&orderNo="; |
| | | this.getData(); |
| | | }, |
| | | onReachBottom() { |
| | |
| | | }, |
| | | methods: { |
| | | search(res) { |
| | | this.pageNo = 1; |
| | | this.getData(); |
| | | }, |
| | | groupClick() { |
| | | |
| | | }, |
| | | getData() { |
| | | var postData = { |
| | | MainData: { |
| | | warehouseId: this.warehouseId, |
| | | orderNo: this.searchValue, |
| | | pageNo: this.pageNo |
| | | }, |
| | | } |
| | | this.$u.post('/api/InboundOrder/GetInboundOrders', postData).then((res) => { |
| | | // var postData = { |
| | | // MainData: { |
| | | // warehouseId: this.warehouseId, |
| | | // orderNo: this.searchValue, |
| | | // pageNo: this.pageNo |
| | | // }, |
| | | // } |
| | | if (this.pageNo == 1) this.allReceivingOrders = []; |
| | | this.$u.post('/api/PDA/QueryOrderInfo?pageNo=' + this.pageNo + '&orderNo=' + this.searchValue).then(( |
| | | res) => { |
| | | if (res.status) { |
| | | if (res.data.length > 0) { |
| | | if (this.searchValue == '') { |