Browse Source

[feat]采购计划页面修改采购计划转采购订单添加权限,跟随采购计划页面添加权限字符

dev
zhangsiqi 5 months ago
parent
commit
614ba744a1
  1. 10
      ruoyi-admin/src/main/resources/templates/purchase/purchasePlan/purchasePlan.html

10
ruoyi-admin/src/main/resources/templates/purchase/purchasePlan/purchasePlan.html

@ -52,7 +52,7 @@
</div>
<div class="btn-group-sm" id="toolbar" role="group">
<a class="btn btn-warning" onclick="addPurchaseOrder()" shiro:hasPermission="purchase:plan:export">
<a class="btn btn-warning" onclick="addPurchaseOrder()" shiro:hasPermission="purchase:purchsePlan:add>
<i class="fa fa-download"></i> 添加采购单
</a>
</div>
@ -63,10 +63,10 @@
</div>
<th:block th:include="include :: footer" />
<script th:inline="javascript">
var editFlag = [[${@permission.hasPermi('purchase:plan:edit')}]];
var removeFlag = [[${@permission.hasPermi('purchase:plan:remove')}]];
var cancelFlag = [[${@permission.hasPermi('purchase:plan:cancel')}]];
var restoreFlag = [[${@permission.hasPermi('purchase:plan:restore')}]];
var editFlag = [[${@permission.hasPermi('purchase:purchsePlan:edit')}]];
var removeFlag = [[${@permission.hasPermi('purchase:purchsePlan:remove')}]];
var cancelFlag = [[${@permission.hasPermi('purchase:purchsePlan:cancel')}]];
var restoreFlag = [[${@permission.hasPermi('purchase:purchsePlan:restore')}]];
var purchasePlanStatusDatas = [[${@dict.getType('purchase_plan_status')}]];
var auditStatusDatas = [[${@dict.getType('auditStatus')}]];
var useStatusDatas = [[${@dict.getType('useStatus')}]];

Loading…
Cancel
Save