|
|
@ -29,11 +29,13 @@ |
|
|
|
<span asp-validation-for="UnitNo" class="text-danger offset-sm-3 my-sm-1"></span> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="form-group form-inline my-sm-1"> |
|
|
|
<label asp-for="DeptID" class="control-label col-sm-3"></label> |
|
|
|
<select asp-for="DeptID" asp-items="@ViewBag.DeptList" class="custom-select col-sm-9"></select> |
|
|
|
<span asp-validation-for="DeptID" class="text-danger offset-sm-3 my-sm-1"></span> |
|
|
|
</div> |
|
|
|
<!-- |
|
|
|
<div class="form-group form-inline my-sm-1"> |
|
|
|
<label asp-for="DeptID" class="control-label col-sm-3"></label> |
|
|
|
<select asp-for="DeptID" asp-items="@ViewBag.DeptList" class="custom-select col-sm-9"></select> |
|
|
|
<span asp-validation-for="DeptID" class="text-danger offset-sm-3 my-sm-1"></span> |
|
|
|
</div> |
|
|
|
--> |
|
|
|
|
|
|
|
<div class="form-group form-inline my-sm-1"> |
|
|
|
<label asp-for="LineDesc" class="control-label col-sm-3"></label> |
|
|
@ -51,21 +53,21 @@ |
|
|
|
</div> |
|
|
|
|
|
|
|
</form> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
@section Scripts { |
|
|
|
@{ |
|
|
|
await Html.RenderPartialAsync("_ValidationScriptsPartial"); |
|
|
|
await Html.RenderPartialAsync("_FileinputScriptsPartial"); |
|
|
|
} |
|
|
|
@section Scripts { |
|
|
|
@{ |
|
|
|
await Html.RenderPartialAsync("_ValidationScriptsPartial"); |
|
|
|
await Html.RenderPartialAsync("_FileinputScriptsPartial"); |
|
|
|
} |
|
|
|
|
|
|
|
<script type="text/javascript"> |
|
|
|
$(document).ready(function () { |
|
|
|
var error = '@Html.ValidationMessage("error")'; |
|
|
|
if ($(error).text() != '') { |
|
|
|
parent.hg.msg(error); |
|
|
|
} |
|
|
|
}); |
|
|
|
</script> |
|
|
|
} |
|
|
|
<script type="text/javascript"> |
|
|
|
$(document).ready(function () { |
|
|
|
var error = '@Html.ValidationMessage("error")'; |
|
|
|
if ($(error).text() != '') { |
|
|
|
parent.hg.msg(error); |
|
|
|
} |
|
|
|
}); |
|
|
|
</script> |
|
|
|
} |
|
|
|