From 032b4e8106d6913e84057cc6c85d2944af33a5eb Mon Sep 17 00:00:00 2001 From: huangdeliang Date: Tue, 9 Mar 2021 11:50:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=A3=9F=E8=B0=B1=E8=AE=A1?= =?UTF-8?q?=E5=88=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/RecipesPlanDrawer/index.vue | 23 +++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/stdiet-ui/src/components/RecipesPlanDrawer/index.vue b/stdiet-ui/src/components/RecipesPlanDrawer/index.vue index 5d4316347..858f57069 100644 --- a/stdiet-ui/src/components/RecipesPlanDrawer/index.vue +++ b/stdiet-ui/src/components/RecipesPlanDrawer/index.vue @@ -44,9 +44,24 @@ @@ -116,7 +131,7 @@ export default { listRecipesPlanByCusId(data.id).then((response) => { this.planList = response.data; this.cusOutId = response.data.reduce((str, cur) => { - if (!str && cur.recipesId) { + if (!str && cur.recipesId && cur.reviewStatus === 2) { str = cur.outId; } return str;