ysy 1 год назад
Родитель
Сommit
2fcdfc2217
1 измененных файлов с 5 добавлено и 2 удалено
  1. 5 2
      src/views/material/BOMmanage/components/workmanship.vue

+ 5 - 2
src/views/material/BOMmanage/components/workmanship.vue

@@ -159,12 +159,13 @@
         </template>
 
         <!-- 操作列 -->
-        <template v-slot:action="{ row }"  v-if="attributeData.status != 1">
+        <template v-slot:action="{ row }"  >
           <el-link
             type="primary"
             :underline="false"
             icon="el-icon-edit"
             @click="editWorkingProcedure(row)"
+            v-if="attributeData.status != 1"
           >
             修改
           </el-link>
@@ -181,6 +182,7 @@
             :underline="false"
             icon="el-icon-setting"
             @click="openStepSetting(row)"
+            v-if="attributeData.status != 1"
           >
             工步
           </el-link>
@@ -189,6 +191,7 @@
             :underline="false"
             icon="el-icon-setting"
             @click="openConfigure(row)"
+            v-if="attributeData.status != 1"
           >
             配置
           </el-link>
@@ -198,7 +201,7 @@
             @confirm="remove(row)"
           >
             <template v-slot:reference>
-              <el-link type="danger" :underline="false" icon="el-icon-delete">
+              <el-link v-if="attributeData.status != 1" type="danger" :underline="false" icon="el-icon-delete">
                 删除
               </el-link>
             </template>