Browse Source

Signed-off-by: liuboyan <632697560@qq.com>
从萨达

liuboyan 4 years ago
parent
commit
07407774c2
1 changed files with 3 additions and 2 deletions
  1. 3 2
      pagesMain/orderItem.vue

+ 3 - 2
pagesMain/orderItem.vue

@@ -73,6 +73,7 @@
 						tenantCode: ''
 					}],
 					supplierName: ''
+					tenantCode: ''
 				}
 			},
 		},
@@ -84,7 +85,7 @@
 				handleType: '',
 			}
 		},
-		onLoad() {
+		onReady() {
 			this.pickHandle = this.orderData.products.filter(site=> site.productType == 3).length > 0
 		},
 		methods: {
@@ -148,7 +149,7 @@
 				} else if (type == 4) {
 					//  自助采摘
 					uni.navigateTo({
-						url: '/pagesGood/pickVideo?tenantCode=' + this.orderData.products[0].tenantCode
+						url: '/pagesGood/pickVideo?tenantCode=' + this.orderData.tenantCode
 					});
 				} else if (type == 6) {
 					//  追踪物流