From 4daea7b3b251c29a5ab51bf08eb1f787d7d9ae92 Mon Sep 17 00:00:00 2001
From: dubin <bindu_bean@163.com>
Date: 星期二, 20 一月 2026 11:20:25 +0800
Subject: [PATCH] 用户托盘条码改成6位,WCS相应从PLC读取6位

---
 src/main/webapp/static/js/config/config.js |   21 +++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)

diff --git a/src/main/webapp/static/js/config/config.js b/src/main/webapp/static/js/config/config.js
index 2707844..12ea9c0 100644
--- a/src/main/webapp/static/js/config/config.js
+++ b/src/main/webapp/static/js/config/config.js
@@ -259,6 +259,27 @@
                     }
                 });
                 break;
+            case 'activate':
+                layer.confirm('纭畾鎵ц涓�閿縺娲诲悧', function(){
+                    $.ajax({
+                        url: baseUrl + "/license/activate",
+                        headers: {'token': localStorage.getItem('token')},
+                        method: 'POST',
+                        success: function (res) {
+                            if (res.code === 200){
+                                layer.msg('婵�娲绘垚鍔�');
+                            } else if (res.code === 403){
+                                top.location.href = baseUrl+"/";
+                            } else {
+                                layer.msg(res.msg)
+                            }
+                        },
+                        error: function () {
+                            layer.msg('婵�娲诲け璐�');
+                        }
+                    });
+                });
+                break;
         }
     });
 

--
Gitblit v1.9.1