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,13 +135,16 @@ | ||
135 | shiro:hasPermission="config:location:remove"><!--权限判断shiro是否有User用户字段remove--> | 135 | shiro:hasPermission="config:location:remove"><!--权限判断shiro是否有User用户字段remove--> |
136 | <i class="fa fa-trash-o"></i> 删除 | 136 | <i class="fa fa-trash-o"></i> 删除 |
137 | </a> | 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 | <i class="fa fa-edit"></i> 批量设置常用库位 | 140 | <i class="fa fa-edit"></i> 批量设置常用库位 |
140 | </a> | 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 | <i class="fa fa-edit"></i> 批量设置空托盘库位 | 144 | <i class="fa fa-edit"></i> 批量设置空托盘库位 |
143 | </a> | 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 | <i class="fa fa-edit"></i> 批量设置自建单据库位 | 148 | <i class="fa fa-edit"></i> 批量设置自建单据库位 |
146 | </a> | 149 | </a> |
147 | </div> | 150 | </div> |
src/main/resources/templates/shipment/shipmentHeader/shipmentHeader.html
@@ -190,11 +190,11 @@ | @@ -190,11 +190,11 @@ | ||
190 | <!-- <i class="fa fa-trash-o"></i> 删除--> | 190 | <!-- <i class="fa fa-trash-o"></i> 删除--> |
191 | <!-- </a>--> | 191 | <!-- </a>--> |
192 | <a class="btn btn-outline btn-success btn-rounded" onclick="wave()" | 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 | <i class="fa fa-plus"></i> 单据合并 | 194 | <i class="fa fa-plus"></i> 单据合并 |
195 | </a> | 195 | </a> |
196 | <a class="btn btn-outline btn-success btn-rounded" onclick="autoBillMerge()" | 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 | <i class="fa fa-plus"></i> 自动合并单据 | 198 | <i class="fa fa-plus"></i> 自动合并单据 |
199 | </a> | 199 | </a> |
200 | <a id="openAutoShipmentBtn" class="btn btn-outline btn-success btn-rounded" | 200 | <a id="openAutoShipmentBtn" class="btn btn-outline btn-success btn-rounded" |