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
81bfcea0
Commit
81bfcea0
authored
May 25, 2018
by
xishifeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
暂存4
parent
1d5495b8
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
291 additions
and
266 deletions
+291
-266
account_statement.html
application/index/view/finance/account_statement.html
+50
-88
report_list.css
public/resource/css/report_list.css
+115
-104
reportList.js
public/resource/js/reportList.js
+122
-70
reportList_shuiFee_template_tpl.html
...ic/resource/template/reportList_shuiFee_template_tpl.html
+1
-1
reportList_template_tpl.html
public/resource/template/reportList_template_tpl.html
+3
-3
No files found.
application/index/view/finance/account_statement.html
View file @
81bfcea0
...
@@ -17,25 +17,25 @@
...
@@ -17,25 +17,25 @@
<thead>
<thead>
<tr>
<tr>
<td
colspan=
"9"
class=
"maintable-top-sub-tr"
>
<td
colspan=
"9"
class=
"maintable-top-sub-tr"
>
<a
class=
"btn btn-info liudan_pic_btn"
id=
"commissioner"
>
第一级审核
</a>
<a
class=
"btn btn-info liudan_pic_btn"
>
第一级审核
</a>
<a
class=
"btn btn-default liudan_pic_btn"
id=
"manager"
>
第二级审核
</a>
<a
class=
"btn btn-default liudan_pic_btn"
>
第二级审核
</a>
<a
class=
"btn btn-default liudan_pic_btn"
id=
"director"
>
第三级审核
</a>
<a
class=
"btn btn-default liudan_pic_btn"
>
第三级审核
</a>
<a
class=
"btn btn-default liudan_pic_btn"
id=
"cashier"
>
已结单
</a>
<a
class=
"btn btn-default liudan_pic_btn"
>
已结单
</a>
</td>
</td>
</tr>
</tr>
<!--三级审核的搜索功能-->
<!--三级审核的搜索功能-->
<tr>
<tr>
<td
colspan=
"9"
>
<td
colspan=
"9"
>
<form
id=
"form_search"
>
<form
id=
"
maintable_
form_search"
>
<span
class=
"fore-span
ld-Marheight
"
>
提交时间:
</span>
<span
class=
"fore-span"
>
提交时间:
</span>
<input
class=
"form-control btn4
ld-Marheight"
value=
""
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"
create_time"
name=
"start_date"
type=
"date"
>
<input
class=
"form-control btn4
"
value=
""
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"maintable_
create_time"
name=
"start_date"
type=
"date"
>
<input
class=
"form-control btn2
ld-Marheight"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"
internal_address"
placeholder=
"商铺地址"
type=
"text"
value=
""
>
<input
class=
"form-control btn2
"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"maintable_
internal_address"
placeholder=
"商铺地址"
type=
"text"
value=
""
>
<input
class=
"form-control btn2
ld-Marheight"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"internal
_num"
placeholder=
"商铺号"
type=
"text"
value=
""
>
<input
class=
"form-control btn2
"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"maintable_shop
_num"
placeholder=
"商铺号"
type=
"text"
value=
""
>
<input
class=
"form-control btn2
ld-Marheight"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"
user_phone"
placeholder=
"客户电话"
type=
"text"
value=
""
>
<input
class=
"form-control btn2
"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"maintable_
user_phone"
placeholder=
"客户电话"
type=
"text"
value=
""
>
<span
class=
"btn btn-info btn3 search"
id=
"search"
>
搜索
</span>
<span
class=
"btn btn-info btn3 search"
id=
"
maintable_
search"
>
搜索
</span>
<span
class=
"btn btn-info btn3"
id=
"reset"
>
重置
</span>
<span
class=
"btn btn-info btn3"
id=
"
maintable_
reset"
>
重置
</span>
<span
class=
"btn btn-info btn3"
id=
"export"
>
导出excel
</span>
<span
class=
"btn btn-info btn3"
id=
"
maintable_
export"
>
导出excel
</span>
</form>
</form>
</td>
</td>
</tr>
</tr>
...
@@ -50,7 +50,7 @@
...
@@ -50,7 +50,7 @@
<th
class=
"text-center"
>
操作
</th>
<th
class=
"text-center"
>
操作
</th>
</tr>
</tr>
</thead>
</thead>
<tbody
class=
"text-center"
id=
"
follow
_list"
>
<tbody
class=
"text-center"
id=
"
maintable
_list"
>
</tbody>
</tbody>
</table>
</table>
...
@@ -75,80 +75,72 @@
...
@@ -75,80 +75,72 @@
×
×
</button>
</button>
<h4
class=
"modal-title detail-modal-header-tab"
>
<h4
class=
"modal-title detail-modal-header-tab"
>
<a
href=
"javascript:;"
class=
"btn btn-info"
id=
"information"
>
成交信息
</a>
<a
href=
"javascript:;"
class=
"btn btn-info"
>
成交信息
</a>
<a
href=
"javascript:;"
class=
"btn btn-default
caozuo"
id=
"fees
"
>
分佣提成
</a>
<a
href=
"javascript:;"
class=
"btn btn-default"
>
分佣提成
</a>
<a
href=
"javascript:;"
class=
"btn btn-default"
id=
"records"
>
开票税费
</a>
<a
href=
"javascript:;"
class=
"btn btn-default"
>
开票税费
</a>
</h4>
</h4>
</div>
</div>
<div
class=
"modal-body
modal-body-two
"
>
<div
class=
"modal-body
detail-modal-body
"
>
<div>
<div>
<div
class=
"Tswitch Tswitch_three"
>
<div
class=
"detail-modal-body-sec"
>
<form
id=
"bargain_info_form"
>
<form
class=
"detail-modal-bargaininfo-form"
>
<div
class=
"left"
>
<div
class=
"detail-modal-bargaininfo-main-left"
>
<span
class=
"left-deal"
>
商铺类型:
</span>
<span>
商铺类型:
</span>
<span
id=
"shop_type"
></span>
<span
id=
"bargaininfo_shop_type"
></span>
<!--<select class="form-control btn5 " id="shop_type">
<option value="-1">商铺类型</option>
<option value="0">商场</option>
<option value="1">街铺</option>
</select> -->
<br
/>
<br
/>
<span>
商铺地址:
</span><span
class=
"internal_address"
></span><br>
<span>
商铺地址:
</span><span
id=
"bargaininfo_internal_address"
></span><br>
<span>
客户姓名:
</span><span
class=
"user_name"
></span><br>
<span>
客户姓名:
</span><span
id=
"bargaininfo_user_name"
></span><br>
<span
class=
"left-deal"
>
成交类型:
</span>
<span>
成交类型:
</span>
<select
class=
"form-control btn5 "
id=
"deal_status"
>
<select
class=
"form-control"
id=
"bargaininfo_type"
>
<option
value=
"-1"
>
成交类型
</option>
<option
value=
"10"
>
出租
</option>
<option
value=
"10"
>
出租
</option>
<option
value=
"20"
>
增佣
</option>
<option
value=
"20"
>
增佣
</option>
<option
value=
"30"
>
代理
</option>
<option
value=
"30"
>
代理
</option>
<option
value=
"40"
>
好处费
</option>
<option
value=
"40"
>
好处费
</option>
</select>
</select>
<br
/>
<br
/>
<span>
应收总佣金:
</span>
<input
class=
"form-control
bargain-total-yongji
n"
type=
"number"
>
元
<br>
<span>
应收总佣金:
</span>
<input
class=
"form-control
"
id=
"bargaininfo_total_commissio
n"
type=
"number"
>
元
<br>
</div>
</div>
<div
class=
"right"
>
<div
class=
"
detail-modal-bargaininfo-main-
right"
>
<span
class=
"left-deal"
>
是否开业:
</span>
<span>
是否开业:
</span>
<select
class=
"form-control"
id=
"is_open"
>
<select
class=
"form-control"
id=
"
bargaininfo_
is_open"
>
<option
value=
"0"
>
否
</option>
<option
value=
"0"
>
否
</option>
<option
value=
"1"
>
是
</option>
<option
value=
"1"
>
是
</option>
</select>
<br
/>
</select>
<br
/>
<span>
商铺号:
</span><span
class=
"internal
_num"
></span><br>
<span>
商铺号:
</span><span
id=
"bargaininfo_shop
_num"
></span><br>
<span>
客户电话:
</span><span
class=
"
user_phone"
></span><br>
<span>
客户电话:
</span><span
id=
"bargaininfo_
user_phone"
></span><br>
<span>
成交日期:
</span><span
class=
"
create_time"
></span><br>
<span>
成交日期:
</span><span
id=
"bargaininfo_
create_time"
></span><br>
</div>
</div>
<div
class=
"
input-box-0521-
par"
>
<div
class=
"
detail-modal-bargaininfo-commission-input
par"
>
<div
id=
"input_yongjin_add_
area"
>
<div
class=
"detail-modal-bargaininfo-commission-add
area"
>
<div
class=
"form-group
input-box-0521
"
>
<div
class=
"form-group
detail-modal-bargaininfo-commission-sec
"
>
<label
class=
""
>
实收佣金:
</label>
<label
class=
""
>
实收佣金:
</label>
<div
class=
"input-group"
>
<div
class=
"input-group"
>
<input
type=
"number"
class=
"form-control
input-100-width
"
placeholder=
"请输入"
>
<input
type=
"number"
class=
"form-control"
placeholder=
"请输入"
>
<div
class=
"input-group-addon"
>
元
</div>
<div
class=
"input-group-addon"
>
元
</div>
</div>
</div>
<label
class=
""
>
收佣日期:
</label>
<label
class=
""
>
收佣日期:
</label>
<div
class=
"input-group"
>
<div
class=
"input-group"
>
<input
type=
"date"
class=
"form-control
input-100-width
"
placeholder=
"请输入"
>
<input
type=
"date"
class=
"form-control"
placeholder=
"请输入"
>
</div>
</div>
<!--<mark href="javascript:;" class="
input-yongji
n-cancel-pic"><img src="/resource/image/search_gb.png" /></mark>-->
<!--<mark href="javascript:;" class="
detail-modal-bargaininfo-commissio
n-cancel-pic"><img src="/resource/image/search_gb.png" /></mark>-->
</div>
</div>
</div>
</div>
<div
id=
"
input_yongji
n_add_btn"
>
<div
id=
"
bargaininfo_commissio
n_add_btn"
>
<img
src=
"/resource/image/jia2@2x.png"
/>
<img
src=
"/resource/image/jia2@2x.png"
/>
</div>
</div>
<input
type=
"hidden"
class=
"page-pass"
/>
</div>
</div>
<div>
<div>
<span
class=
"
bargain-
info-span-beizhu"
>
备注:
</span>
<span
class=
"
detail-modal-bargain
info-span-beizhu"
>
备注:
</span>
<textarea
name=
""
rows=
""
cols=
""
id=
"note_content
"
></textarea>
<textarea
id=
"bargaininfo_beizhu
"
></textarea>
</div>
</div>
</form>
</form>
<div
class=
"tc"
>
<div
class=
"tc"
>
<button
type=
"button"
class=
"btn btn-primary"
id=
"
confirm_edit
"
>
保存
</button>
<button
type=
"button"
class=
"btn btn-primary"
id=
"
bargaininfo_btn_save
"
>
保存
</button>
</div>
</div>
</div>
</div>
<div
class=
"
Tswitch Tswitch_one
"
>
<div
class=
"
detail-modal-body-sec
"
>
<!--分佣提成-->
<!--分佣提成-->
<a
class=
"btn btn-success edit_new"
href=
"#modal-new"
data-toggle=
"modal"
>
新增
</a>
<a
class=
"btn btn-success edit_new"
href=
"#modal-new"
data-toggle=
"modal"
>
新增
</a>
<!--增加实收-->
<!--增加实收-->
...
@@ -176,12 +168,12 @@
...
@@ -176,12 +168,12 @@
</table>
</table>
<!--分佣提成-->
<!--分佣提成-->
</div>
</div>
<div
class=
"
Tswitch Tswitch_two
"
>
<div
class=
"
detail-modal-body-sec
"
>
<div>
<div>
<div
class=
"tc"
>
<div
class=
"tc"
>
<a
class=
"btn btn-success"
href=
"#modal_new_shuifee"
data-toggle=
"modal"
>
新增开票
</a>
<a
class=
"btn btn-success"
href=
"#modal_new_shuifee"
data-toggle=
"modal"
>
新增开票
</a>
</div>
</div>
<div
class=
"shuifei-main-box"
id=
"shuifei
_main_box"
>
<div
id=
"tax
_main_box"
>
<!--内容为模板生成-->
<!--内容为模板生成-->
</div>
</div>
</div>
</div>
...
@@ -207,43 +199,13 @@
...
@@ -207,43 +199,13 @@
</div>
</div>
<div
class=
"modal-body"
>
<div
class=
"modal-body"
>
<label
class=
"control-label"
>
备注:
</label>
<label
class=
"control-label"
>
备注:
</label>
<textarea
class=
"form-control"
rows=
"5"
id=
"note_text"
></textarea>
<textarea
class=
"form-control"
rows=
"5"
id=
"pass_beizhu"
></textarea>
<!-- <span class="use-span text-danger">(必填)</span> -->
</div>
<div
class=
"modal-footer"
>
<button
type=
"button"
class=
"btn btn-default"
data-dismiss=
"modal"
>
取消
</button>
<button
type=
"button"
class=
"btn btn-info"
data-dismiss=
"modal"
id=
"confirm_pass"
>
确定
</button>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal -->
</div>
<!-- 弹出框 跟进 -->
<div
class=
"modal fade"
id=
"modal-follow"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal-dialog"
>
<div
class=
"modal-content"
>
<div
class=
"modal-header"
>
<button
type=
"button"
class=
"close"
data-dismiss=
"modal"
aria-hidden=
"true"
>
×
</button>
<h4
class=
"modal-title"
>
跟进
</h4>
</div>
<div
class=
"modal-body"
>
<label
class=
"control-label"
>
备注:
</label>
<textarea
class=
"form-control"
rows=
"5"
id=
"note_text_re"
></textarea>
<!-- <span class="use-span text-danger">(必填)</span> -->
<!-- <span class="use-span text-danger">(必填)</span> -->
</div>
</div>
<div
class=
"modal-footer"
>
<div
class=
"modal-footer"
>
<button
type=
"button"
class=
"btn btn-default"
data-dismiss=
"modal"
>
取消
<button
type=
"button"
class=
"btn btn-default"
data-dismiss=
"modal"
>
取消
</button>
</button>
<button
type=
"button"
class=
"btn btn-
primary"
data-dismiss=
"modal"
id=
"confirm_follow
"
>
<button
type=
"button"
class=
"btn btn-
info"
data-dismiss=
"modal"
class=
"pass-modal-btn-pass
"
>
确定
确定
</button>
</button>
</div>
</div>
...
@@ -297,7 +259,7 @@
...
@@ -297,7 +259,7 @@
<div
class=
"modal-body"
>
<div
class=
"modal-body"
>
<div
class=
"modal-body"
id=
""
>
<div
class=
"modal-body"
id=
""
>
<!-- 新增分佣提成 -->
<!-- 新增分佣提成 -->
<form
id=
"form_search"
>
<form>
分佣方:
分佣方:
<select
class=
"form-control form-control-one"
id=
"is_carefully_chosen"
>
<select
class=
"form-control form-control-one"
id=
"is_carefully_chosen"
>
<option
value=
"0"
>
请选择
</option>
<option
value=
"0"
>
请选择
</option>
...
...
public/resource/css/report_list.css
View file @
81bfcea0
#note_text
{
/*
width
:
80%
;
* id为pagediv的无法修改,与分页插件有关
margin-left
:
48px
;
maintable-
margin-top
:
-20px
;
detail-modal-
}
detail-modal-bargaininfo-
detail-modal-maid-
#note_text_re
{
detail-modal-tax-
width
:
80%
;
pass-modal-
margin-left
:
48px
;
*
margin-top
:
-20px
;
*
}
*
* */
.Tswitch_one
{
display
:
none
;
/*详情弹出框*/
.detail-modal-body
{
height
:
660px
;
overflow-y
:
scroll
;
}
}
.detail-modal-body-sec
+
.detail-modal-body-sec
{
.Tswitch_two
{
display
:
none
;
display
:
none
;
}
}
/*详情弹出框,成交信息*/
.left
{
.
detail-modal-bargaininfo-main-
left
{
float
:
left
;
float
:
left
;
width
:
340px
;
width
:
340px
;
line-height
:
36px
;
line-height
:
36px
;
}
}
.left
.btn5
{
#bargaininfo_is_open
,
width
:
32%
!important
;
#bargaininfo_type
{
}
width
:
100px
!important
;
#is_open
{
width
:
20%
!important
;
display
:
inline-block
;
display
:
inline-block
;
}
}
.right
{
.
detail-modal-bargaininfo-main-
right
{
line-height
:
36px
;
line-height
:
36px
;
width
:
560px
;
width
:
560px
;
}
}
.bargain-total-yongji
n
{
#bargaininfo_total_commissio
n
{
width
:
6
0px
;
width
:
15
0px
;
display
:
inline-block
;
display
:
inline-block
;
height
:
26px
;
height
:
26px
;
padding
:
3px
6px
padding
:
3px
6px
}
}
.edit_new
{
.detail-modal-bargaininfo-form
{
float
:
right
;
margin-bottom
:
5px
;
margin-top
:
-10px
;
}
.form-control-one
{
display
:
inline-block
;
width
:
40%
;
}
#bargain_info_form
{
line-height
:
48px
;
line-height
:
48px
;
width
:
620px
;
width
:
620px
;
margin
:
0
auto
;
margin
:
0
auto
;
}
}
.modal-body-two
{
.detail-modal-bargaininfo-commission-inputpar
{
height
:
660px
;
overflow-y
:
scroll
;
}
.clear
{
clear
:
both
;
}
.left-deal
{
float
:
left
;
}
.clear
div
{
clear
:
both
;
}
.right-data
{
float
:
right
;
}
.right-date
{
margin-left
:
130px
;
}
.Tswitch_three
.btn_2
{
width
:
80px
;
}
/*输入框自定义样式*/
.input-box-0521-par
{
float
:
left
;
float
:
left
;
width
:
100%
;
width
:
100%
;
overflow
:
hidden
;
overflow
:
hidden
;
clear
:
both
;
clear
:
both
;
}
}
.
input-box-0521
{
.
detail-modal-bargaininfo-commission-sec
{
overflow
:
hidden
;
overflow
:
hidden
;
}
}
.
input-box-0521
>
label
{
.
detail-modal-bargaininfo-commission-sec
>
label
{
float
:
left
;
float
:
left
;
}
}
.
input-box-0521
>
label
:nth-of-type
(
2
)
{
.
detail-modal-bargaininfo-commission-sec
>
label
:nth-of-type
(
2
)
{
margin-left
:
50px
;
margin-left
:
50px
;
}
}
.
input-box-0521
>
div
{
.
detail-modal-bargaininfo-commission-sec
>
div
{
float
:
left
;
float
:
left
;
width
:
160px
;
width
:
160px
;
}
}
.
input-box-0521
>
mark
{
.
detail-modal-bargaininfo-commission-sec
>
mark
{
float
:
left
;
float
:
left
;
overflow
:
hidden
;
overflow
:
hidden
;
background-color
:
transparent
;
background-color
:
transparent
;
...
@@ -124,64 +83,47 @@
...
@@ -124,64 +83,47 @@
padding-left
:
10px
;
padding-left
:
10px
;
}
}
.
input-box-0521
>
mark
>
img
{
.
detail-modal-bargaininfo-commission-sec
>
mark
>
img
{
float
:
left
;
float
:
left
;
width
:
20px
;
width
:
20px
;
}
}
#
input_yongji
n_add_btn
{
#
bargaininfo_commissio
n_add_btn
{
width
:
100%
;
width
:
100%
;
margin-bottom
:
20px
;
margin-bottom
:
20px
;
}
}
#
input_yongji
n_add_btn
>
img
{
#
bargaininfo_commissio
n_add_btn
>
img
{
display
:
block
;
display
:
block
;
margin
:
0
auto
;
margin
:
0
auto
;
}
}
.modal-dialog-0522
{
/*详情弹出框,分佣提成*/
width
:
1030px
;
}
/*成交信息tab*/
.bargain-info-span-beizhu
{
/*display: inline-block;
height: 150px;
line-height: 150px;*/
}
#note_content
{
width
:
480px
;
height
:
150px
;
}
/*main-table部分,待补充*/
/*详情弹出框,开票税费*/
.maintable-tr-bar
{}
.detail-modal-tax-table
{
.maintable-tr-bar
>
th
:nth-of-type
(
1
)
{}
/*开票税费tab相关的内容*/
.shuifee-table
{
width
:
600px
;
width
:
600px
;
}
}
.
shuifee
-table
td
{
.
detail-modal-tax
-table
td
{
line-height
:
36px
;
line-height
:
36px
;
text-align
:
center
;
text-align
:
center
;
}
}
.shuifei-main-
box
{
#tax_main_
box
{
margin-top
:
30px
;
margin-top
:
30px
;
}
}
.shuifei-main-
box
>
section
{
#tax_main_
box
>
section
{
overflow
:
hidden
;
overflow
:
hidden
;
width
:
680px
;
width
:
680px
;
margin
:
0
auto
;
margin
:
0
auto
;
}
}
.shuifei-main-
box
>
section
+
section
{
#tax_main_
box
>
section
+
section
{
margin-top
:
40px
;
margin-top
:
40px
;
}
}
.shuifei-main-
box
>
section
>
div
{
#tax_main_
box
>
section
>
div
{
float
:
left
;
float
:
left
;
}
}
.shuifei-main-
box
>
section
>
div
:nth-of-type
(
2
)
{
#tax_main_
box
>
section
>
div
:nth-of-type
(
2
)
{
padding-left
:
20px
;
padding-left
:
20px
;
padding-top
:
50px
;
padding-top
:
50px
;
}
}
...
@@ -195,3 +137,72 @@
...
@@ -195,3 +137,72 @@
text-align
:
center
;
text-align
:
center
;
line-height
:
40px
;
line-height
:
40px
;
}
}
/********************/
.edit_new
{
float
:
right
;
margin-bottom
:
5px
;
margin-top
:
-10px
;
}
.form-control-one
{
display
:
inline-block
;
width
:
40%
;
}
/****************************************************************/
/*弹出框,通过*/
#pass_beizhu
{
width
:
80%
;
margin-left
:
48px
;
margin-top
:
-20px
;
}
.clear
{
clear
:
both
;
}
.clear
div
{
clear
:
both
;
}
.right-data
{
float
:
right
;
}
.right-date
{
margin-left
:
130px
;
}
/*输入框自定义样式*/
.modal-dialog-0522
{
width
:
1030px
;
}
/*成交信息tab*/
.detail-modal-bargaininfo-span-beizhu
{
/*display: inline-block;
height: 150px;
line-height: 150px;*/
}
#bargaininfo_beizhu
{
width
:
480px
;
height
:
150px
;
}
/*main-table部分,待补充*/
.maintable-tr-bar
{}
.maintable-tr-bar
>
th
:nth-of-type
(
1
)
{}
public/resource/js/reportList.js
View file @
81bfcea0
...
@@ -30,16 +30,16 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'text!temp/reportList_s
...
@@ -30,16 +30,16 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'text!temp/reportList_s
});
});
//搜索按钮的事件
//搜索按钮的事件
_doc
.
on
(
'click'
,
'#search'
,
function
(
e
)
{
_doc
.
on
(
'click'
,
'#
maintable_
search'
,
function
(
e
)
{
e
.
preventDefault
();
e
.
preventDefault
();
e
.
stopPropagation
();
e
.
stopPropagation
();
$
(
"#reset"
).
click
();
//先重置输入框
$
(
"#
maintable_
reset"
).
click
();
//先重置输入框
bargain
.
getList
(
1
);
//一级审核搜索
bargain
.
getList
(
1
);
//一级审核搜索
});
});
//搜索的重置
//搜索的重置
$
(
"#reset"
).
click
(
function
()
{
$
(
"#
maintable_
reset"
).
click
(
function
()
{
document
.
getElementById
(
"form_search"
).
reset
();
document
.
getElementById
(
"
maintable_
form_search"
).
reset
();
});
});
//时间轴按钮
//时间轴按钮
...
@@ -47,20 +47,23 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'text!temp/reportList_s
...
@@ -47,20 +47,23 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'text!temp/reportList_s
bargain
.
Timeline
();
bargain
.
Timeline
();
});
});
//点击通过
//点击通过
,修改全局bargain_id,弹出框出来
_doc
.
delegate
(
"
.is_pass
"
,
"click"
,
function
()
{
_doc
.
delegate
(
"
[href=
\"
#modal-pass
\"
]
"
,
"click"
,
function
()
{
bargain
.
bargain_id
=
$
(
this
).
closest
(
'tr'
).
attr
(
"data-id"
);
bargain
.
bargain_id
=
$
(
this
).
closest
(
'tr'
).
attr
(
"data-id"
);
});
});
//点击通过,确定按钮触发的事件
//点击通过,确定按钮触发的事件
_doc
.
delegate
(
"
#confirm_
pass"
,
"click"
,
function
()
{
_doc
.
delegate
(
"
.pass-modal-btn-
pass"
,
"click"
,
function
()
{
bargain
.
confirmP
ass
();
bargain
.
p
ass
();
});
});
//点击获取报告详情
//点击获取报告详情
_doc
.
on
(
'click'
,
'.details-btn'
,
function
()
{
_doc
.
on
(
'click'
,
'.details-btn'
,
function
()
{
bargain
.
bargain_id
=
$
(
this
).
closest
(
'tr'
).
attr
(
"data-id"
);
bargain
.
bargain_id
=
$
(
this
).
closest
(
'tr'
).
attr
(
"data-id"
);
//bargain.Edit();
$
(
'.detail-modal-header-tab>a:nth-of-type(1)'
).
removeClass
(
'btn-default'
).
addClass
(
'btn-info'
).
siblings
().
removeClass
(
'btn-info'
).
addClass
(
'btn-default'
);
bargain
.
detailTabIndex
=
0
;
$
(
'.detail-modal-body-sec:nth-of-type(1)'
).
show
().
siblings
().
hide
();
bargain
.
bargaininfoShow
();
});
});
//详情弹出框里的tab点击事件,成交信息,分佣提成,开票税费
//详情弹出框里的tab点击事件,成交信息,分佣提成,开票税费
...
@@ -70,39 +73,40 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'text!temp/reportList_s
...
@@ -70,39 +73,40 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'text!temp/reportList_s
var
_this
=
$
(
this
);
var
_this
=
$
(
this
);
_this
.
removeClass
(
'btn-default'
).
addClass
(
'btn-info'
).
siblings
().
removeClass
(
'btn-info'
).
addClass
(
'btn-default'
);
_this
.
removeClass
(
'btn-default'
).
addClass
(
'btn-info'
).
siblings
().
removeClass
(
'btn-info'
).
addClass
(
'btn-default'
);
bargain
.
detailTabIndex
=
_this
.
index
();
bargain
.
detailTabIndex
=
_this
.
index
();
$
(
'.detail-modal-body-sec:nth-of-type('
+
(
bargain
.
detailTabIndex
+
1
)
+
')'
).
show
().
siblings
().
hide
();
console
.
log
(
bargain
.
detailTabIndex
);
console
.
log
(
bargain
.
detailTabIndex
);
if
(
bargain
.
detailTabIndex
==
0
){
if
(
bargain
.
detailTabIndex
==
0
){
//bargain.Edit
();
bargain
.
bargaininfoShow
();
}
else
if
(
bargain
.
detailTabIndex
==
1
){
}
else
if
(
bargain
.
detailTabIndex
==
1
){
//
bargain.Fees();
bargain
.
Fees
();
}
else
{
}
else
{
//
bargain.shuiFee();
bargain
.
shuiFee
();
}
}
});
});
//详情弹出框,成交信息里的实收佣金相关的事件
//详情弹出框,成交信息里的实收佣金相关的事件
var
_iYJAAObj
=
$
(
'
#input_yongjin_add_
area'
);
var
_iYJAAObj
=
$
(
'
.detail-modal-bargaininfo-commission-add
area'
);
_doc
.
on
(
'click'
,
'#
input_yongji
n_add_btn'
,
function
(
e
){
_doc
.
on
(
'click'
,
'#
bargaininfo_commissio
n_add_btn'
,
function
(
e
){
e
.
preventDefault
();
e
.
preventDefault
();
e
.
stopPropagation
();
e
.
stopPropagation
();
if
(
$
(
'
#input_yongjin_add_
area>div'
).
length
>=
5
){
if
(
$
(
'
.detail-modal-bargaininfo-commission-add
area>div'
).
length
>=
5
){
alert
(
'最多添加5条'
);
alert
(
'最多添加5条'
);
return
false
;
return
false
;
}
else
{
}
else
{
_iYJAAObj
.
append
(
'<div class="form-group
input-box-0521"><label class="">实收佣金:</label><div class="input-group"><input type="number"class="form-control input-100-width"placeholder="请输入"><div class="input-group-addon">元</div></div><label class="">收佣日期:</label><div class="input-group"><input type="date"class="form-control input-100-width"placeholder="请输入"></div><mark href="javascript:;"class="input-yongji
n-cancel-pic"><img src="/resource/image/search_gb.png"/></mark></div>'
);
_iYJAAObj
.
append
(
'<div class="form-group
detail-modal-bargaininfo-commission-sec"><label class="">实收佣金:</label><div class="input-group"><input type="number"class="form-control"placeholder="请输入"><div class="input-group-addon">元</div></div><label class="">收佣日期:</label><div class="input-group"><input type="date"class="form-control"placeholder="请输入"></div><mark href="javascript:;"class="detail-modal-bargaininfo-commissio
n-cancel-pic"><img src="/resource/image/search_gb.png"/></mark></div>'
);
};
};
});
});
//详情弹出框,成交信息里的实收佣金相关的事件,点击x删除这条
//详情弹出框,成交信息里的实收佣金相关的事件,点击x删除这条
_doc
.
on
(
'click'
,
'.
input-yongji
n-cancel-pic'
,
function
(
e
){
_doc
.
on
(
'click'
,
'.
detail-modal-bargaininfo-commissio
n-cancel-pic'
,
function
(
e
){
e
.
preventDefault
();
e
.
preventDefault
();
e
.
stopPropagation
();
e
.
stopPropagation
();
$
(
this
).
parent
().
remove
();
$
(
this
).
parent
().
remove
();
});
});
//点击成交信息确定
//点击成交信息确定
_doc
.
delegate
(
"#
confirm_edit
"
,
"click"
,
function
()
{
_doc
.
delegate
(
"#
bargaininfo_btn_save
"
,
"click"
,
function
()
{
bargain
.
confirmEdit
();
bargain
.
bargaininfoSave
();
});
});
// 点击新增分佣提成
// 点击新增分佣提成
...
@@ -112,11 +116,33 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'text!temp/reportList_s
...
@@ -112,11 +116,33 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'text!temp/reportList_s
});
});
//转到一级审核
//转到一级审核
_doc
.
on
(
'click'
,
'.btn-trans-one'
,
function
(
e
){
_doc
.
on
(
'click'
,
'.
maintable-
btn-trans-one'
,
function
(
e
){
e
.
preventDefault
();
e
.
preventDefault
();
e
.
stopPropagation
();
e
.
stopPropagation
();
bargain
.
bargain_id
=
$
(
this
).
closest
(
'tr'
).
attr
(
"data-id"
);
bargain
.
bargain_id
=
$
(
this
).
closest
(
'tr'
).
attr
(
"data-id"
);
layer
.
open
({
content
:
'确定转到一级审核?'
,
btn
:
[
'确定'
,
'取消'
],
yes
:
function
(
_index
){
bargain
.
transFirstExamine
();
bargain
.
transFirstExamine
();
layer
.
close
(
_index
);
}
});
});
//结单
_doc
.
on
(
'click'
,
'.maintable-btn-account'
,
function
(
e
){
e
.
preventDefault
();
e
.
stopPropagation
();
bargain
.
bargain_id
=
$
(
this
).
closest
(
'tr'
).
attr
(
"data-id"
);
layer
.
open
({
content
:
'确定结单?'
,
btn
:
[
'确定'
,
'取消'
],
yes
:
function
(
_index
){
bargain
.
account
();
layer
.
close
(
_index
);
}
});
});
});
},
},
Timeline
:
function
()
{
//获取时间轴
Timeline
:
function
()
{
//获取时间轴
...
@@ -138,16 +164,7 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'text!temp/reportList_s
...
@@ -138,16 +164,7 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'text!temp/reportList_s
}
}
});
});
},
},
Edit
:
function
()
{
//报告详情
bargaininfoShow
:
function
()
{
//报告详情
// $(".Tswitch").eq(0).show();
// $(".Tswitch").eq(1).hide();
// $(".Tswitch").eq(2).hide();
// $("#information").removeClass("btn-default");
// $("#information").addClass("btn-info");
// $("#fees").removeClass("btn-info");
// $("#fees").addClass("btn-default");
// $("#records").removeClass("btn-info");
// $("#records").addClass("btn-default");
$
.
ajax
({
$
.
ajax
({
'type'
:
'GET'
,
'type'
:
'GET'
,
'url'
:
'/index/bargainInfo'
,
'url'
:
'/index/bargainInfo'
,
...
@@ -158,25 +175,26 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'text!temp/reportList_s
...
@@ -158,25 +175,26 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'text!temp/reportList_s
success
:
function
(
data
)
{
success
:
function
(
data
)
{
if
(
data
.
code
==
200
)
{
if
(
data
.
code
==
200
)
{
if
(
data
.
data
)
{
if
(
data
.
data
)
{
$
(
'#shop_type'
).
html
(
data
.
data
.
shop_type
==
'1'
?
'街铺'
:
'商场'
);
$
(
'#
bargaininfo_
shop_type'
).
html
(
data
.
data
.
shop_type
==
'1'
?
'街铺'
:
'商场'
);
$
(
'#is_open'
).
val
(
data
.
data
.
is_open
);
$
(
'#
bargaininfo_
is_open'
).
val
(
data
.
data
.
is_open
);
$
(
'#
note_content
'
).
val
(
data
.
data
.
content
);
$
(
'#
bargaininfo_beizhu
'
).
val
(
data
.
data
.
content
);
$
(
"
.
user_phone"
).
html
(
data
.
data
.
user_phone
);
$
(
"
#bargaininfo_
user_phone"
).
html
(
data
.
data
.
user_phone
);
$
(
"
.
user_name"
).
html
(
data
.
data
.
user_name
);
$
(
"
#bargaininfo_
user_name"
).
html
(
data
.
data
.
user_name
);
$
(
"
.
internal_address"
).
html
(
data
.
data
.
internal_address
);
$
(
"
#bargaininfo_
internal_address"
).
html
(
data
.
data
.
internal_address
);
$
(
"
.internal
_num"
).
html
(
data
.
data
.
house_number
);
$
(
"
#bargaininfo_shop
_num"
).
html
(
data
.
data
.
house_number
);
$
(
"#
deal_status
"
).
val
(
data
.
data
.
trade_type
);
$
(
"#
bargaininfo_type
"
).
val
(
data
.
data
.
trade_type
);
$
(
"
.bargain-total-yongji
n"
).
val
(
data
.
data
.
commission
);
$
(
"
#bargaininfo_total_commissio
n"
).
val
(
data
.
data
.
commission
);
$
(
"
.
create_time"
).
html
(
data
.
data
.
create_time
);
$
(
"
#bargaininfo_
create_time"
).
html
(
data
.
data
.
create_time
);
var
_inputAreaTempObj
=
$
(
'
#input_yongjin_add_
area'
);
var
_inputAreaTempObj
=
$
(
'
.detail-modal-bargaininfo-commission-add
area'
);
if
(
data
.
data
.
practical_fee
&&
data
.
data
.
practical_fee
.
length
>
0
){
if
(
data
.
data
.
practical_fee
&&
data
.
data
.
practical_fee
.
length
>
0
){
_inputAreaTempObj
.
html
(
''
);
_inputAreaTempObj
.
html
(
''
);
};
};
$
.
each
(
data
.
data
.
practical_fee
,
function
(
i
,
v
)
{
$
.
each
(
data
.
data
.
practical_fee
,
function
(
i
,
v
)
{
_inputAreaTempObj
.
append
(
'<div class="form-group input-box-0521"><label class="">实收佣金:</label><div class="input-group"><input type="number"class="form-control input-100-width"placeholder="请输入"value="{0}"><div class="input-group-addon">元</div></div><label class="">收佣日期:</label><div class="input-group"><input type="date"class="form-control input-100-width"placeholder="请输入"value="{1}"></div></div>'
.
stringFormatObj
({
_inputAreaTempObj
.
append
(
'<div data-id="{id}" class="form-group detail-modal-bargaininfo-commission-sec"><label class="">实收佣金:</label><div class="input-group"><input type="number"class="form-control"placeholder="请输入"value="{0}"><div class="input-group-addon">元</div></div><label class="">收佣日期:</label><div class="input-group"><input type="date"class="form-control"placeholder="请输入"value="{1}"></div></div>'
.
stringFormatObj
({
'0'
:
v
.
fee
,
'0'
:
v
.
money
,
'1'
:
v
.
operation_date
'1'
:
v
.
income_time
,
'id'
:
v
.
fee_id
}));
}));
});
});
...
@@ -187,15 +205,15 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'text!temp/reportList_s
...
@@ -187,15 +205,15 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'text!temp/reportList_s
}
}
});
});
},
},
confirmEdit
:
function
()
{
//修改报告详情
bargaininfoSave
:
function
()
{
//修改报告详情
var
_data
=
{
var
_data
=
{
'id'
:
bargain
.
bargain_id
,
'id'
:
bargain
.
bargain_id
,
'commission'
:
$
.
trim
(
$
(
'
.bargain-total-yongji
n'
).
val
()),
'commission'
:
$
.
trim
(
$
(
'
#bargaininfo_total_commissio
n'
).
val
()),
'content'
:
$
.
trim
(
$
(
'#
note_content
'
).
val
()),
'content'
:
$
.
trim
(
$
(
'#
bargaininfo_beizhu
'
).
val
()),
'is_open'
:
$
(
'#is_open'
).
val
(),
'is_open'
:
$
(
'#
bargaininfo_
is_open'
).
val
(),
'trade_type'
:
$
(
'.left-deal'
).
val
()
'trade_type'
:
$
(
'.left-deal'
).
val
()
};
};
$
.
each
(
$
(
'.
input-box-0521
'
),
function
(
i
,
v
)
{
$
.
each
(
$
(
'.
detail-modal-bargaininfo-commission-sec
'
),
function
(
i
,
v
)
{
var
_tempData
=
{
var
_tempData
=
{
'fee'
:
$
.
trim
(
$
(
v
).
find
(
'input'
).
eq
(
0
).
val
()),
'fee'
:
$
.
trim
(
$
(
v
).
find
(
'input'
).
eq
(
0
).
val
()),
'operation_date'
:
$
.
trim
(
$
(
v
).
find
(
'input'
).
eq
(
1
).
val
())
'operation_date'
:
$
.
trim
(
$
(
v
).
find
(
'input'
).
eq
(
1
).
val
())
...
@@ -210,7 +228,9 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'text!temp/reportList_s
...
@@ -210,7 +228,9 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'text!temp/reportList_s
dataType
:
"json"
,
dataType
:
"json"
,
success
:
function
(
data
)
{
success
:
function
(
data
)
{
if
(
data
.
code
==
200
)
{
if
(
data
.
code
==
200
)
{
alert
(
'修改成功'
);
alert
(
'修改成功'
);
bargain
.
bargaininfoShow
();
bargain
.
getList
(
0
);
bargain
.
getList
(
0
);
}
else
{
}
else
{
alert
(
data
.
msg
);
alert
(
data
.
msg
);
...
@@ -219,21 +239,22 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'text!temp/reportList_s
...
@@ -219,21 +239,22 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'text!temp/reportList_s
});
});
},
},
//通过
//通过
confirmP
ass
:
function
()
{
//点击通过
p
ass
:
function
()
{
//点击通过
var
a_url
;
var
a_url
=
''
;
if
(
$
(
'.btn-info'
).
index
()
==
0
)
{
if
(
bargain
.
mainTabIndex
==
0
)
{
a_url
=
"/index/checkReportAttache/0"
a_url
=
"/index/checkReportAttache/0"
};
};
if
(
$
(
'.btn-info'
).
index
()
==
1
)
{
if
(
bargain
.
mainTabIndex
==
1
)
{
a_url
=
"/index/checkReportManager/1"
a_url
=
"/index/checkReportManager/1"
};
};
if
(
$
(
'.btn-info'
).
index
()
==
2
)
{
// if(bargain.mainTabIndex == 2) {
a_url
=
"/index/checkReportMajordomo/2"
// a_url = "/index/checkReportMajordomo/2"
};
// };
if
(
$
(
'.btn-info'
).
index
()
==
3
)
{
// if(bargain.mainTabIndex == 3) {
a_url
=
"/index/checkReportCashier/3"
// a_url = "/index/checkReportCashier/3"
};
// };
// console.log($('.btn-info').index());
//审核来源 1.成交报告申请结单 2.待撤销(退款) 3.申请撤销成交报告
//成交报告状态 10已提交 20待撤销
$
.
ajax
({
$
.
ajax
({
'type'
:
'POST'
,
'type'
:
'POST'
,
'url'
:
a_url
,
'url'
:
a_url
,
...
@@ -241,12 +262,13 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'text!temp/reportList_s
...
@@ -241,12 +262,13 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'text!temp/reportList_s
"id"
:
bargain
.
bargain_id
,
"id"
:
bargain
.
bargain_id
,
"source"
:
1
,
"source"
:
1
,
"status"
:
10
,
"status"
:
10
,
"remark"
:
$
(
"#note_text"
).
val
(
),
"remark"
:
$
.
trim
(
$
(
"#pass_beizhu"
).
val
()
),
},
},
dataType
:
"json"
,
dataType
:
"json"
,
success
:
function
(
data
)
{
success
:
function
(
data
)
{
if
(
data
.
code
==
200
)
{
if
(
data
.
code
==
200
)
{
if
(
data
.
data
)
{
if
(
data
.
data
)
{
bargain
.
getList
(
1
);
bargain
.
getList
(
1
);
}
}
}
else
{
}
else
{
...
@@ -257,8 +279,6 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'text!temp/reportList_s
...
@@ -257,8 +279,6 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'text!temp/reportList_s
},
},
// 开票税费
// 开票税费
shuiFee
:
function
()
{
shuiFee
:
function
()
{
// $(".Tswitch:nth-of-type(3)").show().siblings().hide();
// $("#records").addClass("btn-info").removeClass("btn-default").siblings().removeClass("btn-info").addClass("btn-default");
$
.
ajax
({
$
.
ajax
({
type
:
'GET'
,
type
:
'GET'
,
url
:
'/index/getTallAge'
,
url
:
'/index/getTallAge'
,
...
@@ -271,7 +291,7 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'text!temp/reportList_s
...
@@ -271,7 +291,7 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'text!temp/reportList_s
success
:
function
(
_data
)
{
success
:
function
(
_data
)
{
if
(
typeof
_data
===
'object'
)
{
if
(
typeof
_data
===
'object'
)
{
if
(
_data
[
'code'
]
==
'200'
)
{
if
(
_data
[
'code'
]
==
'200'
)
{
$
(
"#
shuifei
_main_box"
).
html
(
doT
.
template
(
$
(
'#reportList_shuiFee_list_tpl'
).
html
())(
_data
.
data
));
$
(
"#
tax
_main_box"
).
html
(
doT
.
template
(
$
(
'#reportList_shuiFee_list_tpl'
).
html
())(
_data
.
data
));
}
else
{
}
else
{
layerTipsX
(
_data
[
'msg'
]);
layerTipsX
(
_data
[
'msg'
]);
}
}
...
@@ -365,6 +385,39 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'text!temp/reportList_s
...
@@ -365,6 +385,39 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'text!temp/reportList_s
}
}
});
});
},
},
account
:
function
(){
$
.
ajax
({
type
:
'POST'
,
url
:
'/index/checkOver'
,
data
:
{
'bargain_id'
:
bargain
.
bargain_id
},
timeout
:
30000
,
dataType
:
'json'
,
beforeSend
:
function
()
{},
success
:
function
(
_data
)
{
if
(
typeof
_data
===
'object'
)
{
if
(
_data
[
'code'
]
==
'200'
)
{
alert
(
'结单成功!'
);
bargain
.
getList
(
1
);
}
else
{
layerTipsX
(
_data
[
'msg'
]);
}
}
else
{
layerTipsX
(
'数据错误'
);
};
},
error
:
function
()
{
layerTipsX
(
'enter error'
);
},
complete
:
function
(
xhr
,
textStatus
){
if
(
textStatus
===
'timeout'
)
{
//处理超时的逻辑
layerTipsX
(
'请求超时,请重试'
);
};
}
});
},
//获取一级审核,二级审核,三级审核,结单不同的ajax请求url
//获取一级审核,二级审核,三级审核,结单不同的ajax请求url
switchUrl
:
function
(){
switchUrl
:
function
(){
console
.
log
(
this
.
mainTabIndex
);
console
.
log
(
this
.
mainTabIndex
);
...
@@ -387,10 +440,10 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'text!temp/reportList_s
...
@@ -387,10 +440,10 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'text!temp/reportList_s
var
params
=
{
var
params
=
{
'pageNo'
:
pageNo
,
'pageNo'
:
pageNo
,
'pageSize'
:
bargain
.
pageSize
,
'pageSize'
:
bargain
.
pageSize
,
'create_time'
:
$
.
trim
(
$
(
'#create_time'
).
val
()),
'create_time'
:
$
.
trim
(
$
(
'#
maintable_
create_time'
).
val
()),
'internal_address'
:
$
.
trim
(
$
(
'#internal_address'
).
val
()),
'internal_address'
:
$
.
trim
(
$
(
'#
maintable_
internal_address'
).
val
()),
'user_phone'
:
$
.
trim
(
$
(
'#user_phone'
).
val
()),
'user_phone'
:
$
.
trim
(
$
(
'#
maintable_
user_phone'
).
val
()),
'house_number'
:
$
.
trim
(
$
(
'#
internal
_num'
).
val
())
'house_number'
:
$
.
trim
(
$
(
'#
maintable_shop
_num'
).
val
())
};
};
$
.
ajax
({
$
.
ajax
({
type
:
'GET'
,
type
:
'GET'
,
...
@@ -403,10 +456,9 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'text!temp/reportList_s
...
@@ -403,10 +456,9 @@ define(['doT', 'text!temp/reportList_template_tpl.html', 'text!temp/reportList_s
if
(
typeof
data
===
'object'
)
{
if
(
typeof
data
===
'object'
)
{
if
(
data
.
code
==
200
)
{
if
(
data
.
code
==
200
)
{
var
doTtmpl
=
doT
.
template
(
document
.
getElementById
(
'reportList_list_tpl'
).
innerHTML
);
var
doTtmpl
=
doT
.
template
(
document
.
getElementById
(
'reportList_list_tpl'
).
innerHTML
);
$
(
"#
follow
_list"
).
html
(
doTtmpl
(
data
.
data
));
$
(
"#
maintable
_list"
).
html
(
doTtmpl
(
data
.
data
));
// var user_info_obj = JSON.parse(decodeURIComponent(sessionStorage.getItem('pcUserInfo')));
// var user_info_obj = JSON.parse(decodeURIComponent(sessionStorage.getItem('pcUserInfo')));
/*分页代码*/
/*分页代码*/
console
.
log
(
993
);
add_page
(
data
.
data
.
total
,
pageNo
,
bargain
.
pageSize
,
bargain
.
getList
);
add_page
(
data
.
data
.
total
,
pageNo
,
bargain
.
pageSize
,
bargain
.
getList
);
}
else
{
}
else
{
...
...
public/resource/template/reportList_shuiFee_template_tpl.html
View file @
81bfcea0
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
[
%
var
getInfoType
=
function
(
r
){
switch
(
Number
(
r
)){
case
1
:
return
"盘方"
;
case
2
:
return
"客方"
;
case
3
:
return
"反签"
;
case
4
:
return
"独家"
;
case
5
:
return
"合作方"
;
default
:
return
"未定义"
}};
%
]
[
%
var
getInfoType
=
function
(
r
){
switch
(
Number
(
r
)){
case
1
:
return
"盘方"
;
case
2
:
return
"客方"
;
case
3
:
return
"反签"
;
case
4
:
return
"独家"
;
case
5
:
return
"合作方"
;
default
:
return
"未定义"
}};
%
]
<
section
>
<
section
>
<
div
>
<
div
>
<
table
class
=
"
shuifee
-table table-haveborder"
>
<
table
class
=
"
detail-modal-tax
-table table-haveborder"
>
<
tr
>
<
tr
>
<
td
>
开票金额
<
/td
>
<
td
>
开票金额
<
/td
>
<
td
>
[
%=
it
[
item
][
'total_fee'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'total_fee'
]
%
]
<
/td
>
...
...
public/resource/template/reportList_template_tpl.html
View file @
81bfcea0
...
@@ -15,14 +15,14 @@
...
@@ -15,14 +15,14 @@
[
%
}
%
]
[
%
}
%
]
[
%
if
(
it
[
"step"
]
<
3
)
{
%
]
[
%
if
(
it
[
"step"
]
<
3
)
{
%
]
[
%
if
(
check_auth
(
'index/checkReportAttache/0'
)
||
check_auth
(
'index/checkReportManager/1'
)
||
check_auth
(
'index/checkReportMajordomo/2'
)
||
check_auth
(
'index/checkReportCashier/3'
))
{
%
]
[
%
if
(
check_auth
(
'index/checkReportAttache/0'
)
||
check_auth
(
'index/checkReportManager/1'
)
||
check_auth
(
'index/checkReportMajordomo/2'
)
||
check_auth
(
'index/checkReportCashier/3'
))
{
%
]
<
a
class
=
"btn1 btn-success
is_pass
"
href
=
"#modal-pass"
data
-
toggle
=
"modal"
>
通过
<
/a
>
<
a
class
=
"btn1 btn-success"
href
=
"#modal-pass"
data
-
toggle
=
"modal"
>
通过
<
/a
>
[
%
}
%
]
[
%
}
%
]
[
%
}
else
if
(
it
[
"step"
]
==
3
)
{
%
]
[
%
}
else
if
(
it
[
"step"
]
==
3
)
{
%
]
[
%
if
(
check_auth
(
'index/toReportListOne'
))
{
%
]
[
%
if
(
check_auth
(
'index/toReportListOne'
))
{
%
]
<
a
class
=
"btn1 btn-success btn-trans-one"
>
转到一级审核
<
/a
>
<
a
class
=
"btn1 btn-success
maintable-
btn-trans-one"
>
转到一级审核
<
/a
>
[
%
}
%
]
[
%
}
%
]
[
%
if
(
check_auth
(
'index/checkOver'
))
{
%
]
[
%
if
(
check_auth
(
'index/checkOver'
))
{
%
]
<
a
class
=
"btn1 btn-success
btn-jiedan
"
>
结单
<
/a
>
<
a
class
=
"btn1 btn-success
maintable-btn-account
"
>
结单
<
/a
>
[
%
}
%
]
[
%
}
%
]
[
%
}
%
]
[
%
}
%
]
<
a
class
=
"btn1 btn-success timeline"
href
=
"#modal-time"
data
-
toggle
=
"modal"
>
时间轴
<
/a
>
<
a
class
=
"btn1 btn-success timeline"
href
=
"#modal-time"
data
-
toggle
=
"modal"
>
时间轴
<
/a
>
...
...
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