From ef5b6af01dc1c26635baf7564b4bc2618d5d1353 Mon Sep 17 00:00:00 2001
From: gaoluyang <gaoluyang@rengu.cc>
Date: 星期二, 02 七月 2024 16:55:47 +0800
Subject: [PATCH] 下单页面—温度循环要求填写弹框开发联调

---
 src/components/do/b1-ins-order/add.vue |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/src/components/do/b1-ins-order/add.vue b/src/components/do/b1-ins-order/add.vue
index 229fabb..5461704 100644
--- a/src/components/do/b1-ins-order/add.vue
+++ b/src/components/do/b1-ins-order/add.vue
@@ -1112,17 +1112,22 @@
           }
         })
         let temperaturePoint = JSON.parse(JSON.stringify(this.temperatureData))
+        temperaturePoint.unshift({temperaturePoint: 20})
         let askArr = []
         let opticalProjectArr = []
         // 鎷兼帴瑕佹眰鍊糰sk
         opticalProjectList.forEach(o => {
           opticalProjectArr.push(o.value)
           temperaturePoint.forEach(t => {
-            const askObj = t.temperaturePoint + '鈩�' + ',' + o.value + ',' + t.askSymbol + t.askNum
-            askArr.push(askObj)
+            if (!t.askSymbol) {
+              const askObj = t.temperaturePoint + '鈩�' + ',' + o.value + ',' + null
+              askArr.push(askObj)
+            } else {
+              const askObj = t.temperaturePoint + '鈩�' + ',' + o.value + ',' + t.askSymbol + t.askNum
+              askArr.push(askObj)
+            }
           })
         })
-        askArr.unshift(20 + '鈩�')
         askArr.push(this.circulateForm.entrustNum)
         const ask = askArr.join(';')
         // 鎷兼帴瑕佹眰鎻忚堪tell

--
Gitblit v1.9.3