From 659b6b31b695284e1d4fd21f5975f8d8dd7b863a Mon Sep 17 00:00:00 2001
From: licp <lichunping@guanfang.com.cn>
Date: 星期五, 23 八月 2024 16:39:15 +0800
Subject: [PATCH] 修改印章功能

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

diff --git a/src/components/do/b1-ins-order/add.vue b/src/components/do/b1-ins-order/add.vue
index 1eaf682..1515195 100644
--- a/src/components/do/b1-ins-order/add.vue
+++ b/src/components/do/b1-ins-order/add.vue
@@ -1602,6 +1602,15 @@
           this.$message.error('鏈�夋嫨瀹㈡埛鍗曚綅')
           return
         }
+        let noLaboratory = this.totalArr.filter(a => a.state == 1&&!a.sonLaboratory)
+        if(noLaboratory.length>0){
+          let str = ''
+          noLaboratory.forEach((m,j)=>{
+            str += j==noLaboratory.length-1?m.inspectionItem+'-'+m.inspectionItemSubclass:m.inspectionItem+'-'+m.inspectionItemSubclass+','
+          })
+          this.$message.error(str+'娌℃湁鍏宠仈瀹為獙瀹ゅ锛岃鑱旂郴绠$悊鍛�')
+          return
+        }
         if (!this.addObj.type) {
           this.$message.error('鏈�夋嫨绱ф�ョ▼搴�')
         } else if (!this.addObj.formType) {

--
Gitblit v1.9.3