Browse Source

面料损耗列表-分页参数修改

jingbb 5 months ago
parent
commit
13bebc9426
1 changed files with 6 additions and 2 deletions
  1. 6 2
      src/views/cost-allocation-total/fabricLossesSummary.vue

+ 6 - 2
src/views/cost-allocation-total/fabricLossesSummary.vue

@@ -272,6 +272,7 @@ export default {
         // index: '',
         // planNum: '',
         // customerShortame: '',
+        pageSize:50,
         pageNo: '' // 点击的页数
       },
       dateFormat: 'YYYY-MM-DD',
@@ -296,7 +297,8 @@ export default {
             this.ipagination = {
               total: res.result.total,
               current: res.result.current,
-              pageSize: res.result.size
+              pageSize: res.result.size,
+              pageSizeOptions: ["50","100","150", "500"],
             }
           }
         })
@@ -345,7 +347,9 @@ export default {
     },
     searchReset() {
       this.queryParam.pageNo = ''
-      this.queryParam = {}
+      this.queryParam = {
+        pageSize:50,
+      }
       this.getCostList()
     },
     onChange(){