From 938497c9593eca457af59b902ce839cfa44f023f Mon Sep 17 00:00:00 2001
From: licp <lichunping@guanfang.com.cn>
Date: 星期五, 02 八月 2024 15:33:20 +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 |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/components/do/b1-ins-order/add.vue b/src/components/do/b1-ins-order/add.vue
index 04ca996..88699bb 100644
--- a/src/components/do/b1-ins-order/add.vue
+++ b/src/components/do/b1-ins-order/add.vue
@@ -2328,10 +2328,12 @@
           this.isAskOnlyRead = false
         }
         this.getProductLoad = true
+        let selectTreeList = this.selectTree.split(" - ")
+        selectTreeList[selectTreeList.length - 1] = this.addObj.model
         this.$axios.post(this.$api.standardTree.selectStandardProductList, {
-          model: row.model + '-' + row.modelNum,
+          model: this.addObj.model + '-' + row.modelNum,
           standardMethodListId: val,
-          factory: this.selectTree,
+          factory: selectTreeList.join(" - "),
         }, {
           headers: {
             'Content-Type': 'application/json'

--
Gitblit v1.9.3