| | |
| | | string maxstockqty = obj["maxstockqty"].ToString(); //最大库存 |
| | | string is_batchno = obj["is_batchno"].ToString(); //是否批次管理 |
| | | string is_fifo = obj["is_fifo"].ToString(); //是否先进先出 |
| | | string is_incheck = obj["is_incheck"].ToString(); //是否入库检验 |
| | | string is_incheck = obj["is_incheck"].ToString(); //是否入厂检验 |
| | | string is_outcheck = obj["is_outcheck"].ToString(); //是否出厂检验 |
| | | var username = HttpContext.Current.Request.Cookies["admin"].Value.ToString(); //操作人员 |
| | | string OperType = obj["OperType"].ToString(); //操作类型 |
| | |
| | | /// <param name="partcode">产品编码</param> |
| | | /// <param name="routecode">工艺路线编码</param> |
| | | /// <param name="stepcode">工序编码</param> |
| | | /// <param name="steptype">工序类型</param> |
| | | /// <param name="page">页码</param> |
| | | /// <param name="rows">每页显示条数</param> |
| | | /// <param name="prop">排序字段</param> |
| | |
| | | /// <returns></returns> |
| | | [Route(template: "StepSelectEqpList")] |
| | | [HttpGet] |
| | | public HttpResponseMessage StepSelectEqpList(string partcode, string routecode, string stepcode, int page = 0, int rows = 0, string prop = null, string order = null) |
| | | public HttpResponseMessage StepSelectEqpList(string partcode, string routecode, string stepcode,string steptype, int page = 0, int rows = 0, string prop = null, string order = null) |
| | | { |
| | | |
| | | int startNum = rows * (page - 1) + 1; //起始记录rowNum |
| | | int endNum = rows * page; //结束记录 rowNum |
| | | mes = ProductModelBLL.StepSelectEqpList(partcode, routecode, stepcode, startNum, endNum, prop, order); |
| | | mes = ProductModelBLL.StepSelectEqpList(partcode, routecode, stepcode, steptype, startNum, endNum, prop, order); |
| | | return TJson.toJson(mes); |
| | | } |
| | | #endregion |