|
|
@ -85,12 +85,12 @@ |
|
|
|
<el-button size="mini" :disabled="multipleSelection.length == 0" @click="batchCommision">批量设置佣金</el-button> |
|
|
|
<el-button size="mini" :disabled="multipleSelection.length == 0" @click="batchCommision">批量设置佣金</el-button> |
|
|
|
<el-button v-if="open_svip == 1" size="mini" :disabled="multipleSelection.length == 0" @click="batchSvip">批量设置会员价</el-button> |
|
|
|
<el-button v-if="open_svip == 1" size="mini" :disabled="multipleSelection.length == 0" @click="batchSvip">批量设置会员价</el-button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<el-table |
|
|
|
<el-table |
|
|
|
v-loading="listLoading" |
|
|
|
v-loading="listLoading" |
|
|
|
:data="tableData.data" |
|
|
|
:data="tableData.data" |
|
|
|
style="width: 100%" |
|
|
|
style="width: 100%" |
|
|
|
size="mini" |
|
|
|
size="mini" |
|
|
|
:row-class-name="tableRowClassName" |
|
|
|
:row-class-name="tableRowClassName" |
|
|
|
:row-key="(row) => { return row.product_id }" |
|
|
|
:row-key="(row) => { return row.product_id }" |
|
|
|
@selection-change="handleSelectionChange" |
|
|
|
@selection-change="handleSelectionChange" |
|
|
|
@rowclick.stop="closeEdit"> |
|
|
|
@rowclick.stop="closeEdit"> |
|
|
@ -173,7 +173,7 @@ |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="create_time" label="创建时间" min-width="150" /> |
|
|
|
<el-table-column prop="create_time" label="创建时间" min-width="150" /> |
|
|
|
<el-table-column label="操作" min-width="150" fixed="right"> |
|
|
|
<el-table-column label="操作" min-width="150" fixed="right"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<router-link v-if="tableFrom.type != 5" :to="{path: roterPre + '/product/list/addProduct/' + scope.row.product_id}"> |
|
|
|
<router-link v-if="tableFrom.type != 5" :to="{path: roterPre + '/product/list/addProduct/' + scope.row.product_id}"> |
|
|
|
<el-button type="text" size="small" class="mr10">编辑</el-button> |
|
|
|
<el-button type="text" size="small" class="mr10">编辑</el-button> |
|
|
|
</router-link> |
|
|
|
</router-link> |
|
|
@ -212,7 +212,7 @@ |
|
|
|
> |
|
|
|
> |
|
|
|
<el-form ref="labelForm" :model="labelForm" @submit.native.prevent> |
|
|
|
<el-form ref="labelForm" :model="labelForm" @submit.native.prevent> |
|
|
|
<el-form-item> |
|
|
|
<el-form-item> |
|
|
|
<el-select v-model="labelForm.mer_labels" clearable multiple placeholder="请选择" class="selWidth"> |
|
|
|
<el-select v-model="labelForm.mer_labels" clearable placeholder="请选择" class="selWidth"> |
|
|
|
<el-option |
|
|
|
<el-option |
|
|
|
v-for="item in labelList" |
|
|
|
v-for="item in labelList" |
|
|
|
:key="item.id" |
|
|
|
:key="item.id" |
|
|
|