|
@@ -39,7 +39,6 @@
|
|
|
icon="el-icon-plus"
|
|
icon="el-icon-plus"
|
|
|
size="mini"
|
|
size="mini"
|
|
|
@click="handleAdd"
|
|
@click="handleAdd"
|
|
|
- v-hasPermi="['shop:scrm:add']"
|
|
|
|
|
>新增</el-button>
|
|
>新增</el-button>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
<el-col :span="1.5">
|
|
<el-col :span="1.5">
|
|
@@ -50,7 +49,6 @@
|
|
|
size="mini"
|
|
size="mini"
|
|
|
:disabled="single"
|
|
:disabled="single"
|
|
|
@click="handleUpdate"
|
|
@click="handleUpdate"
|
|
|
- v-hasPermi="['shop:scrm:edit']"
|
|
|
|
|
>修改</el-button>
|
|
>修改</el-button>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
<el-col :span="1.5">
|
|
<el-col :span="1.5">
|
|
@@ -61,7 +59,6 @@
|
|
|
size="mini"
|
|
size="mini"
|
|
|
:disabled="multiple"
|
|
:disabled="multiple"
|
|
|
@click="handleDelete"
|
|
@click="handleDelete"
|
|
|
- v-hasPermi="['shop:scrm:remove']"
|
|
|
|
|
>删除</el-button>
|
|
>删除</el-button>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
<el-col :span="1.5">
|
|
<el-col :span="1.5">
|
|
@@ -72,7 +69,6 @@
|
|
|
size="mini"
|
|
size="mini"
|
|
|
:loading="exportLoading"
|
|
:loading="exportLoading"
|
|
|
@click="handleExport"
|
|
@click="handleExport"
|
|
|
- v-hasPermi="['shop:scrm:export']"
|
|
|
|
|
>导出</el-button>
|
|
>导出</el-button>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
<!-- 新增:批量核销按钮 -->
|
|
<!-- 新增:批量核销按钮 -->
|
|
@@ -84,7 +80,6 @@
|
|
|
size="mini"
|
|
size="mini"
|
|
|
:disabled="multiple || hasWriteOffAll"
|
|
:disabled="multiple || hasWriteOffAll"
|
|
|
@click="handleBatchWriteOff"
|
|
@click="handleBatchWriteOff"
|
|
|
- v-hasPermi="['shop:scrm:writeOff']"
|
|
|
|
|
>批量核销</el-button>
|
|
>批量核销</el-button>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
<el-col :span="1.8">
|
|
<el-col :span="1.8">
|
|
@@ -123,14 +118,12 @@
|
|
|
type="text"
|
|
type="text"
|
|
|
icon="el-icon-edit"
|
|
icon="el-icon-edit"
|
|
|
@click="handleUpdate(scope.row)"
|
|
@click="handleUpdate(scope.row)"
|
|
|
- v-hasPermi="['shop:scrm:edit']"
|
|
|
|
|
>修改</el-button>
|
|
>修改</el-button>
|
|
|
<el-button
|
|
<el-button
|
|
|
size="mini"
|
|
size="mini"
|
|
|
type="text"
|
|
type="text"
|
|
|
icon="el-icon-delete"
|
|
icon="el-icon-delete"
|
|
|
@click="handleDelete(scope.row)"
|
|
@click="handleDelete(scope.row)"
|
|
|
- v-hasPermi="['shop:scrm:remove']"
|
|
|
|
|
>删除</el-button>
|
|
>删除</el-button>
|
|
|
<!-- 新增:单个核销按钮 -->
|
|
<!-- 新增:单个核销按钮 -->
|
|
|
<el-button
|
|
<el-button
|
|
@@ -139,7 +132,6 @@
|
|
|
icon="el-icon-check"
|
|
icon="el-icon-check"
|
|
|
:disabled="scope.row.verifyStatus === 1"
|
|
:disabled="scope.row.verifyStatus === 1"
|
|
|
@click="handleSingleWriteOff(scope.row)"
|
|
@click="handleSingleWriteOff(scope.row)"
|
|
|
- v-hasPermi="['shop:scrm:writeOff']"
|
|
|
|
|
>核销</el-button>
|
|
>核销</el-button>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|