Ejemplo n.º 1
0
        public ActionResult EnableForm(string F_Id)
        {
            T_Product_Make t_Product_Make = ProductMakeBLL.GetForm(F_Id);

            t_Product_Make.F_Enable_Mark = 1;
            ProductMakeBLL.SubmitForm(t_Product_Make);
            return(Success("操作成功"));
        }
Ejemplo n.º 2
0
        public ActionResult GetForm(string F_Id)
        {
            T_Product_Make t_Product_Make = ProductMakeBLL.GetForm(F_Id);

            return(Content(new
            {
                F_Quantity = t_Product_Make.F_Quantity,
                F_Make_Date = t_Product_Make.F_Make_Date.Value.ToString("yyyy-MM-dd"),
                F_Product_Name = new ProductBLL().GetForm(t_Product_Make.F_Product_Id).F_Name,
                F_Product_Id = t_Product_Make.F_Product_Id
            }.ToJson()));
        }
Ejemplo n.º 3
0
 public ActionResult SubmitForm(T_Product_Make t_Product_Make)
 {
     ProductMakeBLL.SubmitForm(t_Product_Make);
     return(Success("操作成功"));
 }