예제 #1
0
 public ActionResult SubmitPrintShipmentBill(string id)
 {
     string strErrText;
     long nOutWarehouseBillId = 0;
     long nEnterWarehouseBillId = 0;
     DeliverSystem deliver = new DeliverSystem();
     bool bSuccess = deliver.SubmitPrintShipmentBill(long.Parse(id), out nOutWarehouseBillId, out nEnterWarehouseBillId, LoginAccountId, LoginStaffName, out strErrText);
     var ret = new
     {
         Success = bSuccess,
         ErrorMessage = strErrText,
         OutWarehouseBillId = nOutWarehouseBillId,
         EnterWarehouseBillId = nEnterWarehouseBillId
     };
     return Json(ret);
 }