From cd3705905c58a74b811ce5efaa15e305945b5b1e Mon Sep 17 00:00:00 2001
From: licp <lichunping@guanfang.com.cn>
Date: 星期五, 23 八月 2024 17:02:51 +0800
Subject: [PATCH] 修改复核功能

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

diff --git a/src/components/do/b1-ins-order/add.vue b/src/components/do/b1-ins-order/add.vue
index 8c9f4b5..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) {
@@ -2065,7 +2074,10 @@
               this.distributeData.appointed = ress.data
             })
             setTimeout(() => {
-              this.issuedDialogVisible = true;
+              // this.issuedDialogVisible = true;
+              // this.$message.success('鎻愪氦鎴愬姛')
+              this.upLoad = false
+              this.$parent.playOrder(0)
             }, 1000)
           })
         } else {

--
Gitblit v1.9.3