Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
DataCenter_Core2.1_20190520
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bltdc
DataCenter_Core2.1_20190520
Commits
61950156
Commit
61950156
authored
Jan 13, 2021
by
guanzhenshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
月销售利润报表增加导出功能
parent
7837af01
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
3 deletions
+27
-3
KeyValue.cs
Bailun.DC.Models/Common/KeyValue.cs
+14
-0
FinanceReportServices.cs
Bailun.DC.Services/FinanceReportServices.cs
+2
-2
FinanceController.cs
Bailun.DC.Web/Areas/Reports/Controllers/FinanceController.cs
+0
-0
MonthSaleProfitNew.cshtml
...Web/Areas/Reports/Views/Finance/MonthSaleProfitNew.cshtml
+11
-1
No files found.
Bailun.DC.Models/Common/KeyValue.cs
0 → 100644
View file @
61950156
using
System
;
using
System.Collections.Generic
;
using
System.Text
;
namespace
Bailun.DC.Models.Common
{
public
class
KeyValue
{
public
string
Key
{
get
;
set
;
}
public
string
Value
{
get
;
set
;
}
}
}
Bailun.DC.Services/FinanceReportServices.cs
View file @
61950156
...
@@ -5530,8 +5530,8 @@ group by currency";
...
@@ -5530,8 +5530,8 @@ group by currency";
obj
.
fee_platform_and_refund
=
obj
.
fee_platform
+
obj
.
fee_fba
+
obj
.
fee_refund
+
obj
.
fee_ad
;
obj
.
fee_platform_and_refund
=
obj
.
fee_platform
+
obj
.
fee_fba
+
obj
.
fee_refund
+
obj
.
fee_ad
;
sql_update
+=
" ,fee_platform_and_refund="
+
obj
.
fee_platform_and_refund
;
sql_update
+=
" ,fee_platform_and_refund="
+
obj
.
fee_platform_and_refund
;
//物流仓储费用 = 头程运输+直邮物流费+海外仓仓储+海外仓杂费
//物流仓储费用 = 头程运输+直邮物流费+
尾程物流费+
海外仓仓储+海外仓杂费
obj
.
fee_logistics_storage
=
obj
.
fee_logistics_first
+
obj
.
fee_logistics_direct
+
obj
.
fee_storage
+
obj
.
fee_storage_incidentals
;
obj
.
fee_logistics_storage
=
obj
.
fee_logistics_first
+
obj
.
fee_logistics_direct
+
obj
.
fee_logistics_tail
+
obj
.
fee_storage
+
obj
.
fee_storage_incidentals
;
sql_update
+=
" ,fee_logistics_storage="
+
obj
.
fee_logistics_storage
;
sql_update
+=
" ,fee_logistics_storage="
+
obj
.
fee_logistics_storage
;
//销售费用合计=平台扣费及退款+物流仓储费用+付现销售费用
//销售费用合计=平台扣费及退款+物流仓储费用+付现销售费用
...
...
Bailun.DC.Web/Areas/Reports/Controllers/FinanceController.cs
View file @
61950156
This diff is collapsed.
Click to expand it.
Bailun.DC.Web/Areas/Reports/Views/Finance/MonthSaleProfitNew.cshtml
View file @
61950156
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
<div class="form-group">
<div class="form-group">
<label> </label>
<label> </label>
<button type="button" class="btn btn-primary" onclick="list();"><i class="fa fa-search"></i> 查询</button>
<button type="button" class="btn btn-primary" onclick="list();"><i class="fa fa-search"></i> 查询</button>
@*<button type="button" class="btn btn-danger" onclick="exportxls();">导出</button>*@
<button type="button" class="btn btn-danger" onclick="exportxls();">导出</button>
</div>
</div>
</div>
</div>
</form>
</form>
...
@@ -231,6 +231,16 @@
...
@@ -231,6 +231,16 @@
layer_show(mon + ' ' + name + "的明细", '@Url.Content("~/Reports/Finance/MonthSaleProfitDetails")' + '?month=' + mon + '&col=' + col + '&colname=' + name, '95%', '95%');
layer_show(mon + ' ' + name + "的明细", '@Url.Content("~/Reports/Finance/MonthSaleProfitDetails")' + '?month=' + mon + '&col=' + col + '&colname=' + name, '95%', '95%');
}
}
function exportxls() {
var mon = $('#month').val();
if (mon == '') {
alert('请选择月份');
return;
}
window.open('@Url.Content("~/Reports/Finance/ExportMonthSaleProfitNew?month=")' + mon, '_blank');
}
function clearHtml(s) {
function clearHtml(s) {
// 去除 富文本格式
// 去除 富文本格式
s = s.replace(/(\n)/g, "");
s = s.replace(/(\n)/g, "");
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment