From a048515dc692f515c6d4049176587523271d80ed Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期三, 15 十二月 2021 16:30:32 +0800 Subject: [PATCH] 提交 --- zhengcaioa/zhengcaioa/Controllers/BusinessOrder/CooperOrderController.cs | 2 +- zhengcaioa/zhengcaioa/Views/CooperOrder/Chedan.cshtml | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/zhengcaioa/zhengcaioa/Controllers/BusinessOrder/CooperOrderController.cs b/zhengcaioa/zhengcaioa/Controllers/BusinessOrder/CooperOrderController.cs index 545940c..2fad9f5 100644 --- a/zhengcaioa/zhengcaioa/Controllers/BusinessOrder/CooperOrderController.cs +++ b/zhengcaioa/zhengcaioa/Controllers/BusinessOrder/CooperOrderController.cs @@ -1054,7 +1054,7 @@ return View(); } [CheckLogin] - public IActionResult chedantuihuan(decimal Price, string Chedanid) + public IActionResult chedantuihuan(string Chedanid, decimal Price=0) { var curentuser = JsonConvert.DeserializeObject<PltUser>(HttpContext.Session.GetString("User")); ViewData["curentuser"] = curentuser; diff --git a/zhengcaioa/zhengcaioa/Views/CooperOrder/Chedan.cshtml b/zhengcaioa/zhengcaioa/Views/CooperOrder/Chedan.cshtml index b813050..e8916d3 100644 --- a/zhengcaioa/zhengcaioa/Views/CooperOrder/Chedan.cshtml +++ b/zhengcaioa/zhengcaioa/Views/CooperOrder/Chedan.cshtml @@ -99,16 +99,16 @@ - <div class="clearfix layer-area" style="padding-bottom:15px;"> + @*<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})?/)"> </div> - </div> + </div>*@ - + <input type="hidden" name="Price" id="Price" value="0" /> @@ -163,10 +163,10 @@ - if ($.trim($("#Price").val()) == '') { - toastr.warning("鎾ゅ崟閫�杩橀噾棰濅笉鑳戒负绌�"); - return; - } + //if ($.trim($("#Price").val()) == '') { + // toastr.warning("鎾ゅ崟閫�杩橀噾棰濅笉鑳戒负绌�"); + // return; + //} -- Gitblit v1.9.1