From cb57a0254f0e2efb0e4f4b274d259aa85245946d Mon Sep 17 00:00:00 2001
From: value <z1292839451@163.com>
Date: 星期六, 01 六月 2024 09:48:07 +0800
Subject: [PATCH] 完成光纤配置进行检验

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

diff --git a/src/components/do/b1-ins-order/add.vue b/src/components/do/b1-ins-order/add.vue
index 78cbd51..deda55a 100644
--- a/src/components/do/b1-ins-order/add.vue
+++ b/src/components/do/b1-ins-order/add.vue
@@ -1358,6 +1358,10 @@
           this.$axios.post(this.$api.insBushing.selectBushingBySampleId,{
             sampleId: this.sampleId
           }).then(res=>{
+            if(res.data.length===0){
+              this.$message.error('璇ユ牱鍝佹病鏈夐厤缃厜绾�')
+              return
+            }
             for(var i in this.sampleList){
               if(this.sampleList[i].id = this.sampleId){
                 this.sampleList[i].bushing = res.data

--
Gitblit v1.9.3