Browse Source

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

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

Loading…
Cancel
Save