|
@@ -131,7 +131,7 @@ c<template>
|
|
|
:columns="orderLIstColumns"
|
|
|
:data-source="orderListData"
|
|
|
:loading="loading"
|
|
|
- :pagination="pagination"
|
|
|
+ :pagination="ipagination"
|
|
|
:scroll="{ x: 1500,y:600 }"
|
|
|
@change="handleTableChange"
|
|
|
>
|
|
@@ -278,17 +278,18 @@ export default {
|
|
|
isProduct: '', // 客户需求新增
|
|
|
salesDepartment: '',//部门
|
|
|
salesman:'',//业务员
|
|
|
- pageNo: '' // 初始页
|
|
|
+ pageNo: '', // 初始页
|
|
|
+ pageSize:'50'
|
|
|
},
|
|
|
dingDan:'',//单条同步订单号
|
|
|
|
|
|
- pagination: {
|
|
|
- pageSizeOptions: ["50", "100", "150"],
|
|
|
- showSizeChanger: true,
|
|
|
- // total: '',
|
|
|
- // current: 0,
|
|
|
- // pageSize: 0
|
|
|
- },
|
|
|
+ // pagination: {
|
|
|
+ // pageSizeOptions: ["50", "100", "150"],
|
|
|
+ // showSizeChanger: true,
|
|
|
+ // // total: '',
|
|
|
+ // // current: 0,
|
|
|
+ // // pageSize: 0
|
|
|
+ // },
|
|
|
account:'',//单条同步条件
|
|
|
dateRange:[],
|
|
|
dataRangeMode:['date','date'],
|
|
@@ -307,16 +308,17 @@ export default {
|
|
|
// that.spinIsShow = true;
|
|
|
this.loading = true
|
|
|
this.$nextTick(() => {
|
|
|
- this.queryParam.pageSize = 50
|
|
|
+ // this.queryParam.pageSize = 50
|
|
|
orderList(this.queryParam).then(res => {
|
|
|
// that.spinIsShow = false;
|
|
|
this.loading = false
|
|
|
if (res.success) {
|
|
|
that.orderListData = res.result.records;
|
|
|
- that.pagination = {
|
|
|
+ that.ipagination = {
|
|
|
total: res.result.total,
|
|
|
current: res.result.current,
|
|
|
- pageSize: res.result.size
|
|
|
+ pageSize: res.result.size,
|
|
|
+ pageSizeOptions: ["50", "100", "150"],
|
|
|
}
|
|
|
}else{
|
|
|
that.$message.error(res.message);
|
|
@@ -417,6 +419,7 @@ export default {
|
|
|
|
|
|
handleTableChange(pagination, filters, sorter) {
|
|
|
this.queryParam.pageNo = pagination.current
|
|
|
+ this.queryParam.pageSize = pagination.pageSize
|
|
|
this.getOrderList()
|
|
|
},
|
|
|
|