From e097f6e8b6f549c1395b95e85cfc5a88c06390c9 Mon Sep 17 00:00:00 2001 From: huangli865118801 <865118801@qq.com> Date: Mon, 16 Aug 2021 19:48:05 +0800 Subject: [PATCH] ddd --- pages/badProduct/badProduct.vue | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/pages/badProduct/badProduct.vue b/pages/badProduct/badProduct.vue index a27ffe2..d8a9130 100644 --- a/pages/badProduct/badProduct.vue +++ b/pages/badProduct/badProduct.vue @@ -123,16 +123,17 @@ export default { getInfo(){ noDetail({plan_id:this.planInfo.plan_id}).then(res=>{ if(res){ - this.froms=res - this.ifEdit=1 - this.froms.map(items=>{ + res.map(items=>{ console.log("不良品详情id",items.id) - res.map(its=>{ - items.id=its.id + this.froms.map(its=>{ + its.id=items.id }) }) + this.froms=res + this.ifEdit=1 + console.log("不良品详情",this.froms) } - console.log("不良品详情",this.froms) + }) }, submit() {