瀏覽代碼

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

jingbb 5 月之前
父節點
當前提交
13bebc9426
共有 1 個文件被更改,包括 6 次插入2 次删除
  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(){