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
4fc4e23a
Commit
4fc4e23a
authored
Mar 24, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
4ce926c7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
268 additions
and
6 deletions
+268
-6
daily_details.html
application/index/view/finance/daily_details.html
+0
-0
reportList.html
application/index/view/report/reportList.html
+181
-3
financial_manager_daily_list.js
public/resource/js/financial_manager_daily_list.js
+0
-0
inspectionRecordAll.js
public/resource/js/inspectionRecordAll.js
+53
-1
financial_manager_daily_list_template_tpl.html
...e/template/financial_manager_daily_list_template_tpl.html
+10
-0
inspectionRecordAll_list_template_tpl.html
...ource/template/inspectionRecordAll_list_template_tpl.html
+24
-2
No files found.
application/index/view/finance/daily_details.html
View file @
4fc4e23a
This diff is collapsed.
Click to expand it.
application/index/view/report/reportList.html
View file @
4fc4e23a
...
@@ -254,7 +254,8 @@
...
@@ -254,7 +254,8 @@
<table
width=
"100%"
>
<table
width=
"100%"
>
<tr>
<tr>
<td>
<td>
<span
class=
"span-width-90"
>
入账金额:
</span><input
type=
"number"
placeholder=
"请输入"
>
<span
class=
"span-width-90"
>
入账金额:
</span>
<input
type=
"number"
placeholder=
"请输入"
>
</td>
</td>
<td></td>
<td></td>
</tr>
</tr>
...
@@ -351,7 +352,7 @@
...
@@ -351,7 +352,7 @@
</div>
</div>
<!-- /.modal -->
<!-- /.modal -->
</div>
</div>
<!--收佣金-->
<!--收佣金
成交报告列表
-->
<div
class=
"modal fade modal-iframe-750"
id=
"modal-commission"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal fade modal-iframe-750"
id=
"modal-commission"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal-dialog modal-body-report"
>
<div
class=
"modal-dialog modal-body-report"
>
<div
class=
"modal-content"
>
<div
class=
"modal-content"
>
...
@@ -364,7 +365,184 @@
...
@@ -364,7 +365,184 @@
</h4>
</h4>
</div>
</div>
<div
class=
"modal-body"
>
<div
class=
"modal-body"
>
佣金
<table
class=
"table table-striped table-bordered table-hover table-condensed"
>
<thead>
<tr>
<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>
</tr>
</thead>
<tbody
class=
"text-center"
id=
"report_list"
></tbody>
</table>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal -->
</div>
<!--收佣金-->
<div
class=
"modal fade modal-iframe-750"
id=
"modal-commissionConfirm"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal-dialog modal-body-intention"
>
<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"
>
<table
width=
"100%"
>
<tr>
<td>
<span
class=
"span-width-90"
>
对应成交报告ID:
</span>
<input
type=
"number"
placeholder=
"请输入"
>
</td>
<td>
<span
class=
"span-width-90"
>
入账金额:
</span>
<input
type=
"number"
placeholder=
"请输入"
>
</td>
</tr>
<tr>
<td
colspan=
"2"
>
<span
class=
"span-width-90"
>
对应业务员:
</span>
<span>
101周小雨(反签40%),203洛可可(独家50%),203王小兔(合作方20%)
</span>
</td>
</tr>
<tr>
<td>
<span
class=
"span-width-90"
>
支付方式:
</span>
<select>
<option
value=
""
>
请选择
</option>
<option
value=
"1"
>
是
</option>
<option
value=
"0"
>
否
</option>
</select>
</td>
<td>
<span
class=
"span-width-90"
>
转账户名:
</span>
<input
type=
"number"
placeholder=
"请输入"
>
</td>
</tr>
<tr>
<td>
<span
class=
"span-width-90"
>
入账类型:
</span>
<select>
<option
value=
""
>
请选择
</option>
<option
value=
"1"
>
是
</option>
<option
value=
"0"
>
否
</option>
</select>
</td>
<td>
<span
class=
"span-width-90"
>
入账日期:
</span>
<input
type=
"number"
placeholder=
"请输入"
>
</td>
</tr>
<tr>
<td>
<span
class=
"span-width-90"
>
是否开业:
</span>
<span>
是
</span>
</td>
<td>
<span
class=
"span-width-90"
>
是否分红:
</span>
<span>
是
</span>
</td>
</tr>
<tr>
<td>
<span
class=
"span-width-90"
>
之前已收佣:
</span>
<input
type=
"number"
placeholder=
"请输入"
>
</td>
<td>
<span
class=
"span-width-90"
>
成交价:
</span>
<span>
66666元
</span>
</td>
</tr>
<tr>
<td>
<span
class=
"span-width-90"
>
中介费类型:
</span>
<input
type=
"number"
placeholder=
"请输入"
>
</td>
<td>
<span
class=
"span-width-90"
>
应收金额:
</span>
<span>
66666元
</span>
</td>
</tr>
<tr>
<td>
<span
class=
"span-width-90"
>
多收金额:
</span>
<span>
66666元
</span>
</td>
<td>
</td>
</tr>
<tr>
<td>
<span
class=
"span-width-90"
>
商铺号:
</span>
<input
type=
"number"
placeholder=
"请输入"
>
</td>
<td>
<span
class=
"span-width-90"
>
业态/品牌:
</span>
<input
type=
"number"
placeholder=
"请输入"
>
</td>
</tr>
<tr>
<td>
<span
class=
"span-width-90"
>
来源:
</span>
<input
type=
"number"
placeholder=
"请输入"
>
</td>
<td>
<span
class=
"span-width-90"
>
状态:
</span>
<input
type=
"number"
placeholder=
"请输入"
>
</td>
</tr>
<tr>
<td>
<span
class=
"span-width-90"
>
手续费:
</span>
<input
type=
"number"
placeholder=
"请输入"
>
</td>
<td>
<span
class=
"span-width-90"
>
实付金额:
</span>
<input
type=
"number"
placeholder=
"请输入"
>
</td>
</tr>
<tr>
<td>
<span
class=
"span-width-90"
>
备注:
</span>
<input
type=
"text"
placeholder=
"请输入"
>
</td>
<td>
<span
class=
"span-width-90"
>
最后转定时间:
</span>
<input
type=
"text"
placeholder=
"请输入"
>
</td>
</tr>
</table>
<div>
<div
class=
"form-group full-width-100 full-pic-area"
>
<!--input上传图片-->
<div
id=
"container_body_du"
>
<label>
请选择一个图像文件:
</label>
<button
type=
"button btn2"
class=
"btn btn-default"
>
上传图片
</button>
<input
type=
"file"
id=
"file_input_pic"
/>
<div
id=
"container_body_img_area_du"
></div>
</div>
</div>
<ul
class=
"img-pre-ul"
id=
"xiangqing_pic_ul"
>
</ul>
</div>
<div
class=
"tip-liu"
>
<p>
图片上传规则:
</p>
<p>
意向金:意向金收条,居间协议,客户身份证正反面,转账记录,佣金确认书,现场图(须两位业务员在场)(共6项)
</p>
<p>
转定:定金收条,意向金收条,居间协议,房东身份证正反面,佣金确认书,现场图(须两位业务员在场)(共6项)
</p>
<p>
签约:居间协议,佣金确认书,租赁合同(只传首页和尾页),转账记录,收据,现场图(须两位业务员在场)(共6项)
</p>
</div>
</div>
</div>
</div>
</div>
<!-- /.modal-content -->
<!-- /.modal-content -->
...
...
public/resource/js/financial_manager_daily_list.js
View file @
4fc4e23a
This diff is collapsed.
Click to expand it.
public/resource/js/inspectionRecordAll.js
View file @
4fc4e23a
...
@@ -146,9 +146,17 @@ define(['doT', 'text!temp/inspectionRecordAll_list_template_tpl.html', 'css!styl
...
@@ -146,9 +146,17 @@ define(['doT', 'text!temp/inspectionRecordAll_list_template_tpl.html', 'css!styl
e
.
stopPropagation
();
e
.
stopPropagation
();
if
(
confirm
(
'确认删除吗?'
)){
if
(
confirm
(
'确认删除吗?'
)){
_this
.
parent
().
remove
();
_this
.
parent
().
remove
();
bargain
.
spandelList
(
_this
.
prev
().
attr
(
'data-imgid'
));
record
.
spandelList
(
_this
.
prev
().
attr
(
'data-imgid'
));
};
};
});
});
//点击收佣金 获取成交报告id
_doc
.
on
(
'click'
,
'.submit-commission'
,
function
(
e
)
{
var
_this
=
$
(
this
);
e
.
preventDefault
();
e
.
stopPropagation
();
record
.
getListReport
();
});
_doc
.
on
(
'click'
,
'.maintable-top-sub-tr>a'
,
function
(
e
){
_doc
.
on
(
'click'
,
'.maintable-top-sub-tr>a'
,
function
(
e
){
e
.
preventDefault
();
e
.
preventDefault
();
e
.
stopPropagation
();
e
.
stopPropagation
();
...
@@ -256,6 +264,50 @@ define(['doT', 'text!temp/inspectionRecordAll_list_template_tpl.html', 'css!styl
...
@@ -256,6 +264,50 @@ define(['doT', 'text!temp/inspectionRecordAll_list_template_tpl.html', 'css!styl
}
}
});
});
},
},
//收佣金 获取成交报告列表
getListReport
:
function
()
{
var
params
=
{};
var
user_info_obj
=
JSON
.
parse
(
decodeURIComponent
(
localStorage
.
getItem
(
'pcUserInfo'
)));
//读取缓存
params
.
AuthToken
=
user_info_obj
.
AuthToken
;
params
.
type
=
1
;
params
.
agent_id
=
user_info_obj
.
id
;
params
.
pageNo
=
1
;
params
.
pageSize
=
record
.
pageSize
;
$
.
ajax
({
type
:
'GET'
,
url
:
record
.
url
,
//约带看记录 对接接口(2.9.6 有权限的人 才能看到)
data
:
params
,
timeout
:
30000
,
dataType
:
'json'
,
beforeSend
:
function
()
{},
success
:
function
(
data
)
{
if
(
typeof
data
===
'object'
)
{
if
(
data
.
code
==
200
)
{
var
doTtmpl
=
doT
.
template
(
document
.
getElementById
(
'report_list_tpl'
).
innerHTML
);
if
(
data
.
data
.
list
)
{
$
(
"#report_list"
).
html
(
doTtmpl
(
data
.
data
.
list
));
}
else
{
$
(
"#report_list"
).
html
(
doTtmpl
(
data
.
data
));
}
/*分页代码*/
// add_page(data.data.total, pageNo, record.pageSize, record.getList);
}
else
{
alert
(
data
[
'msg'
]);
};
}
else
{
alert
(
'数据错误'
);
};
},
error
:
function
()
{
alert
(
'error'
);
},
complete
:
function
(
xhr
,
textStatus
)
{
if
(
textStatus
===
'timeout'
)
{
alert
(
'请求超时'
);
};
}
});
},
//调用部门 和 门店的接口
//调用部门 和 门店的接口
getDistrict
:
function
(
fn
)
{
getDistrict
:
function
(
fn
)
{
$
.
ajax
({
$
.
ajax
({
...
...
public/resource/template/financial_manager_daily_list_template_tpl.html
View file @
4fc4e23a
...
@@ -34,6 +34,13 @@
...
@@ -34,6 +34,13 @@
<
td
>
<
td
>
<
a
class
=
"btn1 btn-info record-pic"
href
=
"#modal_financial"
data
-
recordid
=
"[%= it[item]['id'] %]"
data
-
toggle
=
"modal"
>
资料
<
/a
>
<
a
class
=
"btn1 btn-info record-pic"
href
=
"#modal_financial"
data
-
recordid
=
"[%= it[item]['id'] %]"
data
-
toggle
=
"modal"
>
资料
<
/a
>
<
a
class
=
"btn1 btn-info add-pic"
href
=
"#modal-addPic"
data
-
recordid
=
"[%= it[item]['id'] %]"
data
-
toggle
=
"modal"
>
编辑
<
/a
>
<
a
class
=
"btn1 btn-info add-pic"
href
=
"#modal-addPic"
data
-
recordid
=
"[%= it[item]['id'] %]"
data
-
toggle
=
"modal"
>
编辑
<
/a
>
<
a
class
=
"btn1 btn-info money_change"
href
=
"#modal-linetime"
data
-
toggle
=
"modal"
data
-
type
=
'[%= it[item]['
type
'] %]'
data
-
id
=
'[%= it[item]["id"]%]'
data
-
receipt_number
=
'[%= it[item]['
receipt_number
'] %]'
data
-
house_number
=
'[%= it[item]['
house_number
'] %]'
data
-
transfer_name
=
'[%= it[item]['
transfer_name
'] %]'
data
-
order_id
=
'[%= it[item]['
order_id
'] %]'
data
-
type_num
=
'[%= it[item]['
type_num
'] %]'
data
-
income_time
=
'[%= it[item]['
income_time
'] %]'
data
-
pay_type
=
'[%= it[item]['
pay_type_num
'] %]'
>
调整
<
/a
>
<
a
class
=
"btn1 btn-info money_back"
href
=
"#modal-back"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"]%]'
data
-
income_time
=
'[%= it[item]['
income_time
'] %]'
data
-
real_money
=
'[%= it[item]['
real_money
'] %]'
data
-
addr
=
"[%= it[item]['address'] %]"
data
-
report_id
=
'[%= it[item]['
report_id
'] %]'
data
-
order_id
=
'[%= it[item]['
order_id
'] %]'
data
-
order_no
=
'[%= it[item]['
order_no
'] %]'
data
-
agent_id
=
'[%= it[item]['
agent_id
'] %]'
data
-
agent_name
=
'[%= it[item]['
agent_name
'] %]'
data
-
type
=
'[%= it[item]['
type
'] %]'
>
退款
<
/a
>
[
%
if
(
check_auth
(
'index/delPayLog'
))
{
%
]
[
%
if
(
check_auth
(
'index/delPayLog'
))
{
%
]
<
a
class
=
"btn1 btn-info del-details"
href
=
"#modal-delete"
data
-
recordid
=
"[%= it[item]['id'] %]"
data
-
toggle
=
"modal"
>
删除
<
/a
>
<
a
class
=
"btn1 btn-info del-details"
href
=
"#modal-delete"
data
-
recordid
=
"[%= it[item]['id'] %]"
data
-
toggle
=
"modal"
>
删除
<
/a
>
[
%
}
%
]
[
%
}
%
]
...
@@ -101,6 +108,9 @@
...
@@ -101,6 +108,9 @@
<
td
>
<
td
>
<
a
class
=
"btn1 btn-info record-pic"
href
=
"#modal_financial"
data
-
recordid
=
"[%= it[item]['id'] %]"
data
-
toggle
=
"modal"
>
资料
<
/a
>
<
a
class
=
"btn1 btn-info record-pic"
href
=
"#modal_financial"
data
-
recordid
=
"[%= it[item]['id'] %]"
data
-
toggle
=
"modal"
>
资料
<
/a
>
<
a
class
=
"btn1 btn-info add-pic"
href
=
"#modal-addPic"
data
-
recordid
=
"[%= it[item]['id'] %]"
data
-
toggle
=
"modal"
>
编辑
<
/a
>
<
a
class
=
"btn1 btn-info add-pic"
href
=
"#modal-addPic"
data
-
recordid
=
"[%= it[item]['id'] %]"
data
-
toggle
=
"modal"
>
编辑
<
/a
>
<
a
class
=
"btn1 btn-info money_change"
href
=
"#modal-linetime"
data
-
toggle
=
"modal"
data
-
type
=
'意向金'
data
-
id
=
'[%= it[item]["id"]%]'
data
-
receipt_number
=
'[%= it[item]['
receipt_number
'] %]'
data
-
house_number
=
'[%= it[item]['
house_number
'] %]'
data
-
transfer_name
=
'[%= it[item]['
transfer_name
'] %]'
data
-
order_id
=
'[%= it[item]['
order_id
'] %]'
data
-
type_num
=
'[%= it[item]['
type_num
'] %]'
data
-
income_time
=
'[%= it[item]['
income_time
'] %]'
data
-
pay_type
=
'[%= it[item]['
pay_type_num
'] %]'
>
调整
<
/a
>
<
a
class
=
"btn1 btn-info money_back"
href
=
"#modal-back"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"]%]'
data
-
income_time
=
'[%= it[item]['
income_time
'] %]'
data
-
real_money
=
'[%= it[item]['
real_money
'] %]'
data
-
addr
=
"[%= it[item]['address'] %]"
data
-
report_id
=
'[%= it[item]['
report_id
'] %]'
data
-
order_id
=
'[%= it[item]['
order_id
'] %]'
data
-
order_no
=
'[%= it[item]['
order_no
'] %]'
data
-
agent_id
=
'[%= it[item]['
agent_id
'] %]'
data
-
agent_name
=
'[%= it[item]['
agent_name
'] %]'
data
-
type
=
'[%= it[item]['
type
'] %]'
>
退款
<
/a
>
[
%
if
(
check_auth
(
'index/delPayLog'
))
{
%
]
[
%
if
(
check_auth
(
'index/delPayLog'
))
{
%
]
<
a
class
=
"btn1 btn-info del-details"
href
=
"#modal-delete"
data
-
recordid
=
"[%= it[item]['id'] %]"
data
-
toggle
=
"modal"
>
删除
<
/a
>
<
a
class
=
"btn1 btn-info del-details"
href
=
"#modal-delete"
data
-
recordid
=
"[%= it[item]['id'] %]"
data
-
toggle
=
"modal"
>
删除
<
/a
>
[
%
}
%
]
[
%
}
%
]
...
...
public/resource/template/inspectionRecordAll_list_template_tpl.html
View file @
4fc4e23a
...
@@ -16,9 +16,31 @@
...
@@ -16,9 +16,31 @@
<
a
class
=
"btn1 btn-success submit-report"
href
=
"#modal-report"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["order_id"] %]'
>
提交成交报告
<
/a
>
<
a
class
=
"btn1 btn-success submit-report"
href
=
"#modal-report"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["order_id"] %]'
>
提交成交报告
<
/a
>
[
%
}
%
]
[
%
}
%
]
&
nbsp
;
&
nbsp
;
<
a
class
=
"btn1 btn-success submit-
report
"
href
=
"#modal-intention"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["order_id"] %]'
>
收意向金
/
保管金
<
/a
>
<
a
class
=
"btn1 btn-success submit-
intention
"
href
=
"#modal-intention"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["order_id"] %]'
>
收意向金
/
保管金
<
/a
>
&
nbsp
;
&
nbsp
;
<
a
class
=
"btn1 btn-success submit-report"
href
=
"#modal-commission"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["order_id"] %]'
>
收佣金
<
/a
>
<
a
class
=
"btn1 btn-success submit-commission"
href
=
"#modal-commission"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["order_id"] %]'
>
收佣金
<
/a
>
<
/td
>
<
/tr
>
[
%
}
%
]
[
%
}
else
{
%
]
<
tr
>
<
td
colspan
=
"8"
style
=
"text-align:center;"
>
暂无数据
<
/td
>
<
/tr
>
[
%
}
%
]
</script>
<!--收佣金 选择成交报告-->
<script
id=
"report_list_tpl"
type=
"text/template"
>
[
%
if
(
it
&&
it
.
length
!=
0
)
{
%
]
[
%
for
(
var
item
in
it
){
%
]
<
tr
class
=
"text-center"
data
-
data
=
"[%= encodeURIComponent(JSON.stringify(it[item])) %]"
>
<
td
>
[
%=
it
[
item
][
'order_id'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'user_name'
]
%
]
<
/td
>
<
td
>
[
%=
hideTel
(
it
[
item
][
'user_phone'
])
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'create_time'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'report_agent_name'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'house_title'
]
%
]
<
/td
>
<
td
>
<
a
class
=
"btn1 btn-success commissionConfirm"
href
=
"#modal-commissionConfirm"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["order_id"] %]'
>
选择
<
/a
>
<
/td
>
<
/td
>
<
/tr
>
<
/tr
>
[
%
}
%
]
[
%
}
%
]
...
...
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