ysy 2 年之前
父节点
当前提交
6a2cfe8e8f
共有 2 个文件被更改,包括 8 次插入7 次删除
  1. 2 1
      src/views/material/materialBOM/index.vue
  2. 6 6
      src/views/technology/production/index.vue

+ 2 - 1
src/views/material/materialBOM/index.vue

@@ -11,7 +11,7 @@
       >
         <!-- 表头工具栏 -->
         <template v-slot:toolbar>
-          <el-button type="primary" @click="handelEdit('新建')">新建</el-button>
+          <el-button type="primary"   size="small" @click="handelEdit('新建')">新建</el-button>
           <el-button
             size="small"
             type="primary"
@@ -23,6 +23,7 @@
         </template>
         <template v-slot:action="{ row }">
           <el-link type="primary" @click="handelDetail(row)">详情</el-link>
+          <el-link type="primary"  icon="el-icon-edit"  @click="handelEdit('编辑')">编辑</el-link>
         </template>
       </ele-pro-table>
     </el-card>

+ 6 - 6
src/views/technology/production/index.vue

@@ -12,7 +12,7 @@
         row-key="code"
       >
         <!-- 表头工具栏 -->
-<!--        <template v-slot:toolbar>
+      <template v-slot:toolbar>
           <el-button
             size="small"
             type="primary"
@@ -31,7 +31,7 @@
           >
             删除
           </el-button>
-        </template> -->
+        </template> 
 
         <template v-slot:roleList="{ row }">
           <el-tag
@@ -48,14 +48,14 @@
 
         <!-- 操作列 -->
         <template v-slot:action="{ row }">
-<!--          <el-link
+       <el-link
             type="primary"
             :underline="false"
             icon="el-icon-edit"
             @click="openEdit(row)"
           >
             修改
-          </el-link> -->
+          </el-link> 
           <el-link
             type="primary"
             :underline="false"
@@ -65,7 +65,7 @@
             配置工艺参数
           </el-link>
 
-<!--          <el-popconfirm
+         <el-popconfirm
             class="ele-action"
             title="确定要删除当前工序吗?"
             @confirm="remove(row)"
@@ -75,7 +75,7 @@
                 删除
               </el-link>
             </template>
-          </el-popconfirm> -->
+          </el-popconfirm>
         </template>
       </ele-pro-table>
     </el-card>