| | |
| | | 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 |
| | |
| | | #endregion |
| | | |
| | | |
| | | |
| | | #region[产能规划方案设置查询] |
| | | /// <summary> |
| | | /// 产能规划方案设置查询 |