From fd865638a82d6691a7904ce1aaccff1e050c7c14 Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期五, 09 七月 2021 13:18:02 +0800 Subject: [PATCH] 订单管理: 订单数量默认1 列表 订单类别 显示三级 收货人默认客户资料的收货人 订单批量打印 打印需要批量打印 回访:需要增加 接待人,回访情况,用户评价.客户意见, 送货。 送货公司,单号,时间 --- zhengcaioa/zhengcaioa/Controllers/Finance/FiAccountIncomeController.cs | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/zhengcaioa/zhengcaioa/Controllers/Finance/FiAccountIncomeController.cs b/zhengcaioa/zhengcaioa/Controllers/Finance/FiAccountIncomeController.cs index 24b5206..0d3ef77 100644 --- a/zhengcaioa/zhengcaioa/Controllers/Finance/FiAccountIncomeController.cs +++ b/zhengcaioa/zhengcaioa/Controllers/Finance/FiAccountIncomeController.cs @@ -143,12 +143,15 @@ data.RecordTypeId = "1";//鏀跺叆 data.Department = ""; - - resultEntity = _iFiAccountRecordService.save(data); + firmAccount.AllIncome = (firmAccount.AllIncome ?? 0) + data.Money ; firmAccount.Balance = (firmAccount.Balance??0) + data.Money; + data.AccountMoney = firmAccount.Balance; + + resultEntity = _iFiAccountRecordService.save(data); + resultEntity = _fiAccountService.save(firmAccount); scope.Complete(); } -- Gitblit v1.9.1