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
a2293078
Commit
a2293078
authored
Jul 04, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
预计收款时间
parent
3da9fcfc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
Finance.php
application/index/controller/Finance.php
+7
-1
No files found.
application/index/controller/Finance.php
View file @
a2293078
...
...
@@ -203,7 +203,7 @@ class Finance extends Basic
}
else
{
$bargain
=
new
OBargainModel
();
$fields
=
'a.id,a.create_time,b.user_phone,b.user_name,d.internal_title,d.internal_address,a.is_open,a.order_id,'
;
$fields
.=
'a.trade_type,a.house_number,a.commission,a.content,d.shop_type,a.industry_type,a.price'
;
$fields
.=
'a.trade_type,a.house_number,a.commission,a.content,d.shop_type,a.industry_type,a.price
,a.estimated_receipt_date
'
;
$where
[
'a.id'
]
=
$this
->
params
[
'id'
];
$data
[
'data'
]
=
$bargain
->
getBargainInfo
(
$fields
,
$where
);
}
...
...
@@ -237,6 +237,10 @@ class Finance extends Basic
return
$this
->
response
(
'101'
,
'实收佣金数量超过限制'
);
}
if
(
empty
(
$this
->
params
[
'estimated_receipt_date'
]))
{
return
$this
->
response
(
101
,
'预计收款时间为空'
);
}
//应收总佣金
if
(
!
empty
(
$this
->
params
[
'commission'
]))
{
$update_data
[
'commission'
]
=
$this
->
params
[
'commission'
];
...
...
@@ -266,6 +270,8 @@ class Finance extends Basic
$update_data
[
'price'
]
=
$this
->
params
[
'price'
];
}
$update_data
[
'estimated_receipt_date'
]
=
$this
->
params
[
'estimated_receipt_date'
];
//预计收款时间
$m_bargain
=
new
OBargainModel
();
$m_real
=
new
ORealIncome
();
...
...
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