67 lines
2.9 KiB
Plaintext
67 lines
2.9 KiB
Plaintext
|
|
@model RB_MES_API.Models.SelfClass
|
||
|
|
@*
|
||
|
|
For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
|
||
|
|
*@
|
||
|
|
|
||
|
|
<meta charset="utf-8" />
|
||
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||
|
|
<script src="https://code.jquery.com/jquery.js"></script>
|
||
|
|
<link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
|
||
|
|
<script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<h3><span class="label label-warning">--创建自定义模型子项--</span></h3>
|
||
|
|
|
||
|
|
<div class="col-md-4">
|
||
|
|
<div class="row">
|
||
|
|
<form asp-action="Create">
|
||
|
|
<div asp-validation-summary="ModelOnly" class="text-danger"></div>
|
||
|
|
<div class="form-group">
|
||
|
|
<label asp-for="FSID" class="control-label"></label>
|
||
|
|
<select asp-for="FSID" class ="form-control" asp-items="ViewBag.SID"></select>
|
||
|
|
</div>
|
||
|
|
<div class="form-group">
|
||
|
|
<label asp-for="FForeignKey" class="control-label"></label>
|
||
|
|
<select asp-for="FForeignKey" class ="form-control" asp-items="ViewBag.ForeignKey"></select>
|
||
|
|
</div>
|
||
|
|
<div class="form-group">
|
||
|
|
<label asp-for="FFieldName" class="control-label"></label>
|
||
|
|
<input asp-for="FFieldName" class="form-control" />
|
||
|
|
<span asp-validation-for="FFieldName" class="text-danger"></span>
|
||
|
|
</div>
|
||
|
|
<div class="form-group">
|
||
|
|
<label asp-for="FDbTypeName" class="control-label"></label>
|
||
|
|
<input asp-for="FDbTypeName" class="form-control" />
|
||
|
|
<span asp-validation-for="FDbTypeName" class="text-danger"></span>
|
||
|
|
</div>
|
||
|
|
<div class="form-group">
|
||
|
|
<label asp-for="FDisplayName" class="control-label"></label>
|
||
|
|
<input asp-for="FDisplayName" class="form-control" />
|
||
|
|
<span asp-validation-for="FDisplayName" class="text-danger"></span>
|
||
|
|
</div>
|
||
|
|
<div class="form-group">
|
||
|
|
<label asp-for="FIsRequired" class="control-label"></label>
|
||
|
|
<input asp-for="FIsRequired" class="form-control" />
|
||
|
|
<span asp-validation-for="FIsRequired" class="text-danger"></span>
|
||
|
|
</div>
|
||
|
|
<div class="form-group">
|
||
|
|
<label asp-for="FIsNull" class="control-label"></label>
|
||
|
|
<input asp-for="FIsNull" class="form-control" />
|
||
|
|
<span asp-validation-for="FIsNull" class="text-danger"></span>
|
||
|
|
</div>
|
||
|
|
<div class="form-group">
|
||
|
|
<label asp-for="FDefaultValue" class="control-label"></label>
|
||
|
|
<input asp-for="FDefaultValue" class="form-control" />
|
||
|
|
<span asp-validation-for="FDefaultValue" class="text-danger"></span>
|
||
|
|
</div>
|
||
|
|
<p></p>
|
||
|
|
<div class="form-group">
|
||
|
|
<input type="submit" value="提交" class="btn btn-primary" />
|
||
|
|
</div>
|
||
|
|
</form>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
|