|
@@ -537,13 +537,14 @@ export default {
|
|
|
// 查询条件
|
|
|
queryParam: {
|
|
|
isReference:'0',
|
|
|
+ pageSize:50,
|
|
|
pageNo: '' // 初始页
|
|
|
},
|
|
|
preDeliveryDate:[],
|
|
|
pagination: {
|
|
|
pageSizeOptions: ["50", "100", "150"],
|
|
|
showSizeChanger: true,
|
|
|
- // pageSize:20
|
|
|
+ pageSize:50
|
|
|
// total: '',
|
|
|
// current: 0,
|
|
|
// pageSize: 0
|
|
@@ -572,7 +573,7 @@ export default {
|
|
|
getSpltList() {
|
|
|
var that = this;
|
|
|
this.$nextTick(() => {
|
|
|
- this.queryParam.pageSize=50
|
|
|
+ // this.queryParam.pageSize=50
|
|
|
this.loading = true
|
|
|
spltList(this.queryParam).then(res => {
|
|
|
this.loading = false
|
|
@@ -587,7 +588,7 @@ export default {
|
|
|
that.pagination = {
|
|
|
total: res.result.total,
|
|
|
current: res.result.current,
|
|
|
- pageSize: res.result.size
|
|
|
+ // pageSize: res.result.size
|
|
|
}
|
|
|
}else{
|
|
|
that.$message.error(res.message);
|
|
@@ -604,8 +605,10 @@ export default {
|
|
|
},
|
|
|
searchReset() {
|
|
|
// console.log('>>>>重置')
|
|
|
+ var dd = this.queryParam
|
|
|
this.queryParam = {
|
|
|
- isReference:'0'
|
|
|
+ isReference:'0',
|
|
|
+ pageSize:dd.pageSize
|
|
|
}
|
|
|
this.preDeliveryDate = []
|
|
|
this.getSpltList()
|
|
@@ -913,6 +916,7 @@ export default {
|
|
|
handleTableChange(pagination, filters, sorter) {
|
|
|
// console.log('当前页信息>>>>',pagination)
|
|
|
this.queryParam.pageNo = pagination.current
|
|
|
+ this.queryParam.pageSize = pagination.pageSize
|
|
|
this.getSpltList()
|
|
|
}
|
|
|
},
|