Commit fec816fe authored by 黄奎's avatar 黄奎

页面修改

parent b050250b
......@@ -94,7 +94,7 @@ namespace Edu.Model.ViewModel.Contract
/// <summary>
/// 已使用课时
/// </summary>
public int UseClassHours { get; set; }
public decimal UseClassHours { get; set; }
/// <summary>
/// 单价
......
......@@ -152,9 +152,9 @@ namespace Edu.Module.Course
BackId = backClassId
})?.FirstOrDefault();
if (backModel == null || backModel.AuditStatus != WFRrocessStatus.AuditThrough) { return "退课流程未审核通过"; }
if (backModel.FinanceId > 0) { return "已制单,无法再次生成财务单据"; }
//if (backModel.FinanceId > 0) { return "已制单,无法再次生成财务单据"; }
var guestModel = order_GuestRepository.GetEntity(backModel.GuestId);
if (guestModel == null || guestModel.GuestState != 2) { return "客人名单状态不正确"; }
//if (guestModel == null || guestModel.GuestState != 2) { return "客人名单状态不正确"; }
var fcmodel = finance_ConfigRepository.GetList(new RB_Finance_Config_ViewModel() { Group_Id = userInfo.Group_Id, Type = FinanceConfigTypeEnum.DropCourse }).FirstOrDefault();
if (fcmodel == null) { return "未配置制单流程"; }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment