public ActionResult Index() { var model = new { urls = MmsHelper.GetIndexUrls("receive"), resx = MmsHelper.GetIndexResx("收料单"), dataSource = new { warehouseItems = new mms_warehouseService().GetWarehouseItems(MmsHelper.GetCurrentProject()), supplyType = new sys_codeService().GetValueTextListByType("SupplyType") }, form = new { BillNo = "", //ProjectName = "", SupplierName = "", SupplyType = "", WarehouseCode = "", ContractCode = "", //MaterialType = "", ReceiveDate = "" } }; 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 = 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 currentProject = MmsHelper.GetCurrentProject(); var model = new { urls = MmsHelper.GetIndexUrls("send"), resx = MmsHelper.GetIndexResx("发料单"), dataSource = new { warehouseItems = new mms_warehouseService().GetWarehouseItems(currentProject), PriceKind = new sys_codeService().GetDynamicList(ParamQuery.Instance().Select("Code as value,Text as text").AndWhere("CodeType", "Pricing")), Purpose = new sys_codeService().GetDynamicList(ParamQuery.Instance().Select("Code as value,Text as text").AndWhere("CodeType", "MaterialUse")) }, form = new { BillNo = "", PickUnitName = "", DoPerson = "", WarehouseCode = "", PriceKind = "", SendDate = "" } }; return(View(model)); }
// // GET: /Mms/Test/ public ActionResult Index() { var currentProject = MmsHelper.GetCurrentProject(); var model = new { urls = MmsHelper.GetIndexUrls("test"), resx = MmsHelper.GetIndexResx("大数据测试单"), form = new { UserCode = "", UserName = "", Description = "", IsEnable = "", LoginCount = "", LastLoginDate = "" } }; return(View(model)); }
public ActionResult Index() { var model = new { urls = MmsHelper.GetIndexUrls("rentoff"), resx = MmsHelper.GetIndexResx("停租单"), dataSource = new { warehouseItems = new mms_warehouseService().GetWarehouseItems(MmsHelper.GetCurrentProject()) }, form = new { BillNo = "", ProjectName = "", DoPerson = "", ContractCode = "", BeginDate = "", EndDate = "" } }; return(View(model)); }
public ActionResult Index() { var model = new { urls = MmsHelper.GetIndexUrls("check"), resx = MmsHelper.GetIndexResx("盘点单"), dataSource = new { warehouseItems = new mms_warehouseService().GetWarehouseItems(MmsHelper.GetCurrentProject()) }, form = new { BillNo = "", IsShowDiff = false, DoPerson = "", WarehouseCode = "", MaterialType = "", BillDate = "" } }; return(View(model)); }
public ActionResult Index() { var model = new { urls = MmsHelper.GetIndexUrls("refund"), resx = MmsHelper.GetIndexResx("退库单"), dataSource = new { warehouseItems = new mms_warehouseService().GetWarehouseItems(MmsHelper.GetCurrentProject()) }, form = new { BillNo = "", RefundUnitName = "", RefundPerson = "", WarehouseCode = "", MaterialType = "", RefundDate = "" } }; return(View(model)); }
public ActionResult Index() { var model = new { urls = MmsHelper.GetIndexUrls("rentout"), resx = MmsHelper.GetIndexResx("租赁出场单"), dataSource = new { warehouseItems = new mms_warehouseService().GetWarehouseItems(MmsHelper.GetCurrentProject()) }, form = new { BillNo = "", ProjectName = "", MerchantsName = "", ContractCode = "", IsTotal = false, RentOutDate = "" } }; return(View(model)); }
public ActionResult Index() { var model = new { urls = MmsHelper.GetIndexUrls("repair"), resx = MmsHelper.GetIndexResx("维修单"), dataSource = new { warehouseItems = new mms_warehouseService().GetWarehouseItems(MmsHelper.GetCurrentProject()) }, form = new { BillNo = "", ProjectName = "", DoPerson = "", RepairUnit = "", RepairDate = "", Remark = "" } }; return(View(model)); }
public ActionResult Index() { var model = new { urls = MmsHelper.GetIndexUrls("lossreport"), resx = MmsHelper.GetIndexResx("报损单"), dataSource = new { warehouseItems = new mms_warehouseService().GetWarehouseItems(MmsHelper.GetCurrentProject()) }, form = new { BillNo = "", ProjectName = "", DoPerson = "", WarehouseCode = "", MaterialType = "", LossReportDate = "" } }; return(View(model)); }
public ActionResult Index() { var model = new { urls = MmsHelper.GetIndexUrls("transfer"), resx = MmsHelper.GetIndexResx("调拨单"), dataSource = new { PriceKind = new sys_codeService().GetDynamicList(ParamQuery.Instance().Select("Code as value,Text as text").Where("CodeType", "Pricing")), warehouseItems = new mms_warehouseService().GetWarehouseItems(MmsHelper.GetCurrentProject()) }, form = new { BillNo = "", ReceiveUnitName = "", DoPerson = "", WarehouseCode = "", PriceKind = "", TransferDate = "" } }; return(View(model)); }