Files
zszq-trs/YLErpWeb/Views/EodPrice/eodPriceList.cshtml
T
2024-05-09 14:06:26 +08:00

55 lines
2.0 KiB
Plaintext

@{
var DataSources = new List<string> { "系统", "人工" };
ViewBag.Title = "日终价格管理";
Layout = "~/Views/Shared/_InfoLayout.cshtml";
}
@section CSS{
<style>
.container { width: 100%; }
@@media (min-width: 1400px) {
.container { max-width: 1400px; }
}
.card-import-result .close { display: none; }
</style>
}
@section JS{
<script>
var curdate = "@valuedateBLL.ValueDate.ToString("yyyy-MM-dd")";
</script>
<script src="~/Scripts/app/eod/eodPriceList.js?v=@(HtmlUtil.JsVersion)"></script>
}
<div style="display:none;width:350px;" id="errormessage"></div>
<div class="searchdiv">
@Html.SearchDateRange("ValueDate", "估值日期")
@Html.MyAceDropdownInput2("DataSource", "数据来源", GlobalData.GetSelectItems(DataSources))
@Html.MyAceDropdownInput2("MarketName", "市场", MarketController.GetAllmarketName())
@Html.ShortInput("UnderlyingCode", "标的代码")
@MyControls.SearchBtn()
@if (CurUser.结算管理_日终价格修改)
{
@MyControls.Btn("上传", "uploadSettlementBill()")
}
@MyControls.Btn("导出", "downloadExcel()")
<a class="btn btn-primary" href="/download/ImportTemplate/结算价上传模板" target="_blank">上传模板下载</a>
</div>
@Html.Raw(JqGridSimple.OutTable())
<script type="text/html" id="uploadTpl">
<div class="container" style="overflow:hidden;padding:20px;">
<form class="form-horizontal" method="post" id="formImport" onsubmit="return false">
<div>
<input type="file" id="openFile" name="file" accept="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" />
</div>
<div style="margin: 0px auto; padding: 10px;">
<input class="btn btn-primary" type="button" onclick="importDatas();return false;" value="导入数据" />
<input class="btn btn-primary" type="button" onclick="layer.closeAll();return false;" value="关闭" />
</div>
</form>
</div>
</script>