50 lines
1.9 KiB
Plaintext
50 lines
1.9 KiB
Plaintext
@model ApprovalGrade
|
|
@{
|
|
ViewBag.Title = "簿记账户 | 簿记审批编辑";
|
|
Layout = "~/Views/Shared/_InfoLayout.cshtml";
|
|
var pageObj = new
|
|
{
|
|
IsNew = Model.id == 0,
|
|
HasGroup = ConsUserGroup.HasGroup,
|
|
TraderNames = Model.TraderNames,
|
|
assetId = Model.AssetId,
|
|
IsDongGuan = PS.Config.Company == CompanyEnum.东莞
|
|
};
|
|
}
|
|
@section CSS{
|
|
<style>
|
|
.formlabel {
|
|
min-width: 160px
|
|
}
|
|
</style>
|
|
}
|
|
@section JS{
|
|
<script src="@HtmlUtil.BasicDataJs("簿记",(pageObj.IsDongGuan?"系统用户":"交易员"))"></script>
|
|
<script type="text/javascript">
|
|
var page = @Json.Serialize(pageObj);
|
|
</script>
|
|
<script src="~/Scripts/app/basic/approvalGradeEdit.js?v=@(HtmlUtil.JsVersion)"></script>
|
|
}
|
|
|
|
@using (Html.BeginForm("approvalGradeEdit", "approvalGrade", FormMethod.Post, new { id = "approvalGradeEditForm", autocomplete = "off" }))
|
|
{
|
|
<div class="yc-panel">
|
|
<input type="hidden" value="@Model.id" name="id" id="id" />
|
|
@Html.HiddenFor(model => model.EncryptId)
|
|
<div class="form-group">
|
|
<label class="formlabel">簿记账户</label>
|
|
<input id="AssetId" name="AssetId" class="text-box" type="text" onblur="changeAsset()">
|
|
</div>
|
|
@Html.TextBoxFor(model => model.id, new { hidden = "hidden" })
|
|
@Html.MyTextFor(model => model.TraderNames)
|
|
@Html.MyDropdownFor(model => model.RoleId,YLErp.Web.Controllers.AccountOpeningProcessController.GetRoles(), appendBlank: false)
|
|
@Html.MyDropdownFor(model => model.Rule, System.Web.Mvc.Html.EnumHelper.GetSelectList(typeof(RuleEnum)), htmlAttributes: new { onchange = "changeRule()" }, appendBlank: false)
|
|
<div id="Scale">
|
|
@Html.MyTextFor(model => model.DeltaCashScale)
|
|
</div>
|
|
</div>
|
|
<div class="form-buttons">
|
|
@MyControls.Btn("保存", "saveassetunit()")
|
|
@MyControls.Btn("关闭", "layer.closeMe()")
|
|
</div>
|
|
} |