106 lines
3.9 KiB
Plaintext
106 lines
3.9 KiB
Plaintext
@{
|
|
ViewBag.Title = "客户列表";
|
|
Layout = "~/Views/Shared/_MainLayout.cshtml";
|
|
var pageObj = new
|
|
{
|
|
isCreditLimit = YLErp.PS.Config.ClientElement.IsCreditLimit,
|
|
showApprovalBtn = YLErp.PS.Config.ClientElement.InterfaceApprovalMode > 0 && CurUser.风险控制_接口审批列表,
|
|
configcolumn_name = configcolumn_data.客户列表,
|
|
isCanle = ViewBag.isCanle ? "1" : "",
|
|
exportFutureVersion = AppHelper.GetFutureVersion("客户列表导出"),
|
|
allowSleep = CurUser.客户管理.客户休眠,
|
|
canBatchModify = CurUser.客户管理.批量修改客户信息,
|
|
ViewTagPermission = CurUser.客户管理.客户标签查看权限,
|
|
isZhaoZheng = YLErp.PS.Config.Company == CompanyEnum.招证,
|
|
isDongWu = YLErp.PS.Config.Company == CompanyEnum.东吴,
|
|
};
|
|
}
|
|
@section CSS{
|
|
<link href="~/Style/Css/clientList.css" rel="stylesheet" />
|
|
<link href="~/Style/Css/clientsettag.css?v=@(HtmlUtil.JsVersion)" rel="stylesheet" />
|
|
<style>
|
|
.tag-item {
|
|
height: 17px;
|
|
line-height: 14px;
|
|
}
|
|
|
|
.tag-add {
|
|
height: 17px;
|
|
line-height: 14px;
|
|
}
|
|
|
|
.tag-context {
|
|
padding: 0px;
|
|
}
|
|
|
|
.bootstrap-select.show-tick .dropdown-menu li a span.text {
|
|
max-width: 300px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
</style>
|
|
}
|
|
@section JS{
|
|
<script src="/front/clientEditConfig?v=@(HtmlUtil.JsVersion)"></script>
|
|
<script>
|
|
var g_grid = {};
|
|
var query_data = {};
|
|
const page = @Json.Serialize(pageObj);
|
|
var isguojun = '@(PS.Config.IsGuoJun ? "true" : "false")';
|
|
var extendFieldName = '@(PS.Config.Is中财 ? "投资知识" : "风险偏好")';
|
|
var iszheqi = '@(PS.Config.Is浙期 ? "true" : "false")';
|
|
function jqGridInit() {
|
|
@Html.Raw(JqGridSimple.OutGrid("/client/clientQuery", true));
|
|
}
|
|
</script>
|
|
<script src="~/Scripts/app/client/clientListV2.js?v=@(HtmlUtil.JsVersion)"></script>
|
|
}
|
|
<div style="float:right;margin-top:-50px;margin-right:10px;">
|
|
<span>到期预警 </span>
|
|
<button class="btn" id="statue" onclick="clientExpireWarningList()"></button>
|
|
</div>
|
|
<div class="searchdiv">
|
|
<div>
|
|
@Html.ShortInput("Name", "客户名称")
|
|
@Html.ShortInput("Number", "客户编号")
|
|
@Html.MyAceDropdownInput2("ProcessStatus", "客户状态", ClientDataModel.GetProcessStatusForQuery())
|
|
@Html.MyAceDropdownInput("ApprovalStatus", "审批状态", ClientDataModel.GetApprovalStatusForQuery())
|
|
|
|
</div>
|
|
<div>
|
|
|
|
@if (pageObj.ViewTagPermission)
|
|
{
|
|
@Html.MyAceDropdownInput("TagIds", "标签值", TagController.GetTradeTagList(CurUser, YLErp.Enums.TagTypeEnum.Customer))
|
|
}
|
|
</div>
|
|
<div>
|
|
@MyControls.SearchBtn()
|
|
@MyControls.Btn("导出客户基本信息", "exprotChooseColumn()")
|
|
@MyControls.Btn("导出客户人员信息", "exprotChooseClientDuty()")
|
|
@MyControls.Btn("导出客户银行账号信息", "exprotChooseBankCard()")
|
|
@if (pageObj.canBatchModify)
|
|
{
|
|
@MyControls.Btn("批量修改客户信息", "uploadClient()")
|
|
}
|
|
|
|
@if (PS.Config.Is浙期)
|
|
{
|
|
@MyControls.Btn("合并导出", "exprotChooseAllClient()")
|
|
}
|
|
<div style="width:30px;display:inline;" onclick="showcolumnChooser();return false;">
|
|
<img src="~/Images/configure.png" />
|
|
</div>
|
|
|
|
@if (CurUser.客户管理.客户标签调整权限)
|
|
{
|
|
<div class="batch-tag" onclick="BatchSetClientTag();">
|
|
<img src="~/Images/tag.jpg" /><span>标记</span>
|
|
</div>
|
|
}
|
|
</div>
|
|
</div>
|
|
@Html.Raw(JqGridSimple.OutTable())
|
|
<form target="_blank" method="post" id="exportForm" action="">
|
|
<input type="hidden" name="" value="" />
|
|
</form> |