CRM_EasyUI_2016/Areas/CustomerManager/Views/Customer/Edit.cshtml

(开头部分) 36KB

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

@model GroupThink.CRM.Model.Sys.GroupThink_CRM_Customer_Model
@using GroupThink.CRM.Common;
@using GroupThink.CRM.Model.Sys;
@using GroupThink.CRM.Web;
@{
    ViewBag.Title = "Edit";
    Layout = "~/Views/Shared/_Index_LayoutEdit.cshtml";
}
<script src="@Url.Content("~/Scripts/My97DatePicker/WdatePicker.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/pinyin.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.js")" type="text/javascript"></script>
<div id="dlg" class="easyui-window" data-options="modal:true,closed:true,minimizable:false,shadow:false">
</div>
<div class="easyui-layout" fit="true">
    <div data-options="region:'center',border:false" style="padding: 5px; overflow: auto">
        @using (Html.BeginForm("Edit", "GroupThink_CRM_Customer", null, FormMethod.Post, new { Id = "EditForm" }))
        {
            @Html.ValidationSummary(true)
            @Html.HiddenFor(model => model.ShareUserID)
            <table width="100%" style="border: none">
                <thead>
                    <tr>
                        <td align="center">
                            <div class="btn sub_btn" style="padding: 0; font-weight: normal">
                                @Html.ToolButtonEdit("btnSave1", "bt_node", "保存")
                                @Html.ToolButtonEdit("btnClose1", "bt_node", "关闭")
                            </div>
                        </td>
                    </tr>
                </thead>
            </table>
            <table class="add_wrap" width="100%">
                <tbody>
                    <tr class="cust">
                        <td colspan="4" class="title">
                            客户基本信息
                        </td>
                    </tr>
                    <tr>
                        @Html.HiddenFor(model => model.ID)
                        <td class="title">
                            @Html.LabelFor(model => model.UserName):
                        </td>
                        <td colspan="3">
                            @Html.TextBox("UserName", Model.UserName)
                            @Html.Hidden("UserId")
                            @*<input type="hidden" id="UserId" name="UserId" value="@Model.UserId" />*@
                            @Html.ValidationMessageFor(model => model.UserId)
                        </td>
                    </tr>
                    <tr>
                        <td class="title">
                            @Html.LabelFor(model => model.CustomerName):
                        </td>
                        <td style="width: 37%">
                            @Html.TextBoxFor(model => model.CustomerName)
                            @Html.ValidationMessageFor(model => model.CustomerName)
                        </td>
                        <td class="title" id='iscom1' style="display: none;">
后面还有 704 行代码,购买后查看完整代码

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

AI 解读

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

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