| | |
| | | |
| | | <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="Danjia" id="Danjia" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="number" value="@Model.DanjiaName" 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="Danjia" id="Danjia" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="text" value="@Model.DanjiaName" oninput="if(value.length>8)value=value.slice(0,18)" onkeyup="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)"> |
| | | |
| | | </div> |
| | | |
| | |
| | | return; |
| | | } |
| | | |
| | | if ($.trim($("#Chubanshe").val()) == '') { |
| | | toastr.warning("出版社不能为空"); |
| | | return; |
| | | } |
| | | if ($.trim($("#Chubantime").val()) == '') { |
| | | toastr.warning("出版时间不能为空"); |
| | | return; |
| | | } |
| | | //if ($.trim($("#Chubanshe").val()) == '') { |
| | | // toastr.warning("出版社不能为空"); |
| | | // return; |
| | | //} |
| | | //if ($.trim($("#Chubantime").val()) == '') { |
| | | // toastr.warning("出版时间不能为空"); |
| | | // return; |
| | | //} |
| | | if ($.trim($("#Danjia").val()) == '') { |
| | | toastr.warning("单价不能为空"); |
| | | return; |