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
1acf6818
Commit
1acf6818
authored
Jul 05, 2021
by
guanzhenshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解决查看费用单详情异常的问题
parent
5e2ad83b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
FinanceController.cs
Bailun.DC.Web/Areas/Reports/Controllers/FinanceController.cs
+8
-4
ListAdministrativeCost.cshtml
...Areas/Reports/Views/Finance/ListAdministrativeCost.cshtml
+1
-1
No files found.
Bailun.DC.Web/Areas/Reports/Controllers/FinanceController.cs
View file @
1acf6818
...
...
@@ -2012,6 +2012,8 @@ namespace Bailun.DC.Web.Areas.Reports.Controllers
[
BailunAuthentication
(
LoginMode
.
Enforce
)]
public
string
ListAdministrativeCostJson
(
DateTime
start
,
DateTime
end
,
int
?
paycompanyid
,
string
headname
,
string
categoryname
,
int
type
,
int
issub
,
int
?
ismanager
)
{
var
user
=
HttpContextHelper
.
Current
?.
User
;
//var url = ConfigHelper.GetByName("FeeUrl") + "?o=0";
//url += "&startDate=" + start.ToString("yyyy-MM-dd") + "&endDate=" + end.ToString("yyyy-MM-dd");
...
...
@@ -2088,14 +2090,16 @@ namespace Bailun.DC.Web.Areas.Reports.Controllers
companyName
=
a
.
company_name
,
currency
=
a
.
dic
,
departmentName
=
a
.
department_name
,
feeSubType
=
a
.
type
_name
,
feeSubType
=
a
.
kind
_name
,
a
.
accounting_subject_name
,
feeSuperType
=
a
.
kind
_name
,
feeSuperType
=
a
.
type
_name
,
no
=
a
.
cost_no
,
manageCostType
=
a
.
accounting_subject_name
,
receiveUnit
=
a
.
pay_dic
,
cost_form
=
a
.
cost_form
>
2
?(
a
.
is_lend
.
Value
==
1
?
3
:
4
):
a
.
cost_form
,
receiveUnit
=
a
.
bank_company
,
reason
=
a
.
cost_reason
,
payTime
=
a
.
pay_time
.
HasValue
?
a
.
pay_time
.
Value
.
ToString
(
"yyyy-MM-dd HH:mm:ss"
):
""
payTime
=
a
.
pay_time
.
HasValue
?
a
.
pay_time
.
Value
.
ToString
(
"yyyy-MM-dd HH:mm:ss"
):
""
,
uid
=
user
!=
null
?
user
.
GetUid
()
:
0
}).
ToList
();
...
...
Bailun.DC.Web/Areas/Reports/Views/Finance/ListAdministrativeCost.cshtml
View file @
1acf6818
...
...
@@ -52,7 +52,7 @@
{
field: 'no', title: '费用单号', formatter: function (idx, data) {
//return '<div class="mules" title="' + data.no + '">' + data.no + '</div>';
return '<a href="http://fee.bailuntec.com/#/manage_cost?manageCostType=' +
data.manageCostType + '&no=' + data.no
+ '" target="_blank">' + data.no + '</a>' + (data.no==""?"":'<a style="margin-left:5px;color:#aaa;" onclick="showAttachment(\''+data.no+'\');">出纳凭证</a>');
return '<a href="http://fee.bailuntec.com/#/manage_cost?manageCostType=' +
(data.cost_form) + '&no=' + data.no +'&uid='+data.uid
+ '" target="_blank">' + data.no + '</a>' + (data.no==""?"":'<a style="margin-left:5px;color:#aaa;" onclick="showAttachment(\''+data.no+'\');">出纳凭证</a>');
}
},
{ field: 'departmentName', title: '部门名称' },
...
...
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