Commit 6f71e395 authored by yaya's avatar yaya

feat: 添加团购编辑页面

parent ffecd10b
......@@ -486,6 +486,19 @@ export const asyncRouterMap = [
keepAlive: true
}
},
{
path: 'groupAdd',
component: () => import('@/views/sale/groupAdd'),
name: 'groupAdd',
meta: {
perms: [],
title: '商品编辑',
icon: 'logininfor',
noCache: true,
keepAlive: true
},
hidden: true
},
{
path: 'auctionList',
component: () => import('@/views/sale/auctionList'),
......
This diff is collapsed.
......@@ -24,7 +24,7 @@
fit
highlight-current-row>
<!-- <el-table-column align="center" label="排行" width="100px" type="index" />-->
<el-table-column align="center" min-width="100px" prop="id" label="商品ID" />
<el-table-column align="center" min-width="100px" prop="id" label="商品ID" fixed="left"/>
<el-table-column align="center" label="封面图" prop="itemImg">
<template slot-scope="scope">
<div class="image_preview">
......@@ -198,7 +198,7 @@ export default {
* 详情
*/
handleToDetail(item) {
this.$router.push({ path: '/sale/saleAdd', query: { id: item.id }})
this.$router.push({ path: '/sale/groupAdd', query: { id: item.id }})
},
/**
* 删除
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment