From f8626cd1e16b4a3986bdaf2fc85afc478caa199e Mon Sep 17 00:00:00 2001 From: 李林 <z1292839451@163.com> Date: 星期三, 20 三月 2024 15:57:34 +0800 Subject: [PATCH] 功能调整 --- src/components/do/b1-ins-order/add.vue | 12 ++---------- 1 files changed, 2 insertions(+), 10 deletions(-) diff --git a/src/components/do/b1-ins-order/add.vue b/src/components/do/b1-ins-order/add.vue index e7e2a54..04d9b43 100644 --- a/src/components/do/b1-ins-order/add.vue +++ b/src/components/do/b1-ins-order/add.vue @@ -988,8 +988,7 @@ this.units = res.data }) }, - methodChange(val) { - this.$refs.sampleTable.doLayout() + methodChange(val, row) { this.getProductLoad = true this.$axios.post(this.$api.standardTree.selectStandardProductList, { model: this.addObj.model, @@ -1002,14 +1001,7 @@ res.data.forEach(a => { a.state = 1 }) - this.sampleIds.forEach(a => { - for (var b in this.sampleList) { - if (this.sampleList[b].id == a) { - this.sampleList[b].standardMethodListId = val - this.sampleList[b].insProduct = this.HaveJson(res.data) - } - } - }) + row.insProduct = this.HaveJson(res.data) this.getProductLoad = false this.productList = [] this.$refs.sampleTable.setCurrentRow() -- Gitblit v1.9.3