From 82645238a5855f6f7b8c397d1f8fa8b4a3155b94 Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期三, 14 七月 2021 16:00:18 +0800 Subject: [PATCH] 提交 --- zhengcaioa/zhengcaioa/Views/AdmPieceCheck/Edit.cshtml | 57 ++++++++++++++++++++++++++++++++++++--------------------- 1 files changed, 36 insertions(+), 21 deletions(-) diff --git a/zhengcaioa/zhengcaioa/Views/AdmPieceCheck/Edit.cshtml b/zhengcaioa/zhengcaioa/Views/AdmPieceCheck/Edit.cshtml index 11ad651..6b322f2 100644 --- a/zhengcaioa/zhengcaioa/Views/AdmPieceCheck/Edit.cshtml +++ b/zhengcaioa/zhengcaioa/Views/AdmPieceCheck/Edit.cshtml @@ -109,7 +109,7 @@ </div> - + <label class="text-right col-sm-1 col-md-1 control-label">椤圭洰<i class="red">*</i></label> <div class="col-sm-2 col-md-2"> <select id="WorkPro" class="form-control" name="WorkPro" data-placeholder="閫夋嫨 搴忓垪 ..."> @@ -186,35 +186,48 @@ </div> - <div class="clearfix layer-area" style="padding-bottom:15px;"> - <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">宸ヤ綔鍐呭</label> - <div class="col-sm-8 col-md-8"> - <textarea class="form-control bt" id="Remark" name="Remark" title="宸ヤ綔鍐呭" isempty="" maxlength="4000" length="long">@Model.Remark</textarea> - </div> - + <div class="clearfix layer-area" style="padding-bottom:15px;"> + <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">宸ヤ綔鍐呭</label> + <div class="col-sm-8 col-md-8"> + <textarea class="form-control bt" id="Remark" name="Remark" title="宸ヤ綔鍐呭" isempty="" maxlength="4000" length="long">@Model.Remark</textarea> </div> - <div class="clearfix layer-area" style="padding-bottom:15px;"> + </div> + + <div class="clearfix layer-area" style="padding-bottom:15px;"> - <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">缁╂晥鎻愭垚锛堝厓锛�<i class="red">*</i></label> - <div class="col-sm-2 col-md-2" grouptype="Vdata"> - <input class="form-control" label="缁╂晥鎻愭垚" name="Gongzi" id="Gongzi" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="number" value="@Model.Gongzi" oninput="if(value.length>8)value=value.slice(0,18)" onkeyup="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)"> - - </div> - - + <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">缁╂晥鎻愭垚锛堝厓锛�<i class="red">*</i></label> + <div class="col-sm-2 col-md-2" grouptype="Vdata"> + <input class="form-control" label="缁╂晥鎻愭垚" name="Gongzi" id="Gongzi" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="number" value="@Model.Gongzi" 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 grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">鏁伴噺<i class="red">*</i></label> + <div class="col-sm-2 col-md-2" grouptype="Vdata"> + <input class="form-control" label="缁╂晥鎻愭垚" name="Shuliang" id="Shuliang" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="number" value="@Model.Shuliang" oninput="if(value.length>8)value=value.slice(0,18)" onkeyup="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)"> + + </div> + + + + </div> + + + + + </div> </div> </div> </div> @@ -329,9 +342,11 @@ toastr.warning("璁′欢宸ヨ祫涓嶈兘涓虹┖"); return; } - - - + if ($.trim($("#Shuliang").val()) == '') { + toastr.warning("鏁伴噺涓嶈兘涓虹┖"); + return; + } + -- Gitblit v1.9.1