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;