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
f7a72a2c
Commit
f7a72a2c
authored
Nov 05, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
成交报告 审核修改
parent
991b569a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
3 deletions
+29
-3
account_statement.html
application/index/view/finance/account_statement.html
+1
-1
reportList.js
public/resource/js/reportList.js
+22
-1
house_template_tpl.html
public/resource/template/house_template_tpl.html
+6
-1
No files found.
application/index/view/finance/account_statement.html
View file @
f7a72a2c
...
...
@@ -138,7 +138,7 @@
</div>
<span
class=
"btn btn-info btn3 search"
id=
"maintable_search"
>
搜索
</span>
<span
class=
"btn btn-info btn3"
id=
"maintable_reset"
>
重置
</span>
<
!--<span class="btn btn-info btn3" id="maintable_export">导出excel</span>--
>
<
span
class=
"btn btn-info btn3"
id=
"export"
>
导出报表
</span
>
</form>
</td>
</tr>
...
...
public/resource/js/reportList.js
View file @
f7a72a2c
...
...
@@ -76,7 +76,10 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'css!style/home.css', '
document
.
getElementById
(
"maintable_form_search"
).
reset
();
bargain
.
agent_id_phone
=
''
;
});
//导出列表事件
$
(
"#export"
).
click
(
function
()
{
//导出列表
bargain
.
exportList
();
});
//时间轴按钮
_doc
.
on
(
"click"
,
".timeline"
,
function
()
{
bargain
.
Timeline
();
...
...
@@ -1637,6 +1640,24 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'css!style/home.css', '
}
});
},
//导出列表 收款记录
exportList
:
function
()
{
var
excel
=
1
;
var
shop_type
=
$
(
'#maintable_shop_type'
).
val
();
var
create_time
=
$
(
'#maintable_create_time'
).
val
();
var
end_time
=
$
(
'#maintable_end_time'
).
val
();
var
internal_address
=
$
(
'#maintable_internal_address'
).
val
();
var
user_phone
=
$
(
'#maintable_user_phone'
).
val
();
var
house_number
=
$
(
'#maintable_shop_num'
).
val
();
var
store_id
=
$
(
"select[name='store_id'] option:selected"
).
val
();
var
district_id
=
$
(
"select[name='district_id'] option:selected"
).
val
();
var
agent_phone
=
$
(
'#agent_phone'
).
val
();
var
bargain_id
=
$
(
'#bargain_id'
).
val
();
var
agent_name
=
$
(
'#agent_name'
).
val
();
var
partial_id
=
bargain
.
agent_id_phone
;
var
_url
=
bargain
.
switchUrl
()
+
'?'
;
window
.
open
(
_url
+
'excel='
+
excel
+
'&shop_type='
+
shop_type
+
'&create_time='
+
create_time
+
'&end_time='
+
end_time
+
'&internal_address='
+
internal_address
+
'&user_phone='
+
user_phone
+
'&house_number='
+
house_number
+
'&store_id='
+
store_id
+
'&district_id='
+
district_id
+
'&agent_phone='
+
agent_phone
+
'&bargain_id='
+
bargain_id
+
'&agent_name='
+
agent_name
+
'&partial_id='
+
partial_id
);
},
// 获取客户详情
Caozuo
:
function
()
{
//获取跟进详情的数据
$
.
ajax
({
...
...
public/resource/template/house_template_tpl.html
View file @
f7a72a2c
...
...
@@ -6,7 +6,12 @@
[
%
if
(
it
&&
it
.
length
!=
0
)
{
%
]
[
%
for
(
var
item
in
it
){
%
]
<
tr
class
=
"text-center"
>
<
td
>
[
%=
it
[
item
][
'id'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'id'
]
%
]
[
%
if
(
it
[
item
][
"is_lock"
]
==
1
)
{
%
]
<
span
class
=
"btn1 btn-warning btn-xs"
>
锁盘
<
/span
>
[
%
}
%
]
<
/td
>
<
td
>
[
%
if
(
it
[
item
][
"shop_type"
]
==
0
)
{
%
]
商场
...
...
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