Browse Source

预装箱单-分页

jbb 2 years ago
parent
commit
b03dbd2e31
1 changed files with 4 additions and 2 deletions
  1. 4 2
      src/views/advance-packingList/adPaList-clothes.vue

+ 4 - 2
src/views/advance-packingList/adPaList-clothes.vue

@@ -541,6 +541,7 @@ export default {
       pagination: {
         pageSizeOptions: ["50", "100", "150"],
         showSizeChanger: true,
+        pageSize:'50'
         // total: '',
         // current: 0,
         // pageSize: 0
@@ -567,7 +568,6 @@ export default {
       console.log(this.queryParam)
       this.$nextTick(() => {
         this.loading = true
-        this.queryParam.pageSize = 50
         getadPaList(this.queryParam).then(res => {
           this.loading = false
           if (res.success) {
@@ -786,7 +786,8 @@ export default {
     searchReset() {
       this.range = []
       this.queryParam = {
-        isReference:'0'
+        isReference:'0',
+        pageSize:'50'
       }
       this.getadPaListClothes()
     },
@@ -964,6 +965,7 @@ export default {
     handleTableChange(pagination, filters, sorter) {
       // console.log('当前页信息>>>>',pagination)
       this.queryParam.pageNo = pagination.current
+      this.queryParam.pageSize =pagination.pageSize
       this.getadPaListClothes()
     },
     aa() {},