737 lines
29 KiB
Plaintext
737 lines
29 KiB
Plaintext
@model Client
|
|
@{
|
|
ViewBag.Title = "客户信息|查看";
|
|
Layout = "~/Views/Shared/_InfoLayout.cshtml";
|
|
bool isClientView = CurUser.客户管理.客户修改;
|
|
}
|
|
|
|
@section CSS{
|
|
<link href="~/Style/Css/ClientList.css?v=1" rel="stylesheet" />
|
|
|
|
<style>
|
|
.container {
|
|
max-width: 1250px;
|
|
}
|
|
|
|
#bankcardlist .label {
|
|
width: 1231px;
|
|
line-height: 2.15;
|
|
height: 32px;
|
|
color: #ff6462;
|
|
text-align: left;
|
|
text-indent: 14px;
|
|
margin-top: 25px;
|
|
background-color: #e0eaf1 !important;
|
|
}
|
|
|
|
#clientDuty .label {
|
|
width: 1231px;
|
|
line-height: 2.15;
|
|
height: 32px;
|
|
color: black;
|
|
text-align: left;
|
|
text-indent: 14px;
|
|
margin-top: 25px;
|
|
background-color: #e0eaf1 !important;
|
|
}
|
|
|
|
#suitably .label {
|
|
width: 1231px;
|
|
line-height: 2.15;
|
|
height: 32px;
|
|
color: #ff6462;
|
|
text-align: left;
|
|
text-indent: 14px;
|
|
margin-top: 25px;
|
|
background-color: #e0eaf1 !important;
|
|
}
|
|
|
|
#clientFiles #file {
|
|
margin-top: 14px;
|
|
}
|
|
|
|
#suitably #suitablyFile {
|
|
margin-top: 14px;
|
|
}
|
|
|
|
#clientFiles .label {
|
|
width: 1231px;
|
|
line-height: 2.15;
|
|
height: 32px;
|
|
color: #ff6462;
|
|
text-align: left;
|
|
text-indent: 14px;
|
|
margin-top: 25px;
|
|
background-color: #e0eaf1 !important;
|
|
}
|
|
|
|
.btn-toolbar > .btn, .btn-toolbar > .btn-group, .btn-toolbar > .input-group {
|
|
margin-right: 35px;
|
|
margin-left: 0px;
|
|
}
|
|
|
|
.tab-content {
|
|
width: 1230px;
|
|
padding: 24px 0px;
|
|
border: none;
|
|
}
|
|
|
|
.table.inputInfo {
|
|
width: 89%;
|
|
}
|
|
|
|
.table tr:nth-child(even) {
|
|
background: #e0ebf1;
|
|
}
|
|
|
|
#infopage {
|
|
margin-left: 20px;
|
|
}
|
|
|
|
.table.inputInfo tr td:nth-child(2) {
|
|
border-right: 1px solid #c7c5c5 !important;
|
|
}
|
|
|
|
.table.inputInfo tr td:nth-child(4) {
|
|
border-right: 1px solid #c7c5c5 !important;
|
|
}
|
|
|
|
.table.inputInfo > tbody > tr > td {
|
|
width: 15%;
|
|
text-align: left !important;
|
|
}
|
|
|
|
.table > tbody > tr > td.tdRight {
|
|
width: 15%;
|
|
}
|
|
|
|
.table > tbody > tr > td.tdTotal {
|
|
width: 75%;
|
|
}
|
|
|
|
#submitProcessBtn {
|
|
width: 138px !important;
|
|
}
|
|
|
|
.edittablepop th, .edittablepop td {
|
|
text-align: center;
|
|
}
|
|
|
|
.inline-4 {
|
|
display: inline-block;
|
|
width: 25%
|
|
}
|
|
</style>
|
|
}
|
|
@section JS{
|
|
<script type="text/javascript">
|
|
var tabId;
|
|
$(function() {
|
|
refreshbankcard();
|
|
refreshClientFiles();
|
|
refreshclientduty();
|
|
//refreshSuitablyClientFiles();
|
|
|
|
$(".form-group").addClass("col-md-6");
|
|
|
|
var clientlevel = $("#LevelId option:selected").text();
|
|
$("#Level").val(clientlevel);
|
|
|
|
$(".tab-link").click(function (e) {
|
|
if (@Model.id <= 0) {
|
|
main.message("请先保存客户基本信息");
|
|
return;
|
|
}
|
|
|
|
e.preventDefault()
|
|
$(this).tab('show')
|
|
});
|
|
@*var status = "@Model.ProcessStatus";
|
|
if (status !== '未提交') {
|
|
$('#submitProcessBtn').prop('disabled', true);
|
|
}*@
|
|
$("#tab" + @ViewBag.TabViewId).click();
|
|
});
|
|
|
|
function refreshbankcard() {
|
|
var opt = {
|
|
url: "/bankcard/bankcardEditPopInner?d=" + new Date(),
|
|
data: { rid: "@Model.id", isOnlyVIew: true },
|
|
dataType: "Html",
|
|
success: function(data) { $("#divbankcardEditPopInner").html(data); }
|
|
};
|
|
main.ajax(opt);
|
|
}
|
|
|
|
function refreshclientduty() {
|
|
var opt = {
|
|
url: "/clientduty/clientdutyEditPopInner?d="+new Date(),
|
|
data: { rid: "@Model.id", isOnlyVIew: true },
|
|
dataType: "Html",
|
|
success: function(data) { $("#divclientdutyEditPopInner").html(data); }
|
|
};
|
|
main.ajax(opt);
|
|
}
|
|
|
|
function refreshClientFiles() {
|
|
var fileType = $("#fileTypeForSearch").val();
|
|
var fileName = $("#fileNameForSearch").val();
|
|
var fileDate = $("#DatefileDate").val();
|
|
|
|
var opt = {
|
|
url: "/client/ClientFilesEditPopInner?d=" + new Date(),
|
|
data: { clientId: "@Model.EncryptId", clientType: "clientView", fileType: fileType, fileName: fileName, fileDate: fileDate},
|
|
dataType: "Html",
|
|
success: function (data) {
|
|
$("#divClientFilesEditPopInner").html(data);
|
|
}
|
|
};
|
|
main.ajax(opt);
|
|
}
|
|
|
|
function closeclientWindow() {
|
|
try {
|
|
window.parent.layer.closeAll();
|
|
} catch (e) {
|
|
}
|
|
try {
|
|
if (window.parent) window.parent.reloadclient();
|
|
} catch (e) {
|
|
}
|
|
try {
|
|
window.parent.$('#modal-editclient .close').click();
|
|
} catch (e) {
|
|
}
|
|
try {
|
|
if (window.parent.location.href.indexOf("clientEdit") >= 0) {
|
|
window.close();
|
|
}
|
|
} catch (e) {
|
|
}
|
|
}
|
|
|
|
function UploadSuitablyFiles(encryptedId) {
|
|
// debugger;
|
|
var files = $("#suitablyFile")[0].files;
|
|
if (files.length <= 0) {
|
|
main.message("请选择需上传的文件");
|
|
return;
|
|
}
|
|
|
|
var fileTypeName = $("#fileTypeName").val().trim();
|
|
if (fileTypeName === "" || fileTypeName === undefined) {
|
|
main.message("请输入文件类型");
|
|
$("fileTypeName").focus();
|
|
return;
|
|
}
|
|
// var fileType = $("#").val();
|
|
var data = new FormData();
|
|
for (var x = 0; x < files.length; x++) {
|
|
data.append(files[x].name, files[x]);
|
|
}
|
|
|
|
$.ajax({
|
|
type: "Post",
|
|
url: "/client/UploadSuitablyFiles?clientId=" + encryptedId + "&fileTypeName=" + fileTypeName,
|
|
contentType: false,
|
|
processData: false,
|
|
data: data,
|
|
success: function(res) {
|
|
//window.location.reload(false);
|
|
refreshSuitablyClientFiles();
|
|
}
|
|
});
|
|
}
|
|
|
|
function UploadFiles(encryptedId) {
|
|
debugger
|
|
var files = $("#file")[0].files;
|
|
var isCheck = $("input[type='checkbox']").is(':checked')
|
|
if (files.length <= 0) {
|
|
main.message("请选择需上传的文件");
|
|
return;
|
|
}
|
|
|
|
var fileTypeName = $("#fileTypeName").val().trim();
|
|
if (fileTypeName === "" || fileTypeName === undefined) {
|
|
main.message("请输入文件类型");
|
|
$("fileTypeName").focus();
|
|
return;
|
|
}
|
|
var data = new FormData();
|
|
for (var x = 0; x < files.length; x++) {
|
|
data.append(files[x].name, files[x]);
|
|
}
|
|
if (isCheck==true) {
|
|
$.ajax({
|
|
type: "Post",
|
|
url: "/client/UploadSuitablyFiles?clientId=" + encryptedId + "&fileTypeName=" + fileTypeName,
|
|
contentType: false,
|
|
processData: false,
|
|
data: data,
|
|
success: function (res) {
|
|
//window.location.reload(false);
|
|
refreshClientFiles();
|
|
refreshSuitablyClientFiles();
|
|
}
|
|
});
|
|
} else {
|
|
$.ajax({
|
|
type: "Post",
|
|
url: "/client/UploadFiles?clientId=" + encryptedId + "&fileTypeName=" + fileTypeName,
|
|
contentType: false,
|
|
processData: false,
|
|
data: data,
|
|
success: function (res) {
|
|
refreshClientFiles();
|
|
refreshSuitablyClientFiles();
|
|
}
|
|
});
|
|
}
|
|
|
|
}
|
|
|
|
|
|
function submitProcess() {
|
|
var opt = {
|
|
url: "/AccountOpeningProcess/SubmitProcess",
|
|
async: false,
|
|
data: { clientId: @Model.id },
|
|
success: function(res) {
|
|
if (res.success === true) {
|
|
main.message(res.msg);
|
|
try {
|
|
window.parent.reloadclient2();
|
|
} catch (e) {
|
|
}
|
|
} else {
|
|
main.message(res.msg);
|
|
}
|
|
},
|
|
error: function(res) {
|
|
main.message('提交失败');
|
|
}
|
|
};
|
|
main.ajax(opt);
|
|
}
|
|
|
|
function onClickClientEdit() {
|
|
window.location.href = "/client/clientedit?enid=@Model.EncryptId&tabId=" + tabId;
|
|
}
|
|
|
|
function getTab(id) {
|
|
tabId = id;
|
|
}
|
|
|
|
function resetPassword() {
|
|
var opt = {
|
|
url: "/client/ResetPassword",
|
|
async: false,
|
|
data: { clientId: @Model.id },
|
|
success: function(res) {
|
|
if (res.success === true) {
|
|
main.message(res.msg);
|
|
} else {
|
|
main.message(res.msg);
|
|
}
|
|
},
|
|
error: function(res) {
|
|
main.message('重置失败');
|
|
}
|
|
};
|
|
main.ajax(opt);
|
|
}
|
|
function ClientOperationHistory() {
|
|
main.open("操作历史", "/client/ClientOperationHistory?id=" + @Model.id);
|
|
}
|
|
function openclientfileaudit() {
|
|
var url = "/client/ClientFilesAudit/?clientId=" + "@Model.id" + "&isApproval=false";
|
|
window.open(url, '_blank').location;
|
|
}
|
|
</script>
|
|
|
|
}
|
|
|
|
<div class="toolbarDiv">
|
|
@if (isClientView)
|
|
{
|
|
@MyControls.Btn("修改", "onClickClientEdit();")
|
|
}
|
|
|
|
@MyControls.Btn("关闭", "closeclientWindow();")
|
|
|
|
@if (PS.Config.ErpElement.HasClientSide && CurUser.客户管理.客户端密码设置)
|
|
{
|
|
if (string.IsNullOrEmpty(Model.Guid))
|
|
{
|
|
@MyControls.Btn("初始化密码", "resetPassword();")
|
|
}
|
|
else
|
|
{
|
|
@MyControls.Btn("重置密码", "resetPassword();")
|
|
}
|
|
}
|
|
@MyControls.Btn("操作历史", "ClientOperationHistory()")
|
|
@MyControls.Btn("流程清单检查", "openclientfileaudit()")
|
|
@MyControls.Btn("查看客户层次", "window.location.href=('/Client/Clientlevel/?clientid=" + Model.id + "');")
|
|
</div> @Html.HiddenFor(model => model.id)
|
|
|
|
|
|
<div class="tabbable">
|
|
<ul id="myTab" class="nav nav-tabs nav-main">
|
|
<li class="nav-item">
|
|
<a class="nav-link active" href="#info" data-toggle="tab" id="tab1" onclick="getTab('1')">基本信息</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link tab-link" href="#investment-risk-info" id="tab2" onclick="getTab('2')">投资风险调查</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link tab-link" href="#suitably" id="tab3" onclick="getTab('3')">适当性管理</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link tab-link" href="#bankcardlist" id="tab4" onclick="getTab('4')">银行卡信息</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link tab-link" href="#clientFiles" id="tab5" onclick="getTab('5')">文件管理</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link tab-link" href="#clientDuty" id="tab6" onclick="getTab('6')">人员信息</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="tab-content">
|
|
<div id="info" class="tab-pane in active">
|
|
@if (Model != null)
|
|
{
|
|
<input type="hidden" value="@Model.id" name="id" id="id" />
|
|
}@Html.HiddenFor(m => m.EncryptId)
|
|
<table class="table table-bordered inputInfo">
|
|
<tr>@Html.MyDisplayFor(m => m.Number)@Html.MyDisplayFor(m => m.Name)@Html.MyDisplayFor(m => m.LevelId, ClientDataModel.GetLevelName(Model.LevelId))</tr>
|
|
<tr>@Html.MyDisplayFor(m => m.ClientType)@Html.MyDisplayFor(m => m.InstitutionalAttributes)@Html.MyDisplayFor(m => m.BusinessType)</tr>
|
|
<tr>@Html.MyDisplayFor(m => m.ProductNumber)@Html.MyDisplayFor(m => m.LicenseType)@Html.MyDisplayFor(m => m.CustomerNature1)</tr>
|
|
<tr>
|
|
<th class="tdRight">
|
|
@if (YLErp.PS.Config.Is海通)
|
|
{
|
|
@(Model.ClientType == ClientTypeEnum.产品.ToString() ? "产品规模(元)" : "注册资本(万元)")
|
|
}
|
|
else
|
|
{
|
|
@(Model.ClientType == ClientTypeEnum.产品.ToString() ? "产品规模(万元)" : "注册资本(万元)")
|
|
}
|
|
</th>
|
|
<td>@Model.RegisteredCapital</td>
|
|
@Html.MyDisplayFor(m => m.ActualController)@Html.MyDisplayFor(m => m.CustomerNature2)
|
|
</tr>
|
|
<tr>@Html.MyDisplayFor(m => m.RegisteredAddress)@Html.MyDisplayFor(m => m.PostalAddress)@Html.MyDisplayFor(m => m.LicenseCode)</tr>
|
|
<tr>
|
|
@Html.MyDisplayFor(m => m.ProtocolSignDate)@Html.MyDisplayFor(m => m.ActualBeneficiary)@Html.MyDisplayFor(m => m.ProtocolSignVersion)
|
|
</tr>
|
|
<tr>@Html.MyDisplayFor(model => model.SalesDepartment)@Html.MyDisplayFor(m => m.RightProtocolSignDate)@Html.MyDisplayFor(m => m.Region)</tr>
|
|
@if (!YLErp.PS.Config.Is国泰君安)
|
|
{
|
|
if (YLErp.PS.Config.Is申万)
|
|
{
|
|
<tr>
|
|
@Html.MyDisplayFor(m => m.Code)
|
|
@Html.MyDisplayFor(m => m.Seller)
|
|
@Html.MyDisplayFor(model => model.CustomerManager)
|
|
</tr>
|
|
if (PS.Config.ErpElement.HasClientSide)
|
|
{
|
|
<tr>
|
|
@Html.MyDisplayFor(m => m.MarginOptionType, ClientDataModel.GetMarginOptionTypeName(Model.MarginOptionType))
|
|
@Html.MyDisplayFor(m => m.InvestorType, Model.InvestorTypeName)
|
|
@if (PS.Config.ClientElement.IsCreditLimit)
|
|
{
|
|
@Html.MyDisplayFor(m => m.IsCreditOn, ClientDataModel.GetYesOrNo(Model.IsCreditOn))
|
|
}
|
|
else
|
|
{
|
|
@Html.MyDisplayFor(m => m.IsTradeCredit, ClientDataModel.GetYesOrNo(Model.IsTradeCredit))
|
|
}
|
|
</tr>
|
|
<tr>
|
|
@Html.MyDisplayFor(m => m.Abbreviation)
|
|
@Html.MyDisplayFor(m => m.DefaultLoginName)
|
|
@Html.MyDisplayFor(m => m.SamePeerDesc)
|
|
</tr>
|
|
}
|
|
else
|
|
{
|
|
<tr>
|
|
@Html.MyDisplayFor(m => m.MarginOptionType, ClientDataModel.GetMarginOptionTypeName(Model.MarginOptionType))
|
|
@Html.MyDisplayFor(m => m.InvestorType, Model.InvestorTypeName)
|
|
@if (PS.Config.ClientElement.IsCreditLimit)
|
|
{
|
|
@Html.MyDisplayFor(m => m.IsCreditOn, ClientDataModel.GetYesOrNo(Model.IsCreditOn))
|
|
}
|
|
else
|
|
{
|
|
@Html.MyDisplayFor(m => m.IsTradeCredit, ClientDataModel.GetYesOrNo(Model.IsTradeCredit))
|
|
}
|
|
</tr>
|
|
<tr>
|
|
@Html.MyDisplayFor(m => m.Abbreviation)
|
|
@Html.MyDisplayFor(m => m.SamePeerDesc)
|
|
<td></td>
|
|
<td></td>
|
|
</tr>
|
|
}
|
|
}
|
|
else
|
|
{
|
|
if (PS.Config.ErpElement.HasClientSide)
|
|
{
|
|
<tr>
|
|
@Html.MyDisplayFor(m => m.Code)
|
|
@Html.MyDisplayFor(m => m.Seller)
|
|
@Html.MyDisplayFor(model => model.CustomerManager)
|
|
</tr>
|
|
<tr>
|
|
@Html.MyDisplayFor(m => m.MarginOptionType, ClientDataModel.GetMarginOptionTypeName(Model.MarginOptionType))
|
|
@Html.MyDisplayFor(m => m.SamePeerDesc)
|
|
@if (PS.Config.ClientElement.IsCreditLimit)
|
|
{
|
|
@Html.MyDisplayFor(m => m.IsCreditOn, ClientDataModel.GetYesOrNo(Model.IsCreditOn))
|
|
}
|
|
else
|
|
{
|
|
@Html.MyDisplayFor(m => m.IsTradeCredit, ClientDataModel.GetYesOrNo(Model.IsTradeCredit))
|
|
}
|
|
</tr>
|
|
<tr>
|
|
@Html.MyDisplayFor(m => m.Abbreviation)
|
|
@Html.MyDisplayFor(m => m.DefaultLoginName)
|
|
<td></td>
|
|
<td></td>
|
|
</tr>
|
|
}
|
|
else
|
|
{
|
|
<tr>
|
|
@Html.MyDisplayFor(m => m.Code)
|
|
@Html.MyDisplayFor(m => m.Seller)
|
|
@Html.MyDisplayFor(model => model.CustomerManager)
|
|
</tr>
|
|
<tr>
|
|
@Html.MyDisplayFor(m => m.MarginOptionType, ClientDataModel.GetMarginOptionTypeName(Model.MarginOptionType))
|
|
@Html.MyDisplayFor(m => m.Abbreviation)
|
|
@if (PS.Config.ClientElement.IsCreditLimit)
|
|
{
|
|
@Html.MyDisplayFor(m => m.IsCreditOn, ClientDataModel.GetYesOrNo(Model.IsCreditOn))
|
|
}
|
|
else
|
|
{
|
|
@Html.MyDisplayFor(m => m.IsTradeCredit, ClientDataModel.GetYesOrNo(Model.IsTradeCredit))
|
|
}
|
|
</tr>
|
|
<tr>
|
|
@Html.MyDisplayFor(m => m.SamePeerDesc)
|
|
<td></td>
|
|
<td></td>
|
|
<td></td>
|
|
<td></td>
|
|
</tr>
|
|
}
|
|
}
|
|
}
|
|
else
|
|
{
|
|
if (PS.Config.ErpElement.HasClientSide)
|
|
{
|
|
<tr>
|
|
@Html.MyDisplayFor(m => m.DefaultLoginName)
|
|
@Html.MyDisplayFor(m => m.Seller)
|
|
@Html.MyDisplayFor(model => model.CustomerManager)
|
|
</tr>
|
|
<tr>
|
|
@Html.MyDisplayFor(m => m.MarginOptionType, ClientDataModel.GetMarginOptionTypeName(Model.MarginOptionType))
|
|
@Html.MyDisplayFor(m => m.Abbreviation)
|
|
@if (PS.Config.ClientElement.IsCreditLimit)
|
|
{
|
|
@Html.MyDisplayFor(m => m.IsCreditOn, ClientDataModel.GetYesOrNo(Model.IsCreditOn))
|
|
}
|
|
else
|
|
{
|
|
@Html.MyDisplayFor(m => m.IsTradeCredit, ClientDataModel.GetYesOrNo(Model.IsTradeCredit))
|
|
}
|
|
</tr>
|
|
<tr>
|
|
@Html.MyDisplayFor(m => m.SamePeerDesc)
|
|
<td></td>
|
|
<td></td>
|
|
<td></td>
|
|
<td></td>
|
|
</tr>
|
|
}
|
|
else
|
|
{
|
|
<tr>
|
|
@Html.MyDisplayFor(m => m.MarginOptionType, ClientDataModel.GetMarginOptionTypeName(Model.MarginOptionType))
|
|
@Html.MyDisplayFor(m => m.Seller)
|
|
@Html.MyDisplayFor(model => model.CustomerManager)
|
|
</tr>
|
|
<tr>
|
|
@Html.MyDisplayFor(m => m.Abbreviation)
|
|
@Html.MyDisplayFor(m => m.SamePeerDesc)
|
|
@if (PS.Config.ClientElement.IsCreditLimit)
|
|
{
|
|
@Html.MyDisplayFor(m => m.IsCreditOn, ClientDataModel.GetYesOrNo(Model.IsCreditOn))
|
|
}
|
|
else
|
|
{
|
|
@Html.MyDisplayFor(m => m.IsTradeCredit, ClientDataModel.GetYesOrNo(Model.IsTradeCredit))
|
|
}
|
|
</tr>
|
|
}
|
|
}
|
|
<tr>@Html.MyDisplayFor(m => m.AdminFullName)@Html.MyDisplayFor(m => m.AdminRegisteredNum)@Html.MyDisplayFor(m => m.ParentId, ClientDataModel.GetParentName(Model.ParentId))</tr>
|
|
<tr>
|
|
@Html.MyDisplayFor(m => m.NFICode)@Html.MyDisplayFor(m => m.CounterpartyCode)@if (PS.Config.ErpElement.SecuritiesEnvironment)
|
|
{
|
|
@Html.MyDisplayFor(m => m.AccessRuleDesc)
|
|
}
|
|
else
|
|
{
|
|
<td></td>
|
|
<td></td>
|
|
}
|
|
</tr>
|
|
<tr>
|
|
@Html.MyDisplayFor(m => m.ConfirmBookMode)
|
|
@Html.MyDisplayFor(m => m.IsListedStr)
|
|
@Html.MyDisplayFor(m => m.IsInsidedStr)
|
|
</tr>
|
|
<tr>
|
|
@Html.MyDisplayFor(m => m.SettlementCurrency)
|
|
@Html.MyDisplayFor(m => m.BoundSideDesc)
|
|
@Html.MyDisplayFor(m => m.Seat)
|
|
</tr>
|
|
@if (YLErp.PS.Config.Company == CompanyEnum.中金)
|
|
{
|
|
<tr>
|
|
@Html.MyDisplayFor(m => m.AgreementBookNo)
|
|
@Html.MyDisplayFor(m => m.AgreementBookTypeDesc)
|
|
@Html.MyDisplayFor(m => m.ClearingAgency)
|
|
</tr>
|
|
<tr>
|
|
@Html.MyDisplayFor(m => m.MainProtocolCode)
|
|
@Html.MyDisplayFor(m => m.SupProtocolCode)
|
|
@Html.MyDisplayFor(m => m.ProductName)
|
|
</tr>
|
|
}
|
|
<tr>
|
|
@Html.MyDisplayFor(m => m.IsDocShowParentName, ClientDataModel.GetYesOrNo(Model.IsDocShowParentName))
|
|
@{
|
|
var ActualSubject = Model.MetaDic.Keys.Contains("同一主体") ? Model.MetaDic["同一主体"] : "";
|
|
|
|
<th class="tdRight">同一主体</th>
|
|
<td>@ActualSubject</td>
|
|
<th></th>
|
|
<td></td>
|
|
}
|
|
</tr>
|
|
<tr>
|
|
<th class="tdRight">备注</th>
|
|
<td colspan="5" id="remarks">
|
|
@if (Model != null)
|
|
{
|
|
if (Model.Remark != null && Model.Remark.StartsWith("http://"))
|
|
{
|
|
<a href="@(Model.Remark)" style="text-decoration:underline;" target="_blank">@(Model.Remark)</a>
|
|
}
|
|
else
|
|
{
|
|
@Html.Raw(Model.Remark)
|
|
}
|
|
}
|
|
</td> @Html.MyDisplayFor(m => m.IsDocShowParentName, ClientDataModel.GetYesOrNo(Model.IsDocShowParentName))
|
|
</tr>
|
|
@if (YLErp.PS.Config.Is方顿)
|
|
{
|
|
<tr>
|
|
<th class="tdRight">预付金追加方式</th>
|
|
<td colspan="3" id="RuleT0orT1">@(string.IsNullOrWhiteSpace(Model.RuleT0orT1) ? "T+0" : Model.RuleT0orT1)</td>
|
|
</tr>
|
|
}
|
|
</table>
|
|
</div>
|
|
|
|
<div id="investment-risk-info" class="tab-pane">
|
|
<table class="table table-bordered inputInfo">
|
|
<tr>@Html.MyDisplayFor(m => m.FinancialSituation)@Html.MyDisplayFor(m => m.IsIndustryConnectVariety, ClientDataModel.GetYesOrNo(Model.IsIndustryConnectVariety))@Html.MyDisplayFor(m => m.FundsSource, ClientDataModel.GetFundsSource(Model.FundsSource))</tr>
|
|
<tr>@Html.MyDisplayFor(m => m.InvestmentTerm, ClientDataModel.GetInvestment(Model.InvestmentTerm))@Html.MyDisplayFor(m => m.AcceptableLoss)@Html.MyDisplayFor(m => m.ExpectedReturn2)</tr>
|
|
<tr>@Html.MyDisplayFor(m => m.InvestmentExperience)@Html.MyDisplayFor(m => m.TransactionTarget)@Html.MyDisplayFor(m => m.IsRealControl, ClientDataModel.GetYesOrNo(Model.IsRealControl))</tr>
|
|
<tr><th class='tdRight'>@(PS.Config.Is中财 ? "投资知识" : "风险偏好")</th><td>@Model.RiskPreference</td>@Html.MyDisplayFor(m => m.DerivativesInvestmentVarieties, Model.DerivativesInvestmentVarietiesName)@Html.MyDisplayFor(m => m.BadFaithRecord, ClientDataModel.GetBadFaithRecord(Model.BadFaithRecord))</tr>
|
|
<tr>
|
|
<th class="tdRight">交易资产</th>
|
|
<td>@(Model.GetTradingInstTypeDesc())</td>
|
|
<th class="tdRight"></th>
|
|
<td></td>
|
|
<th class="tdRight"></th>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
<span></span>
|
|
</div>
|
|
|
|
<div id="suitably" class="tab-pane">
|
|
<table class="table table-bordered inputInfo">
|
|
<tr>@Html.MyDisplayFor(m => m.ProperClientClass)@Html.MyDisplayFor(m => m.IsEvaluate, ClientDataModel.GetYesOrNo(Model.IsEvaluate))@Html.MyDisplayFor(m => m.QuestionnaireScore)</tr>
|
|
<tr>
|
|
@{
|
|
var text = ClientDataModel.GetAppropriatenessList().Where(item => item.Value == Model.AppropriatenessDegree?.ToString()).FirstOrDefault()?.Text;
|
|
if (Model.ProperClientClass == "专业投资者")
|
|
{
|
|
Html.MyDisplayFor(m => m.AppropriatenessDegree, text);
|
|
}
|
|
else
|
|
{
|
|
<th class="tdRight">适当性评级</th>
|
|
<td>@text</td>
|
|
}
|
|
}
|
|
@Html.MyDisplayFor(m => m.RiskServiceDegree, ClientDataModel.GetRiskServiceDegree(Model.RiskServiceDegree))
|
|
@Html.MyDisplayFor(m => m.AppropriatenessAssessor, ClientDataModel.GetAppropriatenessAssessorName(Model.AppropriatenessAssessor == null ? 0 : Model.AppropriatenessAssessor.Value))
|
|
</tr>
|
|
<tr>@Html.MyDisplayFor(model => model.EvaluateDate)@Html.MyDisplayFor(model => model.EvaluateOfValidity)@Html.MyDisplayFor(m => m.IsRequireConversionTypes, ClientDataModel.GetYesOrNo(Model.IsRequireConversionTypes))</tr>
|
|
<tr>@Html.MyDisplayFor(m => m.IsAssessmentResultChange, ClientDataModel.GetYesOrNo(Model.IsAssessmentResultChange))@Html.MyDisplayFor(m => m.ChangeReasonAndEvaluationResults)@Html.MyDisplayFor(m => m.DisbeliefRecord)</tr>
|
|
</table>
|
|
</div>
|
|
|
|
<div id="bankcardlist" class="tab-pane">
|
|
<span class="label label-info">银行卡列表</span>
|
|
<div style="min-width: 1000px;" id="divbankcardEditPopInner"></div>
|
|
</div>
|
|
|
|
<div id="clientFiles" class="tab-pane">
|
|
<span class="label label-info">文件列表</span>
|
|
<div class="mb-3">
|
|
<div class='inline-4' id='divfileTypeForSearch'>
|
|
@Html.MyAceDropdownInput("fileTypeForSearch", "文件类型:", ClientDataModel.getFileTypes())
|
|
</div>
|
|
<div class='inline-4' id='divfileNameForSearch'>
|
|
@Html.ShortInput("fileNameForSearch", "文件名:")
|
|
</div>
|
|
<div class='inline-4' id='divfileDateForSearch'>
|
|
@Html.SearchDate("fileDate", "日期:")
|
|
</div>
|
|
@MyControls.Btn("查询", "refreshClientFiles()")
|
|
</div>
|
|
<div style="min-width: 1000px;" id="divClientFilesEditPopInner"></div>
|
|
</div>
|
|
|
|
<div id="clientDuty" class="tab-pane">
|
|
<span class="label label-info" style="color:#ff6462">客户人员信息</span>
|
|
<div style="min-width: 1000px;" id="divclientdutyEditPopInner"></div>
|
|
</div>
|
|
|
|
<div id="suitably" class="tab-pane">
|
|
<span class="label label-info">文件列表</span>
|
|
<div style="min-width: 1000px;" id="divClientFilesEditSuitablyPopInner"></div>
|
|
</div>
|
|
</div>
|
|
|