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
0c61d80d
Commit
0c61d80d
authored
May 07, 2018
by
agping
Committed by
hujun
May 08, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
财务修改
parent
969c8d48
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
19 deletions
+8
-19
refundList.js
public/resource/js/refundList.js
+5
-5
reportList.js
public/resource/js/reportList.js
+2
-13
statementBackout.js
public/resource/js/statementBackout.js
+1
-1
No files found.
public/resource/js/refundList.js
View file @
0c61d80d
...
...
@@ -185,18 +185,18 @@ define(['doT', 'text!temp/refund_template_tpl.html', 'css!style/home.css', 'ckfi
console
.
log
(
$
(
'.btn-info'
).
index
());
var
a_url
;
if
(
$
(
'.btn-info'
).
index
()
==
0
){
a_url
=
"/index/
checkReport
Attache/0"
a_url
=
"/index/
overRule
Attache/0"
};
if
(
$
(
'.btn-info'
).
index
()
==
1
)
{
a_url
=
"/index/
checkReport
Manager/1"
a_url
=
"/index/
overRule
Manager/1"
};
if
(
$
(
'.btn-info'
).
index
()
==
2
)
{
a_url
=
"/index/
checkReport
Majordomo/2"
a_url
=
"/index/
overRule
Majordomo/2"
};
if
(
$
(
'.btn-info'
).
index
()
==
3
)
{
a_url
=
"/index/
checkReport
Cashier/3"
a_url
=
"/index/
overRule
Cashier/3"
};
// console.log($('.btn-info').index());
console
.
log
(
follow
.
house_id
);
$
.
ajax
({
'type'
:
'POST'
,
...
...
public/resource/js/reportList.js
View file @
0c61d80d
...
...
@@ -161,7 +161,6 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'css!style/home.css', '
a_url
=
"/index/checkReportCashier/3"
};
// console.log($('.btn-info').index());
console
.
log
(
follow
.
house_id
);
$
.
ajax
({
'type'
:
'POST'
,
'url'
:
a_url
,
...
...
@@ -174,7 +173,7 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'css!style/home.css', '
success
:
function
(
data
){
if
(
data
.
code
==
200
){
if
(
data
.
data
)
{
console
.
log
(
666
);
bargain
.
getList
(
1
);
}
}
else
{
alert
(
'获取失败!'
);
...
...
@@ -194,7 +193,7 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'css!style/home.css', '
if
(
data
.
data
)
{
var
caozuo_table
=
""
;
$
.
each
(
data
[
'data'
],
function
(
i
,
item
)
{
caozuo_table
+=
'<tr><td>'
+
item
.
role
+
'</td><td>'
+
item
.
agent_name
+
'</td><td>'
+
item
.
store_name
caozuo_table
+=
'<tr><td>'
+
item
.
role
_name
+
'</td><td>'
+
item
.
agent_name
+
'</td><td>'
+
item
.
store_name
+
'</td><td>'
+
item
.
scale
+
'</td><td>'
+
item
.
scale_fee
+
'</td><td>'
+
item
.
practical_fee
+
'</td><td>'
+
item
.
content
+
'</td></tr>'
;
});
$
(
"#caozuo_table"
).
html
(
caozuo_table
);
...
...
@@ -591,16 +590,6 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'css!style/home.css', '
if
(
data
.
code
==
200
)
{
var
doTtmpl
=
doT
.
template
(
document
.
getElementById
(
'reportList_list_tpl'
).
innerHTML
);
$
(
"#follow_list"
).
html
(
doTtmpl
(
data
.
data
.
list
));
// var user_info_obj = JSON.parse(decodeURIComponent(sessionStorage.getItem('pcUserInfo')));
// $(".edit").hide();
// $(".is_pass").hide();
// $(".genjing").hide();
// if(user_info_obj.level==10 && $('.btn-info').index()==0){
// }else{
// }
/*分页代码*/
add_page
(
data
.
data
.
total
,
pageNo
,
bargain
.
pageSize
,
bargain
.
getList
);
...
...
public/resource/js/statementBackout.js
View file @
0c61d80d
...
...
@@ -166,7 +166,7 @@ define (['doT', 'text!temp/statement_backout_template_tpl.html', 'css!style/home
}
});
},
Records
:
function
(){
//
分佣提成数据
Records
:
function
(){
//
收款记录
$
(
".Tswitch"
).
eq
(
0
).
hide
();
$
(
".Tswitch"
).
eq
(
1
).
hide
();
$
(
".Tswitch"
).
eq
(
2
).
show
();
...
...
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