From 4deba85ff3417a76b4cfef1874effa6a2be1fd40 Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期五, 11 十一月 2022 09:24:28 +0800 Subject: [PATCH] 撤单退款修改 --- zhengcaioa/zhengcaioa/Views/CooperOrder/Chedan.cshtml | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/zhengcaioa/zhengcaioa/Views/CooperOrder/Chedan.cshtml b/zhengcaioa/zhengcaioa/Views/CooperOrder/Chedan.cshtml index e8916d3..e3c2e64 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; //鎷滆鏂瑰紡 } @{ @@ -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})?/)"> + <input class="form-control" label="瀹㈡埛鍚嶇О" name="Price" id="Price" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="number" value="@Money" 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" /> + @*<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