From c195c2136954542ab7f033651081e56395ede1fa Mon Sep 17 00:00:00 2001
From: Crunchy <3114200645@qq.com>
Date: 星期五, 02 八月 2024 13:26:34 +0800
Subject: [PATCH] 下单到具体型号,后面就算改了,选择委托要求之后还是用原来的型号查询

---
 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 e07d307..e5e9754 100644
--- a/src/components/do/b1-ins-order/add.vue
+++ b/src/components/do/b1-ins-order/add.vue
@@ -2320,10 +2320,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