Пример #1
0
        //
        // POST: /InBillMaster/Delete/
        public ActionResult Delete(string BillNo)
        {
            bool   bResult = InBillMasterService.Delete(BillNo);
            string msg     = bResult ? "删除成功" : "删除失败";

            return(Json(JsonMessageHelper.getJsonMessage(bResult, msg, null), "text", JsonRequestBehavior.AllowGet));
        }
Пример #2
0
        //
        // POST: /StockInBill/Delete/
        public ActionResult Delete(string BillNo)
        {
            DownDecidePlanBll planBll   = new DownDecidePlanBll();
            string            strResult = string.Empty;
            bool bResult = InBillMasterService.Delete(BillNo, out strResult);

            if (bResult)
            {
                planBll.DeleteMiddleBill(BillNo);
            }
            string msg = bResult ? "删除成功" : "删除失败";

            return(Json(JsonMessageHelper.getJsonMessage(bResult, msg, strResult), "text", JsonRequestBehavior.AllowGet));
        }