From 429d9ffb4bd7607b83b0ce8b89c07441fb0d0f57 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期一, 24 二月 2025 12:18:45 +0800
Subject: [PATCH] 客户注意事像同步到订单打包要求

---
 CY_ECommercePlatform/CY.WebForm/Pages/common/CMSHead.ascx |   56 ++++++++++++++++++++++++++++++++------------------------
 1 files changed, 32 insertions(+), 24 deletions(-)

diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/common/CMSHead.ascx b/CY_ECommercePlatform/CY.WebForm/Pages/common/CMSHead.ascx
index 3698d92..90f7940 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/common/CMSHead.ascx
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/common/CMSHead.ascx
@@ -119,7 +119,7 @@
 <script src="../../js/common/CityTool_o.js" type="text/javascript"></script>
 <!--鍩庡競鍖哄煙end-->
 <!--鏀惰揣鏂瑰紡start-->
-<script src="../../js/common/ReceiptTool.js" type="text/javascript"></script>
+<script src="../../js/common/ReceiptTool.js?v=2" type="text/javascript"></script>
 <!--鏀惰揣鏂瑰紡end-->
 <!--鍥剧墖娴忚鍣╞egin-->
 <link href="../../js/ColorBox/colorbox.css" rel="stylesheet" type="text/css" />
@@ -128,9 +128,16 @@
 <!--begin-->
 <script type="text/javascript">
     $(function () {
+
+        var url = window.location.href;
+        var j = "";
+        if (url.indexOf('?') >= 0) {
+            j = url.substring(url.indexOf('?'));
+        }
+          
         var tempPathName = window.location.pathname;
         var tempContext = tempPathName.substring(1, tempPathName.length);
-        var TruePath = tempContext.replace("Pages/", "../");
+        var TruePath = tempContext.replace("Pages/", "../") + j;
         $.ajax({
             url: "/Pages/common/CommonAjax.aspx",
             type: "POST",
@@ -154,27 +161,28 @@
     });
 </script>
 <script type="text/javascript">
-    $(function () {
-        // menu_member_case_id="case_" menu_member_case_name=""
-        var tempPathName = window.location.pathname;
-        var tempContext = tempPathName.substring(1, tempPathName.length);
-        var TruePath = tempContext.replace("Pages/", "../").replace("pages/", "../");
-        var attrs = "";
-        var texts = "";
-        $("*[menu_member_case_id^='case_']").each(function (ii, vv) {
-            attrs += ("," + $(vv).attr("menu_member_case_id"));
-            texts += ("," + $(vv).attr("menu_member_case_name"));
-        });
-        $.ajax({
-            url: "/Pages/common/CommonAjax.aspx",
-            type: "POST",
-            dataType: "html",
-            data: { dateType: "creat_menu_case", menupath: TruePath, attrs: attrs, texts: texts },
-            global: false,
-            cache: false,
-            success: function (data) {
+    //$(function () {
+    //    // menu_member_case_id="case_" menu_member_case_name=""
+       
+    //    var tempPathName = window.location.pathname;
+    //    var tempContext = tempPathName.substring(1, tempPathName.length);
+    //    var TruePath = tempContext.replace("Pages/", "../").replace("pages/", "../");
+    //    var attrs = "";
+    //    var texts = "";
+    //    $("*[menu_member_case_id^='case_']").each(function (ii, vv) {
+    //        attrs += ("," + $(vv).attr("menu_member_case_id"));
+    //        texts += ("," + $(vv).attr("menu_member_case_name"));
+    //    });
+    //    $.ajax({
+    //        url: "/Pages/common/CommonAjax.aspx",
+    //        type: "POST",
+    //        dataType: "html",
+    //        data: { dateType: "creat_menu_case", menupath: TruePath, attrs: attrs, texts: texts },
+    //        global: false,
+    //        cache: false,
+    //        success: function (data) {
                 
-            }
-        });
-    });
+    //        }
+    //    });
+    //});
 </script>

--
Gitblit v1.9.1