From 389b4da5feedfc0b49d7c6540bc836267d7bbee0 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期二, 23 九月 2025 08:46:15 +0800
Subject: [PATCH] 作业本送货 加上客户单位 完成 订单状态默认未送货 完成
---
CY_ECommercePlatform/CY.WebForm/Pages/common/CMSHead.ascx | 65 +++++++++++++++++++++-----------
1 files changed, 42 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..ea1880e 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/common/CMSHead.ascx
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/common/CMSHead.ascx
@@ -76,6 +76,17 @@
$(this).val("0");
}
});
+
+ $(".validateIntshijuan").live("blur", function () {
+ var price = $(this).val();
+ if (price != "") {
+ if (!reg2.test(price)) {
+ alertMsg("璁剧疆鐨勫�煎繀椤讳负姝f暣鏁�");
+ $(this).focus();
+ $(this).val("");
+ }
+ }
+ });
});
</script>
<script type="text/javascript">
@@ -128,9 +139,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 +172,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