YL2767 3 dni temu
rodzic
commit
fe07273a30

+ 5
- 5
src/view/record/changerecord.vue Wyświetl plik

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

+ 2
- 2
src/view/ware/storechange.vue Wyświetl plik

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

Ładowanie…
Anuluj
Zapisz