From ae8734edf08000db44d17044c25317bb2b7e8459 Mon Sep 17 00:00:00 2001
From: yiwenpeng <ywp303@163.com>
Date: Fri, 5 Jan 2024 13:18:20 +0800
Subject: [PATCH] feat: 自动出库开关加上权限控制

---
 src/main/resources/templates/shipment/shipmentHeader/shipmentHeader.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/resources/templates/shipment/shipmentHeader/shipmentHeader.html b/src/main/resources/templates/shipment/shipmentHeader/shipmentHeader.html
index d45b065..29b8f4a 100644
--- a/src/main/resources/templates/shipment/shipmentHeader/shipmentHeader.html
+++ b/src/main/resources/templates/shipment/shipmentHeader/shipmentHeader.html
@@ -188,12 +188,12 @@
                         </a>
                         <a id="openAutoShipmentBtn" class="btn btn-outline btn-success btn-rounded"
                            onclick="autoShipment(1)"
-                           shiro:hasPermission="shipment:bill:wave">
+                           shiro:hasPermission="shipment:bill:open">
                             <i></i> 开启自动出库
                         </a>
                         <a id="closeAutoShipmentBtn" class="btn btn-outline btn-success btn-rounded"
                            onclick="autoShipment(0)"
-                           shiro:hasPermission="shipment:bill:wave">
+                           shiro:hasPermission="shipment:bill:close">
                             <i></i> 关闭自动出库
                         </a>
                         <a id="autoShipmentStatusBtn" class="btn btn-danger btn-rounded"></a>
--
libgit2 0.22.2