//修改细单 // POST: /StockOutBill/editOutBillDelete public ActionResult editOutBillDelete(OutBillDetail outBillDetail) { string errorInfo = string.Empty; bool bResult = OutBillDetailService.Save(outBillDetail, out errorInfo); string msg = bResult ? "修改成功" : "修改失败"; return(Json(JsonMessageHelper.getJsonMessage(bResult, msg, errorInfo), "text", JsonRequestBehavior.AllowGet)); }
//删除细单 // POST: /StockOutBill/outBillDelete/ public ActionResult outBillDelete(string BillNo, string ID) { string errorInfo = string.Empty; bool bResult = OutBillDetailService.Delete(ID, out errorInfo); string msg = bResult ? "删除成功" : "删除失败"; return(Json(JsonMessageHelper.getJsonMessage(bResult, msg, errorInfo), "text", JsonRequestBehavior.AllowGet)); }
//查询细单 // GET: /StockOutBill/OutBillDetails/ public ActionResult OutBillDetails(int page, int rows, string BillNo) { var outBillDetail = OutBillDetailService.GetDetails(page, rows, BillNo); return(Json(outBillDetail, "text", JsonRequestBehavior.AllowGet)); }