From 65cec8382c594592ff44be319690e87eb7338800 Mon Sep 17 00:00:00 2001
From: wxw <Administrator@DESKTOP-5BIMHQ3>
Date: 星期三, 12 十一月 2025 10:04:24 +0800
Subject: [PATCH] sap下发入库单放开编辑权限

---
 Pda/js/public.js |   35 +++++++++++++++++++++--------------
 1 files changed, 21 insertions(+), 14 deletions(-)

diff --git a/Pda/js/public.js b/Pda/js/public.js
index 345f420..034868a 100644
--- a/Pda/js/public.js
+++ b/Pda/js/public.js
@@ -1,11 +1,18 @@
-//  var IP = "http://47.104.149.73:1991";//鎺ュ彛IP
-// var IP = "https://localhost:44368";
+//var IP = "http://47.104.149.73:1991";//鎺ュ彛IP
+//var IP = "https://localhost:44368";
 //var IP = "http://localhost:13243/api";
-var IP = "http://localhost:50515/api";
+//var IP = "http://localhost:50515/api";
 //var IP = "http://192.168.1.2:8017/";
-// var IP = "http://192.168.10.112/WmsService/";
-// var IP = "http://192.168.1.226:8086";
-// var IP = "http://192.168.62.200:8888/api";  
+//var IP = "http://192.168.10.112/WmsService/";
+//var IP = "http://192.168.1.226:8086";
+//var IP = "http://192.168.62.200:8888/api";  
+//杩愯
+var IP = "https://localhost:44363/api";
+//鏈湴鍙戝竷
+//var IP = "http://localhost:8034/api";
+
+
+
 jQuery.support.cors = true;
 function sendData(url, data, type, callbackFun) {
 	// callbackFun("{}");
@@ -18,19 +25,19 @@
 		if (!$.cookie('token')) {
 			callbackFun("鐧诲綍浜轰俊鎭凡澶辨晥");
 			try {
-				parent.window.location.href = '/views/Login.html';
+				parent.window.location.href = '/View/login.html';
 			}
 			catch (error) {
-				window.location.href = '/views/Login.html';
+				window.location.href = '/View/login.html';
 			}
 			return;
 		}
 		if (isTokenExpired($.cookie('token'))) {
 			try {
-				parent.window.location.href = '/views/Login.html';
+				parent.window.location.href = '/View/login.html';
 			}
 			catch (error) {
-				window.location.href = '/views/Login.html';
+				window.location.href = '/View/login.html';
 			}
 			return;
 		}
@@ -68,19 +75,19 @@
 		if (!$.cookie('token')) {
 			callbackFun("鐧诲綍浜轰俊鎭凡澶辨晥");
 			try {
-				parent.window.location.href = '/view/Login.html';
+				parent.window.location.href = '/View/login.html';
 			}
 			catch (error) {
-				window.location.href = '/view/Login.html';
+				window.location.href = '/View/login.html';
 			}
 			return;
 		}
 		if (isTokenExpired($.cookie('token'))) {
 			try {
-				parent.window.location.href = '/view/Login.html';
+				parent.window.location.href = '/View/login.html';
 			}
 			catch (error) {
-				window.location.href = '/view/Login.html';
+				window.location.href = '/View/login.html';
 			}
 			return;
 		}

--
Gitblit v1.8.0