From fbc6fae6c793220d0b67ac603ce9bbf22837de79 Mon Sep 17 00:00:00 2001 From: dengjunjie <dengjunjie@hnkhzn.com> Date: 星期四, 19 六月 2025 17:50:47 +0800 Subject: [PATCH] 1 --- 项目代码/芜湖三一PDA/pages/stash/inboundorder.vue | 29 ++++++++++++++++------------- 1 files changed, 16 insertions(+), 13 deletions(-) diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/\350\212\234\346\271\226\344\270\211\344\270\200PDA/pages/stash/inboundorder.vue" "b/\351\241\271\347\233\256\344\273\243\347\240\201/\350\212\234\346\271\226\344\270\211\344\270\200PDA/pages/stash/inboundorder.vue" index 78f61db..fc39a09 100644 --- "a/\351\241\271\347\233\256\344\273\243\347\240\201/\350\212\234\346\271\226\344\270\211\344\270\200PDA/pages/stash/inboundorder.vue" +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/\350\212\234\346\271\226\344\270\211\344\270\200PDA/pages/stash/inboundorder.vue" @@ -6,11 +6,11 @@ </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> @@ -28,7 +28,7 @@ export default { data() { return { - page: "/pages/stash/raworderboxing?", + page: "/pages/stash/inboundorderDetail?", loadVisible: false, searchValue: "", status: "more", @@ -40,7 +40,7 @@ }, onLoad(res) { this.warehouseId = res.warehouseId; - this.page = this.page + "warehouseId=" + this.warehouseId + "&orderNo="; + this.page = this.page + "&orderNo="; this.getData(); }, onReachBottom() { @@ -52,20 +52,23 @@ }, 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 == '') { -- Gitblit v1.9.3