浏览代码

修改bug

lichao 3 年之前
父节点
当前提交
386c053bca

+ 1 - 1
src/views/workManagement/warehousing/config/mainList.json

@@ -9,7 +9,7 @@
   "delBtn": false,
   "addBtn": false,
   "align": "center",
-  "menuWidth": "130",
+  "menuWidth": "90",
   "searchIcon": true,
   "searchIndex": 2,
   "selection": true,

+ 3 - 6
src/views/workManagement/warehousing/index.vue

@@ -31,12 +31,6 @@
         <template slot-scope="scope" slot="menu">
           <el-button
             type="text"
-            icon="el-icon-edit"
-            size="small"
-            @click.stop="beforeOpenPage(scope.row, scope.index)"
-          >查看</el-button>
-          <el-button
-            type="text"
             icon="el-icon-delete"
             size="small"
             @click.stop="rowDel(scope.row, scope.index)"
@@ -59,6 +53,9 @@
             ></el-option>
           </el-select>
         </template>
+        <template slot="sysNo" slot-scope="scope">
+          <span style="color: #409EFF;cursor: pointer" @click.stop="beforeOpenPage(scope.row,scope.index)">{{ scope.row.sysNo }}</span>
+        </template>
       </avue-crud>
     </basic-container>
     <detail-page