public ActionResult Index() { var codeService = new sys_codeService(); var model = new { urls = MmsHelper.GetIndexUrls("return"), resx = MmsHelper.GetIndexResx("退货单"), dataSource = new { warehouseItems = new mms_warehouseService().GetWarehouseItems(MmsHelper.GetCurrentProject()), priceKinds = codeService.GetValueTextListByType("Pricing"), payKinds = codeService.GetValueTextListByType("PayType") }, form = new { BillNo = "", ReturnUnitName = "", MerchantsName = "", WarehouseCode = "", PriceKind = "", ReturnDate = "" } }; return(View(model)); }
public ActionResult Index() { var codeService = new sys_codeService(); var model = new { urls = MmsHelper.GetIndexUrls("deal"), resx = MmsHelper.GetIndexResx("处置单"), dataSource = new { disposalTypes = codeService.GetValueTextListByType("DisposalType"), disposalWays = codeService.GetValueTextListByType("DisposalWay") }, form = new { BillNo = "", ProjectName = "", DoPerson = "", DealType = "", DealKind = "", ApplyDate = "" } }; return(View(model)); }
public ActionResult Index() { var codeService = new sys_codeService(); var model = new { urls = new { query = "/api/Pyn/ImageGrabbing", //remove = "/api/Pyn/ImageGrabbing/", // billno = "/api/Pyn/ImageGrabbing/getnewbillno", //audit = "/api/Pyn/ImageGrabbing/audit/", newkey = "/api/Pyn/ImageGrabbing/getnewkey", edit = "/api/Pyn/ImageGrabbing/getedit" }, resx = new { detailTitle = "单据明细", noneSelect = "请先选择一条单据!", deleteConfirm = "确定要删除选中的单据吗?", deleteSuccess = "删除成功!", //auditSuccess = "单据已审核!" }, dataSource = new{ camaraSerie = codeService.GetValueTextListByType("CamaraSerie"), camaraType = codeService.GetValueTextListByType("ImageGrabbing"), // isEnable = codeService.GetValueTextListByType("IsEnable") }, form = new{ ID = "", Serie = "", Type = "", Description = "", IsEnable = "True", CreatePerson = "", CreateDate = "", UpdatePerson = "", UpdateDate = "" }, //idField="ID" defaultRow = new { }, setting = new { idField = "ID", postListFields = new string[] { "ID", "Serie", "Type", "Description", "IsEnable", "CreatePerson", "CreateDate", "UpdatePerson", "UpdateDate" } } }; return(View(model)); }
public ActionResult Index() { var code = new sys_codeService(); var model = new { dataSource = new{ dsPricing = code.GetValueTextListByType("Pricing") }, urls = new{ query = "/api/mms/Merchants", newkey = "/api/mms/Merchants/getnewkey", edit = "/api/mms/Merchants/edit" }, resx = new{ noneSelect = "请先选择一条数据!", editSuccess = "保存成功!", auditSuccess = "单据已审核!" }, form = new{ MerchantsTypeName = "" , RegisterFund = "" }, defaultRow = new { }, setting = new{ idField = "MerchantsCode", postListFields = new string[] { "ChargePerson" ,"BuildDate" } }; }; return View(model); }
public ActionResult Index() { var code = new sys_codeService(); var model = new { dataSource = new{ dsPricing = code.GetValueTextListByType("Pricing") }, urls = new{ query = "/api/Sys/sys_Systemabnormallog", newkey = "/api/Sys/sys_Systemabnormallog/getnewkey", edit = "/api/Sys/sys_Systemabnormallog/edit" }, resx = new{ noneSelect = "请先选择一条数据!", editSuccess = "保存成功!", auditSuccess = "单据已审核!" }, form = new{ UnabnormalReason = "", UnabnormalDescription = "", Remark = "", Create_Time = "", Create_Person = "" }, defaultRow = new { }, setting = new{ idField = "Object_ID", postListFields = new string[] { "Object_ID", "RowID", "UnabnormalReason", "UnabnormalDescription", "Remark", "Modify_Time", "Modify_Person", "Create_Time", "Create_Person" } } }; return(View(model)); }
public ActionResult Index() { var code = new sys_codeService(); var model = new { dataSource = new{ dsPricing = code.GetValueTextListByType("Pricing") }, urls = new{ query = "/api/Mms/LossReportBatches", newkey = "/api/Mms/LossReportBatches/getnewkey", edit = "/api/Mms/LossReportBatches/edit" }, resx = new{ noneSelect = "请先选择一条数据!", editSuccess = "保存成功!", auditSuccess = "单据已审核!" }, form = new{ MaterialCode = "" , Money = "" , SrcRowId = "" }, defaultRow = new { }, setting = new{ idField = "RowId", postListFields = new string[] { "RowId" ,"Num" ,"SrcBillNo" } } }; return View(model); }
public ActionResult Index() { var code = new sys_codeService(); var model = new { dataSource = new{ dsPricing = code.GetValueTextListByType("Pricing") }, urls = new{ query = "/api/mms/Code", newkey = "/api/mms/Code/getnewkey", edit = "/api/mms/Code/edit" }, resx = new{ noneSelect = "请先选择一条数据!", editSuccess = "保存成功!", auditSuccess = "单据已审核!" }, form = new{ Code = "" , Text = "" }, defaultRow = new { }, setting = new{ postListFields = new string[] { "Value" ,"Text" ,"Seq" } }; return View(model); } }
public ActionResult Index() { var code = new sys_codeService(); var model = new { dataSource = new{ dsPricing = code.GetValueTextListByType("Pricing") }, urls = new{ query = "/api/Mms/Liy", newkey = "/api/Mms/Liy/getnewkey", edit = "/api/Mms/Liy/edit" }, resx = new{ noneSelect = "请先选择一条数据!", editSuccess = "保存成功!", auditSuccess = "单据已审核!" }, form = new{ DepartmentID = "", IsValid = "", ApproveState = "", Remark = "", OutDateTime = "" }, defaultRow = new { }, setting = new{ idField = "ID", postListFields = new string[] { "ID", "DepartmentID", "IsValid", "OutDateTime", "ApproveState", "ApprovePerson", "ApproveDate", "ApproveRemark", "Remark" } } }; return(View(model)); }
public ActionResult Index() { var code = new sys_codeService(); var model = new { dataSource = new{ dsPricing = code.GetValueTextListByType("Pricing") }, urls = new{ query = "/api/mms/ProductTest", newkey = "/api/mms/ProductTest/getnewkey", edit = "/api/mms/ProductTest/edit" }, resx = new{ noneSelect = "请先选择一条数据!", editSuccess = "保存成功!", auditSuccess = "单据已审核!" }, form = new{ ProductName = "", ProductCode = "", ProductColor = "", ProductType = "", ProductDate = "" }, defaultRow = new { }, setting = new{ idField = "ID", postListFields = new string[] { "ID", "ProductName", "ProductCode", "ProductColor", "ProductType", "ProductDate", "Qty", "Money" } } }; return(View(model)); }
public ActionResult Index() { var code = new sys_codeService(); var model = new { dataSource = new{ dsPricing = code.GetValueTextListByType("Pricing") }, urls = new{ query = "/api/mms/Log", newkey = "/api/mms/Log/getnewkey", edit = "/api/mms/Log/edit" }, resx = new{ noneSelect = "请先选择一条数据!", editSuccess = "保存成功!", auditSuccess = "单据已审核!" }, form = new{ UserCode = "" , UserName = "" , Target = "" }, defaultRow = new { }, setting = new{ idField = "ID", postListFields = new string[] { "UserCode" ,"UserName" ,"Position" ,"Target" } }; }; return View(model); }
public ActionResult Index() { var code = new sys_codeService(); var model = new { dataSource = new{ dsPricing = code.GetValueTextListByType("Pricing") }, urls = new{ query = "/api/Trade/Area", newkey = "/api/Trade/Area/getnewkey", edit = "/api/Trade/Area/edit" }, resx = new{ noneSelect = "请先选择一条数据!", editSuccess = "保存成功!", auditSuccess = "单据已审核!" }, form = new{ areacd = "", parentcd = "", areahelpcd = "", areaname = "" }, defaultRow = new { }, setting = new{ idField = "keyid", postListFields = new string[] { "keyid", "areacd", "parentcd", "areahelpcd", "areaname", "attreg", "isportid", "isdockid", "isairportid", "zoneid", "stateid", "CreatePerson", "createdate", "UpdatePerson", "UpdateDate" } } }; return(View(model)); }
public ActionResult Index() { var code = new sys_codeService(); var model = new { dataSource = new{ dsPricing = code.GetValueTextListByType("Pricing") }, urls = new{ query = "/api/mms/Merchants", newkey = "/api/mms/Merchants/getnewkey", edit = "/api/mms/Merchants/edit" }, resx = new{ noneSelect = "请先选择一条数据!", editSuccess = "保存成功!", auditSuccess = "单据已审核!" }, form = new{ MerchantsTypeName = "", RegisterFund = "" }, defaultRow = new { }, setting = new{ idField = "MerchantsCode", postListFields = new string[] { "ChargePerson", "BuildDate" } }; }; return(View(model)); }
public ActionResult Index() { var code = new sys_codeService(); var model = new { dataSource = new{ dsPricing = code.GetValueTextListByType("Pricing") }, urls = new{ query = "/api/Trade/Line", newkey = "/api/Trade/Line/getnewkey", edit = "/api/Trade/Line/edit" }, resx = new{ noneSelect = "请先选择一条数据!", editSuccess = "保存成功!", auditSuccess = "单据已审核!" }, form = new{ linecd = "" , line = "" , bizlist = "" }, defaultRow = new { }, setting = new{ idField = "keyid", postListFields = new string[] { "keyid" ,"linecd" ,"line" ,"bizlist" ,"stateid" } } }; return View(model); }
public ActionResult Index() { var code = new sys_codeService(); var model = new { dataSource = new{ dsPricing = code.GetValueTextListByType("Pricing") }, urls = new{ query = "/api/Mms/LossReportBatches", newkey = "/api/Mms/LossReportBatches/getnewkey", edit = "/api/Mms/LossReportBatches/edit" }, resx = new{ noneSelect = "请先选择一条数据!", editSuccess = "保存成功!", auditSuccess = "单据已审核!" }, form = new{ MaterialCode = "", Money = "", SrcRowId = "" }, defaultRow = new { }, setting = new{ idField = "RowId", postListFields = new string[] { "RowId", "Num", "SrcBillNo" } } }; return(View(model)); }
public ActionResult Index() { var code = new sys_codeService(); var model = new { dataSource = new{ dsPricing = code.GetValueTextListByType("Pricing") }, urls = new{ query = "/api/Mms/Send", newkey = "/api/Mms/Send/getnewkey", edit = "/api/Mms/Send/edit" }, resx = new{ noneSelect = "请先选择一条数据!", editSuccess = "保存成功!", auditSuccess = "单据已审核!" }, form = new{ BillNo = "", BillDate = "", DoPerson = "", ProjectCode = "", WarehouseCode = "" }, defaultRow = new { }, setting = new{ idField = "BillNo", postListFields = new string[] { "BillNo", "BillDate", "MaterialType", "Purpose", "DoPerson", "ProjectCode", "WarehouseCode", "PickUnit" } } }; return(View(model)); }
public ActionResult Index() { var code = new sys_codeService(); var model = new { dataSource = new{ dsPricing = code.GetValueTextListByType("Pricing") }, urls = new{ query = "/api/mms/LossReport", newkey = "/api/mms/LossReport/getnewkey", edit = "/api/mms/LossReport/edit" }, resx = new{ noneSelect = "请先选择一条数据!", editSuccess = "保存成功!", auditSuccess = "单据已审核!" }, form = new{ BillNo = "" , BillDate = "" , DoPerson = "" }, defaultRow = new { }, setting = new{ postListFields = new string[] { "BillNo" ,"BillDate" ,"DoPerson" ,"ProjectCode" } }; return View(model); } }
public ActionResult Index() { var code = new sys_codeService(); var model = new { dataSource = new{ dsPricing = code.GetValueTextListByType("Pricing") }, urls = new{ query = "/api/mms/Menu", newkey = "/api/mms/Menu/getnewkey", edit = "/api/mms/Menu/edit" }, resx = new{ noneSelect = "请先选择一条数据!", editSuccess = "保存成功!", auditSuccess = "单据已审核!" }, form = new{ MenuCode = "" , MenuName = "" }, defaultRow = new { }, setting = new{ idField = MenuCode; postListFields = new string[] { "MenuCode" ,"MenuName" ,"URL" ,"IconClass" ,"IconURL" } }; return View(model); } }
public ActionResult Index() { var code = new sys_codeService(); var model = new { dataSource = new{ dsPricing = code.GetValueTextListByType("Pricing") }, urls = new{ query = "/api/Trade/Area", newkey = "/api/Trade/Area/getnewkey", edit = "/api/Trade/Area/edit" }, resx = new{ noneSelect = "请先选择一条数据!", editSuccess = "保存成功!", auditSuccess = "单据已审核!" }, form = new{ areacd = "" , parentcd = "" , areahelpcd = "" , areaname = "" }, defaultRow = new { }, setting = new{ idField = "keyid", postListFields = new string[] { "keyid" ,"areacd" ,"parentcd" ,"areahelpcd" ,"areaname" ,"attreg" ,"isportid" ,"isdockid" ,"isairportid" ,"zoneid" ,"stateid" ,"CreatePerson" ,"createdate" ,"UpdatePerson" ,"UpdateDate" } } }; return View(model); }
public ActionResult Index() { var code = new sys_codeService(); var model = new { dataSource = new{ dsPricing = code.GetValueTextListByType("Pricing") }, urls = new{ query = "/api/mms/Log", newkey = "/api/mms/Log/getnewkey", edit = "/api/mms/Log/edit" }, resx = new{ noneSelect = "请先选择一条数据!", editSuccess = "保存成功!", auditSuccess = "单据已审核!" }, form = new{ UserCode = "", UserName = "", Target = "" }, defaultRow = new { }, setting = new{ idField = "ID", postListFields = new string[] { "UserCode", "UserName", "Position", "Target" } }; }; return(View(model)); }
public ActionResult Index() { var code = new sys_codeService(); var model = new { dataSource = new{ dsPricing = code.GetValueTextListByType("Pricing") }, urls = new{ query = "/api/Trade/Line", newkey = "/api/Trade/Line/getnewkey", edit = "/api/Trade/Line/edit" }, resx = new{ noneSelect = "请先选择一条数据!", editSuccess = "保存成功!", auditSuccess = "单据已审核!" }, form = new{ linecd = "", line = "", bizlist = "" }, defaultRow = new { }, setting = new{ idField = "keyid", postListFields = new string[] { "keyid", "linecd", "line", "bizlist", "stateid" } } }; return(View(model)); }
public ActionResult Index() { var code = new sys_codeService(); var model = new { dataSource = new{ dsPricing = code.GetValueTextListByType("Pricing") }, urls = new{ query = "/api/mms/Code", newkey = "/api/mms/Code/getnewkey", edit = "/api/mms/Code/edit" }, resx = new{ noneSelect = "请先选择一条数据!", editSuccess = "保存成功!", auditSuccess = "单据已审核!" }, form = new{ Code = "" , Text = "" }, defaultRow = new { }, setting = new{ postListFields = new string[] { "Value" ,"Text" ,"Seq" } }; return View(model); } }
public ActionResult Index() { var code = new sys_codeService(); var model = new { dataSource = new{ dsPricing = code.GetValueTextListByType("Pricing") }, urls = new{ query = "/api/mms/Menu", newkey = "/api/mms/Menu/getnewkey", edit = "/api/mms/Menu/edit" }, resx = new{ noneSelect = "请先选择一条数据!", editSuccess = "保存成功!", auditSuccess = "单据已审核!" }, form = new{ MenuCode = "" , MenuName = "" }, defaultRow = new { }, setting = new{ idField = MenuCode; postListFields = new string[] { "MenuCode" ,"MenuName" ,"URL" ,"IconClass" ,"IconURL" } }; return View(model); } }
public ActionResult Edit(string id) { var userName = MmsHelper.GetUserName(); var currentProject = MmsHelper.GetCurrentProject(); var data = new ReceiveApiController().GetEditMaster(id); var codeService = new sys_codeService(); var model = new { form = data.form, scrollKeys = data.scrollKeys, urls = MmsHelper.GetEditUrls("receive"), resx = MmsHelper.GetEditResx("收料单"), dataSource = new { measureUnit = codeService.GetMeasureUnitListByType(), supplyType = codeService.GetValueTextListByType("SupplyType"), payKinds = codeService.GetValueTextListByType("PayType"), warehouseItems = new mms_warehouseService().GetWarehouseItems(currentProject) }, defaultForm = new mms_receive().Extend(new { BillNo = id, BillDate = DateTime.Now, DoPerson = userName, ReceiveDate = DateTime.Now, SupplyType = codeService.GetDefaultCode("SupplyType"), PayKind = codeService.GetDefaultCode("PayType"), }), defaultRow = new { CheckNum = 1, Num = 1, UnitPrice = 0, Money = 0, PrePay = 0 }, setting = new { postFormKeys = new string[] { "BillNo" }, postListFields = new string[] { "BillNo", "RowId", "MaterialCode", "Unit", "CheckNum", "Num", "UnitPrice", "PrePay", "Money", "Remark" } } }; return(View(model)); }
public ActionResult Edit(string id) { var userName = MmsHelper.GetUserName(); var currentProject = MmsHelper.GetCurrentProject(); var data = new ReceiveApiController().GetEditMaster(id); var codeService = new sys_codeService(); var model = new { form = data.form, scrollKeys = data.scrollKeys, urls = MmsHelper.GetEditUrls("receive"), resx = MmsHelper.GetEditResx("收料单"), dataSource = new { measureUnit = codeService.GetMeasureUnitListByType(), supplyType = codeService.GetValueTextListByType("SupplyType"), payKinds = codeService.GetValueTextListByType("PayType"), warehouseItems = new mms_warehouseService().GetWarehouseItems(currentProject) }, defaultForm = new mms_receive().Extend(new { BillNo = id, BillDate = DateTime.Now, DoPerson = userName, ReceiveDate = DateTime.Now, SupplyType = codeService.GetDefaultCode("SupplyType"), PayKind = codeService.GetDefaultCode("PayType"), }), defaultRow = new { CheckNum = 1, Num = 1, UnitPrice = 0, Money = 0, PrePay = 0 }, setting = new { postFormKeys = new string[] { "BillNo" }, postListFields = new string[] { "BillNo", "RowId", "MaterialCode", "Unit", "CheckNum", "Num", "UnitPrice", "PrePay", "Money", "Remark" } } }; return View(model); }
public ActionResult Edit(string id = "") { var userName = MmsHelper.GetUserName(); var currentProject = MmsHelper.GetCurrentProject(); var data = new DealApiController().GetEditMaster(id); var codeService = new sys_codeService(); var model = new { form = data.form, scrollKeys = data.scrollKeys, urls = MmsHelper.GetEditUrls("deal"), resx = MmsHelper.GetEditResx("处置单"), dataSource = new { measureUnit = codeService.GetMeasureUnitListByType(), disposalTypes = codeService.GetValueTextListByType("DisposalType"), disposalWays = codeService.GetValueTextListByType("DisposalWay") }, defaultForm = new mms_deal().Extend(new { BillNo = id, BillDate = DateTime.Now, DoPerson = userName, ApplyDate = DateTime.Now, DealType = codeService.GetDefaultCode("DisposalType"), DealKind = codeService.GetDefaultCode("DisposalWay"), }), defaultRow = new { UnitPrice = 0, Num = 1, Money = 0, DealDate = DateTime.Now }, setting = new { postFormKeys = new string[] { "BillNo" }, postListFields = new string[] { "BillNo", "RowId", "MaterialName", "Model", "Unit", "DealDate", "ExpendCompany", "UnitPrice", "Num", "Money", "Remark" } } }; return(View(model)); }
public ActionResult Edit(string id) { var userName = MmsHelper.GetUserName(); var currentProject = MmsHelper.GetCurrentProject(); var data = new SendApiController().GetEditMaster(id); var codeService = new sys_codeService(); var model = new { form = data.form, scrollKeys = data.scrollKeys, urls = MmsHelper.GetEditUrls("send"), resx = MmsHelper.GetEditResx("发料单"), dataSource = new { priceKinds = codeService.GetValueTextListByType("Pricing"), materialUse = codeService.GetValueTextListByType("MaterialUse"), measureUnit = codeService.GetMeasureUnitListByType(), warehouseItems = new mms_warehouseService().GetWarehouseItems(currentProject) }, defaultForm = new mms_send().Extend(new { BillNo = id, BillDate = DateTime.Now, DoPerson = userName, SendDate = DateTime.Now, PriceKind = codeService.GetDefaultCode("Pricing") }), defaultRow = new { Num = 1, UnitPrice = 0, Money = 0 }, setting = new { postFormKeys = new string[] { "BillNo" }, postListFields = new string[] { "BillNo", "RowId", "MaterialCode", "Unit", "UnitPrice", "Num", "Money", "Remark", "SrcBillType", "SrcBillNo", "SrcRowId" } } }; return(View(model)); }
public ActionResult Index(string id) { if (id == null) id = MmsHelper.GetCurrentProject(); var data = new ProjectApiController().GetProjectInfo(id); var service = new sys_codeService(); var model = new { urls = new { newkey = "" }, form = data.form, scrollKeys = data.scrollKeys, dataSource = new { partAttr = service.GetValueTextListByType("PartAttr"), imagePart = service.GetValueTextListByType("ImagePart") } }; return View(model); }
public ActionResult Edit(string id) { var userName = MmsHelper.GetUserName(); var currentProject = MmsHelper.GetCurrentProject(); var data = new RentinApiController().GetEditMaster(id); var codeService = new sys_codeService(); var model = new { form = data.form, scrollKeys = data.scrollKeys, urls = MmsHelper.GetEditUrls("rentin"), resx = MmsHelper.GetEditResx("租赁进场单"), dataSource = new { measureUnit = codeService.GetMeasureUnitListByType(), materialUse = codeService.GetValueTextListByType("MaterialUse"), billingUnit = codeService.GetValueTextListByType("BillingUnit") }, defaultForm = new mms_rentIn().Extend(new { BillNo = id, BillDate = DateTime.Now, DoPerson = userName, RentInDate = DateTime.Now, Purpose = codeService.GetDefaultCode("MaterialUse") }), defaultRow = new { Num = 1, UnitPrice = 1 }, setting = new { postFormKeys = new string[] { "BillNo" }, postListFields = new string[] { "BillNo", "RowId", "MaterialCode", "Unit", "UseUnit", "PriceUnit", "Num", "UnitPrice", "Remark" } } }; return(View(model)); }
public ActionResult Index(string id) { if (id == null) { id = MmsHelper.GetCurrentProject(); } var data = new ProjectApiController().GetProjectInfo(id); var service = new sys_codeService(); var model = new { urls = new { newkey = "" }, form = data.form, scrollKeys = data.scrollKeys, dataSource = new { partAttr = service.GetValueTextListByType("PartAttr"), imagePart = service.GetValueTextListByType("ImagePart") } }; return(View(model)); }
public ActionResult Index() { var code = new sys_codeService(); var model = new { dataSource = new { dsPlanType = code.GetValueTextListByType("PlanType") }, urls = new { query = "/api/Mms/PMS_BN_ProjectPlanDetail", newkey = "/api/Mms/PMS_BN_ProjectPlanDetail/getnewkey", edit = "/api/Mms/PMS_BN_ProjectPlanDetail/edit" }, resx = new { noneSelect = "请先选择一条数据!", editSuccess = "保存成功!", auditSuccess = "单据已审核!" }, form = new { ContractCode = "", PlanType = "", IsEnable = "", ProductName = "" }, defaultRow = new { }, setting = new { idField = "ID", postListFields = new string[] { "ID", "ProjectDetailID", "ContractCode", "PlanType", "PlanDate", "FinishDate", "ApprovalStatus", "IsEnable" } } }; return(View(model)); }
public ActionResult Index() { var code = new sys_codeService(); var model = new { dataSource = new{ dsPricing = code.GetValueTextListByType("Pricing") }, urls = new{ query = "/api/Pyn/CamaraType", newkey = "/api/Pyn/CamaraType/newkey", edit = "/api/Pyn/CamaraType/edit" }, resx = new{ noneSelect = "请先选择一条数据!", editSuccess = "保存成功!", auditSuccess = "单据已审核!" }, form = new{ ID = "", Serie = "", Type = "", Description = "", IsEnable = "", CreatePerson = "", CreateDate = "", UpdatePerson = "", UpdateDate = "" }, defaultRow = new { }, setting = new{ idField = "ID", postListFields = new string[] { "ID", "Serie", "Type", "Description", "IsEnable", "CreatePerson", "CreateDate", "UpdatePerson", "UpdateDate" } } }; return(View(model)); }
public ActionResult Index() { var code = new sys_codeService(); var model = new { dataSource = new{ dsPricing = code.GetValueTextListByType("Pricing") }, urls = new{ query = "/api/mms/Project", newkey = "/api/mms/Project/getnewkey", edit = "/api/mms/Project/edit" }, resx = new{ noneSelect = "请先选择一条数据!", editSuccess = "保存成功!", auditSuccess = "单据已审核!" }, form = new{ ParentCode = "" , ShortName = "" , ProjectName = "" , OwnerUnit = "" , DesignUnit = "" , ConstructionUnit = "" }, defaultRow = new { }, setting = new{ idField = "ProjectCode", postListFields = new string[] { "ParentCode" ,"DesignUnit" ,"SupervisionUnit" ,"ContractMoney" ,"OwnerUnit" ,"ShortName" ,"ProjectName" ,"ConstructionUnit" ,"ChargePerson" ,"ContractBeginDate" ,"ActualBeginDate" } }; }; return View(model); }
public ActionResult Index() { var code = new sys_codeService(); var model = new { dataSource = new{ dsPricing = code.GetValueTextListByType("Pricing") }, urls = new{ query = "/api/Mms/Deal", newkey = "/api/Mms/Deal/getnewkey", edit = "/api/Mms/Deal/edit" }, resx = new{ noneSelect = "请先选择一条数据!", editSuccess = "保存成功!", auditSuccess = "单据已审核!" }, form = new{ ProjectCode = "" , ApplyDate = "" , DealType = "" , DealKind = "" , TotalMoney = "" , ApproveState = "" }, defaultRow = new { }, setting = new{ idField = "BillNo", postListFields = new string[] { "BillNo" ,"BillDate" ,"ProjectCode" ,"DoPerson" ,"ApplyDate" ,"DealType" ,"DealKind" ,"TotalMoney" ,"ApproveState" ,"ApprovePerson" } } }; return View(model); }
public ActionResult Index() { var code = new sys_codeService(); var model = new { dataSource = new{ dsPricing = code.GetValueTextListByType("Pricing") }, urls = new{ query = "/api/Mms/Deal", newkey = "/api/Mms/Deal/getnewkey", edit = "/api/Mms/Deal/edit" }, resx = new{ noneSelect = "请先选择一条数据!", editSuccess = "保存成功!", auditSuccess = "单据已审核!" }, form = new{ ProjectCode = "", ApplyDate = "", DealType = "", DealKind = "", TotalMoney = "", ApproveState = "" }, defaultRow = new { }, setting = new{ idField = "BillNo", postListFields = new string[] { "BillNo", "BillDate", "ProjectCode", "DoPerson", "ApplyDate", "DealType", "DealKind", "TotalMoney", "ApproveState", "ApprovePerson" } } }; return(View(model)); }
public ActionResult Index() { var code = new sys_codeService(); var model = new { dataSource = new{ dsPricing = code.GetValueTextListByType("Pricing") }, urls = new{ query = "/api/Mms/Send", newkey = "/api/Mms/Send/getnewkey", edit = "/api/Mms/Send/edit" }, resx = new{ noneSelect = "请先选择一条数据!", editSuccess = "保存成功!", auditSuccess = "单据已审核!" }, form = new{ BillNo = "" , BillDate = "" , DoPerson = "" , ProjectCode = "" , WarehouseCode = "" }, defaultRow = new { }, setting = new{ idField = "BillNo", postListFields = new string[] { "BillNo" ,"BillDate" ,"MaterialType" ,"Purpose" ,"DoPerson" ,"ProjectCode" ,"WarehouseCode" ,"PickUnit" } } }; return View(model); }
public ActionResult Index() { var code = new sys_codeService(); var model = new { dataSource = new{ dsPricing = code.GetValueTextListByType("Pricing") }, urls = new{ query = "/api/mms/Project", newkey = "/api/mms/Project/getnewkey", edit = "/api/mms/Project/edit" }, resx = new{ noneSelect = "请先选择一条数据!", editSuccess = "保存成功!", auditSuccess = "单据已审核!" }, form = new{ ParentCode = "", ShortName = "", ProjectName = "", OwnerUnit = "", DesignUnit = "", ConstructionUnit = "" }, defaultRow = new { }, setting = new{ idField = "ProjectCode", postListFields = new string[] { "ParentCode", "DesignUnit", "SupervisionUnit", "ContractMoney", "OwnerUnit", "ShortName", "ProjectName", "ConstructionUnit", "ChargePerson", "ContractBeginDate", "ActualBeginDate" } }; }; return(View(model)); }
public ActionResult Index() { var code = new sys_codeService(); var model = new { dataSource = new{ dsPricing = code.GetValueTextListByType("Pricing") }, urls = new{ query = "/api/mms/ProductTest", newkey = "/api/mms/ProductTest/getnewkey", edit = "/api/mms/ProductTest/edit" }, resx = new{ noneSelect = "请先选择一条数据!", editSuccess = "保存成功!", auditSuccess = "单据已审核!" }, form = new{ ProductName = "" , ProductCode = "" , ProductColor = "" , ProductType = "" , ProductDate = "" }, defaultRow = new { }, setting = new{ idField = "ID", postListFields = new string[] { "ID" ,"ProductName" ,"ProductCode" ,"ProductColor" ,"ProductType" ,"ProductDate" ,"Qty" ,"Money" } } }; return View(model); }
public ActionResult Index() { var code = new sys_codeService(); var model = new { dataSource = new{ dsPricing = code.GetValueTextListByType("Pricing") }, urls = new{ query = "/api/Mms/Liy", newkey = "/api/Mms/Liy/getnewkey", edit = "/api/Mms/Liy/edit" }, resx = new{ noneSelect = "请先选择一条数据!", editSuccess = "保存成功!", auditSuccess = "单据已审核!" }, form = new{ DepartmentID = "" , IsValid = "" , ApproveState = "" , Remark = "" , OutDateTime = "" }, defaultRow = new { }, setting = new{ idField = "ID", postListFields = new string[] { "ID" ,"DepartmentID" ,"IsValid" ,"OutDateTime" ,"ApproveState" ,"ApprovePerson" ,"ApproveDate" ,"ApproveRemark" ,"Remark" } } }; return View(model); }