| | |
| | | string markqty = obj["markqty"].ToString(); //下单数量 |
| | | string ordernum = obj["ordernum"].ToString(); //下单单数 |
| | | string relse_qty = obj["relse_qty"].ToString(); //已下单数量 |
| | | string saleOrderDeliveryDate = obj["saleOrderDeliveryDate"].ToString(); //交付时间 |
| | | var username = HttpContext.Current.Request.Cookies["admin"].Value.ToString(); //操作人员 |
| | | mes = ProductionManagementBLL.MarkSaveErpOrder(erporderid,erpordercode, partcode, wkshopcode, warehousecode, erpqty, markqty, ordernum, relse_qty, username); |
| | | mes = ProductionManagementBLL.MarkSaveErpOrder(erporderid,erpordercode, partcode, wkshopcode, warehousecode, erpqty, markqty, ordernum, relse_qty, saleOrderDeliveryDate, username); |
| | | return TJson.toJson(mes); |
| | | } |
| | | #endregion |
| | |
| | | public HttpResponseMessage SelectRouteStep(string routecode) |
| | | { |
| | | mes = ProductionManagementBLL.SelectRouteStep(routecode); |
| | | return TJson.toJson(mes); |
| | | } |
| | | #endregion |
| | | |
| | | #region【生产管理、工单新增、编辑时,选择排程是时获取物料清单版本号】 |
| | | /// <summary> |
| | | /// 生产管理、工单新增、编辑时,选择排程是时获取物料清单版本号 |
| | | /// </summary> |
| | | /// <param name="partnumber">产品编码</param> |
| | | /// <returns></returns> |
| | | [Route(template: "JobCreationSonAddVison")] |
| | | [HttpGet] |
| | | public HttpResponseMessage JobCreationSonAddVison(string partnumber) |
| | | { |
| | | mes = ProductionManagementBLL.JobCreationSonAddVison(partnumber); |
| | | return TJson.toJson(mes); |
| | | } |
| | | #endregion |
| | |
| | | string stepseq = obj["stepseq"].ToString(); //工序序号 |
| | | string stepcode = obj["stepcode"].ToString(); //工序编码 |
| | | string eqpcode = obj["eqpcode"].ToString(); //设备编码 |
| | | string reckway = obj["reckway"].ToString(); //计件方式(班组:group、个人:person) |
| | | string usergroupcode = obj["usergroupcode"].ToString(); //班组编码 |
| | | string reportuser = obj["reportuser"].ToString(); //报工人员 |
| | | string taskqty = obj["taskqty"].ToString(); //任务数量 |
| | |
| | | string badcode = obj["badcode"].ToString(); //不良原因编码 |
| | | string remarks = obj["remarks"].ToString(); //备注 |
| | | var username = HttpContext.Current.Request.Cookies["admin"].Value.ToString(); //操作人员 |
| | | mes = ProductionManagementBLL.SavaMesOrderStepReport(mesordercode, partcode, stepseq, stepcode, eqpcode, usergroupcode, reportuser, taskqty, startqty, reportqty, ngqty, badcode, remarks, username); |
| | | mes = ProductionManagementBLL.SavaMesOrderStepReport(mesordercode, partcode, stepseq, stepcode, eqpcode, reckway,usergroupcode, reportuser, taskqty, startqty, reportqty, ngqty, badcode, remarks, username); |
| | | return TJson.toJson(mes); |
| | | } |
| | | #endregion |
| | |
| | | #endregion |
| | | |
| | | |
| | | |
| | | #region[产能规划方案设置查询] |
| | | /// <summary> |
| | | /// 产能规划方案设置查询 |