예제 #1
0
        public JsonResult GetGoodsDocByOrderID(string orderid, int type, string taskid = "")
        {
            var list = StockBusiness.GetGoodsDocByOrderID(orderid, taskid, (EnumDocType)type, CurrentUser.ClientID);

            JsonDictionary.Add("items", list);
            return(new JsonResult
            {
                Data = JsonDictionary,
                JsonRequestBehavior = JsonRequestBehavior.AllowGet
            });
        }
예제 #2
0
        public ActionResult PlateMakingProcess(string id)
        {
            var taskid = "";
            var type   = 1;
            var model  = OrdersBusiness.BaseBusiness.GetOrderByID(id, CurrentUser.ClientID);
            var list   = StockBusiness.GetGoodsDocByOrderID(id, taskid, (EnumDocType)type, CurrentUser.ClientID);

            ViewBag.Model = model;
            ViewBag.List  = list;
            return(View());
        }