| | |
| | | /// </summary> |
| | | /// <param name="status">工单状态</param> |
| | | /// <param name="wkshopcode">车间编号</param > |
| | | /// <param name="socode">销售单号</param> |
| | | /// <param name="wocode">工单编号</param> |
| | | /// <param name="partcode">产品编码</param> |
| | | /// <param name="partname">产品名称</param> |
| | |
| | | /// <returns></returns> |
| | | [Route(template: "ProductionScheduleReportSearch")] |
| | | [HttpGet] |
| | | public JsonResult ProductionScheduleReportSearch(int page, int rows, string prop, string order, string status = null, string wocode = null,string wkshopcode=null, string partcode = null, string partname = null, string partspec = null, string lm_date = null) |
| | | public JsonResult ProductionScheduleReportSearch(int page, int rows, string prop, string order, string status = null,string socode=null, string wocode = null,string wkshopcode=null, string partcode = null, string partname = null, string partspec = null, string lm_date = null) |
| | | { |
| | | string opendate = ""; //开始时间 |
| | | string closedate = ""; //结束时间 |
| | |
| | | } |
| | | int startNum = rows * (page - 1) + 1; //起始记录rowNum |
| | | int endNum = rows * page; //结束记录 rowNum |
| | | mes = ReportManagerBLL.ProductionScheduleReportSearch(status, wkshopcode, wocode,partcode, partname, partspec, opendate, closedate, startNum, endNum, prop, order); |
| | | mes = ReportManagerBLL.ProductionScheduleReportSearch(status, wkshopcode, socode, wocode,partcode, partname, partspec, opendate, closedate, startNum, endNum, prop, order); |
| | | return Json(mes); |
| | | } |
| | | #endregion |
| | |
| | | /// </summary> |
| | | /// <param name="status">工单状态</param> |
| | | /// <param name="wkshopcode">车间编号</param > |
| | | /// <param name="socode">销售单号</param> |
| | | /// <param name="wocode">工单编号</param> |
| | | /// <param name="partcode">产品编码</param> |
| | | /// <param name="partname">产品名称</param> |
| | |
| | | /// <returns></returns> |
| | | [Route(template: "ProductionScheduleReportExcelSearch")] |
| | | [HttpGet] |
| | | public JsonResult ProductionScheduleReportExcelSearch(string status = null, string wkshopcode = null, string wocode = null,string partcode = null, string partname = null, string partspec = null, string lm_date = null) |
| | | public JsonResult ProductionScheduleReportExcelSearch(string status = null, string wkshopcode = null, string socode = null, string wocode = null,string partcode = null, string partname = null, string partspec = null, string lm_date = null) |
| | | { |
| | | string opendate = ""; //开始时间 |
| | | string closedate = ""; //结束时间 |
| | |
| | | opendate = lm_date.Split('~')[0].ToString(); |
| | | closedate = lm_date.Split('~')[1].ToString(); |
| | | } |
| | | mes = ReportManagerBLL.ProductionScheduleReportExcelSearch(status, wkshopcode,wocode, partcode, partname, partspec, opendate, closedate); |
| | | mes = ReportManagerBLL.ProductionScheduleReportExcelSearch(status, wkshopcode, socode,wocode, partcode, partname, partspec, opendate, closedate); |
| | | return Json(mes); |
| | | } |
| | | #endregion |
| | |
| | | /// </summary> |
| | | /// <param name="compute">计算方式(逐道/末道)</param> |
| | | /// <param name="wkshopcode">车间编号</param > |
| | | /// <param name="socode">销售单号</param> |
| | | /// <param name="wocode">工单编号</param> |
| | | /// <param name="partcode">产品编码</param> |
| | | /// <param name="partname">产品名称</param> |
| | |
| | | /// <returns></returns> |
| | | [Route(template: "GroupSalaryReportSearch")] |
| | | [HttpGet] |
| | | public JsonResult GroupSalaryReportSearch(int page, int rows, string prop, string order, string compute,string wkshopcode=null, string wocode = null, string partcode = null, string partname = null, string partspec = null, string stepname = null, string groupcode = null, string username = null, string operdate = null) |
| | | public JsonResult GroupSalaryReportSearch(int page, int rows, string prop, string order, string compute,string wkshopcode=null,string socode=null, string wocode = null, string partcode = null, string partname = null, string partspec = null, string stepname = null, string groupcode = null, string username = null, string operdate = null) |
| | | { |
| | | string operopendate = ""; //报工开始时间 |
| | | string operclosedate = ""; //报工结束时间 |
| | |
| | | } |
| | | int startNum = rows * (page - 1) + 1; //起始记录rowNum |
| | | int endNum = rows * page; //结束记录 rowNum |
| | | mes = ReportManagerBLL.GroupSalaryReportSearch(compute, wkshopcode, wocode, partcode, partname, partspec, stepname, groupcode, username, operopendate, operclosedate, startNum, endNum, prop, order); |
| | | mes = ReportManagerBLL.GroupSalaryReportSearch(compute, wkshopcode, socode, wocode, partcode, partname, partspec, stepname, groupcode, username, operopendate, operclosedate, startNum, endNum, prop, order); |
| | | return Json(mes); |
| | | } |
| | | #endregion |
| | |
| | | /// 班组工资报表记录查询 |
| | | /// </summary> |
| | | /// <param name="compute">计算方式(逐道/末道)</param> |
| | | /// <param name="socode">销售单号</param> |
| | | /// <param name="wkshopcode">车间编号</param > |
| | | /// <param name="wocode">工单编号</param> |
| | | /// <param name="partcode">产品编码</param> |
| | |
| | | /// <returns></returns> |
| | | [Route(template: "GroupSalaryReportExcelSearch")] |
| | | [HttpGet] |
| | | public JsonResult GroupSalaryReportExcelSearch(string compute,string wkshopcode=null, string wocode = null, string partcode = null, string partname = null, string partspec = null, string stepname = null, string groupcode = null, string username = null, string operdate = null) |
| | | public JsonResult GroupSalaryReportExcelSearch(string compute,string wkshopcode=null, string socode = null, string wocode = null, string partcode = null, string partname = null, string partspec = null, string stepname = null, string groupcode = null, string username = null, string operdate = null) |
| | | { |
| | | string operopendate = ""; //报工开始时间 |
| | | string operclosedate = ""; //报工结束时间 |
| | |
| | | operopendate = operdate.Split('~')[0].ToString(); |
| | | operclosedate = operdate.Split('~')[1].ToString(); |
| | | } |
| | | mes = ReportManagerBLL.GroupSalaryReportExcelSearch(compute,wkshopcode, wocode, partcode, partname, partspec, stepname, groupcode, username, operopendate, operclosedate); |
| | | mes = ReportManagerBLL.GroupSalaryReportExcelSearch(compute,wkshopcode, socode, wocode, partcode, partname, partspec, stepname, groupcode, username, operopendate, operclosedate); |
| | | return Json(mes); |
| | | } |
| | | #endregion |
| | |
| | | /// </summary> |
| | | /// <param name="compute">计算方式(逐道/末道)</param> |
| | | /// <param name="wkshopcode">车间编号</param > |
| | | /// <param name="socode">销售单号</param> |
| | | /// <param name="wocode">工单编号</param> |
| | | /// <param name="partcode">产品编码</param> |
| | | /// <param name="partname">产品名称</param> |
| | |
| | | /// <returns></returns> |
| | | [Route(template: "PeopleSalaryReportSearch")] |
| | | [HttpGet] |
| | | public JsonResult PeopleSalaryReportSearch(int page, int rows, string prop, string order, string compute,string wkshopcode=null, string wocode = null, string partcode = null, string partname = null, string partspec = null,string stepcode=null, string stepname = null, string reportname = null, string reportdate = null) |
| | | public JsonResult PeopleSalaryReportSearch(int page, int rows, string prop, string order, string compute,string wkshopcode=null,string socode=null, string wocode = null, string partcode = null, string partname = null, string partspec = null,string stepcode=null, string stepname = null, string reportname = null, string reportdate = null) |
| | | { |
| | | string reportopendate = ""; //报工开始时间 |
| | | string reportclosedate = ""; //报工结束时间 |
| | |
| | | } |
| | | int startNum = rows * (page - 1) + 1; //起始记录rowNum |
| | | int endNum = rows * page; //结束记录 rowNum |
| | | mes = ReportManagerBLL.PeopleSalaryReportSearch(compute, wkshopcode, wocode, partcode, partname, partspec, stepcode, stepname, reportname, reportopendate, reportclosedate, startNum, endNum, prop, order); |
| | | mes = ReportManagerBLL.PeopleSalaryReportSearch(compute, wkshopcode, socode, wocode, partcode, partname, partspec, stepcode, stepname, reportname, reportopendate, reportclosedate, startNum, endNum, prop, order); |
| | | return Json(mes); |
| | | } |
| | | #endregion |
| | |
| | | /// </summary> |
| | | /// <param name="compute">计算方式(逐道/末道)</param> |
| | | /// <param name="wkshopcode">车间编号</param > |
| | | /// <param name="socode">销售单号</param> |
| | | /// <param name="wocode">工单编号</param> |
| | | /// <param name="partcode">产品编码</param> |
| | | /// <param name="partname">产品名称</param> |
| | |
| | | /// <returns></returns> |
| | | [Route(template: "PeopleSalaryReportExcelSearch")] |
| | | [HttpGet] |
| | | public JsonResult PeopleSalaryReportExcelSearch(string compute,string wkshopcode=null, string wocode = null, string partcode = null, string partname = null, string partspec = null,string stepcode=null, string stepname = null, string reportname = null, string reportdate = null) |
| | | public JsonResult PeopleSalaryReportExcelSearch(string compute,string wkshopcode=null,string socode=null, string wocode = null, string partcode = null, string partname = null, string partspec = null,string stepcode=null, string stepname = null, string reportname = null, string reportdate = null) |
| | | { |
| | | string reportopendate = ""; //报工开始时间 |
| | | string reportclosedate = ""; //报工结束时间 |
| | |
| | | reportopendate = reportdate.Split('~')[0].ToString(); |
| | | reportclosedate = reportdate.Split('~')[1].ToString(); |
| | | } |
| | | mes = ReportManagerBLL.PeopleSalaryReportExcelSearch(compute, wkshopcode, wocode, partcode, partname, partspec,stepcode,stepname, reportname, reportopendate, reportclosedate); |
| | | mes = ReportManagerBLL.PeopleSalaryReportExcelSearch(compute, wkshopcode, socode, wocode, partcode, partname, partspec,stepcode,stepname, reportname, reportopendate, reportclosedate); |
| | | return Json(mes); |
| | | } |
| | | #endregion |