|
@@ -88,7 +88,7 @@
|
|
|
<!-- 配送时间范围-->
|
|
|
<template v-if="currentTab === '1'">
|
|
|
<el-button
|
|
|
- v-hasPermi="['platform:pc:shopping:home:recommended:add']"
|
|
|
+ v-hasPermi="['platform:rider:deliveTime:add']"
|
|
|
type="primary"
|
|
|
size="small"
|
|
|
class="mb20"
|
|
@@ -100,7 +100,7 @@
|
|
|
class="mb20"
|
|
|
@click.native="handleBatchSales()"
|
|
|
v-if="
|
|
|
- checkPermi(['platform:product:batch:set:virtual:sales'])
|
|
|
+ checkPermi(['platform:rider:deliveTime:batch:set'])
|
|
|
"
|
|
|
>批量设置</el-button
|
|
|
>
|
|
@@ -123,7 +123,7 @@
|
|
|
<el-table-column prop="status" label="是否显示" min-width="100" fixed="right">
|
|
|
<template slot-scope="scope">
|
|
|
<el-switch
|
|
|
- v-if="checkPermi(['platform:pc:shopping:home:recommended:switch'])"
|
|
|
+ v-if="checkPermi(['platform:rider:deliveTime:switch'])"
|
|
|
v-model="scope.row.status"
|
|
|
:active-value="true"
|
|
|
:inactive-value="false"
|
|
@@ -157,7 +157,7 @@
|
|
|
</el-form>
|
|
|
<span slot="footer">
|
|
|
<el-button @click="dialogVisible = false">取消</el-button>
|
|
|
- <el-button type="primary" @click="submitBatchSetDeliveForm('formData')" v-hasPermi="['platform:express:update']"
|
|
|
+ <el-button type="primary" @click="submitBatchSetDeliveForm('formData')" v-hasPermi="['platform:rider:deliveTime:add']"
|
|
|
>确定</el-button
|
|
|
>
|
|
|
</span>
|
|
@@ -310,7 +310,7 @@ export default {
|
|
|
// this.getRecommendedInfo(this.id);
|
|
|
// }
|
|
|
if (checkPermi(['platform:rider:fee:add'])) this.getDetal();
|
|
|
- this.getList();
|
|
|
+ if (checkPermi(['platform:rider:deliveTime:list'])) this.getList();
|
|
|
},
|
|
|
computed: {
|
|
|
...mapGetters(['merPlatProductClassify', 'productBrand']),
|