Exemplo n.º 1
0
 //编辑
 public ActionResult Edit(WMS_BILL_MASTER mast, object detail)
 {
     string error = "";
     bool bResult = BillMasterService.MoveStockEdit (mast, detail,out error );
     string msg = bResult ? "修改成功" : "修改失败"+error;
     return Json(JsonMessageHelper.getJsonMessage(bResult, msg, null), "text/html", JsonRequestBehavior.AllowGet);
 }
Exemplo n.º 2
0
 //添加
 public ActionResult Add(WMS_BILL_MASTER mast, object detail, string prefix)
 {
     string userid = this.GetCookieValue("userid");
     mast.OPERATER = userid;
     bool bResult = BillMasterService.InventoryAdd(mast, detail, prefix);
     string msg = bResult ? "新增成功" : "新增失败";
     return Json(JsonMessageHelper.getJsonMessage(bResult, msg, null), "text/html", JsonRequestBehavior.AllowGet);
 }
Exemplo n.º 3
0
 //编辑
 public ActionResult Edit(WMS_BILL_MASTER mast, object detail)
 {
     bool bResult = BillMasterService.InventoryEdit(mast, detail);
     string msg = bResult ? "修改成功" : "修改失败";
     return Json(JsonMessageHelper.getJsonMessage(bResult, msg, null), "text/html", JsonRequestBehavior.AllowGet);
 }