Commit 25866059 authored by liudong1993's avatar liudong1993

1

parent 27709f74
...@@ -3304,6 +3304,11 @@ namespace REBORN.Services.FinanceService ...@@ -3304,6 +3304,11 @@ namespace REBORN.Services.FinanceService
model.Money = (model.Money ?? 0) - (model.Fee ?? 0); model.Money = (model.Money ?? 0) - (model.Fee ?? 0);
model.WBMoney = (model.WBMoney ?? 0) - (model.OriginalFee ?? 0); model.WBMoney = (model.WBMoney ?? 0) - (model.OriginalFee ?? 0);
#endregion #endregion
if (model.detailList == null || !model.detailList.Any()) {
return ApiResult.ParamIsNull("请至少填入一行费用后再试");
}
model.Is_Cashier = 0; model.Is_Cashier = 0;
model.Is_Auto = 0; model.Is_Auto = 0;
if (!model.CallType.HasValue) { model.CallType = CallTypeEnum.Call; } if (!model.CallType.HasValue) { model.CallType = CallTypeEnum.Call; }
......
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