lvhao 1 ngày trước cách đây
mục cha
commit
c91d223bfd
2 tập tin đã thay đổi với 6 bổ sung7 xóa
  1. 1 1
      template/erp/fullorder_edit.html
  2. 5 6
      template/erp/js/fullorder-addedit.js

+ 1 - 1
template/erp/fullorder_edit.html

@@ -1290,6 +1290,6 @@ $("#is_jiaji_id").on('change',function(){
 });
 
 </script>
-<script src="{$theme}js/fullorder-addedit.js?v=20251110093212"></script>
+<script src="{$theme}js/fullorder-addedit.js?v=2025111009"></script>
 <script type="text/javascript" src="{$theme}js/time.js"></script>
 {Template footer}

+ 5 - 6
template/erp/js/fullorder-addedit.js

@@ -1000,12 +1000,11 @@ $("#currency").change(function(){
     sjsz = Math.floor(Math.random() * (max - min + 1)) + min;
 	var ul = "http";
 	 var protocol = window.location.protocol;
-	//  if (protocol === 'https:') {
-    //            ul = ul+"s://"+"1.wepolicy.cn";
-    //         } else {
-    //              ul = ul+"://a"+sjsz+".wepolicy.cn";;
-    //         }
-	 ul = ul+"://a"+sjsz+".wepolicy.cn";;
+	 if (protocol === 'https:') {
+               ul = ul+"s://"+"1.wepolicy.cn";
+            } else {
+                 ul = ul+"://a"+sjsz+".wepolicy.cn";;
+            }
 	//预先判断库存仓
 		var kcpd = $.ajax({
         url: "/warehouse/kcpd/",