From 9fc747c8fe1b492e0e82da57a60f4ac17ef196d8 Mon Sep 17 00:00:00 2001
From: zgq <519541279@qq.com>
Date: 星期一, 22 二月 2021 22:28:09 +0800
Subject: [PATCH] 1、上架归还单:先扫条码再扫货架,如果不匹配不允许提交。2、下架找货单:已下架的条码允许再次下架。

---
 WebTM/views/index.html |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/WebTM/views/index.html b/WebTM/views/index.html
index 7007eca..5977ffe 100644
--- a/WebTM/views/index.html
+++ b/WebTM/views/index.html
@@ -111,9 +111,9 @@
                           <a>浠撳簱璋冩嫧</a>
                           <dl class="layui-nav-child">
                               <dd><a href="浠撳瓨绠$悊/浠撳簱璋冩嫧/Kf_MoveStockBill_Fast.html" target="main_self_frame">璋冩嫧鍗�</a></dd>
-                              <dd><a href="浠撳瓨绠$悊/浠撳簱璋冩嫧/Kf_UpMoveStockBill.html" target="main_self_frame">涓婃灦璋冩嫧鍗�</a></dd>
-                              <dd><a href="浠撳瓨绠$悊/浠撳簱璋冩嫧/Cc_LookingForBill.html" target="main_self_frame">鎵捐揣鍗�</a></dd>
-                              <dd><a href="浠撳瓨绠$悊/浠撳簱璋冩嫧/Cc_LookingForReturnBill.html" target="main_self_frame">褰掕繕鍗�</a></dd>
+                              <!--<dd><a href="浠撳瓨绠$悊/浠撳簱璋冩嫧/Kf_UpMoveStockBill.html" target="main_self_frame">涓婃灦璋冩嫧鍗�</a></dd>-->
+                              <dd><a href="浠撳瓨绠$悊/浠撳簱璋冩嫧/Cc_LookingForBill.html" target="main_self_frame">涓嬫灦鎵捐揣鍗�</a></dd>
+                              <dd><a href="浠撳瓨绠$悊/浠撳簱璋冩嫧/Cc_LookingForReturnBill.html" target="main_self_frame">涓婃灦褰掕繕鍗�</a></dd>
                           </dl>
                       </dd>
                   </dl>
@@ -357,6 +357,13 @@
           index: 'lib/index' //涓诲叆鍙fā鍧�
       }).use(['index', 'form', 'laydate', 'table', 'element'], function () {
           var $ = layui.$;
+
+          //鍒ゆ柇鏄惁鐧诲綍 鏈櫥褰曞垯璺冲埌鐧诲綍椤�
+          if (sessionStorage.login != "login") {
+              layer.confirm("鐧诲綍澶辨晥锛岃閲嶆柊鐧诲綍锛�", {
+                  icon: 4, skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず", closeBtn: 0, btn: ['閲嶆柊鐧诲綍']
+              }, function () { window.location.href = "user/login.html"; });
+          }
           //鍒ゆ柇鐢ㄦ埛鏄Щ鍔ㄧ杩樻槸PC绔�
           var judgeMorPCflag = judgeMorPC();
           if (!judgeMorPCflag) {//绉诲姩绔�

--
Gitblit v1.9.1