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
ccd6ddca
Commit
ccd6ddca
authored
Jul 08, 2021
by
guanzhenshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整管理成本付现流水
parent
7bec9157
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
11 deletions
+14
-11
FinanceController.cs
Bailun.DC.Web/Areas/Reports/Controllers/FinanceController.cs
+3
-3
AdministrativeCost.cshtml
...Web/Areas/Reports/Views/Finance/AdministrativeCost.cshtml
+11
-8
No files found.
Bailun.DC.Web/Areas/Reports/Controllers/FinanceController.cs
View file @
ccd6ddca
...
...
@@ -2097,7 +2097,7 @@ namespace Bailun.DC.Web.Areas.Reports.Controllers
manageCostType
=
a
.
accounting_subject_name
,
cost_form
=
a
.
cost_form
>
2
?(
a
.
is_lend
.
Value
==
1
?
3
:
4
):
a
.
cost_form
,
receiveUnit
=
a
.
bank_company
,
reason
=
a
.
cost_reason
,
reason
=
string
.
IsNullOrEmpty
(
a
.
cost_reason
)?
a
.
cost_remark
:
a
.
cost_reason
,
payTime
=
a
.
pay_time
.
HasValue
?
a
.
pay_time
.
Value
.
ToString
(
"yyyy-MM-dd HH:mm:ss"
):
""
,
uid
=
user
!=
null
?
user
.
GetUid
()
:
0
}).
ToList
();
...
...
@@ -2404,7 +2404,7 @@ namespace Bailun.DC.Web.Areas.Reports.Controllers
foreach
(
var
item
in
obj
)
{
list
.
Add
(
item
.
cost_no
+
"|"
+
item
.
department_name
+
"|"
+
item
.
company_name
+
"|"
+
item
.
type_name
+
"|"
+
item
.
accounting_subject_name
+
"|"
+
item
.
amount
+
"|"
+
item
.
dic
+
"|"
+
item
.
amount_rmb
+
"|"
+
item
.
bank_company
+
"|"
+
item
.
cost_reason
+
"|"
+
item
.
pay_time
.
Value
.
ToString
(
"yyyy-MM-dd HH:mm:ss"
+
"|"
+
item
.
mor_remark
)
item
.
amount
+
"|"
+
item
.
dic
+
"|"
+
item
.
amount_rmb
+
"|"
+
item
.
bank_company
+
"|"
+
(
string
.
IsNullOrEmpty
(
item
.
cost_reason
)
?
item
.
cost_remark
:
item
.
cost_reason
)
+
"|"
+
item
.
pay_time
.
Value
.
ToString
(
"yyyy-MM-dd HH:mm:ss"
+
"|"
+
item
.
mor_remark
)
);
}
...
...
@@ -2456,7 +2456,7 @@ namespace Bailun.DC.Web.Areas.Reports.Controllers
foreach
(
var
item
in
obj
)
{
list
.
Add
(
item
.
cost_no
+
"|"
+
item
.
department_name
+
"|"
+
item
.
company_name
+
"|"
+
item
.
type_name
+
"|"
+
item
.
accounting_subject_name
+
"|"
+
item
.
amount
+
"|"
+
item
.
dic
+
"|"
+
item
.
amount_rmb
+
"|"
+
item
.
bank_company
+
"|"
+
item
.
cost_reason
+
"|"
+
item
.
pay_time
.
Value
.
ToString
(
"yyyy-MM-dd HH:mm:ss"
+
"|"
+
item
.
mor_remark
)
item
.
amount
+
"|"
+
item
.
dic
+
"|"
+
item
.
amount_rmb
+
"|"
+
item
.
bank_company
+
"|"
+
(
string
.
IsNullOrEmpty
(
item
.
cost_reason
)
?
item
.
cost_remark
:
item
.
cost_reason
)
+
"|"
+
item
.
pay_time
.
Value
.
ToString
(
"yyyy-MM-dd HH:mm:ss"
+
"|"
+
item
.
mor_remark
)
);
}
...
...
Bailun.DC.Web/Areas/Reports/Views/Finance/AdministrativeCost.cshtml
View file @
ccd6ddca
...
...
@@ -7,15 +7,18 @@
<div class="row">
<div class="col-sm-12">
<div class="ibox-content m-b-sm border-bottom">
<div class="alert alert-info">
</div>
<form id="toolbar">
<div class="form-inline" style="line-height:40px;">
<div class="form-group">
@*
<div class="form-group">
<label>统计类型</label>
<select id="sel_type" class="form-control">
<option value="1">按部门</option>
<option value="2">按付款主体</option>
</select>
</div>
</div>
*@
<div class="form-group">
<label>付款时间</label>
<input class="form-control layer-date" id="start" style="width:120px;" placeholder="付款开始时间" value="@ViewBag.start.ToString("yyyy-MM-dd")" />
...
...
@@ -97,12 +100,12 @@
})
function list() {
var type = $('#sel_type').val();
//
var type = $('#sel_type').val();
if (type == '') {
alert('请选择统计类型');
return false;
}
//
if (type == '') {
//
alert('请选择统计类型');
//
return false;
//
}
var start = $('#start').val();
var end = $('#end').val();
...
...
@@ -124,7 +127,7 @@
$.submit({
url: '@Url.Content("~/Reports/Finance/AdministrativeCostJson")',
type: 'POST',
paramData: 't=
' + type
+ '&start=' + start + '&end=' + end + '&ismanager=' + $('#ismanager').val(),
paramData: 't=
2'
+ '&start=' + start + '&end=' + end + '&ismanager=' + $('#ismanager').val(),
func: function (result) {
layer.close(lindex);
if (result.success) {
...
...
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