From 48649f3f206dcd556bda72970570a60ca6186059 Mon Sep 17 00:00:00 2001
From: licp <lichunping@guanfang.com.cn>
Date: 星期六, 10 八月 2024 16:54:03 +0800
Subject: [PATCH] 更新科学计数法

---
 src/components/do/b1-inspect-order-plan/Inspection.vue |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/src/components/do/b1-inspect-order-plan/Inspection.vue b/src/components/do/b1-inspect-order-plan/Inspection.vue
index 1d42ae2..85c477c 100644
--- a/src/components/do/b1-inspect-order-plan/Inspection.vue
+++ b/src/components/do/b1-inspect-order-plan/Inspection.vue
@@ -856,7 +856,7 @@
   import file from '../../../util/file'
   import excelFunction from '../../../util/excelFountion'
   export default {
-    props: ['sonLaboratory', 'orderId', 'state'],
+    props: ['sonLaboratory', 'orderId', 'state','inspectorList'],
     components: {
       ValueTable,
     },
@@ -2650,6 +2650,7 @@
           } catch (e) {}
           try {
             let equipName = JSON.parse(a.insProductResult.equipName)
+            // console.log(2222222,equipName)
             if(this.tableLists.find(m=>m.templateId==this.currentTable)&&(this.tableLists.find(m=>m.templateId==this.currentTable).templateName=='娓╁害寰幆妫�楠屽師濮嬭褰�'||this.tableLists.find(m=>m.templateId==this.currentTable).templateName.includes('鐑惊鐜�')||this.tableLists.find(m=>m.templateId==this.currentTable).templateName.includes('娓╁崌璇曢獙'))){
               this.param[a.id].equipName = []
               for (let i = 0; i < equipName.length; i++) {
@@ -2661,7 +2662,8 @@
               }
             }
             for (let i = 0; i < equipName.length; i++) {
-              if(this.tableLists.find(m=>m.templateId==this.currentTable)&&(this.tableLists.find(m=>m.templateId==this.currentTable).templateName=='娓╁害寰幆妫�楠屽師濮嬭褰�'||this.tableLists.find(m=>m.templateId==this.currentTable).templateName=='鐑惊鐜楠屽師濮嬭褰�'||this.tableLists.find(m=>m.templateId==this.currentTable).templateName=='娓╁崌璇曢獙鍘熷璁板綍妯℃澘')){
+              if(this.tableLists.find(m=>m.templateId==this.currentTable)&&(this.tableLists.find(m=>m.templateId==this.currentTable).templateName=='娓╁害寰幆妫�楠屽師濮嬭褰�'||this.tableLists.find(m=>m.templateId==this.currentTable).templateName.includes('鐑惊鐜�')||this.tableLists.find(m=>m.templateId==this.currentTable).templateName.includes('娓╁崌璇曢獙'))){
+                console.log(2222222,equipName)
                 // 娓╁害寰幆璧嬪��
                 this.$set(this.equipForm,`value`+i,equipName[i].v)
                 this.param[a.id].equipName[i].v.v = equipName[i].v
@@ -3268,9 +3270,9 @@
       getAuthorizedPerson() {
         this.$axios.get(this.$api.user.getUserMenu).then(res => {
           let data = []
-          let userName = JSON.parse(localStorage.getItem("user")).name;
+          // let userName = JSON.parse(localStorage.getItem("user")).name;
           res.data.forEach(a => {
-            if(a.name !== userName) {
+            if(!this.inspectorList.includes(a.name)) {
               data.push({
               label: a.name,
               value: a.id

--
Gitblit v1.9.3