ysy 2 лет назад
Родитель
Сommit
73e4237557

+ 2 - 1
src/views/technology/route/components/ProductModal.vue

@@ -113,7 +113,8 @@ export default {
         ...where,
         pageNum: page,
         size: limit,
-        categoryLevelId: this.categoryLevelId
+        categoryLevelId: this.categoryLevelId,
+        isProduct:true
       });
     },
     handleNodeClick (data) {

+ 1 - 1
src/views/technology/route/components/user-edit.vue

@@ -9,7 +9,7 @@
     :title="isUpdate ? '修改工艺路线' : '添加工艺路线'"
     @update:visible="updateVisible"
   >
-    <header-title title="基本信息"></header-title>
+    <header-title title="基本信息"> </header-title>
     <el-form ref="form" :model="form" :rules="rules" label-width="140px">
       <el-row>
         <el-col :span="8">

+ 5 - 5
src/views/technology/route/index.vue

@@ -13,14 +13,14 @@
       >
         <!-- 表头工具栏 -->
        <template v-slot:toolbar>
-        <!-- <el-button
+        <el-button
             size="small"
             type="primary"
             icon="el-icon-refresh-left"
             class="ele-btn-icon"
-            @click="openEdit"
+            @click="openEdit(null)"
           
-          >新增</el-button> -->
+          >新增</el-button>
 
           <el-button
             size="small"
@@ -39,14 +39,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"