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
2c50edcc
Commit
2c50edcc
authored
May 07, 2018
by
agping
Committed by
hujun
May 08, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
收款记录修改
parent
40094e8a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
63 additions
and
18 deletions
+63
-18
account_statement.html
application/index/view/finance/account_statement.html
+17
-1
reportList.js
public/resource/js/reportList.js
+46
-17
No files found.
application/index/view/finance/account_statement.html
View file @
2c50edcc
...
@@ -146,8 +146,24 @@
...
@@ -146,8 +146,24 @@
</table>
</table>
<!--分佣提成-->
<!--分佣提成-->
</div>
</div>
<!-- ===========收款记录================ -->
<div
class=
"Tswitch Tswitch_two"
>
<table
class=
"table table-striped table-bordered table-hover table-condensed"
id=
"tcaozuo_hide"
>
<thead>
<tr>
<th
class=
"text-center"
>
入账时间
</th>
<th
class=
"text-center"
>
入账金额(元)
</th>
<th
class=
"text-center"
>
入账类型
</th>
<th
class=
"text-center"
>
入账方式
</th>
<th
class=
"text-center"
>
操作人
</th>
</tr>
</thead>
<tbody
class=
"text-center"
id=
"tcaozuo_table"
>
</table>
</div>
<!-- =============收款记录============== -->
<div
class=
"Tswitch Tswitch_two"
>
收款记录
</div>
<br><br><br><br>
<br><br><br><br>
</div>
</div>
<div
class=
"modal-footer"
>
<div
class=
"modal-footer"
>
...
...
public/resource/js/reportList.js
View file @
2c50edcc
...
@@ -38,6 +38,11 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'css!style/home.css', '
...
@@ -38,6 +38,11 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'css!style/home.css', '
$
(
document
).
delegate
(
".caozuo"
,
"click"
,
function
()
{
//点击分佣提成
$
(
document
).
delegate
(
".caozuo"
,
"click"
,
function
()
{
//点击分佣提成
follow
.
Caozuo
();
follow
.
Caozuo
();
});
});
$
(
document
).
delegate
(
"#records"
,
"click"
,
function
()
{
//点击收款记录
follow
.
Records
();
});
$
(
document
).
delegate
(
"#confirm_pass"
,
"click"
,
function
()
{
//点击通过按钮
$
(
document
).
delegate
(
"#confirm_pass"
,
"click"
,
function
()
{
//点击通过按钮
follow
.
confirmPass
();
follow
.
confirmPass
();
});
});
...
@@ -52,10 +57,7 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'css!style/home.css', '
...
@@ -52,10 +57,7 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'css!style/home.css', '
});
});
$
(
document
).
delegate
(
"#fees"
,
"click"
,
function
()
{
$
(
document
).
delegate
(
"#fees"
,
"click"
,
function
()
{
follow
.
Fees
();
follow
.
Fees
();
});
});
$
(
document
).
delegate
(
"#records"
,
"click"
,
function
()
{
follow
.
Records
();
});
//专员审核 总监审核 经理审核 出纳审核
//专员审核 总监审核 经理审核 出纳审核
$
(
document
).
delegate
(
"#commissioner"
,
"click"
,
function
()
{
$
(
document
).
delegate
(
"#commissioner"
,
"click"
,
function
()
{
follow
.
Commissioner
();
follow
.
Commissioner
();
...
@@ -177,7 +179,7 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'css!style/home.css', '
...
@@ -177,7 +179,7 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'css!style/home.css', '
});
});
},
},
Caozuo
:
function
(){
//分佣提成
获取跟进详情的
数据
Caozuo
:
function
(){
//分佣提成数据
$
.
ajax
({
$
.
ajax
({
'type'
:
'GET'
,
'type'
:
'GET'
,
'url'
:
'/index/commissionList'
,
'url'
:
'/index/commissionList'
,
...
@@ -205,6 +207,45 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'css!style/home.css', '
...
@@ -205,6 +207,45 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'css!style/home.css', '
}
}
});
});
},
},
// 收款记录
Records
:
function
(){
//分佣提成数据
$
(
".Tswitch"
).
eq
(
0
).
hide
();
$
(
".Tswitch"
).
eq
(
1
).
hide
();
$
(
".Tswitch"
).
eq
(
2
).
show
();
$
(
"#information"
).
removeClass
(
"btn-info"
);
$
(
"#information"
).
addClass
(
"btn-default"
);
$
(
"#fees"
).
removeClass
(
"btn-info"
);
$
(
"#fees"
).
addClass
(
"btn-default"
);
$
(
"#records"
).
removeClass
(
"btn-default"
);
$
(
"#records"
).
addClass
(
"btn-info"
);
$
.
ajax
({
'type'
:
'GET'
,
'url'
:
'/index/payLogList'
,
data
:
{
"id"
:
follow
.
house_id
},
dataType
:
"json"
,
success
:
function
(
data
){
if
(
data
.
code
==
200
){
if
(
data
.
data
)
{
var
caozuo_table
=
""
;
$
.
each
(
data
[
'data'
],
function
(
i
,
item
)
{
caozuo_table
+=
'<tr><td>'
+
item
.
create_time
+
'</td><td>'
+
item
.
money
+
'</td><td>'
+
item
.
type
+
'</td><td>'
+
item
.
pay_type
+
'</td><td>'
+
item
.
agent_name
+
'</td></tr>'
;
});
$
(
"#tcaozuo_table"
).
html
(
caozuo_table
);
$
(
"#tcaozuo_table tr"
).
each
(
function
(
e
)
{
//不能为空
var
temp
=
$
(
"#tcaozuo_table"
).
find
(
"tr"
).
eq
(
e
).
find
(
"td"
).
eq
(
6
).
html
();
//获取一列的值
if
(
temp
==
'null'
){
$
(
"#tcaozuo_table"
).
find
(
"tr"
).
eq
(
e
).
find
(
"td"
).
eq
(
6
).
html
(
" "
)
}
});
}
}
else
{
alert
(
'获取失败!'
);
}
}
});
},
newCommission
:
function
(){
//新增分佣提成
newCommission
:
function
(){
//新增分佣提成
$
.
ajax
({
$
.
ajax
({
'type'
:
'POST'
,
'type'
:
'POST'
,
...
@@ -250,18 +291,6 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'css!style/home.css', '
...
@@ -250,18 +291,6 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'css!style/home.css', '
$
(
"#records"
).
removeClass
(
"btn-info"
);
$
(
"#records"
).
removeClass
(
"btn-info"
);
$
(
"#records"
).
addClass
(
"btn-default"
);
$
(
"#records"
).
addClass
(
"btn-default"
);
},
Records
:
function
(){
$
(
".Tswitch"
).
eq
(
0
).
hide
();
$
(
".Tswitch"
).
eq
(
1
).
hide
();
$
(
".Tswitch"
).
eq
(
2
).
show
();
$
(
"#information"
).
removeClass
(
"btn-info"
);
$
(
"#information"
).
addClass
(
"btn-default"
);
$
(
"#fees"
).
removeClass
(
"btn-info"
);
$
(
"#fees"
).
addClass
(
"btn-default"
);
$
(
"#records"
).
removeClass
(
"btn-default"
);
$
(
"#records"
).
addClass
(
"btn-info"
);
},
},
Submit_follow
:
function
()
{
//提交
Submit_follow
:
function
()
{
//提交
$
.
ajax
({
$
.
ajax
({
...
...
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