Commit 1471129d by guanzhenshan

解决付现不对的问题

parent 47af129c
......@@ -641,7 +641,7 @@ join dc_base_warehouse t3 on t1.warehouse_code=t3.warehouse_code
//付现销售费用
m.managecost_bl_xg = (list.Where(a => a.company_name.Contains("香港百伦"))?.Sum(a => a.amount_rmb) ?? 0);
m.fee_paycash_sales = list.Where(a => a.fee_super_type == "推广费" || a.fee_super_type == "物流费用")?.Sum(a => a.amount_rmb) ?? 0;
m.fee_paycash_sales = list.Where(a => (a.fee_super_type == "推广费" || a.fee_super_type == "物流费用") && !a.company_name.Contains("香港百伦"))?.Sum(a => a.amount_rmb) ?? 0;
//付现销售费用加上香港百伦的管理成本金额
//Add by Allan at 20210102
m.fee_paycash_sales += m.managecost_bl_xg;
......
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