From 15eb82df2d6ec539e9d4245bfe08d531e8eb6379 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期日, 27 四月 2025 14:33:26 +0800
Subject: [PATCH] 修改培训订单占多个座位
---
zhengcaioa/zhengcaioa/Views/CooperOrder/Chedan.cshtml | 21 +++++++++++++--------
1 files changed, 13 insertions(+), 8 deletions(-)
diff --git a/zhengcaioa/zhengcaioa/Views/CooperOrder/Chedan.cshtml b/zhengcaioa/zhengcaioa/Views/CooperOrder/Chedan.cshtml
index b813050..45e6751 100644
--- a/zhengcaioa/zhengcaioa/Views/CooperOrder/Chedan.cshtml
+++ b/zhengcaioa/zhengcaioa/Views/CooperOrder/Chedan.cshtml
@@ -3,7 +3,7 @@
@using zhengcaioa.Models;
@{
string Chedanid = ViewData["Chedanid"] as string; //鎷滆鏂瑰紡
-
+ string Money = ViewData["Money"] as string; //鎷滆鏂瑰紡
}
@{
@@ -100,15 +100,20 @@
<div class="clearfix layer-area" style="padding-bottom:15px;">
-
- <div class="col-sm-12 col-md-12">
- <input class="form-control" label="瀹㈡埛鍚嶇О" name="Price" id="Price" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="number" value="" oninput="if(value.length>8)value=value.slice(0,18)" onkeyup="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)">
+ <label class="text-right col-sm-2 col-md-2 control-label">鎾ゅ崟閫�杩橀噾棰�</label>
+ <div class="col-sm-2 col-md-2">
+ <input class="form-control" label="鎾ゅ崟閫�杩橀噾棰�" name="Price" id="Price" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="text" value="@Money" oninput="if(value.length>8)value=value.slice(0,18)" onkeyup="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)">
+ </div>
+ </div>
+ <div class="clearfix layer-area" style="padding-bottom:15px;">
+ <label class="text-right col-sm-2 col-md-2 control-label">鎾ゅ崟鍘熷洜</label>
+ <div class="col-sm-10 col-md-10">
+ <textarea class="form-control bt" id="Chedanyuany" name="Chedanyuany" title="鎾ゅ崟鍘熷洜" isempty="" maxlength="500" length="long" style="resize:none;overflow-y:hidden; min-height:60px;" onpropertychange="this.style.height=this.scrollHeight + 'px'" oninput="this.style.height=this.scrollHeight + 'px'"></textarea>
</div>
</div>
-
-
+ @*<input type="hidden" name="Price" id="Price" value="0" />*@
@@ -167,10 +172,10 @@
toastr.warning("鎾ゅ崟閫�杩橀噾棰濅笉鑳戒负绌�");
return;
}
+
-
- var data = { Chedanid: $("#Chedanid").val(), Price: $("#Price").val()}
+ var data = { Chedanid: $("#Chedanid").val(), Price: $("#Price").val(), Chedanyuany: $("#Chedanyuany").val()}
$.ajax({
type: "POST",
url: "/CooperOrder/chedantuihuan",
--
Gitblit v1.9.1