| | |
| | | } |
| | | if (createdate != "" && createdate != null) |
| | | { |
| | | createstartdate = paydate.Split('~')[0].ToString(); |
| | | createenddate = paydate.Split('~')[1].ToString(); |
| | | createstartdate = createdate.Split('~')[0].ToString(); |
| | | createenddate = createdate.Split('~')[1].ToString(); |
| | | } |
| | | int startNum = rows * (page - 1) + 1; //起始记录rowNum |
| | | int endNum = rows * page; //结束记录 rowNum |
| | |
| | | /// <returns></returns> |
| | | [Route(template: "MesOrderStepStart")] |
| | | [HttpGet] |
| | | public HttpResponseMessage MesOrderStepStart(string OperType, string SelectType, string orderstepqrcode) |
| | | public HttpResponseMessage MesOrderStepStart(string OperType, string orderstepqrcode, string SelectType = null) |
| | | { |
| | | mes = ProductionManagementBLL.MesOrderStepStart(OperType, SelectType, orderstepqrcode); |
| | | return TJson.toJson(mes); |
| | |
| | | |
| | | #region[生产开报工:根据生产班组查找人员列表] |
| | | /// <summary> |
| | | /// 生产开报工:开工时获取设备下拉列表 |
| | | /// 生产开报工:根据生产班组查找人员列表 |
| | | /// </summary> |
| | | /// <param name="usergroupcode">班组编码</param> |
| | | /// <returns></returns> |
| | |
| | | } |
| | | #endregion |
| | | |
| | | #region[生产开报工:人员下拉列表] |
| | | /// <summary> |
| | | /// 生产开报工:人员下拉列表 |
| | | /// </summary> |
| | | /// <param name="usercode">人员编码</param> |
| | | /// <returns></returns> |
| | | [Route(template: "MesOrderSelectUser")] |
| | | [HttpGet] |
| | | public HttpResponseMessage MesOrderSelectUser(string usercode = null) |
| | | { |
| | | mes = ProductionManagementBLL.MesOrderSelectUser(usercode); |
| | | return TJson.toJson(mes); |
| | | } |
| | | #endregion |
| | | |
| | | #region[生产开报工:发料/收料时获取外协下拉列表] |
| | | /// <summary> |
| | | /// 生产开报工:发料/收料时获取外协下拉列表 |
| | | /// </summary> |
| | | /// <param name="orderstepqrcode">扫描二维码信息</param> |
| | | /// <returns></returns> |
| | | [Route(template: "MesOrderStepSelectWX")] |
| | | [HttpGet] |
| | | public HttpResponseMessage MesOrderStepSelectWX(string orderstepqrcode) |
| | | { |
| | | mes = ProductionManagementBLL.MesOrderStepSelectWX(orderstepqrcode); |
| | | return TJson.toJson(mes); |
| | | } |
| | | #endregion |
| | | |
| | | #region[生产报工:报工/外协收料 获取不良原因下拉列表] |
| | | /// <summary> |
| | | /// 生产报工:报工/外协收料 获取不良原因下拉列表 |