YL2767 3 days ago
parent
commit
fe07273a30
2 changed files with 7 additions and 7 deletions
  1. 5
    5
      src/view/record/changerecord.vue
  2. 2
    2
      src/view/ware/storechange.vue

+ 5
- 5
src/view/record/changerecord.vue View File

204
 			},
204
 			},
205
 			handleSizeChange(val) {
205
 			handleSizeChange(val) {
206
 				console.log(`每页 ${val} 条`);
206
 				console.log(`每页 ${val} 条`);
207
-				this.pageSizeAll = val
207
+				this.pageSize = val
208
 				this.getTableData()
208
 				this.getTableData()
209
 			},
209
 			},
210
 			// 修改当前页事件
210
 			// 修改当前页事件
211
 			handleCurrentChange(val) {
211
 			handleCurrentChange(val) {
212
 				console.log(`当前页: ${val}`);
212
 				console.log(`当前页: ${val}`);
213
-				this.currentPageAll = val
213
+				this.currentPage = val
214
 				this.getTableData()
214
 				this.getTableData()
215
 			},
215
 			},
216
 			handleSearch() {
216
 			handleSearch() {
275
 					this.query.RecordDate = [false,false];
275
 					this.query.RecordDate = [false,false];
276
 				}
276
 				}
277
 				var param = {
277
 				var param = {
278
-					page: this.currentPage,
279
-					rows: this.pageSize,
278
+					page: -1,
279
+					rows: -1,
280
 					wareName: this.query.wareName,
280
 					wareName: this.query.wareName,
281
 					stackName: this.query.stackName,
281
 					stackName: this.query.stackName,
282
 					model: this.query.model,
282
 					model: this.query.model,
292
 				axios.get(url, param).then(response => {
292
 				axios.get(url, param).then(response => {
293
 					// alert(JSON.stringify(response))
293
 					// alert(JSON.stringify(response))
294
 					if (response.data.code == 0) {
294
 					if (response.data.code == 0) {
295
-						var imptData = response.data.data.list;
295
+						var imptData = response.data.data;
296
 						if (imptData.length == 0) {
296
 						if (imptData.length == 0) {
297
 							this.$alert('无法导出,选择时间段无记录', '提示', {
297
 							this.$alert('无法导出,选择时间段无记录', '提示', {
298
 								confirmButtonText: '确定',
298
 								confirmButtonText: '确定',

+ 2
- 2
src/view/ware/storechange.vue View File

957
 			handleChangeCUSTSave(){ //“批量修改”弹窗中“保存”按钮对应的函数
957
 			handleChangeCUSTSave(){ //“批量修改”弹窗中“保存”按钮对应的函数
958
 				var url = 'WareStore/changeAll.do'
958
 				var url = 'WareStore/changeAll.do'
959
 				var param = {
959
 				var param = {
960
-					json: JSON.stringify(this.multipleSelection),
960
+					json: JSON.stringify(this.selectRows),
961
 					newCustomername: this.newCustomername,
961
 					newCustomername: this.newCustomername,
962
 					newFKCustomername: this.newFKCustomername,
962
 					newFKCustomername: this.newFKCustomername,
963
 					newContractno: this.newContractno,
963
 					newContractno: this.newContractno,
992
 				var url = 'WareStore/changeStack.do'
992
 				var url = 'WareStore/changeStack.do'
993
 				var param = {
993
 				var param = {
994
 
994
 
995
-					json: JSON.stringify(this.multipleSelection),
995
+					json: JSON.stringify(this.selectRows),
996
 					newWare: this.newWare,
996
 					newWare: this.newWare,
997
 					newStack: this.newStack,
997
 					newStack: this.newStack,
998
 					newRemark1: this.newRemark1,
998
 					newRemark1: this.newRemark1,

Loading…
Cancel
Save