From 67a0042c5f29e4bb0e0b82f6190f2bc51480b45c Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期二, 28 二月 2023 13:25:09 +0800 Subject: [PATCH] 工资绩效改版 --- zhengcaioa/zhengcaioa/Views/CooperOrder/Chedan.cshtml | 33 +++++++++++++++++++-------------- 1 files changed, 19 insertions(+), 14 deletions(-) diff --git a/zhengcaioa/zhengcaioa/Views/CooperOrder/Chedan.cshtml b/zhengcaioa/zhengcaioa/Views/CooperOrder/Chedan.cshtml index e8916d3..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; //鎷滆鏂瑰紡 } @{ @@ -99,16 +99,21 @@ - @*<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 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-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> + <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" /> + @*<input type="hidden" name="Price" id="Price" value="0" />*@ @@ -163,14 +168,14 @@ - //if ($.trim($("#Price").val()) == '') { - // toastr.warning("鎾ゅ崟閫�杩橀噾棰濅笉鑳戒负绌�"); - // return; - //} + if ($.trim($("#Price").val()) == '') { + 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