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