57 lines
2.1 KiB
Plaintext
57 lines
2.1 KiB
Plaintext
|
|
@{
|
|
ViewBag.Title = "交易管理 | 远期交易导入";
|
|
ViewBag.Title = "TradeUpload";
|
|
Layout = "~/Views/Shared/_InfoLayout.cshtml";
|
|
|
|
|
|
}
|
|
|
|
@section JS
|
|
{
|
|
<script src="~/Scripts/app/trade/tradeUpload.js?v=2"></script>
|
|
}
|
|
|
|
|
|
<form id="tradeUploadForm" method="post" class="yc-panel" onsubmit="return false;" style="padding-bottom:30px;">
|
|
<h4 class="mb-4">远期交易导入</h4>
|
|
<div class="mb-4">
|
|
<input type="file" id="openFile" name="file" accept=".xlsx" />
|
|
<button class="btn btn-primary" type="button" onclick="closeMe();">关闭</button>
|
|
</div>
|
|
<div class="mb-4">
|
|
@if (PS.Config.ErpElement.ForwardTradePriceModel == @YLErp.Configuration.Enums.ForwardTradePriceModel.STANDARD)
|
|
{
|
|
@MyControls.Btn("导入远期交易", "uploadTrade('/ForwardTrade/UploadTradeExcel?TypeName=远期交易')")
|
|
}
|
|
else
|
|
{
|
|
@MyControls.Btn("导入远期交易挂钩标的", "uploadTrade('/ForwardTrade/UploadTradeExcel?TypeName=远期交易挂钩标的')")
|
|
}
|
|
|
|
@MyControls.Btn("导入远期交易批量了结", "uploadTrade('/ForwardTrade/UploadTradeExcel?TypeName=远期交易批量了结')")
|
|
</div>
|
|
</form>
|
|
|
|
<div class="yc-panel" style="padding-bottom:60px;">
|
|
<h4 class="mb-3">远期交易导入模板下载</h4>
|
|
<div class="mb-4">
|
|
@if (PS.Config.ErpElement.ForwardTradePriceModel == @YLErp.Configuration.Enums.ForwardTradePriceModel.STANDARD)
|
|
{
|
|
<a class="btn btn-link" href="/App_Docs/导入模板/远期交易导入模板.xlsx" target="_blank">
|
|
远期交易导入模板下载
|
|
</a>
|
|
}
|
|
else
|
|
{
|
|
<a class="btn btn-link" href="/App_Docs/导入模板/远期交易挂钩标的导入模板.xlsx" target="_blank">
|
|
远期交易挂钩标的导入模板下载
|
|
</a>
|
|
}
|
|
<a class="btn btn-link" href="/App_Docs/导入模板/远期交易批量了结导入模板.xlsx" target="_blank">
|
|
远期交易批量了结导入模板下载
|
|
</a>
|
|
</div>
|
|
</div>
|
|
|