|
@@ -74,7 +74,9 @@
|
|
warehouseList: [],
|
|
warehouseList: [],
|
|
isContent:false,
|
|
isContent:false,
|
|
loadStatus:'noMore',
|
|
loadStatus:'noMore',
|
|
- dataList: []
|
|
|
|
|
|
+ dataList: [],
|
|
|
|
+ pageSize:10,
|
|
|
|
+ currentPage:1,
|
|
}
|
|
}
|
|
},
|
|
},
|
|
onShow() {
|
|
onShow() {
|
|
@@ -109,6 +111,16 @@
|
|
}
|
|
}
|
|
});
|
|
});
|
|
},
|
|
},
|
|
|
|
+ onPullDownRefresh() {
|
|
|
|
+ this.currentPage=1
|
|
|
|
+ this.gridList=[]
|
|
|
|
+ this.getList()
|
|
|
|
+ },
|
|
|
|
+ onReachBottom() {
|
|
|
|
+ this.currentPage+=1
|
|
|
|
+ this.getList()
|
|
|
|
+ // this.getMoreNews()
|
|
|
|
+ },
|
|
methods: {
|
|
methods: {
|
|
loadData() {
|
|
loadData() {
|
|
this.$api.doRequest('get', '/warehouseBaseInfo/selectWarehouseSelf', {
|
|
this.$api.doRequest('get', '/warehouseBaseInfo/selectWarehouseSelf', {
|
|
@@ -131,8 +143,8 @@
|
|
getList() {
|
|
getList() {
|
|
this.$api.doRequest('get', '/weighingManagement/selectWeighingManagement', {
|
|
this.$api.doRequest('get', '/weighingManagement/selectWeighingManagement', {
|
|
compId: '',
|
|
compId: '',
|
|
- currentPage: 1,
|
|
|
|
- pageSize: 10,
|
|
|
|
|
|
+ currentPage: this.currentPage,
|
|
|
|
+ pageSize:this.pageSize,
|
|
searchKeyWord: this.inputKeyword,
|
|
searchKeyWord: this.inputKeyword,
|
|
warehouseName: this.warehouseName,
|
|
warehouseName: this.warehouseName,
|
|
managementType: 1,
|
|
managementType: 1,
|