/// <summary> /// 贷款申请 /// </summary> /// <returns></returns> public ActionResult LoanApply(int customerId = 0) { var loanApplyInfo = db.LoanInfo.Where(m => m.customerId == customerId).FirstOrDefault(); AddLoanInfoModel model = new AddLoanInfoModel(); Customer customer = db.Customer.Find(customerId); model.customerId = customerId; model.contractNo = Utility.Utils.GetRamCode(); model.Customer = customer; model.periodNum = 1; return(View(model)); }
public ActionResult LoanApply(AddLoanInfoModel model) { return(View()); }