1
dengjunjie
2025-06-19 fbc6fae6c793220d0b67ac603ce9bbf22837de79
ÏîÄ¿´úÂë/ÎߺþÈýÒ»PDA/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 == '') {