@using System.Text @using Abp.Timing @using Org.BouncyCastle.Asn1.X509 @using ShwasherSys.Authorization.Permissions @using ShwasherSys.BasicInfo @using ShwasherSys.Models.Layout @using ShwasherSys.Views.Shared.New.Modals @using ShwasherSys.Views.Shared.New.Table @{ ViewBag.Title = "对账单信息维护"; string activeMenu = PermissionNames.PagesInvoiceInfoStatementBill; //The menu item will be active for this page. ViewBag.ActiveMenu = activeMenu; List customerItems = ViewBag.CustomerList; StringBuilder strOptionCustomer = new StringBuilder(); strOptionCustomer.Append(""); foreach (var c in customerItems) { strOptionCustomer.Append(string.Format("", c.Value, c.Value)); } List stateItems = new List() { new SelectListItem() { Value = "0", Text = "未开票" }, new SelectListItem() { Value = "1", Text = "已开票" } }; string newStatementNo = "S" + Clock.Now.ToString("yyMMddHHmmss"); var searchForm = new SearchFormViewModal(new List() { new SearchItem("statementBillNo","对账单号"), new SearchItem("customerId","客户编号").SetSearchIcon("query_customer_modal","SearchForm"), new SearchItem("statementState","是否开票",FiledType.Inull,ExpType.Equal).SetSearchItem(stateItems,isAddBlank:true), new SearchItem("orderStickBillNo","发票号"), }); var table = new TableViewModel("/api/services/app/StatementBill/GetAll", activeMenu, searchForm) .SetFields(new List() { new FieldItem("statementBillNo", "对账单编号"), new FieldItem("customerId", "客户编号"), new FieldItem("customerName", "客户名称"), new FieldItem("description", "备注"), new FieldItem("creationTime", "创建时间","DateFormatter"), new FieldItem("billMan", "对账人员"), new FieldItem("statementState", "是否开票","StatementStateFormatter"), new FieldItem("orderStickBillNo", "发票号"), }); } @section css{ }
@section modal{ @{ // var modal = new ModalViewModel("人员", new ModalBodyViewModel(new List() //{ // new InputHide("id"), // new Input("no", "人员编号"), // new Input("name", "人员姓名"), // new Input("phoneNumber", "手机号").SetNotRequired(), // new Input("cardId", "身份证号").SetNotRequired(), // new InputTextarea("description", "详情").SetNotRequired(), // })); var modal = new ModalViewModel("修改备注", new ModalBodyViewModel(new List() { new InputHide("id"), //new Input("gender", "性别").SetSelectOptions(gender), //new Input("departmentNo", "部门").SetNotRequired().SetSelectOptions(depart), //new Input("dutyNo", "职务").SetNotRequired().SetSelectOptions(duty), new InputTextarea("description", "备注").SetNotRequired() //new Input("userName", "登陆账号").SetNotRequired(), })); // var accountModal = new ModalViewModel("绑定账号", new ModalBodyViewModel(new List() //{ // new InputHide("id"), // new Input("userName", "登陆账号",InputTypes.List), // }), "Account_Modal"); } @Html.Partial("New/Modals/_Modal", modal) @*@Html.Partial("New/Modals/_Modal", accountModal)*@
@Html.Partial("Modals/Query/_Customer", "KeyWords-2|customerId")
} @section scripts { }
@*@Html.DropDownList("hid-du", duty) @Html.DropDownList("hid-de", depart) @Html.DropDownList("hid-gender", gender)*@