|
|
|
@ -6,12 +6,18 @@ |
|
|
|
|
<el-table-column label="图片" align="center"> |
|
|
|
|
<img src="http://dummyimage.com/50x50" /> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column label="平台抽成" align="center"> |
|
|
|
|
5% |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column label="特价商品最高折扣" align="center"> |
|
|
|
|
5折 |
|
|
|
|
<el-table-column label="保证金" align="center" v-if="$route.meta.manufacturer"> |
|
|
|
|
5000.00 |
|
|
|
|
</el-table-column> |
|
|
|
|
<template v-else> |
|
|
|
|
<el-table-column label="平台抽成" align="center"> |
|
|
|
|
5% |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column label="特价商品最高折扣" align="center"> |
|
|
|
|
5折 |
|
|
|
|
</el-table-column> |
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
<el-table-column label="操作" align="center"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
<el-button type="text" v-if="scope.row.children" |
|
|
|
@ -37,14 +43,20 @@ |
|
|
|
|
<el-form-item label="分类名称"> |
|
|
|
|
<el-input v-model="form.name" placeholder="请输入分类名称"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
|
<br /> |
|
|
|
|
<el-form-item label="平台抽成"> |
|
|
|
|
<el-input v-model="form.commission" placeholder="请输入"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<br /> |
|
|
|
|
<el-form-item label="特价商品最高折扣"> |
|
|
|
|
<el-input v-model="form.discount" placeholder="请输入"></el-input> |
|
|
|
|
<el-form-item label="保证金" v-if="$route.meta.manufacturer"> |
|
|
|
|
<el-input v-model="form.deposit" placeholder="请输入"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<template v-else> |
|
|
|
|
<el-form-item label="平台抽成"> |
|
|
|
|
<el-input v-model="form.commission" placeholder="请输入"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<br /> |
|
|
|
|
<el-form-item label="特价商品最高折扣"> |
|
|
|
|
<el-input v-model="form.discount" placeholder="请输入"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
</template> |
|
|
|
|
</template> |
|
|
|
|
<br /> |
|
|
|
|
<el-form-item label="图片"> |
|
|
|
@ -89,7 +101,9 @@ export default { |
|
|
|
|
//特价商品最高折扣 |
|
|
|
|
discount: '', |
|
|
|
|
//图片 |
|
|
|
|
fileList: [] |
|
|
|
|
fileList: [], |
|
|
|
|
//保证金 |
|
|
|
|
deposit: '' |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|