ysy пре 2 година
родитељ
комит
e72dd79cf2
1 измењених фајлова са 9 додато и 3 уклоњено
  1. 9 3
      pages/pda/feeding/index/index.vue

+ 9 - 3
pages/pda/feeding/index/index.vue

@@ -164,13 +164,18 @@
 		onLoad(option) {
 			this.feedStatus = option.feedStatus || 0
 			
+			
+			if(option.feedStatus == 0 | option.feedStatus == 1) {
+				this.page = 1
+				this.dataList = []
+				
+			}
+			this.getList()
 			this.produceFn()
 		},
 
 		onShow() {
-			this.page = 1
-			// this.dataList = []
-			this.getList()
+	
 			this.getpickTics()
 		},
 
@@ -300,6 +305,7 @@
 				this.searchShow = false
 			},
 			
+			// 工艺路线
 			produceFn() {
 				let param = {
 					pageNum: 1,