Browse Source

仓库配置,增加权限按钮配置

dev
马远东 1 month ago
parent
commit
7468c795e2
  1. 10
      src/views/basicdata/warehouse/warehouse/basicdataWarehouse.vue

10
src/views/basicdata/warehouse/warehouse/basicdataWarehouse.vue

@ -41,8 +41,8 @@
<div>
<div class="el_top_btn">
<div>
<el-button type="primary" @click="newlyadd" icon="el-icon-plus"> </el-button>
<el-button type="primary" icon="el-icon-delete" @click="DeleteInformationAll"
<el-button type="primary" v-if="accessControl.warehouseWarehouse_add" @click="newlyadd" icon="el-icon-plus"> </el-button>
<el-button type="primary" v-if="accessControl.warehouseWarehouse_delete" icon="el-icon-delete" @click="DeleteInformationAll"
>批量删除</el-button
>
</div>
@ -74,9 +74,9 @@
@click="Expandconfiguration(slotProps.scope.row)"
>扩展配置</el-text
>
<el-text @click="view(slotProps.scope)">查看</el-text>
<el-text @click="edit(slotProps.scope)">编辑</el-text>
<el-text @click="DeleteInformation(slotProps.scope)">删除</el-text>
<el-text v-if="accessControl.warehouseWarehouse_view"click="view(slotProps.scope)">查看</el-text>
<el-text v-if="accessControl.warehouseWarehouse_edit" @click="edit(slotProps.scope)">编辑</el-text>
<el-text v-if="accessControl.warehouseWarehouse_delete" @click="DeleteInformation(slotProps.scope)">删除</el-text>
</div>
</template>
</template>

Loading…
Cancel
Save