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
26e05049
Commit
26e05049
authored
Dec 13, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
后台
parent
82be5577
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
652 additions
and
9 deletions
+652
-9
blackListCon.html
application/index/view/blackList/blackListCon.html
+1
-2
agent.html
application/index/view/broker/agent.html
+4
-5
daily_details.html
application/index/view/finance/daily_details.html
+433
-2
financial_manager_daily_list.js
public/resource/js/financial_manager_daily_list.js
+191
-0
financial_manager_daily_list_template_tpl.html
...e/template/financial_manager_daily_list_template_tpl.html
+23
-0
No files found.
application/index/view/blackList/blackListCon.html
View file @
26e05049
...
@@ -162,7 +162,6 @@
...
@@ -162,7 +162,6 @@
</div>
</div>
</div>
</div>
<!--黑名单-->
<!--黑名单-->
<!--收款图片 2.2版本-->
<div
class=
"modal fade"
id=
"modal-blackList"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal fade"
id=
"modal-blackList"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal-dialog modal-body-width"
>
<div
class=
"modal-dialog modal-body-width"
>
<div
class=
"modal-content"
>
<div
class=
"modal-content"
>
...
@@ -171,7 +170,7 @@
...
@@ -171,7 +170,7 @@
×
×
</button>
</button>
<h4
class=
"modal-title"
>
<h4
class=
"modal-title"
>
收款图片
黑名单详情
</h4>
</h4>
</div>
</div>
<div
class=
"modal-body modal-body-height"
>
<div
class=
"modal-body modal-body-height"
>
...
...
application/index/view/broker/agent.html
View file @
26e05049
...
@@ -149,10 +149,10 @@
...
@@ -149,10 +149,10 @@
</select>
</select>
<input
class=
"form-control btn2 ld-Marheight"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"id"
placeholder=
"姓名/手机号"
name=
"search"
type=
"text"
value=
""
>
<input
class=
"form-control btn2 ld-Marheight"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"id"
placeholder=
"姓名/手机号"
name=
"search"
type=
"text"
value=
""
>
<select
class=
"form-control btn2 ld-Marheight"
name=
"agent_status"
placeholder=
"经纪人状态"
>
<select
class=
"form-control btn2 ld-Marheight"
name=
"agent_status"
placeholder=
"经纪人状态"
>
<option
value=
"
-1
"
>
经纪人状态
</option>
<option
value=
""
>
经纪人状态
</option>
<option
value=
"0"
>
正常
</option>
<option
value=
"0"
>
正常
</option>
<option
value=
"1"
>
离职
</option>
<option
value=
"1"
>
长假
</option>
<option
value=
"2"
>
长假
</option>
<option
value=
"2"
>
离职
</option>
<option
value=
"3"
>
已转勤
</option>
<option
value=
"3"
>
已转勤
</option>
<option
value=
"4"
>
黑名单
</option>
<option
value=
"4"
>
黑名单
</option>
</select>
</select>
...
@@ -663,7 +663,6 @@
...
@@ -663,7 +663,6 @@
<!-- /.modal -->
<!-- /.modal -->
</div>
</div>
<!--黑名单-->
<!--黑名单-->
<!--收款图片 2.2版本-->
<div
class=
"modal fade"
id=
"modal-blackList"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal fade"
id=
"modal-blackList"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal-dialog modal-body-width"
>
<div
class=
"modal-dialog modal-body-width"
>
<div
class=
"modal-content"
>
<div
class=
"modal-content"
>
...
@@ -672,7 +671,7 @@
...
@@ -672,7 +671,7 @@
×
×
</button>
</button>
<h4
class=
"modal-title"
>
<h4
class=
"modal-title"
>
收款图片
加黑名单
</h4>
</h4>
</div>
</div>
<div
class=
"modal-body modal-body-height"
>
<div
class=
"modal-body modal-body-height"
>
...
...
application/index/view/finance/daily_details.html
View file @
26e05049
{layout name="global/frame_tpl" /}
{layout name="global/frame_tpl" /}
\ No newline at end of file
<input
type=
"hidden"
class=
"page-load"
id=
"financial_daily_list"
/>
<style
type=
"text/css"
>
.clear
{
clear
:
both
;
}
.button-center-bargain
{
width
:
430px
;
}
.user-ul
{
height
:
auto
;
float
:
left
;
position
:
relative
;
left
:
-40px
;
}
.user-ul
li
{
list-style
:
none
;
line-height
:
30px
;
}
.left-phone
{
float
:
left
;
margin-top
:
10px
;
margin-left
:
10px
;
}
#bargaininfo_shop_num
{
width
:
100px
;
display
:
inline-block
;
}
/*客户详情 样式*/
.modal-body1
{
height
:
716px
;
overflow-y
:
auto
;
padding-bottom
:
60px
;
}
.modal-body-details
{
width
:
850px
;
}
/*客户动态*/
.followup-modal-list-area
{
height
:
258px
;
overflow-y
:
scroll
;
}
.form-control
[
disabled
]
{
background-color
:
#fff
;
}
.user_pic
{
width
:
30px
;
height
:
30px
;
border-radius
:
15px
;
}
.btn-guanbi
{
float
:
right
;
}
/*客户详情 样式*/
.total-commission
{
font-size
:
16px
;
font-weight
:
600
;
float
:
left
;
margin-left
:
12px
;
}
#maintable_form_search
>
span
.total-commission
{
margin-top
:
16px
;
}
/*加载图标*/
#main_loading_pic
{
position
:
fixed
;
top
:
50%
;
left
:
50%
;
width
:
100px
;
height
:
100px
;
margin-left
:
50px
;
margin-top
:
-100px
;
overflow
:
hidden
;
display
:
none
;
}
h4
{
font-weight
:
700
;
font-size
:
16px
;
margin
:
0
;
margin-bottom
:
5px
;
}
.manager-daily-detail
{
height
:
800px
;
overflow-y
:
scroll
;
}
.manager-title
{
float
:
left
;
font-size
:
16px
;
font-weight
:
700
;
margin-top
:
11px
;
}
.btn4-pk
{
width
:
150px
!important
;
float
:
left
;
margin-left
:
10px
;
}
.input-pk-style
{
display
:
block
;
width
:
100%
;
height
:
30px
;
padding
:
3px
6px
;
font-size
:
14px
;
line-height
:
30px
;
color
:
#666
;
background-color
:
#fff
;
background-image
:
none
;
border
:
1px
solid
#ccc
;
}
.table
{
margin-bottom
:
10px
;
}
.is-submit-div
{
text-align
:
center
;
}
.is-submit
{
display
:
inline-block
;
background-color
:
#286090
;
color
:
white
;
padding
:
0
3px
;
border-radius
:
6px
;
width
:
111px
;
height
:
34px
;
line-height
:
34px
;
font-size
:
15px
;
text-align
:
center
;
}
</style>
<div
id=
"page-content-wrapper"
>
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
""
>
<div
class=
"panel panel-default"
>
<div
class=
"panel-heading breadcrumb"
>
<li>
<span
class=
"manager-title ld-Marheight"
>
杭州同联- 九部一组周小雨
</span>
<input
class=
"btn4-pk ld-Marheight input-pk-style"
value=
""
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"create_time_start"
name=
"start_date1"
type=
"date"
>
</li>
</div>
<div
class=
"panel-body manager-daily-detail"
>
<!--1-->
<h4>
当日中介费入账
</h4>
<div
class=
"table-responsive"
>
<table
class=
"table table-striped table-bordered table-hover table-condensed"
>
<thead>
<tr
class=
"maintable-tr-bar"
>
<th
class=
"text-center"
>
收款ID
</th>
<th
class=
"text-center"
>
成交报告ID
</th>
<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>
<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>
<th
class=
"text-center"
>
是否开业
</th>
<th
class=
"text-center"
>
是否分红
</th>
<th
class=
"text-center"
>
附件
</th>
</tr>
</thead>
<tbody
class=
"text-center"
id=
"maintable_list_a"
>
<tr>
<td
class=
"text-center"
>
11
</td>
<td
class=
"text-center"
>
555
</td>
<td
class=
"text-center"
>
5
</td>
<td
class=
"text-center"
>
6
</td>
<td
class=
"text-center"
>
3
</td>
<td
class=
"text-center"
>
2
</td>
<td
class=
"text-center"
>
2
</td>
<td
class=
"text-center"
>
33
</td>
<td
class=
"text-center"
>
22
</td>
<td
class=
"text-center"
>
15517301736
</td>
<td
class=
"text-center"
>
666
</td>
<td
class=
"text-center"
>
888
</td>
<td
class=
"text-center"
>
888
</td>
<td
class=
"text-center"
>
999
</td>
<td
class=
"text-center"
>
资料
</td>
</tr>
</tbody>
</table>
</div>
<!--2-->
<h4>
当日案场费入账
</h4>
<div
class=
"table-responsive"
>
<table
class=
"table table-striped table-bordered table-hover table-condensed"
>
<thead>
<tr
class=
"maintable-tr-bar"
>
<th
class=
"text-center"
>
收款ID
</th>
<th
class=
"text-center"
>
成交报告ID
</th>
<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>
<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>
<th
class=
"text-center"
>
备注
</th>
<th
class=
"text-center"
>
附件
</th>
</tr>
</thead>
<tbody
class=
"text-center"
id=
"maintable_list_a"
>
<tr>
<td
class=
"text-center"
>
11
</td>
<td
class=
"text-center"
>
555
</td>
<td
class=
"text-center"
>
5
</td>
<td
class=
"text-center"
>
6
</td>
<td
class=
"text-center"
>
3
</td>
<td
class=
"text-center"
>
2
</td>
<td
class=
"text-center"
>
2
</td>
<td
class=
"text-center"
>
33
</td>
<td
class=
"text-center"
>
22
</td>
<td
class=
"text-center"
>
15517301736
</td>
<td
class=
"text-center"
>
666
</td>
<td
class=
"text-center"
>
888
</td>
<td
class=
"text-center"
>
888
</td>
<td
class=
"text-center"
>
资料
</td>
</tr>
</tbody>
</table>
</div>
<!--3-->
<h4>
当日意向金入账
</h4>
<div
class=
"table-responsive"
>
<table
class=
"table table-striped table-bordered table-hover table-condensed"
>
<thead>
<tr
class=
"maintable-tr-bar"
>
<th
class=
"text-center"
>
收款ID
</th>
<th
class=
"text-center"
>
订单ID
</th>
<th
class=
"text-center"
>
房源ID
</th>
<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>
<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=
"maintable_list_a"
>
<tr>
<td
class=
"text-center"
>
11
</td>
<td
class=
"text-center"
>
555
</td>
<td
class=
"text-center"
>
5
</td>
<td
class=
"text-center"
>
6
</td>
<td
class=
"text-center"
>
3
</td>
<td
class=
"text-center"
>
2
</td>
<td
class=
"text-center"
>
2
</td>
<td
class=
"text-center"
>
33
</td>
<td
class=
"text-center"
>
22
</td>
<td
class=
"text-center"
>
15517301736
</td>
<td
class=
"text-center"
>
666
</td>
<td
class=
"text-center"
>
资料
</td>
</tr>
</tbody>
</table>
</div>
<!--4-->
<h4>
当日保管金入账
</h4>
<div
class=
"table-responsive"
>
<table
class=
"table table-striped table-bordered table-hover table-condensed"
>
<thead>
<tr
class=
"maintable-tr-bar"
>
<th
class=
"text-center"
>
收款ID
</th>
<th
class=
"text-center"
>
房源ID
</th>
<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>
<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=
"maintable_list_a"
>
<tr>
<td
class=
"text-center"
>
555
</td>
<td
class=
"text-center"
>
5
</td>
<td
class=
"text-center"
>
6
</td>
<td
class=
"text-center"
>
3
</td>
<td
class=
"text-center"
>
2
</td>
<td
class=
"text-center"
>
2
</td>
<td
class=
"text-center"
>
33
</td>
<td
class=
"text-center"
>
22
</td>
<td
class=
"text-center"
>
15517301736
</td>
<td
class=
"text-center"
>
666
</td>
<td
class=
"text-center"
>
资料
</td>
</tr>
</tbody>
</table>
</div>
<!--5-->
<h4>
当日调整出账
</h4>
<div
class=
"table-responsive"
>
<table
class=
"table table-striped table-bordered table-hover table-condensed"
>
<thead>
<tr
class=
"maintable-tr-bar"
>
<th
class=
"text-center"
>
调整ID
</th>
<th
class=
"text-center"
>
调整前房源ID
</th>
<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>
<th
class=
"text-center"
>
业务员
</th>
<th
class=
"text-center"
>
所属门店
</th>
<th
class=
"text-center"
>
附件
</th>
</tr>
</thead>
<tbody
class=
"text-center"
id=
"maintable_list_a"
>
<tr>
<td
class=
"text-center"
>
555
</td>
<td
class=
"text-center"
>
5
</td>
<td
class=
"text-center"
>
6
</td>
<td
class=
"text-center"
>
3
</td>
<td
class=
"text-center"
>
2
</td>
<td
class=
"text-center"
>
2
</td>
<td
class=
"text-center"
>
33
</td>
<td
class=
"text-center"
>
22
</td>
<td
class=
"text-center"
>
15517301736
</td>
<td
class=
"text-center"
>
资料
</td>
</tr>
</tbody>
</table>
</div>
<!--6-->
<h4>
以上入账金额:451223元
以上出账金额:45123元
入账应汇款:145222
</h4>
<div
class=
"table-responsive"
>
<table
class=
"table table-striped table-bordered table-hover table-condensed"
>
<thead>
<tr
class=
"maintable-tr-bar"
>
<th
class=
"text-center"
>
支付宝转账
</th>
<th
class=
"text-center"
>
微信转账
</th>
<th
class=
"text-center"
>
地产转账
</th>
<th
class=
"text-center"
>
世家公账
</th>
<th
class=
"text-center"
>
3000账号
</th>
<th
class=
"text-center"
>
现金
</th>
<th
class=
"text-center"
>
POS机
</th>
<th
class=
"text-center"
>
其他
</th>
<th
class=
"text-center"
>
提交人
</th>
<th
class=
"text-center"
>
提交时间
</th>
</tr>
</thead>
<tbody
class=
"text-center"
id=
"maintable_list_a"
>
<tr>
<td
class=
"text-center"
>
555
</td>
<td
class=
"text-center"
>
5
</td>
<td
class=
"text-center"
>
6
</td>
<td
class=
"text-center"
>
3
</td>
<td
class=
"text-center"
>
2
</td>
<td
class=
"text-center"
>
2
</td>
<td
class=
"text-center"
>
33
</td>
<td
class=
"text-center"
>
22
</td>
<td
class=
"text-center"
>
15517301736
</td>
<td
class=
"text-center"
>
2017.3.6
</td>
</tr>
</tbody>
</table>
</div>
<!--7-->
<h4>
审核记录
</h4>
<div
class=
"table-responsive"
>
<table
class=
"table table-striped table-bordered table-hover table-condensed"
>
<thead>
<tr
class=
"maintable-tr-bar"
>
<th
class=
"text-center"
>
支付宝转账
</th>
<th
class=
"text-center"
>
微信转账
</th>
<th
class=
"text-center"
>
地产转账
</th>
<th
class=
"text-center"
>
世家公账
</th>
<th
class=
"text-center"
>
3000账号
</th>
<th
class=
"text-center"
>
现金
</th>
<th
class=
"text-center"
>
POS机
</th>
<th
class=
"text-center"
>
其他
</th>
<th
class=
"text-center"
>
审核人
</th>
<th
class=
"text-center"
>
审核时间
</th>
</tr>
</thead>
<tbody
class=
"text-center"
id=
"maintable_list_a"
>
<tr>
<td
class=
"text-center"
>
555
</td>
<td
class=
"text-center"
>
5
</td>
<td
class=
"text-center"
>
6
</td>
<td
class=
"text-center"
>
3
</td>
<td
class=
"text-center"
>
2
</td>
<td
class=
"text-center"
>
2
</td>
<td
class=
"text-center"
>
33
</td>
<td
class=
"text-center"
>
22
</td>
<td
class=
"text-center"
>
15517301736
</td>
<td
class=
"text-center"
>
2017.3.6
</td>
</tr>
</tbody>
</table>
</div>
<div
class=
"is-submit-div"
>
<a
href=
"javascript:;"
class=
"is-submit"
>
提交
</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!--加载图标-->
<div
id=
"main_loading_pic"
>
<img
src=
"/resource/image/jz2.gif"
>
</div>
public/resource/js/financial_manager_daily_list.js
0 → 100644
View file @
26e05049
define
([
'doT'
,
'text!temp/financial_manager_daily_list_template_tpl.html'
,
'css!style/home.css'
,
'css!style/report_list.css'
,
'ckfinder'
,
'ckfinderStart'
,
'pagination'
,
'bootstrapJs'
],
function
(
doT
,
template
,
template_tax
,
template_maid
,
template_maid_sub1
)
{
bargain
=
{
pageNo
:
1
,
/*第几页*/
pageSize
:
10
,
/*每页显示多少条*/
mainTabIndex
:
0
,
detailTabIndex
:
0
,
bargain_id
:
''
,
order_id
:
0
,
//订单id
maidTotalCommission
:
0
,
//应收总佣金
isBargaininfoSaveIngFlag
:
false
,
//成交信息保存是否正在保存
shouyong_date_active_sapn
:
null
,
init
:
function
()
{
//初始化dot
$
(
document
.
body
).
append
(
template
);
bargain
.
getList
(
1
);
bargain
.
event
();
},
event
:
function
()
{
var
_doc
=
$
(
document
);
//主页面一级审核,二级审核,三级审核,结单四个tab的点击事件
_doc
.
on
(
'click'
,
'.maintable-top-sub-tr>a'
,
function
(
e
){
e
.
preventDefault
();
e
.
stopPropagation
();
var
_this
=
$
(
this
);
_this
.
removeClass
(
'btn-default'
).
addClass
(
'btn-info'
).
siblings
().
removeClass
(
'btn-info'
).
addClass
(
'btn-default'
);
bargain
.
mainTabIndex
=
_this
.
index
();
console
.
log
(
bargain
.
mainTabIndex
);
bargain
.
getList
(
1
);
});
//搜索按钮的事件
_doc
.
on
(
'click'
,
'#maintable_search'
,
function
(
e
)
{
e
.
preventDefault
();
e
.
stopPropagation
();
bargain
.
getList
(
1
);
//一级审核搜索
});
//点击li 列表消失
$
(
document
).
delegate
(
".addphone"
,
"click"
,
function
()
{
//list消失新增客户 点击li事件 获取id ul消失
bargain
.
addphone
(
this
);
});
//搜索的重置
$
(
"#maintable_reset"
).
click
(
function
()
{
document
.
getElementById
(
"maintable_form_search"
).
reset
();
bargain
.
agent_id_phone
=
''
;
});
var
_doc
=
$
(
document
);
bargain
.
getDistrict
(
function
()
{
_doc
.
on
(
'input'
,
'[name=district_id],#district_id2'
,
function
()
{
var
_this
=
$
(
this
);
var
_id
=
_this
.
val
();
_this
.
next
().
html
(
''
);
//先清空
//新增 编辑
var
_objTemp
=
_this
.
parent
().
next
().
find
(
'select'
);
_objTemp
.
html
(
''
);
//先清空
if
(
_id
&&
_id
!=
'0'
)
{
bargain
.
getDistrictStoreList
(
_id
,
function
(
_data
)
{
// var _str = '';
var
_str
=
'<option value="0">全部</option>'
;
$
.
each
(
_data
,
function
(
i
,
item
)
{
_str
+=
'<option value="'
+
item
.
id
+
'">'
+
item
.
store_name
+
'</option>'
;
});
_objTemp
.
html
(
_str
);
_this
.
next
().
html
(
_str
);
});
}
else
{};
});
});
},
//获取一级审核,二级审核,三级审核,结单不同的ajax请求url
switchUrl
:
function
(){
switch
(
Number
(
this
.
mainTabIndex
)){
case
0
:
return
'/index/reportListAll/10'
;
case
1
:
return
'/index/reportListOne/1'
;
case
2
:
return
'/index/reportListTwo/2'
;
case
3
:
return
'/index/reportListThree/3'
;
case
4
:
return
'/index/reportListStatement/4'
;
default
:
return
''
;
}
},
//获取一级审核,二级审核,三级审核,结单数据列表共用的方法
getList
:
function
(
pageNo
){
console
.
count
(
'bar'
);
var
params
=
{
'pageNo'
:
pageNo
,
'pageSize'
:
bargain
.
pageSize
,
'shop_type'
:
$
(
'#maintable_shop_type'
).
val
(),
'create_time'
:
$
.
trim
(
$
(
'#maintable_create_time'
).
val
()),
'end_time'
:
$
.
trim
(
$
(
'#maintable_end_time'
).
val
()),
'internal_address'
:
$
.
trim
(
$
(
'#maintable_internal_address'
).
val
()),
'user_phone'
:
$
.
trim
(
$
(
'#maintable_user_phone'
).
val
()),
'house_number'
:
$
.
trim
(
$
(
'#maintable_shop_num'
).
val
()),
'district_id'
:
$
(
"select[name='district_id'] option:selected"
).
val
(),
'store_id'
:
$
(
"select[name='store_id'] option:selected"
).
val
(),
'agent_name'
:
$
.
trim
(
$
(
'#agent_name'
).
val
()),
'agent_phone'
:
$
.
trim
(
$
(
'#agent_phone'
).
val
()),
'bargain_id'
:
$
.
trim
(
$
(
'#bargain_id'
).
val
()),
'partial_id'
:
bargain
.
agent_id_phone
,
'user_id'
:
$
(
'#maintable_user_ID'
).
val
(),
};
$
.
ajax
({
type
:
'GET'
,
url
:
bargain
.
switchUrl
(),
data
:
params
,
timeout
:
30000
,
dataType
:
'json'
,
beforeSend
:
function
()
{
$
(
'#main_loading_pic'
).
show
();
},
success
:
function
(
data
)
{
if
(
typeof
data
===
'object'
)
{
if
(
data
.
code
==
200
)
{
var
doTtmpl
=
doT
.
template
(
document
.
getElementById
(
'financial_daily_list_tpl'
).
innerHTML
);
$
(
"#maintable_list"
).
html
(
doTtmpl
(
data
.
data
.
list
));
/*分页代码*/
add_page
(
data
.
data
.
total
,
pageNo
,
bargain
.
pageSize
,
bargain
.
getList
);
}
else
{
alert
(
data
[
'msg'
]);
};
}
else
{
alert
(
'数据错误'
);
};
},
error
:
function
()
{
alert
(
'error'
);
},
complete
:
function
(
xhr
,
textStatus
)
{
$
(
'#main_loading_pic'
).
hide
();
if
(
textStatus
===
'timeout'
)
{
alert
(
'请求超时'
);
};
}
});
},
getDistrict
:
function
(
fn
)
{
$
.
ajax
({
url
:
'/index/getDistrict'
,
type
:
'GET'
,
async
:
true
,
data
:
{
"pageSize"
:
1000
},
dataType
:
'json'
,
success
:
function
(
data
)
{
if
(
data
.
code
==
200
&&
data
.
data
!=
null
)
{
var
str
=
''
;
$
.
each
(
data
.
data
,
function
(
i
,
item
)
{
str
+=
'<option value="'
+
item
.
id
+
'">'
+
item
.
district_name
+
'</option>'
;
});
$
(
'[name=district_id]'
).
append
(
str
);
$
(
'#district_id2'
).
append
(
str
);
fn
&&
fn
();
}
}
});
},
getDistrictStoreList
:
function
(
id
,
fn
)
{
$
.
ajax
({
url
:
'/index/getDistrictStoreList'
,
type
:
'GET'
,
async
:
true
,
data
:
{
'id'
:
id
,
"pageSize"
:
1000
},
dataType
:
'json'
,
success
:
function
(
data
)
{
if
(
data
.
code
==
200
&&
data
.
data
!=
null
)
{
fn
&&
fn
(
data
.
data
);
}
}
});
},
};
return
bargain
;
});
\ No newline at end of file
public/resource/template/financial_manager_daily_list_template_tpl.html
0 → 100644
View file @
26e05049
<script
id=
"financial_daily_list_tpl"
type=
"text/template"
>
[
%
if
(
it
.
length
)
{
%
]
[
%
for
(
var
item
in
it
){
%
]
<
tr
>
<
td
>
[
%=
it
[
item
][
'create_time'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'id'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'name'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'phone'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'store_name'
]
%
]
<
/td
>
<
td
>
<
a
class
=
"btn1 btn-info"
href
=
"#modal_financial"
data
-
recordid
=
"[%= it[item]['id'] %]"
data
-
toggle
=
"modal"
>
审核
<
/a
>
<
/td
>
<
/tr
>
[
%
}
%
]
[
%
}
else
{
%
]
<
tr
>
<
td
colspan
=
"8"
style
=
"text-align:center;"
>
暂无数据
<
/td
>
<
/tr
>
[
%
}
%
]
</script>
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