ysy il y a 2 ans
Parent
commit
34f5580241

+ 2 - 2
src/views/material/product/components/index-data.vue

@@ -21,7 +21,7 @@
           class="ele-btn-icon"
           @click="openEdit({}, 2)"
         >
-          新建物料
+          新建
         </el-button>
       </template>
       <template v-slot:action="{ row }">
@@ -199,7 +199,7 @@
       /* 显示编辑 */
       openEdit (row, status) {
         this.$router.push({
-          path: '/treeClassify/manageMaterial',
+          path: '/material/product/detail',
           query: {
             id: row.id ? row.id : null,
             status: status,

+ 1 - 7
src/views/material/product/detail.vue

@@ -13,13 +13,7 @@
             >保存</el-button
           ></headerTitle
         >
-        <!-- <div class="divider">
-          <div class="title">
-            <div class="ele-bg-primary"></div>
-            <span>基本信息</span>
-          </div>
-          <div class="ele-bg-primary ele-width"></div>
-        </div> -->
+
         <el-row :gutter="24">
           <el-col :span="8">
             <el-form-item label="编码" prop="code">

+ 1 - 1
src/views/material/product/index.vue

@@ -2,7 +2,7 @@
   <div class="ele-body">
     <el-card shadow="never">
       <ele-split-layout
-        width="336px"
+        width="300px"
         allow-collapse
         :right-style="{ overflow: 'hidden' }"
       >