Exemple #1
0
        public ActionResult GLogin(string username, string password)
        {
            var list = Gservice.Login(username, password);

            if (list.Count > 0)
            {
                Session["Userid"] = list.ElementAt(0).zsName;
                Session.Timeout   = 5;
                return(Content("1"));
            }
            else
            {
                return(Content("2"));
            }
        }
Exemple #2
0
 public ActionResult queryUnit(int page, int limit, int measureID, string measureName)
 {
     return(Json(Gservice.queryUnit(page, limit, measureID, measureName), JsonRequestBehavior.AllowGet));
 }
Exemple #3
0
 public ActionResult queryProduct_sum(int page, int limit, int Date)
 {
     return(Json(Gservice.queryProduct_sum(page, limit, Date), JsonRequestBehavior.AllowGet));
 }
Exemple #4
0
 public ActionResult queryProduct_sum1()
 {
     return(Json(Gservice.queryProduct_sum1(), JsonRequestBehavior.AllowGet));
 }
Exemple #5
0
 public ActionResult querySelectType()
 {
     return(Json(Gservice.querySelectType(), JsonRequestBehavior.AllowGet));
 }
Exemple #6
0
 public ActionResult Reported_loss_report1()
 {
     return(Json(Gservice.Reported_loss_report1(), JsonRequestBehavior.AllowGet));
 }
Exemple #7
0
 public ActionResult Reported_loss_report(int page, int limit, int Date)
 {
     return(Json(Gservice.Reported_loss_report(page, limit, Date), JsonRequestBehavior.AllowGet));
 }
Exemple #8
0
 public ActionResult QueryDtable(int page, int limit, string KwName)
 {
     return(Json(Gservice.QueryDtable(page, limit, KwName), JsonRequestBehavior.AllowGet));
 }
Exemple #9
0
 public ActionResult query_queryInventory_ReportAll(int id)
 {
     return(Json(Gservice.query_queryInventory_ReportAll(id), JsonRequestBehavior.AllowGet));
 }
Exemple #10
0
 public ActionResult Outbound_StatementsAll(int id)
 {
     return(Json(Gservice.Outbound_StatementsAll(id), JsonRequestBehavior.AllowGet));
 }
Exemple #11
0
 public ActionResult queryInventory_Report(int page, int limit, int Date)
 {
     return(Json(Gservice.queryInventory_Report(page, limit, Date), JsonRequestBehavior.AllowGet));
 }
Exemple #12
0
 public ActionResult queryTypeAndKwName()
 {
     return(Json(Gservice.queryTypeAndKwName(), JsonRequestBehavior.AllowGet));
 }
Exemple #13
0
 public ActionResult queryInventory(int page, int limit, string kwName, string KwTypeName)
 {
     Debug.WriteLine("库位名:" + kwName);
     Debug.WriteLine("库位类型:" + KwTypeName);
     return(Json(Gservice.queryInventory(page, limit, kwName, KwTypeName), JsonRequestBehavior.AllowGet));
 }
Exemple #14
0
 public ActionResult QueryType(int page, int limit, int typeId, string typeName)
 {
     return(Json(Gservice.QueryType(page, limit, typeId, typeName), JsonRequestBehavior.AllowGet));
 }
Exemple #15
0
 public ActionResult Return_Statements(int page, int limit, int Date)
 {
     return(Json(Gservice.Return_Statements(page, limit, Date), JsonRequestBehavior.AllowGet));
 }
Exemple #16
0
 public ActionResult Queryproduct(int page, int limit, int ProductID, string ProductName, int selectTypeName)
 {
     return(Json(Gservice.Queryproduct(page, limit, ProductID, ProductName, selectTypeName), JsonRequestBehavior.AllowGet));
 }
Exemple #17
0
 public ActionResult Return_Statements1()
 {
     return(Json(Gservice.Return_Statements1(), JsonRequestBehavior.AllowGet));
 }
Exemple #18
0
 public ActionResult Queryclient(int page, int limit, int clientID, string clientName)
 {
     return(Json(Gservice.Queryclient(page, limit, clientID, clientName), JsonRequestBehavior.AllowGet));
 }
Exemple #19
0
 public ActionResult Querysupplier(int page, int limit, int supplierID, string supplierName, string supplierType)
 {
     return(Json(Gservice.Querysupplier(page, limit, supplierID, supplierName, supplierType), JsonRequestBehavior.AllowGet));
 }