From 7f52c65fe94eb734b01191c1bba76310b9a35749 Mon Sep 17 00:00:00 2001
From: licp <lichunping@guanfang.com.cn>
Date: 星期三, 20 三月 2024 15:59:39 +0800
Subject: [PATCH] Merge branch 'master' of http://114.132.189.42:9002/r/center-lims-before into master

---
 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