Browse Source

Merge remote-tracking branch 'origin/release-201818' into release-201818

yangc 7 years ago
parent
commit
3db05ec938
1 changed files with 4 additions and 3 deletions
  1. 4 3
      pages/mobile/center/user/invoice/waitinvoice.vue

+ 4 - 3
pages/mobile/center/user/invoice/waitinvoice.vue

@@ -14,7 +14,7 @@
       <div class="active"><span>待开票订单</span></div>
       <nuxt-link to="/mobile/center/user/invoice/invoiceRecord" tag=div><span>开票记录</span></nuxt-link>
     </div>
-    <div class="invoice-wrapper-el">
+    <div class="invoice-wrapper-el" id="invoicewrapperel">
       <div class="mobile-invoice">
         <div class="mi-remind-area" :class="{less: !showMoreRemind}">
           <p class="title">温馨提示</p>
@@ -97,7 +97,7 @@
       :joinType="joinType"
     ></addinvoice>
 
-    <pull-up :searchMore="fetching" :allPage="invoices.data.totalPages" :page="page" @pullUpAction="onPullUp"></pull-up>
+    <pull-up :fixId="'invoicewrapperel'" :searchMore="fetching" :allPage="invoices.data.totalPages" :page="page" @pullUpAction="onPullUp"></pull-up>
 
     <!-- 申请发票弹窗 -->
     <div class="mobile-modal" @touchmove="preventTouchMove($event)" v-show="showSend">
@@ -256,6 +256,7 @@
               item.$active = false
             })
             this.invoiceList = [...this.invoiceList, ...arr]
+            console.log(this.invoiceList)
           }
         },
         immediate: true
@@ -413,10 +414,10 @@
         })
       },
       reloadList () {
-        this.isChange = true
         this.$store.dispatch('invoice/getBuyerInvoices', {count: 10, page: this.page, keyword: this.keyword, sorting: {'creattime': 'DESC'}, status: 520})
       },
       searchMore() {
+        this.isChange = true
         this.page = 1
         this.reloadList()
       },