jbb преди 2 години
родител
ревизия
495a2d7a23

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

@@ -515,13 +515,14 @@ export default {
       message:[],//导入文件信息
       file:{},//导入文件
       queryParam: {
-        pageSize:20
         // pageNo: '',
         // orderNumber: '',
         // itemNumber: '',
         // productName: '' // 品名
       },
       pagination: {
+        pageSizeOptions: ["50", "100", "150"],
+        showSizeChanger: true,
         // total: '',
         // current: 0,
         // pageSize: 0
@@ -548,6 +549,7 @@ 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) {
@@ -559,7 +561,9 @@ export default {
             this.pagination = {
               total: res.result.total,
               current: res.result.current,
-              pageSize: res.result.size
+              pageSize: res.result.size,
+              pageSizeOptions: ["50", "100", "150"],
+              showSizeChanger: true,
             }
           }else{
             this.$message.error(res.message);
@@ -758,14 +762,12 @@ export default {
     searchQuery() {
       this.toggleSearchStatus = false
       this.queryParam.pageNo = ''
-      this.queryParam.pageSize = 20
       this.getadPaListClothes()
     },
 
     searchReset() {
       this.range = []
       this.queryParam = {
-        pageSize:20
       }
       this.getadPaListClothes()
     },

+ 5 - 2
src/views/book/book-list.vue

@@ -283,7 +283,10 @@ export default {
       id: '',
       selectedRowKeys:[],//选中行id
       loading: false, // 表格加载
-      pagination:{},
+      pagination:{
+        pageSizeOptions: ["50", "100", "150"],
+        showSizeChanger: true,
+      },
       selectedNumber:0,//已选择条数
       // 查询条件
       queryParam: {
@@ -305,7 +308,7 @@ export default {
     //获取表格数据
     getBookList(){
       this.$nextTick(() => {
-        this.queryParam.pageSize = 20
+        this.queryParam.pageSize = 50
         bookList(this.queryParam).then(res => {
           if (res.success) {
            this.bookListData = res.result.records

+ 4 - 1
src/views/order/orderList.vue

@@ -122,7 +122,7 @@ c<template>
           :data-source="orderListData"
           :loading="loading"
           :pagination="pagination"
-          :scroll="{ x: 1500 }"
+          :scroll="{ x: 1500,y:500 }"
           @change="handleTableChange"
         >
           <!-- 订单号 链接-->
@@ -260,6 +260,8 @@ export default {
       dingDan:'',//单条同步订单号
 
       pagination: {
+         pageSizeOptions: ["50", "100", "150"],
+        showSizeChanger: true,
         // total: '',
         // current: 0,
         // pageSize: 0
@@ -281,6 +283,7 @@ export default {
       // that.spinIsShow = true;
       this.loading = true
       this.$nextTick(() => {
+        this.queryParam.pageSize = 50
         orderList(this.queryParam).then(res => {
           // that.spinIsShow = false;
           this.loading = false

+ 3 - 1
src/views/packing-list/clothes-list.vue

@@ -523,6 +523,8 @@ export default {
       },
       preDeliveryDate:[],
       pagination: {
+        pageSizeOptions: ["50", "100", "150"],
+        showSizeChanger: true,
         // pageSize:20
         // total: '',
         // current: 0,
@@ -552,7 +554,7 @@ export default {
     getSpltList() {
      var that = this;
       this.$nextTick(() => {
-        this.queryParam.pageSize=20
+        this.queryParam.pageSize=50
          this.loading = true
         spltList(this.queryParam).then(res => {
            this.loading = false

+ 5 - 2
src/views/packing-list/fabric-list.vue

@@ -307,7 +307,10 @@ export default {
       queryParam: {
         pageNo: '' // 初始页
       },
-      pagination:{},
+      pagination:{
+        pageSizeOptions: ["50", "100", "150"],
+        showSizeChanger: true,
+      },
       selectedNumber:0,//已选择条数
       url: {
         // syncUser: '/act/process/extActProcess/doSyncUser',
@@ -368,7 +371,7 @@ export default {
     //分页查询
     getFabricList(){
        this.$nextTick(() => {
-         this.queryParam.pageSize = 20
+         this.queryParam.pageSize = 50
           this.loading = true
         fabricList(this.queryParam).then(res => {
            this.loading = false

+ 3 - 1
src/views/pre-book/preBookList.vue

@@ -274,6 +274,8 @@ export default {
         pageNo: '' // 点击的页数
       },
       pagination: {
+        pageSizeOptions: ["50", "100", "150"],
+        showSizeChanger: true,
         // total: '',
         // current: 0,
         // pageSize: 0
@@ -290,7 +292,7 @@ export default {
     // 分页查询 预托书
     getPreBookData() {
       this.$nextTick(() => {
-        this.queryParam.pageSize = 20
+        this.queryParam.pageSize = 50
         preBookList(this.queryParam).then(res => {
           if (res.success) {
             this.preBookListData = res.result.records;