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
a61afddf
Commit
a61afddf
authored
Mar 16, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
edit
parent
229083bf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
Finance.php
application/index/controller/Finance.php
+6
-6
reportList.js
public/resource/js/reportList.js
+2
-0
No files found.
application/index/controller/Finance.php
View file @
a61afddf
...
...
@@ -1468,13 +1468,13 @@ class Finance extends Basic
if
(
empty
(
$partial_data
[
'confirm_date'
]))
{
$update_arr
[
$i
][
'confirm_date'
]
=
date
(
"Y-m-d H:i:s"
,
time
());
$update_arr
[
$i
][
'confirm_status'
]
=
1
;
}
if
(
empty
(
$user_id
)
&&
$this
->
params
[
'report_id'
])
{
$user_id
=
$m_report
->
getFieldValue
(
'user_id'
,[
'id'
=>
$this
->
params
[
'report_id'
]]);
if
(
$user_id
)
{
$service
=
new
ConvertCouponService
();
$service
->
convertCoupon
(
$user_id
,
$this
->
params
[
'report_id'
],
$this
->
params
[
'bargain_id'
],
$this
->
params
[
'order_id'
]);
//核销红包
}
if
(
empty
(
$user_id
)
&&
$this
->
params
[
'report_id'
])
{
$user_id
=
$m_report
->
getFieldValue
(
'user_id'
,[
'id'
=>
$this
->
params
[
'report_id'
]]);
if
(
$user_id
)
{
$service
=
new
ConvertCouponService
();
echo
$service
->
convertCoupon
(
$user_id
,
$this
->
params
[
'report_id'
],
$this
->
params
[
'bargain_id'
],
$this
->
params
[
'order_id'
]);
die
;
//核销红包
}
}
}
...
...
public/resource/js/reportList.js
View file @
a61afddf
...
...
@@ -1440,6 +1440,8 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'css!style/home.css', '
}
}
else
{
var
_dataTemp
=
{
'order_id'
:
bargain
.
order_id
,
'report_id'
:
bargain
.
report_id_liu
,
'bargain_id'
:
_$v
.
attr
(
'data-id'
),
//成交报告id
'last_commission_id'
:
_$v
.
attr
(
'lastid'
)?
_$v
.
attr
(
'lastid'
):
0
,
//最后一个提交的记录id
'is_account_commission'
:
type
//0是保存,1是确认分佣
...
...
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