@using Resources @model Qcarbon.ViewModels.DTO.RiskMaterialViewModel @{ ViewBag.Title = "Index"; Layout = "~/Areas/Lca/Views/Shared/_LcaRiskLayout.cshtml"; } @* the detail modal form *@ @using (Html.BeginForm()) { @Html.AntiForgeryToken() @Html.HiddenFor(x=>x.cmd, new { @id="cmd"}) @Html.HiddenFor(x=>x.singleRec.LCAID)
新增原物料
@Html.ValidationSummary(false, "", new { @class="text-danger", style="margin-left:15px;font-weight: bold;" })
@Html.EditorFor(x=>x.singleRec.MaterialNo, new { htmlAttributes = new { placeholder = Resource.RequiredMessage}}) @**@
@Html.EditorFor(x => x.singleRec.MaterialName, new { htmlAttributes = new { placeholder = Resource.RequiredMessage } }) @**@
@Html.EditorFor(x => x.singleRec.MaterialSpec, new { htmlAttributes = new { onchange = "onVarChange()", placeholder = Resource.RequiredMessage, type="number", step="any" } }) @**@
@Html.EditorFor(x => x.singleRec.AnnualPurchaseAmount, new { htmlAttributes = new { onchange = "onVarChange()", placeholder = Resource.RequiredMessage, type = "number", step = "any" } }) @**@
@Html.EditorFor(x => x.singleRec.KgCO2e, new { htmlAttributes = new { onchange = "onVarChange()", placeholder = Resource.RequiredMessage, type = "number", step = "any" } }) @**@
@Html.EditorFor(x => x.singleRec.ActivityIntensity, new { htmlAttributes = new {@readonly = "readonly" } }) @**@
@Html.EditorFor(x => x.singleRec.Emission, new { htmlAttributes = new { @readonly = "readonly" } }) @**@
@*
*@
@Html.EditorFor(x => x.singleRec.Unit, new { htmlAttributes = new { placeholder = Resource.RequiredMessage } }) @**@
@Html.EditorFor(x => x.singleRec.Comment) @**@
}