yl
2023-06-06 7eecd2371cd2a35ce8151529217b4813d97ea880
VueWebApi/Controllers/AppProductionManagementController.cs
@@ -13,7 +13,7 @@
{
    [RoutePrefix(prefix: "api/AppProductionManagement")]
    [ControllerGroup("App生产管理", "在线接口")]
    [ChannelActionFilterAttributeApp]
    //[ChannelActionFilterAttributeApp]
    public class AppProductionManagementController : ApiController
    {
        //定义全局信息返回变量
@@ -165,6 +165,8 @@
            string stepseq = HttpContext.Current.Request["stepseq"].ToString();//工序序号
            string stepcode = HttpContext.Current.Request["stepcode"].ToString();//工序编码
            string eqpcode = HttpContext.Current.Request["eqpcode"].ToString();//设备编码
            string inbarcode = HttpContext.Current.Request["inbarcode"].ToString(); //入库条码
            string reckway = HttpContext.Current.Request["reckway"].ToString(); //计件方式(班组:group、个人:person)
            string usergroupcode = HttpContext.Current.Request["usergroupcode"].ToString();//班组编码
            string reportuser = HttpContext.Current.Request["reportuser"].ToString();//报工人员
            string taskqty = HttpContext.Current.Request["taskqty"].ToString();//任务数量
@@ -174,7 +176,7 @@
            string badcode = HttpContext.Current.Request["badcode"].ToString();//不良原因编码
            string remarks = HttpContext.Current.Request["remarks"].ToString();//备注
            string username = HttpContext.Current.Request["admin"].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, inbarcode, reckway,usergroupcode, reportuser, taskqty, startqty, reportqty, ngqty, badcode, remarks, username);
            return TJson.toJson(mes);
        }
        #endregion
@@ -218,6 +220,7 @@
            string stepseq = HttpContext.Current.Request["stepseq"].ToString();//工序序号
            string stepcode = HttpContext.Current.Request["stepcode"].ToString();//工序编码
            string wxcode = HttpContext.Current.Request["wxcode"].ToString();//外协供应商编码
            string inbarcode = HttpContext.Current.Request["inbarcode"].ToString(); //入库条码
            string inuser = HttpContext.Current.Request["inuser"].ToString();//收料人员
            string taskqty = HttpContext.Current.Request["taskqty"].ToString();//任务数量
            string sqty = HttpContext.Current.Request["sqty"].ToString();//收料数量
@@ -225,7 +228,7 @@
            string badcode = HttpContext.Current.Request["badcode"].ToString();//不良原因编码
            string remarks = HttpContext.Current.Request["remarks"].ToString();//备注
            string username = HttpContext.Current.Request["admin"].ToString();//操作人员
            mes = ProductionManagementBLL.SavaMesOrderStepIn(mesordercode, partcode, stepseq, stepcode, wxcode, inuser, taskqty, sqty, ngqty, badcode, remarks, username);
            mes = ProductionManagementBLL.SavaMesOrderStepIn(mesordercode, partcode, stepseq, stepcode, wxcode, inbarcode, inuser, taskqty, sqty, ngqty, badcode, remarks, username);
            return TJson.toJson(mes);
        }
        #endregion