diff --git a/pages/purchase/agrProdList.vue b/pages/purchase/agrProdList.vue
index df0a5c5..9c6855a 100644
--- a/pages/purchase/agrProdList.vue
+++ b/pages/purchase/agrProdList.vue
@@ -59,7 +59,7 @@
-
+
{{v.detailedParentName}} {{v.goodsName}}
@@ -121,13 +121,16 @@ export default {
events:{update:()=>{ this.clean();this.search() }}
})
},
- toAddSepc(id){
+ toAddSepc(e){
uni.navigateTo({
- url:`/pages/purchase/specs?id=${id}`,
+ url:`/pages/purchase/specs?goodsId=${e.id}`,
events:{submit: e=>{
uni.navigateBack()
this.eventChannel.emit("submit",e)
- }}
+ }},
+ success(res){
+ res.eventChannel.emit("detail",e)
+ }
})
},
}