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

(开头部分) 36KB

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

@model GroupThink.CRM.Model.Sys.GroupThink_CRM_Customer_Model
@using GroupThink.CRM.Common;
@using GroupThink.CRM.Web;
@using GroupThink.CRM.Model.Sys;
@{
    List<PermModel> perm = (List<PermModel>)ViewBag.Perm;
    if (perm == null)
    {
        perm = new List<PermModel>();
    }
    ViewBag.Title = "Create";
    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>
@Styles.Render("~/Style/css/style.css")
<div id="dlg" class="easyui-window" data-options="modal:true,closed:true,minimizable:false,shadow:false">
</div>
<div class="easyui-layout" fit="true">
    <div region="center" border="false" style="overflow: auto; padding: 5px;">
        @using (Html.BeginForm("Create", "GroupThink_CRM_Customer", null, FormMethod.Post, new { Id = "CreateForm" }))
        {
            @Html.ValidationSummary(true)
            <input type="hidden" id="IsValid" />
            <table class="add_wrap" width="100%">
                <thead>
                    <tr>
                        <td colspan="4" align="center">
                            <div class="btn sub_btn" style="padding: 0; font-weight: normal">
                                @Html.ToolButtonEdit("btnSave", "bt_node", "保存")
                                @Html.ToolButtonEdit("btnClose", "bt_node", "关闭")
                            </div>
                        </td>
                    </tr>
                </thead>
                <tbody>
                    <tr class="cust">
                        <td colspan="4" class="title">
                            客户基本信息
                        </td>
                    </tr>
                    <tr>
                        <td class="title">
                            @Html.LabelFor(model => model.UserName):
                        </td>
                        <td class="ipt">
                            <div>
                                @Html.TextBoxFor(model => model.UserName, new { @class = "input-search" })
                                @Html.HiddenFor(model => model.UserId)
                                @Html.ValidationMessageFor(model => model.UserName)
                            </div>
                        </td>
                        <td class="title">
                            @Html.LabelFor(model => model.CustomerName):
                        </td>
                        <td class="ipt">
                            @Html.TextBoxFor(model => model.CustomerName)
                            @Html.ValidationMessageFor(model => model.CustomerName)
                        </td>
                    </tr>
后面还有 721 行代码,购买后查看完整代码

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

AI 解读

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

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