36 lines
1.2 KiB
Plaintext
36 lines
1.2 KiB
Plaintext
@{
|
|
Layout = "~/Views/Shared/_MainLayout.cshtml";
|
|
}
|
|
|
|
@section JS{
|
|
<script src="~/Scripts/app/underlying/varietyList.js?v=@(HtmlUtil.JsVersion)"></script>
|
|
}
|
|
|
|
<div class="searchdiv">
|
|
@Html.MyAceDropdownInput2("TradingMarketId", "交易市场", MarketController.GetAllmarket(true), true, "Valid")
|
|
@Html.MyAceDropdownInput2("AssetType", "品种类型", DictionaryBLL.GetList("品种类型", false), true, "Valid")
|
|
@Html.ShortInput("VarietyCode", "品种代码")
|
|
@Html.ShortInput("VarietyName", "品种名称")
|
|
@MyControls.SearchBtn()
|
|
@if (CurUser.基础参数管理.标的品种编辑)
|
|
{
|
|
@MyControls.Btn("新增", "startAddvariety()")
|
|
@MyControls.Btn("导入", "importVariety()")
|
|
}
|
|
@MyControls.Btn("导出", "downloadExcel()")
|
|
</div>
|
|
@Html.Raw(JqGridSimple.OutTable())
|
|
|
|
@await Html.PartialAsync("/Views/Common/_importFiles.cshtml", new ImportFileModel()
|
|
{
|
|
Title = "上传品种",
|
|
Accept = ".*",
|
|
Buttons = new Dictionary<string, BtnReq>()
|
|
{
|
|
["上传"] = new BtnReq() { OnClick = "uploadVariety()" },
|
|
["下载模板"] = new BtnReq() { OnClick = "downTemplate()" },
|
|
["下载手续费导入模板"] = new BtnReq() { OnClick = "downTemplate2()" },
|
|
},
|
|
})
|
|
|