@@ -50,6 +50,7 @@ namespace Learun.Application.Web.Areas.AssetManagementSystem.Controllers | |||
[HttpGet] | |||
public ActionResult FormItem() | |||
{ | |||
ViewBag.AAICode = CommonHelper.CreateNo(); | |||
return View(); | |||
} | |||
/// <summary> | |||
@@ -3,9 +3,9 @@ | |||
Layout = "~/Views/Shared/_Form.cshtml"; | |||
} | |||
<div class="lr-form-wrap" id="form"> | |||
<div class="col-xs-6 lr-form-item" data-table="Ass_Acceptance"> | |||
<div class="col-xs-6 lr-form-item" data-table="Ass_Acceptance" style="display: none;"> | |||
<div class="lr-form-item-title">资产编号</div> | |||
<input id="AAICode" type="text" class="form-control" /> | |||
<input id="AAICode" type="text" class="form-control" value="@ViewBag.AAICode"/> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="Ass_Acceptance"> | |||
<div class="lr-form-item-title">资产名称<font face="宋体">*</font></div> | |||
@@ -40,8 +40,8 @@ | |||
<div id="AAIStorageId" isvalid="yes" checkexpession="NotNull"></div> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="Ass_Acceptance"> | |||
<div class="lr-form-item-title">库位</div> | |||
<div id="AAIStoragePosition"></div> | |||
<div class="lr-form-item-title">库位<font face="宋体">*</font></div> | |||
<div id="AAIStoragePosition" isvalid="yes" checkexpession="NotNull"></div> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItemApply"> | |||
<div class="lr-form-item-title">使用部门<font face="宋体">*</font></div> | |||
@@ -26,28 +26,28 @@ | |||
<input id="AAIEName" type="text" class="form-control" /> | |||
</div>*@ | |||
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItemApply"> | |||
<div class="lr-form-item-title">资产品牌<font face="宋体">*</font></div> | |||
<input id="AAIModel" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> | |||
<div class="lr-form-item-title">资产品牌</div> | |||
<input id="AAIModel" type="text" class="form-control" /> | |||
</div> | |||
@*<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItemApply"> | |||
<div class="lr-form-item-title">生产厂家</div> | |||
<input id="AAIManufacturer" type="text" class="form-control" /> | |||
</div>*@ | |||
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItemApply"> | |||
<div class="lr-form-item-title">规格型号<font face="宋体">*</font></div> | |||
<input id="AAISpecification" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> | |||
<div class="lr-form-item-title">规格型号</div> | |||
<input id="AAISpecification" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItemApply"> | |||
<div class="lr-form-item-title">用途<font face="宋体">*</font></div> | |||
<input id="AAIUse" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> | |||
<div class="lr-form-item-title">用途</div> | |||
<input id="AAIUse" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItemApply"> | |||
<div class="lr-form-item-title">资产来源<font face="宋体">*</font></div> | |||
<div id="AAISource" isvalid="yes" checkexpession="NotNull"></div> | |||
<div class="lr-form-item-title">资产来源</div> | |||
<div id="AAISource"></div> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItemApply"> | |||
<div class="lr-form-item-title">供应商<font face="宋体">*</font></div> | |||
<div id="AAISupplierId" isvalid="yes" checkexpession="NotNull"></div> | |||
<div class="lr-form-item-title">供应商</div> | |||
<div id="AAISupplierId" ></div> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItemApply"> | |||
<div class="lr-form-item-title">单价<font face="宋体">*</font></div> | |||
@@ -90,8 +90,8 @@ | |||
<div id="AAIPhoto"></div> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="Ass_AssetsInfoItemApply"> | |||
<div class="lr-form-item-title">备注<font face="宋体">*</font></div> | |||
<textarea id="AAIContent" class="form-control" style="height: 120px;" isvalid="yes" checkexpession="NotNull"></textarea> | |||
<div class="lr-form-item-title">备注</div> | |||
<textarea id="AAIContent" class="form-control" style="height: 120px;" ></textarea> | |||
</div> | |||
</div> | |||
@Html.AppendJsFile("/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItemApply/FormJY.js") |
@@ -26,24 +26,24 @@ | |||
<input id="AAIEName" type="text" class="form-control" /> | |||
</div>*@ | |||
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItemApply"> | |||
<div class="lr-form-item-title">耗材品牌<font face="宋体">*</font></div> | |||
<input id="AAIModel" type="text" class="form-control" isvalid="yes" checkexpession="NotNull"/> | |||
<div class="lr-form-item-title">耗材品牌</div> | |||
<input id="AAIModel" type="text" class="form-control"/> | |||
</div> | |||
@*<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItemApply"> | |||
<div class="lr-form-item-title">生产厂家</div> | |||
<input id="AAIManufacturer" type="text" class="form-control" /> | |||
</div>*@ | |||
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItemApply"> | |||
<div class="lr-form-item-title">规格型号<font face="宋体">*</font></div> | |||
<input id="AAISpecification" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> | |||
<div class="lr-form-item-title">规格型号</div> | |||
<input id="AAISpecification" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItemApply"> | |||
<div class="lr-form-item-title">用途<font face="宋体">*</font></div> | |||
<input id="AAIUse" type="text" class="form-control" isvalid="yes" checkexpession="NotNull"/> | |||
<div class="lr-form-item-title">用途</div> | |||
<input id="AAIUse" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItemApply"> | |||
<div class="lr-form-item-title">耗材来源<font face="宋体">*</font></div> | |||
<div id="AAISource" isvalid="yes" checkexpession="NotNull"></div> | |||
<div class="lr-form-item-title">耗材来源</div> | |||
<div id="AAISource"></div> | |||
</div> | |||
@*<div class="col-xs-6 lr-form-item" data-table="Ass_AssetsInfoItemApply"> | |||
<div class="lr-form-item-title">供应商</div> | |||
@@ -90,8 +90,8 @@ | |||
<div id="AAIPhoto"></div> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="Ass_AssetsInfoItemApply"> | |||
<div class="lr-form-item-title">备注<font face="宋体">*</font></div> | |||
<textarea id="AAIContent" class="form-control" style="height: 120px;" isvalid="yes" checkexpession="NotNull"></textarea> | |||
<div class="lr-form-item-title">备注</div> | |||
<textarea id="AAIContent" class="form-control" style="height: 120px;"></textarea> | |||
</div> | |||
</div> | |||
@Html.AppendJsFile("/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItemApply/FormJYHC.js") |