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
c9868cae
Commit
c9868cae
authored
Mar 27, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
14e2a0d1
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
323 additions
and
36 deletions
+323
-36
account_statement.html
application/index/view/finance/account_statement.html
+187
-0
reportList.html
application/index/view/report/reportList.html
+36
-33
inspectionRecordAll.js
public/resource/js/inspectionRecordAll.js
+96
-0
inspectionRecordAll_list_template_tpl.html
...ource/template/inspectionRecordAll_list_template_tpl.html
+2
-3
reportList_template_tpl.html
public/resource/template/reportList_template_tpl.html
+2
-0
No files found.
application/index/view/finance/account_statement.html
View file @
c9868cae
{layout name="global/frame_two_tpl" /}
{layout name="global/frame_two_tpl" /}
<input
type=
"hidden"
class=
"page-load"
id=
"reportList"
/>
<input
type=
"hidden"
class=
"page-load"
id=
"reportList"
/>
<style
type=
"text/css"
>
<style
type=
"text/css"
>
/*收佣金*/
.modal-body-intention
{
width
:
900px
!important
;
}
.modal-body-intention
tr
{
height
:
36px
;
}
.modal-body-intention
input
,
.modal-body-intention
select
{
height
:
28px
;
border
:
1px
solid
#e0e0e0
;
outline-style
:
none
;
width
:
200px
;
}
.span-width-90
{
width
:
90px
;
display
:
inline-block
;
}
.tip-liu
{
font-size
:
15px
;
}
/*收佣金*/
.envelope-list
{
.envelope-list
{
position
:
relative
;
position
:
relative
;
left
:
-144px
;
left
:
-144px
;
...
@@ -1287,3 +1308,168 @@
...
@@ -1287,3 +1308,168 @@
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal -->
</div>
<!-- /.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-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>
<!-- /.modal-content -->
</div>
<!-- /.modal -->
</div>
\ No newline at end of file
application/index/view/report/reportList.html
View file @
c9868cae
...
@@ -255,74 +255,74 @@
...
@@ -255,74 +255,74 @@
<tr>
<tr>
<td>
<td>
<span
class=
"span-width-90"
>
入账金额:
</span>
<span
class=
"span-width-90"
>
入账金额:
</span>
<input
type=
"number"
placeholder=
"请输入"
>
<input
type=
"number"
placeholder=
"请输入"
class=
"intention-money"
>
元
</td>
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td>
<td>
<span
class=
"span-width-90"
>
支付方式:
</span>
<span
class=
"span-width-90"
>
支付方式:
</span>
<select>
<select
class=
"intention-pay-type"
>
<option
value=
""
>
请选择
</option>
<option
value=
"1"
>
是
</option>
<option
value=
""
>
入账方式
</option>
<option
value=
"0"
>
否
</option>
<option
value=
"10"
>
施总支付宝
</option>
<option
value=
"11"
>
林老师支付宝
</option>
<option
value=
"12"
>
筠姐支付宝
</option>
<option
value=
"20"
>
施总微信
</option>
<option
value=
"21"
>
林老师微信
</option>
<option
value=
"22"
>
筠姐微信
</option>
<option
value=
"30"
>
POS机器
</option>
<option
value=
"40"
>
地产转账
</option>
<option
value=
"41"
>
世家公账
</option>
<option
value=
"42"
>
3000账号
</option>
<option
value=
"50"
>
现金
</option>
<option
value=
"70"
>
银满谷银行卡
</option>
<option
value=
"71"
>
筠姐上海银行卡
</option>
<option
value=
"72"
>
林老师建行卡
</option>
<option
value=
"73"
>
新同联福居银行卡
</option>
<option
value=
"60"
>
其他
</option>
</select>
</select>
</td>
</td>
<td>
<td>
<span
class=
"span-width-90"
>
转账户名:
</span>
<span
class=
"span-width-90"
>
转账户名:
</span>
<input
type=
"number"
placeholder=
"请输入"
>
<input
type=
"number"
placeholder=
"请输入"
class=
"intention-name"
>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
<td>
<td>
<span
class=
"span-width-90"
>
入账类型:
</span>
<span
class=
"span-width-90"
>
入账类型:
</span>
<select>
<select
class=
"booked-type"
>
<option
value=
""
>
请选择
</option>
<option
value=
"1"
>
是
</option>
<option
value=
""
>
请选择
</option>
<option
value=
"0"
>
否
</option>
<option
value=
"10"
>
意向金
</option>
<option
value=
"30"
>
保管金
</option>
</select>
</select>
</td>
</td>
<td>
<td>
<span
class=
"span-width-90"
>
入账日期:
</span>
<span
class=
"span-width-90"
>
入账日期:
</span>
<input
type=
"number"
placeholder=
"请输入"
>
<!--<input type="date" placeholder="请输入" class="booked-date">-->
<input
class=
"input-width-m input-width"
type=
"text"
value=
""
id=
"booked-date"
onClick=
"WdatePicker({el:this,dateFmt:'yyyy-MM-dd HH:mm:ss',readOnly:true})"
/>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
<td>
<td>
<span
class=
"span-width-90"
>
商铺号:
</span>
<span
class=
"span-width-90"
>
商铺号:
</span>
<input
type=
"number"
placeholder=
"请输入"
>
<input
type=
"number"
placeholder=
"请输入"
class=
"shop-num"
>
</td>
</td>
<td>
<td>
<span
class=
"span-width-90"
>
业态/品牌:
</span>
<span
class=
"span-width-90"
>
业态/品牌:
</span>
<input
type=
"number"
placeholder=
"请输入"
>
<input
type=
"number"
placeholder=
"请输入"
class=
"yetai"
>
</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>
</td>
</tr>
</tr>
<tr>
<tr>
<td>
<td>
<span
class=
"span-width-90"
>
备注:
</span>
<span
class=
"span-width-90"
>
备注:
</span>
<input
type=
"text"
placeholder=
"请输入"
>
<input
type=
"text"
placeholder=
"请输入"
class=
"beizhu"
>
</td>
</td>
<td>
<td>
<span
class=
"span-width-90"
>
最后转定时间:
</span>
<span
class=
"span-width-90"
>
最后转定时间:
</span>
<input
type=
"text"
placeholder=
"请输入"
>
<!--<input type="date" placeholder="请输入" class="zhuanding">-->
<input
class=
"input-width-m input-width"
type=
"text"
value=
""
id=
"zhuanding"
onClick=
"WdatePicker({el:this,dateFmt:'yyyy-MM-dd HH:mm:ss',readOnly:true})"
/>
</td>
</td>
</tr>
</tr>
</table>
</table>
...
@@ -347,6 +347,9 @@
...
@@ -347,6 +347,9 @@
<p>
签约:居间协议,佣金确认书,租赁合同(只传首页和尾页),转账记录,收据,现场图(须两位业务员在场)(共6项)
</p>
<p>
签约:居间协议,佣金确认书,租赁合同(只传首页和尾页),转账记录,收据,现场图(须两位业务员在场)(共6项)
</p>
</div>
</div>
</div>
</div>
<div
class=
"modal-footer"
>
<button
type=
"button"
class=
"btn btn-primary"
id=
"save_intention"
>
提交
</button>
</div>
</div>
</div>
<!-- /.modal-content -->
<!-- /.modal-content -->
</div>
</div>
...
...
public/resource/js/inspectionRecordAll.js
View file @
c9868cae
...
@@ -12,6 +12,9 @@ define(['doT', 'text!temp/inspectionRecordAll_list_template_tpl.html', 'css!styl
...
@@ -12,6 +12,9 @@ define(['doT', 'text!temp/inspectionRecordAll_list_template_tpl.html', 'css!styl
stopstatus
:
true
,
stopstatus
:
true
,
boxphoto
:
''
,
boxphoto
:
''
,
mainTabIndex
:
0
,
mainTabIndex
:
0
,
orderID
:
''
,
orderNO
:
''
,
url
:
'/broker/reportListForPc'
,
url
:
'/broker/reportListForPc'
,
init
:
function
()
{
init
:
function
()
{
//初始化dot
//初始化dot
...
@@ -165,6 +168,22 @@ define(['doT', 'text!temp/inspectionRecordAll_list_template_tpl.html', 'css!styl
...
@@ -165,6 +168,22 @@ define(['doT', 'text!temp/inspectionRecordAll_list_template_tpl.html', 'css!styl
record
.
mainTabIndex
=
_this
.
index
();
record
.
mainTabIndex
=
_this
.
index
();
record
.
getList
(
1
);
record
.
getList
(
1
);
});
});
//点击保存意向金 保管金按钮 获取参数
_doc
.
on
(
'click'
,
'.tab-intention'
,
function
(
e
){
e
.
preventDefault
();
e
.
stopPropagation
();
var
_this
=
$
(
this
);
record
.
orderID
=
$
(
this
).
attr
(
'data-id'
);
record
.
orderNO
=
$
(
this
).
attr
(
'data-orderNo'
);
});
//保存意向金 保管金
_doc
.
on
(
'click'
,
'#save_intention'
,
function
(
e
){
e
.
preventDefault
();
e
.
stopPropagation
();
var
_this
=
$
(
this
);
record
.
submitIntention
();
});
if
(
!
check_auth
(
'index/inspectionRecordStore/1'
))
{
if
(
!
check_auth
(
'index/inspectionRecordStore/1'
))
{
$
(
"#is_show_store"
).
hide
();
$
(
"#is_show_store"
).
hide
();
}
}
...
@@ -313,6 +332,83 @@ define(['doT', 'text!temp/inspectionRecordAll_list_template_tpl.html', 'css!styl
...
@@ -313,6 +332,83 @@ define(['doT', 'text!temp/inspectionRecordAll_list_template_tpl.html', 'css!styl
};
};
}
}
});
});
},
submitIntention
:
function
()
{
//提交意向金保管金
var
userObj
=
JSON
.
parse
(
decodeURIComponent
(
localStorage
.
getItem
(
'pcUserInfo'
)));
console
.
log
(
userObj
);
var
params
=
{};
params
.
agent_id
=
userObj
.
id
;
params
.
agent_name
=
userObj
.
name
;
params
.
AuthToken
=
userObj
.
AuthToken
;
params
.
report_id
=
$
(
"select[name=industry_type_two]"
).
val
();
//报备id
params
.
order_id
=
record
.
orderID
;
params
.
order_no
=
record
.
orderNO
;
params
.
collecting_bill
=
$
(
"input[name=area_demand]"
).
val
();
params
.
house_number
=
$
(
"input[name=area_demand]"
).
val
();
//商铺号
params
.
industry_type
=
$
(
"input[name=area_demand]"
).
val
();
//业态
params
.
remark
=
$
(
".beizhu"
).
val
();
params
.
transfer_img
=
$
(
"input[name=area_demand]"
).
val
();
params
.
pay_id
=
$
(
"input[name=area_demand]"
).
val
();
//什么
params
.
receipt_number
=
$
(
".intention-name"
).
val
();
params
.
bargain_id
=
$
(
"input[name=area_demand]"
).
val
();
//成交报告id
params
.
income_time
=
(
new
Date
(
$
(
'#booked-date'
).
val
())).
getTime
()
*
0.001
;
params
.
last_transfer_time
=
(
new
Date
(
$
(
'#zhuanding'
).
val
())).
getTime
()
*
0.001
;
var
obj
=
{
'type'
:
$
(
".booked-type"
).
val
(),
'pay_type'
:
$
(
'.intention-pay-type'
).
val
(),
'money'
:
$
(
".intention-money"
).
val
()
};
var
jsonArray
=
[]
;
jsonArray
.
push
(
obj
);
params
.
collecting_bill
=
JSON
.
stringify
(
jsonArray
);
var
imgname
=
[];
for
(
var
i
=
0
;
i
<
$
(
'.result-du'
).
length
;
i
++
)
{
imgname
[
i
]
=
$
(
'.result-du>img'
).
eq
(
i
).
attr
(
'data-imgname'
);
};
if
(
imgname
.
join
(
','
))
{
params
.
transfer_img
=
imgname
.
join
(
','
);
}
else
{
return
};
// 参数
// "agent_id" => 1,//收款经纪人id
// "agent_name" => 1,//收款经纪人id
// "report_id" => 111,//报备id
// "order_id" => 2, //关联order表id
// "order_no" => "123123123", //订单no
// `type` '付款类型 10意向金 20定金 30保管金 40押金 50 租金 60 进场费 70转让费 80其他',
// `pay_type` '支付方式 10支付宝 20 微信 30pos机器 40转账 50现金',
// `money` '入账金额',
// "collecting_bill" => [ { "type" : 10, "pay_type" : 10, "money" : 1100 }, { "type" :10, "pay_type" : 10, "money": 1200 } ],
// "house_number" => "3301号",
// "industry_type" => "asdasdasd",
// "remark" => "没什么备注",
// "transfer_img" => "12312312312",
// "is_dividend" => 1, //是否分红 1否 0是
// "last_transfer_time" => "2018-10-18", //最后转定时间
// "pay_id" => 1,
$
.
ajax
({
'type'
:
'POST'
,
'url'
:
'/broker/collectingBill'
,
data
:
params
,
dataType
:
"json"
,
success
:
function
(
data
)
{
if
(
data
.
code
==
200
)
{
user
.
getList
(
1
);
}
else
{
alert
(
data
.
msg
)
}
}
});
},
},
//调用部门 和 门店的接口
//调用部门 和 门店的接口
getDistrict
:
function
(
fn
)
{
getDistrict
:
function
(
fn
)
{
...
...
public/resource/template/inspectionRecordAll_list_template_tpl.html
View file @
c9868cae
...
@@ -16,9 +16,8 @@
...
@@ -16,9 +16,8 @@
<
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-intention"
href
=
"#modal-intention"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["order_id"] %]'
>
收意向金
/
保管金
<
/a
>
<
a
class
=
"btn1 btn-success tab-intention"
href
=
"#modal-intention"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["order_id"] %]'
data
-
orderNo
=
'[%= it[item]["order_no"] %]'
>
收意向金
/
保管金
<
/a
>
&
nbsp
;
<!--<
a
class
=
"btn1 btn-success submit-commission"
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
>
<
/td
>
<
/tr
>
<
/tr
>
[
%
}
%
]
[
%
}
%
]
...
...
public/resource/template/reportList_template_tpl.html
View file @
c9868cae
...
@@ -48,6 +48,8 @@
...
@@ -48,6 +48,8 @@
<
a
class
=
"btn1 btn-success receipt-evidencing-list"
href
=
"#modal-receiptEvidencing"
data
-
toggle
=
"modal"
>
收款入账
<
/a
>
<
a
class
=
"btn1 btn-success receipt-evidencing-list"
href
=
"#modal-receiptEvidencing"
data
-
toggle
=
"modal"
>
收款入账
<
/a
>
[
%
}
%
]
[
%
}
%
]
<
a
class
=
"btn1 btn-success"
href
=
"#modal-commission"
data
-
orderid
=
"[%= it['list'][item]['order_id'] %]"
data
-
toggle
=
"modal"
>
收佣金
<
/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