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

60 lines
1.5 KiB
Plaintext

@model IEnumerable<WX.CRM.Model.Entity.CSVR_RELATIONCUSTOMER>
@{
Layout = null;
}
<div class="group content_title_width">
<span class="csicon ReloationIcon"></span>
<span>客户关系</span>
</div>
<div class="content_div">
<table class="layui-table content_width">
<thead>
<tr>
<td>
相关客户<a href="javascript:void(0)" onclick="Create_Click()">添加</a>
</td>
</tr>
</thead>
</table>
<br>
<table class="layui-table content_width">
<thead>
<tr>
<td>
相关客户编号
</td>
<td>
关联时间
</td>
<td>
备注
</td>
</tr>
</thead>
<tbody>
@foreach (var item in Model)
{
<tr>
<td>
<a target="_blank" href="../CustomerInfo/CustomerDetail?resid=@item.map_RELATIONRESID">@item.map_RELATIONRESID</a>
</td>
<td>
@item.map_CTIME
</td>
<td>@item.map_MEMO</td>
</tr>
}
</tbody>
</table>
</div>
<script type="text/javascript">
function Create_Click() {
window.parent.addTab("添加关联客户", "/Csvr/RelationCustomer/Add?resid=@ViewBag.RelationResId", "");
}
</script>