Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
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
hujun
tl_estate
Commits
40bdf0d5
Commit
40bdf0d5
authored
Oct 11, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
title
parent
d3ee48e8
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
OfficePayLog.php
application/index/controller/OfficePayLog.php
+8
-1
PayLog.php
application/index/controller/PayLog.php
+1
-1
No files found.
application/index/controller/OfficePayLog.php
View file @
40bdf0d5
...
@@ -2581,7 +2581,7 @@ class OfficePayLog extends Basic
...
@@ -2581,7 +2581,7 @@ class OfficePayLog extends Basic
*/
*/
public
function
intentionsWarning
()
public
function
intentionsWarning
()
{
{
if
(
!
$this
->
request
->
isAjax
())
{
if
(
!
$this
->
request
->
isAjax
()
&&
empty
(
$this
->
params
[
'excel'
])
)
{
return
view
(
'payLog/intentions_warning'
);
return
view
(
'payLog/intentions_warning'
);
}
}
...
@@ -2634,9 +2634,16 @@ class OfficePayLog extends Basic
...
@@ -2634,9 +2634,16 @@ class OfficePayLog extends Basic
try
{
try
{
$order
=
new
OfficeOPayLogModel
();
$order
=
new
OfficeOPayLogModel
();
$field
=
'a.create_time,a.id,a.order_id,a.bargain_id,a.income_time,c.name,a.real_money'
;
$field
=
'a.create_time,a.id,a.order_id,a.bargain_id,a.income_time,c.name,a.real_money'
;
if
(
empty
(
$this
->
params
[
'excel'
]))
{
$list
=
$order
->
getPayLogOrderListLimit
(
$pageNo
,
$pageSize
,
$order_
=
'a.id desc'
,
$field
,
$where
);
$list
=
$order
->
getPayLogOrderListLimit
(
$pageNo
,
$pageSize
,
$order_
=
'a.id desc'
,
$field
,
$where
);
$data
[
'total'
]
=
$order
->
getPayLogOrderListLimitTotal
(
$where
);
$data
[
'total'
]
=
$order
->
getPayLogOrderListLimitTotal
(
$where
);
$data
[
'list'
]
=
$list
;
$data
[
'list'
]
=
$list
;
}
else
{
$list
=
$order
->
getPayLogOrderListLimit
(
1
,
40000
,
$order_
=
'a.id desc'
,
$field
,
$where
);
$export
=
new
ExportExcelUntil
();
$title
=
[
'提交时间'
,
'收款ID'
,
'带看ID'
,
'成交报告ID'
,
'入账日期'
,
'提交人'
,
'收款金额(元)'
];
return
$export
->
exportTable
(
'收款记录-办公楼'
,
$list
,
6
,
'收款记录-办公楼'
,
$title
);
}
}
catch
(
\Exception
$e
)
{
}
catch
(
\Exception
$e
)
{
$msg
=
'内部错误:'
.
$e
->
getMessage
();
$msg
=
'内部错误:'
.
$e
->
getMessage
();
}
}
...
...
application/index/controller/PayLog.php
View file @
40bdf0d5
...
@@ -96,7 +96,7 @@ class PayLog extends Basic
...
@@ -96,7 +96,7 @@ class PayLog extends Basic
$list
=
$order
->
getPayLogOrderListLimit
(
1
,
40000
,
$order_
=
'a.id desc'
,
$field
,
$where
);
$list
=
$order
->
getPayLogOrderListLimit
(
1
,
40000
,
$order_
=
'a.id desc'
,
$field
,
$where
);
$export
=
new
ExportExcelUntil
();
$export
=
new
ExportExcelUntil
();
$title
=
[
'提交时间'
,
'收款ID'
,
'带看ID'
,
'成交报告ID'
,
'入账日期'
,
'提交人'
,
'收款金额(元)'
];
$title
=
[
'提交时间'
,
'收款ID'
,
'带看ID'
,
'成交报告ID'
,
'入账日期'
,
'提交人'
,
'收款金额(元)'
];
return
$export
->
exportTable
(
'收款记录
'
,
$list
,
6
,
'收款记录
'
,
$title
);
return
$export
->
exportTable
(
'收款记录
-商铺'
,
$list
,
6
,
'收款记录-商铺
'
,
$title
);
}
}
}
catch
(
\Exception
$e
)
{
}
catch
(
\Exception
$e
)
{
...
...
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