From c1fc877ea83fae08ef055e01ab2ed0e583ff2b91 Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期五, 12 四月 2024 16:21:23 +0800 Subject: [PATCH] 纤度登记表 修改输入一个值,其他的输入框也会随之变化的问题修改 --- src/views/productManage/silkRegisterForm/addPage.vue | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/views/productManage/silkRegisterForm/addPage.vue b/src/views/productManage/silkRegisterForm/addPage.vue index f93ce75..6c4e516 100644 --- a/src/views/productManage/silkRegisterForm/addPage.vue +++ b/src/views/productManage/silkRegisterForm/addPage.vue @@ -208,7 +208,7 @@ >淇濆瓨</el-button > <!-- </template> -</CommonSearch> --> + </CommonSearch> --> </div> </div> <div class="body-two body"> @@ -586,9 +586,16 @@ ); this.form = config; this.getGroupNumber() - this.tableList.tableData = config.finenessList + let finenessList=config.finenessList ? config.finenessList : []; + if(finenessList.length>0){ + finenessList.map((item,index)=>{ + item.productId=index+1 + }) + } + console.log(finenessList,'===finenessList') + this.tableList.tableData = finenessList this.tableData = this.tableList.tableData; } } -- Gitblit v1.8.0