From c321b88b97de37e6822774a3127a79a4eabfcbe9 Mon Sep 17 00:00:00 2001
From: licp <lichunping@guanfang.com.cn>
Date: 星期五, 05 七月 2024 09:58:26 +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 |   14 +++++++++++---
 1 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/src/components/do/b1-ins-order/add.vue b/src/components/do/b1-ins-order/add.vue
index f350fbc..38d8c5f 100644
--- a/src/components/do/b1-ins-order/add.vue
+++ b/src/components/do/b1-ins-order/add.vue
@@ -802,7 +802,7 @@
         </div>
         <div class="temperatureList">
           <div class="temperatureListTitle">
-            <span>娓╁害鐐归泦鍚�(璇锋寜鐓ч『搴忓~鍐欙紝20鈩冨繀椤讳负棣栦綅)</span>
+            <span>娓╁害鐐归泦鍚�</span>
             <span>
               <el-button type="primary" size="mini" @click="addTemperatureData">鏂板</el-button>
               <el-button size="mini" @click="deleteTemperatureData">鍒犻櫎</el-button>
@@ -1112,6 +1112,9 @@
               throw this.$message.error('璇峰~鍐欏畬鏁存暟鎹�')
             }
           })
+          if (!o.temperatureData.some(item => item.temperaturePoint == '20')) {
+            throw this.$message.error(`${o.value + '娉㈤暱娌℃湁閰嶇疆20鈩冩俯搴︾偣'}`)
+          }
         })
         let entrustTime = this.circulateForm.entrustTime
         let entrustNum = this.circulateForm.entrustNum
@@ -1123,7 +1126,7 @@
           o.temperatureData.unshift({temperaturePoint: 20})
           o.temperatureData.forEach(t => {
             if (!t.askSymbol) {
-                  const askObj = t.temperaturePoint + '鈩�' + ',' + o.value + ',' + null
+                  const askObj = t.temperaturePoint + '鈩�(甯告俯)' + ',' + o.value + ',' + null
                   askArr.push(askObj)
                 } else {
                   const askObj = t.temperaturePoint + '鈩�' + ',' + o.value + ',' + t.askSymbol + t.askNum
@@ -1149,7 +1152,7 @@
         })
         temperaturePointList = Array.from(new Set(temperaturePointList))
         temperaturePointList2 = Array.from(new Set(temperaturePointList2))
-        temperaturePointList2.unshift(20 + '鈩�')
+        temperaturePointList2.unshift(20 + '鈩�(甯告俯)')
         let additionArr = []
         askNum.forEach(a => {
           additionArr.push(temperaturePointList.join(',') + a)
@@ -1377,6 +1380,11 @@
           console.log('isHaveBushing===', isHaveBushing)
           if (productListSelected && select[2] === '鍏夌紗' && isHaveBushing === false) {
             this.$message.error('鍏夌紗娓╁害寰幆椤圭洰蹇呴』杩涜鍏夌氦閰嶇疆')
+
+            this.$refs.sampleTable.setCurrentRow(this.currentMethod, true)
+            this.rowClick(this.currentMethod)
+            this.sampleIds = [this.currentMethod.id]
+            this.openConfig()
             return
           }
           let sampleList = this.HaveJson(this.sampleList)

--
Gitblit v1.9.3