From c09e858fe674ea768248798ca86cf4b90cdff09d Mon Sep 17 00:00:00 2001
From: Crunchy <3114200645@qq.com>
Date: 星期三, 31 七月 2024 15:07:38 +0800
Subject: [PATCH] 检验下单的时候遇到光纤接头损耗的特殊项目需要弹框填写,现在因为别的地方改动这里受到了影响

---
 src/components/do/b1-inspect-order-plan/Inspection.vue |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/components/do/b1-inspect-order-plan/Inspection.vue b/src/components/do/b1-inspect-order-plan/Inspection.vue
index bd0d974..125ee7e 100644
--- a/src/components/do/b1-inspect-order-plan/Inspection.vue
+++ b/src/components/do/b1-inspect-order-plan/Inspection.vue
@@ -2732,8 +2732,7 @@
                 orderId: this.orderId,
                 laboratory: this.sonLaboratory,
                 verifyUser: this.verifyUser,
-                entrustCode: this.insOrder.entrustCode,
-                sampleCode: this.currentSample.sampleCode
+                entrustCode: this.insOrder.entrustCode
               }).then(res => {
                 if (res.code === 200) {
                   this.$message.success("鎿嶄綔鎴愬姛")
@@ -2840,11 +2839,14 @@
       getAuthorizedPerson() {
         this.$axios.get(this.$api.user.getUserMenu).then(res => {
           let data = []
+          let userName = JSON.parse(localStorage.getItem("user")).name;
           res.data.forEach(a => {
-            data.push({
+            if(a.name !== userName) {
+              data.push({
               label: a.name,
               value: a.id
             })
+            }
           })
           this.personList = data
         })

--
Gitblit v1.9.3