public SalesShipmentsStatisticsController(IWorkContext webWorkContext, SalesShipmentsDataService salesShipmentsDataService, LocalizationService localizationService, SupplierDataService supplierDataService, WarehouseService warehouseService, InventoryDataService inventoryDataService, GoodsSpecificationService goodsSpecificationService, ClientTypeService clientTypeService, ClientDataService clientDataService, GoodsTypeService goodsTypeService, ArrearsDataService arrearsDataService, ArrearsDetailsService arrearsDetailsService, SalesShipmentsStatisticsService salesShipmentsStatisticsService, GoodsDataService goodsDataService) { _webWorkContext = webWorkContext; _salesShipmentsDataService = salesShipmentsDataService; _localizationService = localizationService; _supplierDataService = supplierDataService; _warehouseService = warehouseService; _inventoryDataService = inventoryDataService; _goodsSpecificationService = goodsSpecificationService; _clientTypeService = clientTypeService; _clientDataService = clientDataService; _goodsTypeService = goodsTypeService; _arrearsDataService = arrearsDataService; _arrearsDetailsService = arrearsDetailsService; _salesShipmentsStatisticsService = salesShipmentsStatisticsService; _goodsDataService = goodsDataService; }
public CommonController(IWorkContext webWorkContext, PurchaseDataService purchaseDataService, LocalizationService localizationService, GoodsDataService goodsDataService, SupplierDataService supplierDataService, WarehouseService warehouseService, InventoryDataService inventoryDataService, GoodsSpecificationService goodsSpecificationService, ClientTypeService clientTypeService, SalesShipmentsDataService salesShipmentsDataService, GoodsTypeService goodsTypeService, SupplierTypeService supplierTypeService) { _webWorkContext = webWorkContext; _purchaseDataService = purchaseDataService; _localizationService = localizationService; _goodsDataService = goodsDataService; _supplierDataService = supplierDataService; _warehouseService = warehouseService; _inventoryDataService = inventoryDataService; _goodsSpecificationService = goodsSpecificationService; _clientTypeService = clientTypeService; _salesShipmentsDataService = salesShipmentsDataService; _goodsTypeService = goodsTypeService; _supplierTypeService = supplierTypeService; }
public ActionResult Delete(string OID) { var result = this.result; var Status = GoodsTypeService.DeleteGoodsType(result, OID); return(Json(result)); }
public GoodsTypeController(IWorkContext webWorkContext, GoodsTypeService goodsTypeService, LocalizationService localizationService) { _webWorkContext = webWorkContext; _goodsTypeService = goodsTypeService; _localizationService = localizationService; }
public ActionResult Save(UIGoodsType Model) { var result = this.result; var Status = GoodsTypeService.SaveGoodsType(result, Model); result.CallbackPage = Status?Url.Action("List"):String.Empty; return(Json(result)); }
/// <summary> /// 这是查询的方法 /// </summary> /// <param name="dgv"></param> /// <param name="where"></param> public void GoodsTypeSearch(DataGridView dgv, string where) { List <BillIndex> bi = new GoodsTypeService().GetReocrdBySearch(where); dgv.Rows.Clear(); foreach (BillIndex item in bi) { int index = dgv.Rows.Add(); dgv.Rows[index].Cells["dgvShipListID"].Value = item.ID; dgv.Rows[index].Cells["dgvShipListName"].Value = item.Title; dgv.Rows[index].Cells["dgvShipListDate"].Value = item.Reg_Date.ToString("yyyy-MM-dd"); } }
public ActionResult Edit(string OID = null) { var Model = GoodsTypeService.GetGoodsType(OID); return(View(Model)); }
public ActionResult List() { var Types = GoodsTypeService.GetPageGoodsType(); return(View(Types)); }