Commit 79a31bfddc58512eec777cab3f7adf519df1ed5d
1 parent
898110c0
feat:权限控制
Showing
2 changed files
with
8 additions
and
5 deletions
src/main/resources/templates/config/location/location.html
... | ... | @@ -135,13 +135,16 @@ |
135 | 135 | shiro:hasPermission="config:location:remove"><!--权限判断shiro是否有User用户字段remove--> |
136 | 136 | <i class="fa fa-trash-o"></i> 删除 |
137 | 137 | </a> |
138 | - <a class="btn btn-outline btn-success btn-rounded" onclick="SelectFrequencyLocation()"> | |
138 | + <a class="btn btn-outline btn-success btn-rounded" onclick="SelectFrequencyLocation()" | |
139 | + shiro:hasPermission="config:location:frequency"> | |
139 | 140 | <i class="fa fa-edit"></i> 批量设置常用库位 |
140 | 141 | </a> |
141 | - <a class="btn btn-outline btn-success btn-rounded" onclick="SelectEmptyContainerLocation()"> | |
142 | + <a class="btn btn-outline btn-success btn-rounded" onclick="SelectEmptyContainerLocation()" | |
143 | + shiro:hasPermission="config:location:emptyContainer"> | |
142 | 144 | <i class="fa fa-edit"></i> 批量设置空托盘库位 |
143 | 145 | </a> |
144 | - <a class="btn btn-outline btn-success btn-rounded" onclick="SelectSelfCreatedLocation()"> | |
146 | + <a class="btn btn-outline btn-success btn-rounded" onclick="SelectSelfCreatedLocation()" | |
147 | + shiro:hasPermission="config:location:selfCreated"> | |
145 | 148 | <i class="fa fa-edit"></i> 批量设置自建单据库位 |
146 | 149 | </a> |
147 | 150 | </div> |
... | ... |
src/main/resources/templates/shipment/shipmentHeader/shipmentHeader.html
... | ... | @@ -190,11 +190,11 @@ |
190 | 190 | <!-- <i class="fa fa-trash-o"></i> 删除--> |
191 | 191 | <!-- </a>--> |
192 | 192 | <a class="btn btn-outline btn-success btn-rounded" onclick="wave()" |
193 | - shiro:hasPermission="shipment:bill:wave"> | |
193 | + shiro:hasPermission="shipment:bill:billMerge"> | |
194 | 194 | <i class="fa fa-plus"></i> 单据合并 |
195 | 195 | </a> |
196 | 196 | <a class="btn btn-outline btn-success btn-rounded" onclick="autoBillMerge()" |
197 | - shiro:hasPermission="shipment:bill:wave"> | |
197 | + shiro:hasPermission="shipment:bill:autoBillMerge"> | |
198 | 198 | <i class="fa fa-plus"></i> 自动合并单据 |
199 | 199 | </a> |
200 | 200 | <a id="openAutoShipmentBtn" class="btn btn-outline btn-success btn-rounded" |
... | ... |