zxz 3 years ago
parent
commit
bfa1a83977
1 changed files with 10 additions and 2 deletions
  1. 10 2
      pages/task/my_task.vue

+ 10 - 2
pages/task/my_task.vue

@@ -63,9 +63,10 @@
 				console.log(2112454)
 				console.log(2112454)
 				this.warehouseInOutInfo.statusFlag = this.statusFlag
 				this.warehouseInOutInfo.statusFlag = this.statusFlag
 				this.$api.doRequest('get', '/warehouseInOutInfo/selectInfo', this.warehouseInOutInfo).then(res => {
 				this.$api.doRequest('get', '/warehouseInOutInfo/selectInfo', this.warehouseInOutInfo).then(res => {
-					console.log(12545645)
+					console.log(res,"对象")
 					if (res.data.code == 200) {
 					if (res.data.code == 200) {
-						let data = res.data.data
+						let data = res.data.data.records
+						console.log(data,"13246")
 						//采购信息
 						//采购信息
 						if (data.length > 0) {
 						if (data.length > 0) {
 							that.taskInfo = that.taskInfo.concat(data)
 							that.taskInfo = that.taskInfo.concat(data)
@@ -98,6 +99,13 @@
 				this.pageSize = 1
 				this.pageSize = 1
 				this.getIndexBuyData()
 				this.getIndexBuyData()
 			},
 			},
+			navToDetailPage(item){
+				uni.navigateTo({
+				      url: `/pageD/myRelease/sellGrain?contractNo=${item.contractNo}&goodsName=${item.goodsName}
+					  &startWeight=${item.startWeight}&carNo=${item.carNo}&tranCarNo=${item.tranCarNo}
+					  &warehouseName=${item.warehouseName}`
+				     })
+			}
 
 
 		}
 		}
 	}
 	}