@using EnumHelper = System.Web.Mvc.Html.EnumHelper @{ ViewBag.Title = "财务汇总"; ViewBag.Menu = "结算财务-财务汇总"; Layout = "~/Views/Shared/_MainLayout.cshtml"; DateTime now = DateTime.Now; var pageObj = new { CurDate = ViewBag.CurrentDate?.ToString(), SummaryType = ViewBag.SummaryType?.ToString(), currentPeriodStartDate = ViewBag.CurrentPeriodStart, monthFirstDay = ViewBag.MonthFirstDay, lastValueDate = ViewBag.LastValueDate, IsUseDisplayNotional = PS.Config.IsUseDisplayNotional, ViewTagPermission = CurUser.客户管理.客户标签查看权限, }; } @section CSS{ } @section JS{ }
@Html.SearchDateRange("FinTradeConfirmDate", "选择日期") @if (PS.Config.Is中粮) { @Html.MyAceDropdownInput("ZLVoucherType", "凭证类型", EnumHelper.GetSelectList(typeof(FinancialVoucher_YongYouEnum_ZhongLiang)), appendEmptyAll: false, multiple: false) } else { @Html.MyAceDropdownInput("VoucherType", "凭证类型", EnumHelper.GetSelectList(typeof(FinancialVoucher_YongYouEnum)), appendEmptyAll: false, multiple: false) } @MyControls.Btn("导出凭证", "OutputFinancialVoucher()") @if (CurUser.结算管理_财务编码维护) { @MyControls.Btn("维护财务编码", "MaintenanceClientCode()") }
@Html.SearchDateRange("CurrentPeriodDate", "本期区间") * @Html.MyAceDropdownInput("BookId", "簿记账户", AssetunitController.GetClientassetunit()) @Html.MyAceDropdownInput("GroupId", "簿记账户组", AssetUnitModel.GetAllAssetUnitGroupItem()) @Html.ShortInput("VarietyCode", "品种代码") @Html.ShortInput("VarietyName", "品种名称")
@Html.MyAceDropdownInput("ClientId", "客户名称", ClientDataModel.GetAllClient()) * @Html.ShortInput("TradeNumber", "交易编号") @Html.ShortInput("ContractCode", "确认书编号") @Html.SearchDateRange("TradeConfirmDate", "交易日期") @Html.SearchDateRange("ClearConfirmDate", "了结日期") * @Html.MyAceDropdownInput2("TradeStatus", "交易状态", GlobalData.GetSelectItems(new List { "", "已完结", "未完结" }), false) @if (pageObj.ViewTagPermission) { @Html.MyAceDropdownInput("ClientTagIds", "客户标签值", TagController.GetTradeTagList(CurUser, YLErp.Enums.TagTypeEnum.Customer)) } @Html.MyAceDropdownInput("TagIds", "标签值", TagController.GetTradeTagList(CurUser))
@MyControls.SearchBtn() @MyControls.Btn("导出汇总列表", "Output('财务汇总')")
@MyControls.Btn("开仓明细", "ShowDetailPage('开仓明细')") @MyControls.Btn("持仓明细", "ShowDetailPage('持仓明细')") @MyControls.Btn("平仓明细", "ShowDetailPage('平仓明细')")
@Html.Raw(JqGridSimple.OutTable())
@Html.Raw(JqGridSimple.OutTable(1))