修复bug

This commit is contained in:
weipengfei 2024-06-27 18:00:52 +08:00
parent 8b14340601
commit c288f68968
2 changed files with 3 additions and 2 deletions

View File

@ -60,7 +60,8 @@
<el-table-column label="操作" min-width="140" fixed="right" align="center" show-overflow-tooltip > <el-table-column label="操作" min-width="140" fixed="right" align="center" show-overflow-tooltip >
<template #default="{ row }"> <template #default="{ row }">
<el-button type="primary" v-prems="['store_branch_product.store_branch_product/deit']" link @click="handleEdit(row)">编辑</el-button> <el-button type="primary" v-prems="['store_branch_product.store_branch_product/deit']" link @click="handleEdit(row)">编辑</el-button>
<el-button type="danger" v-perms="['store_branch_product.store_branch_product/delete']" link @click="handleDelete(row.id)">删除</el-button> <!-- 此处删除无效果 -->
<!-- <el-button type="danger" v-perms="['store_branch_product.store_branch_product/delete']" link @click="handleDelete(row.id)">删除</el-button> -->
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>

View File

@ -18,7 +18,7 @@
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<el-button type="primary" @click="resetPage">查询</el-button> <el-button type="primary" @click="resetPage">查询</el-button>
<el-button @click="resetParams">重置</el-button> <el-button @click="startEndTime=[];resetParams()">重置</el-button>
</el-form-item> </el-form-item>
</el-form> </el-form>
</el-card> </el-card>