TG.WXCRM.V4/WEB/Views/Csvr/CustomerUC/CustomerInfo.cshtml

78 lines
3.3 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@using WX.CRM.WebHelper
@model WX.CRM.Model.Entity.RES_CUSTOMER_Extend
@{
Layout = null;
}
<link href="~/Content/main.css" rel="stylesheet" />
<style>
.normaltable {
width: 100%;
}
.customerinfoHidden {
display: none;
}
.customerinfoShow {
}
</style>
<div class="content_div" id="divcustomerinfo">
<table class="layui-table normaltable">
<thead>
<tr>
<td colspan="5">
客户基本信息
</td>
</tr>
</thead>
<tbody>
<tr>
<td></td>
<td>@Html.LabelFor(model => model.map_CACCOUNT)@Html.DisplayFor(model => model.map_CACCOUNT)</td>
<td>@Html.LabelFor(model => model.map_CTIME)@Html.DisplayFor(model => model.map_CTIME)</td>
</tr>
<tr>
<td>@Html.LabelFor(model => model.map_CNAME)@Html.DisplayFor(model => model.map_CNAME)</td>
<td>@Html.LabelFor(model => model.map_GENDER)@Html.DisplayFor(model => model.map_GENDER)</td>
<td>
@Html.LabelFor(model => model.map_EMAIL)@Html.DisplayFor(model => model.map_EMAIL)
@Html.ToolButtonPlain("btnMore", "", "更多↓", false, "nstatus='hidden'")
</td>
</tr>
<tr class="customerinfoHidden customerinfoShow" id="mftr">
<td>@Html.LabelFor(model => model.map_MSN)@Html.DisplayFor(model => model.map_MSN)</td>
<td>@Html.LabelFor(model => model.map_FAX)@Html.DisplayFor(model => model.map_FAX)</td>
<td>@Html.LabelFor(model => model.map_CUSTOMERFROM)@Html.DisplayFor(model => model.map_CUSTOMERFROM)</td>
</tr>
<tr class="customerinfoHidden customerinfoShow">
<td>@Html.LabelFor(model => model.map_CUSTOMERTYPEID)@Html.DisplayFor(model => model.map_CUSTOMERTYPEID)</td>
<td>@Html.LabelFor(model => model.map_AMOUNTTYPEID)@Html.DisplayFor(model => model.map_AMOUNTTYPEID)</td>
<td>@Html.LabelFor(model => model.map_JOBTYPEID)@Html.DisplayFor(model => model.map_JOBTYPEID)</td>
</tr>
<tr class="customerinfoHidden customerinfoShow">
<td>@Html.LabelFor(model => model.map_OPERATIONTYPE)@Html.DisplayFor(model => model.map_OPERATIONTYPE)</td>
<td>@Html.LabelFor(model => model.map_PROVINCE)@Html.DisplayFor(model => model.map_PROVINCE)</td>
<td>@Html.LabelFor(model => model.map_GETCITY)@Html.DisplayFor(model => model.map_GETCITY)</td>
</tr>
<tr class="customerinfoHidden customerinfoShow">
<td>@Html.LabelFor(model => model.map_ADDRESS)@Html.DisplayFor(model => model.map_ADDRESS)</td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
</div>
<script>
$(function () {
$("#btnMore").click(function () {
$("#divcustomerinfo .customerinfoShow").toggleClass("customerinfoHidden");
if ($("#mftr").hasClass("customerinfoHidden")) {
$("#btnMore .l-btn-text ").html("更多↓");
} else {
$("#btnMore .l-btn-text ").html("隐藏↑");
}
});
});
</script>