zss
2024-08-08 12dceacf931f4f29b1613eb06da8fd46d6375ebb
src/components/view/b1-inspect-order-plan.vue
@@ -303,14 +303,14 @@
                  font: '数据查看',
                  type: 'text',
                  method: 'handleDataLook',
            disabFun: (row, index) => {
            /* disabFun: (row, index) => {
              const user = JSON.parse(localStorage.getItem('user'))
              let currentUserName = ''
              if(user){
                currentUserName = user.name
              }
                     return row.userName!=currentUserName && row.checkName!=currentUserName
                  }
                  } */
               },{
                     id: '',
                     font: '检验',
@@ -345,7 +345,7 @@
                     type: 'text',
                     method: 'claimFun',
                     disabFun: (row, index) => {
                        return row.userName != null||(row.userName&&!row.userName.includes(JSON.parse(localStorage.getItem("user")).name))
                        return row.userName != null || row.checkName!=null
                     }
                  }
               ],
@@ -452,6 +452,7 @@
            }
         },
         changeCheckBox(val) {
            console.log(111,val)
            this.componentData.entity.userId = val?0:null
            this.refreshTable()
         },
@@ -468,7 +469,7 @@
               this.sampleUserForm = {
                  entrustCode: row.entrustCode,
                  insSampleId: row.id,
            sonLaboratory: row.sonLaboratory,
                     sonLaboratory: this.componentData.entity.sonLaboratory,
               }
               this.claimVisible = true
            }