57 lines
1.9 KiB
Plaintext
57 lines
1.9 KiB
Plaintext
@model YLErp.Modules.ClientModule.DongGuanClientImportResult
|
|
|
|
@{
|
|
ViewBag.Title = "客户信息";
|
|
Layout = "~/Views/Shared/_InfoLayout.cshtml";
|
|
}
|
|
|
|
@section CSS{
|
|
<style>
|
|
.templateTip dd, .templateTip dt { line-height: 22px; letter-spacing: 2px; margin-bottom: 5px; }
|
|
</style>
|
|
}
|
|
|
|
@section JS{
|
|
<script>
|
|
$(function () {
|
|
$('#form1').on('submit', function () {
|
|
var fileName = $('#openFile').val();
|
|
if (!fileName) {
|
|
return main.alert("请选择文件!");
|
|
}
|
|
$('#divLoading').show();
|
|
$('#btnSubmit').prop('disabled',true);
|
|
return true;
|
|
});
|
|
});
|
|
window.history.replaceState(null, null, "@Url.Action("ImportDongGuanClientView")");
|
|
</script>
|
|
}
|
|
|
|
@if (Model != null)
|
|
{
|
|
<div class="alert alert-success alert-dismissible fade show">
|
|
<p>@(Model.ResultMsg)</p>
|
|
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
|
<span aria-hidden="true">×</span>
|
|
</button>
|
|
</div>
|
|
}
|
|
|
|
<div class="yc-panel">
|
|
<form id="form1" method="post" action="@Url.Action("ImportDongGuanClient")" enctype="multipart/form-data">
|
|
<div class="form-group">
|
|
<input type="file" id="openFile" name="file" accept=".xlsx" style="display:inline;" />
|
|
<button type="submit" class="btn btn-primary" id="btnSubmit">导入数据</button>
|
|
<a class="btn btn-primary" href="/App_Docs/导入模板/非自然人客户导入模版(大投行类、锦信类、宏德类、上分类、深分投资端类).xlsx">模板文件</a>
|
|
</div>
|
|
</form>
|
|
<div class="mt-4" id="divLoading" style="display:none">
|
|
<div class="spinner-border spinner-border-sm" style="margin-bottom:2px;"></div><span class="ml-2">处理中...</span>
|
|
</div>
|
|
</div>
|
|
|
|
<dl class="yc-panel">
|
|
</dl>
|
|
|