From 78069607f6ced7e5ef92c3f16033f1406c041f5a Mon Sep 17 00:00:00 2001 From: dingtalk_umvbsp Date: Fri, 10 Feb 2023 14:15:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BC=A0=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/purchase/agrProdList.vue | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) 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) + } }) }, }