Views/I3/I0301/Edit.cshtml

(开头部分) 4KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

@model OPMS.Models.I0301

@{
    ViewBag.Title = "Edit";
}

<script src="~/Content/lib/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
<form action="/I0301/Edit" method="post" class="form form-horizontal pd-20" id="form-add" enctype="multipart/form-data">
    @Html.HiddenFor(model => model.States)
    @Html.HiddenFor(model => model.DCode)
    @Html.HiddenFor(model => model.Applicant)
    @Html.HiddenFor(model => model.ID)
    <table class="table table-border table-bordered table-bg table-hover table-sort">
        <tr class="active">
            <td style="width: 60px; text-align:right;">姓名</td>
            <td>
                <input type="text" class="input-text"  value="@Model.FullName"  maxlength="15" id="FullName" name="FullName" /></td>
            <td style="width: 60px; text-align: right;">部门</td>
            <td>
                <input type="text" class="input-text"  value="@Model.DeptName"  maxlength="30" id="DeptName" name="DeptName" />@Html.ValidationMessageFor(model => model.DeptName)</td>
            <td style="width: 60px; text-align: right;">申请日期</td>
            <td>@Model.ApplyTime.ToString("yyyy-MM-dd") </td>
        </tr>
        <tr>
            <td style="width: 60px; text-align: right;">请假类别</td>
            <td colspan="5">@Html.CheckBoxList("CheckList")
                @Html.ValidationMessageFor(model => model.LeaveType)
            </td>
        </tr>
        <tr class="warning">
            <td style="width: 60px; text-align: right;">请假时间</td>
            <td colspan="5">由
                <input type="text" onclick="WdatePicker({ dateFmt: 'yyyy-MM-dd HH:mm' })" readonly="true"  class="text-box single-line Wdate" style="width:145px;margin-top: -0px;" value="@Model.Stime.ToString("yyyy-MM-dd HH:mm")"  name="Stime" id="Stime">
                至
                <input type="text" onclick="WdatePicker({ dateFmt: 'yyyy-MM-dd HH:mm' })" readonly="true" class="text-box single-line Wdate" style="width:145px;margin-top: -0px;" value="@Model.Etime.ToString("yyyy-MM-dd HH:mm")"  name="Etime" id="Etime">
                共计小时数时长:@Html.TextBoxFor(model => model.Sc, new { @style = "width:50px;height:25px; margin-top: -0px;text-align: center", @type = "number" })   @Html.ValidationMessageFor(model => model.Sc)</td>
        </tr>
        <tr>
            <td style="width: 60px; text-align: right;">请假事由</td>
            <td colspan="5">
                @Html.TextAreaFor(model => model.Reason, new { @class = "textarea" })
                @Html.ValidationMessageFor(model => model.Reason)
            </td>
        </tr>
        <tr>
            <td style="width: 60px; text-align: right;">联系电话</td>
            <td colspan="6">
               <input type="text" class="input-text" value="@Model.Tel" style="width:300px;"  maxlength="15" id="Tel" name="Tel" />
                 @Html.ValidationMessageFor(model => model.Tel)</td>
        </tr>
        <tr class="success">
              <td style="width: 60px; text-align: right;">部门领导审批</td>
              <td>@Html.TextBoxFor(model => model.DLeader, new { @readonly = "true", @class = "text-box single-line gray" })</td>
              <td style="width: 60px; text-align: right;">行政审批</td>
              <td>@Html.TextBoxFor(model => model.HR, new { @readonly = "true", @class = "text-box single-line gray" })</td>
              <td style="width: 60px; text-align: right;">总经理审批</td>
              <td>@Html.TextBoxFor(model => model.GManager, new { @readonly = "true", @class = "text-box single-line gray" })</td>
        </tr>
        <tr>
            <td colspan="6">*注:1、请假三天以内由部门领导批准。请假三天或三天以上须报请总经理审批批准才会生效。2、婚嫁,产假,年假需要提前两周申情</td>
后面还有 20 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。