@model ClientRating @{ ViewBag.Title = "客户评级 | 编辑"; Layout = "~/Views/Shared/_InfoLayout.cshtml"; } @section CSS{ } @section JS { } @using (Html.BeginForm("Edit", "client_rating", FormMethod.Post, new { id = "creditEditForm" })) {
@Html.HiddenFor(model => model.EncryptId) @if (ViewBag.IsAdd) { @Html.MyDropdownFor(model => model.ClientId, ClientDataModel.GetAllOpenClient(true), "", false) } else {
@Html.HiddenFor(model => model.ClientId)
} @Html.MyDropdownFor(m => m.CreditRatingId, credit_ratingController.GetValidcredit_rating(), new { }, "", false, true, false) @Html.MyDateFor(model => model.RatingStartDate, true) @Html.MyDateFor(model => model.RatingDeadLine, true) @if (PS.Config.Is浙期) { @Html.MyTextFor(model => model.RatingAccording, false) @Html.MyTextFor(model => model.RatingPersonnel, false) @Html.MyTextFor(model => model.CheckPersonnel, false) } @Html.MyTextAreaFor(model => model.Comments, 3, new { maxlength = 50 })
@MyControls.Btn("保存", "saveclientrating()") @MyControls.Btn("关闭", "closecreditWindow()")
}