From 2fee7b9b90c1acf7a17aef84ee22c2a31b801fe2 Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期五, 07 三月 2025 08:34:42 +0800 Subject: [PATCH] 送货管理 增加查询 业务经理 客户名称 完成 查询送货安排的历史 完成 --- CY_ECommercePlatform/CY.WebForm/Pages/common/CMSHead.ascx | 54 +++++++++++++++++++++++++++++++----------------------- 1 files changed, 31 insertions(+), 23 deletions(-) diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/common/CMSHead.ascx b/CY_ECommercePlatform/CY.WebForm/Pages/common/CMSHead.ascx index 32bb9cd..90f7940 100644 --- a/CY_ECommercePlatform/CY.WebForm/Pages/common/CMSHead.ascx +++ b/CY_ECommercePlatform/CY.WebForm/Pages/common/CMSHead.ascx @@ -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