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
98db0989
Commit
98db0989
authored
Dec 10, 2018
by
duxinyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增收款入账路由
parent
3423498d
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
484 additions
and
0 deletions
+484
-0
Finance.php
application/index/controller/Finance.php
+10
-0
receivables.html
application/index/view/finance/receivables.html
+448
-0
route.php
application/route.php
+1
-0
receivables.js
public/resource/js/receivables.js
+25
-0
No files found.
application/index/controller/Finance.php
View file @
98db0989
...
@@ -2226,4 +2226,14 @@ class Finance extends Basic
...
@@ -2226,4 +2226,14 @@ class Finance extends Basic
return
;
return
;
}
}
/**
* 获取收款入账
*
* @return \think\Response
*/
public
function
receivables
()
{
return
view
(
"receivables"
);
}
}
}
application/index/view/finance/receivables.html
0 → 100644
View file @
98db0989
{layout name="global/frame_tpl" /}
<input
type=
"hidden"
class=
"page-load"
id=
"receivables"
/>
<style>
.modal-body-height
{
overflow-y
:
auto
;
height
:
432px
;
}
#container_body_img_area
>
div
{
float
:
left
;
width
:
216px
;
}
.user-ul2
{
width
:
100%
;
height
:
auto
;
padding-bottom
:
15px
;
float
:
left
;
}
.user-ul2
li
{
list-style
:
none
;
line-height
:
30px
;
}
.money_total_two
{
font-weight
:
bold
;
font-size
:
15px
;
line-height
:
34px
;
display
:
inline-block
;
}
.img-pre-ul
{
padding-left
:
0
;
overflow
:
hidden
;
}
/*图片上传相关样式*/
.img-pre-ul
>
li
{
list-style
:
no
;
float
:
left
;
width
:
210px
;
height
:
170px
;
overflow
:
hidden
;
margin-right
:
10px
;
margin-top
:
10px
;
}
.img-pre-ul
>
li
.pdf-pre-li
{
height
:
70px
;
}
.img-pre-ul
>
li
>
img
{
float
:
left
;
width
:
210px
;
height
:
140px
;
object-fit
:
contain
;
cursor
:
pointer
;
}
.img-pre-ul
>
li
>
a
{
float
:
left
;
width
:
210px
;
text-align
:
center
;
line-height
:
30px
;
}
.img-pre-ul
>
li
>
a
.pdf-pre-a
{
line-height
:
20px
;
word-break
:
break-all
;
}
/*图片点击放大预览区域的样式*/
#img_mask_area
{
position
:
fixed
;
left
:
0
;
top
:
0
;
width
:
100%
;
height
:
100%
;
overflow
:
hidden
;
z-index
:
1999
;
background-color
:
rgba
(
0
,
0
,
0
,
.3
);
display
:
none
;
}
#img_mask_area
>
img
{
width
:
900px
;
height
:
700px
;
object-fit
:
contain
;
position
:
absolute
;
left
:
50%
;
top
:
50%
;
margin-left
:
-450px
;
margin-top
:
-350px
;
}
/*上传图片列表 样式*/
.form-group
{
margin
:
10px
;
}
.input-100-width
{
width
:
100px
!important
;
}
.input-360-width
{
width
:
360px
!important
;
}
.textarea-500-width
{
width
:
500px
!important
;
}
.list-group-item
>
.full-width-100
+
.full-width-100
{
padding-top
:
10px
;
}
.list-group-item
>
.full-width-100
>
label
{
width
:
60px
;
}
.list-group-item
>
.full-pic-area
>
label
{
width
:
120px
;
}
.delet-pic-btn
{
color
:
red
;
}
/*css样式*/
.img-cont
{
width
:
1000px
;
height
:
570px
;
border
:
2px
solid
#317ef3
;
margin
:
50px
auto
;
}
.img-cont
>
div
{
width
:
300px
;
height
:
260px
;
border
:
1px
solid
#777
;
float
:
left
;
margin
:
20px
0
0
20px
;
}
.img-cont
>
div
>
div
{
width
:
300px
;
height
:
220px
;
border
:
1px
solid
red
;
}
.img-cont
>
div
>
a
{
width
:
60px
;
height
:
30px
;
border-radius
:
4px
;
line-height
:
30px
;
text-align
:
center
;
color
:
#fff
;
display
:
block
;
background
:
#317ef3
;
margin
:
5px
0
0
0px
;
cursor
:
pointer
;
}
.hide
{
display
:
none
!important
;
}
.result
>
img
,
.result2
>
img
{
width
:
120px
;
height
:
120px
;
margin-top
:
8px
;
}
#container_body
{
position
:
relative
;
overflow
:
hidden
;
}
#file_input
{
opacity
:
0
;
position
:
absolute
;
top
:
0
;
left
:
145px
;
height
:
35px
;
width
:
80px
;
}
.out-style
{
position
:
absolute
;
top
:
0
;
left
:
60px
;
}
.span-del2
,
.span-del
{
color
:
red
;
}
/*控制放大镜的 收款图片显示*/
#preview
{
z-index
:
9999
!important
;
}
#preview
img
{
width
:
600px
;
}
.clear
{
clear
:
both
;
}
/*css样式*/
#real_money2
{
margin-top
:
20px
;
}
.modal-body-width
{
width
:
800px
;
}
</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>
<a
href=
"javascript:;"
>
收款记录
</a>
</li>
</div>
<div
class=
"panel-body"
>
<div
class=
"table-responsive"
>
<table
class=
"table table-striped table-bordered table-hover table-condensed"
>
<thead>
<tr>
<td
colspan=
"13"
>
<form
id=
"form_search"
>
<span
class=
"fore-span ld-Marheight"
>
提交时间:
</span>
<input
id=
"comit_time_start"
class=
"form-control btn4 d-Marheight"
type=
"text"
onClick=
"WdatePicker({el:this,dateFmt:'yyyy-MM-dd',maxDate:'%y-%M-%d',readOnly:true})"
>
<span
class=
"fore-span ld-Marheight"
>
-
</span>
<input
id=
"comit_time_end"
class=
"form-control btn4 d-Marheight"
type=
"text"
onClick=
"WdatePicker({el:this,dateFmt:'yyyy-MM-dd',maxDate:'%y-%M-%d',readOnly:true})"
>
<!--<input class="form-control btn4 ld-Marheight" value="" data-rule-phoneus="false" data-rule-required="false" id="end_date" name="end_date1" type="date">-->
<span
class=
"fore-span ld-Marheight"
>
入账日期:
</span>
<input
class=
"form-control btn4 ld-Marheight"
value=
""
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"start_date_booked"
name=
""
type=
"date"
>
<span
class=
"fore-span ld-Marheight"
>
-
</span>
<input
class=
"form-control btn4 ld-Marheight"
value=
""
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"end_date_booked"
name=
""
type=
"date"
>
<input
class=
"form-control btn2 ld-Marheight"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"shop_name"
placeholder=
"商铺地址"
type=
"text"
value=
""
>
<input
class=
"form-control btn2 ld-Marheight"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"shop_num"
placeholder=
"商铺号"
type=
"text"
value=
""
>
<input
class=
"form-control btn2 ld-Marheight"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"customer_phone"
placeholder=
"客户手机号"
type=
"text"
value=
""
>
<input
class=
"form-control btn2 ld-Marheight"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"customer_name"
placeholder=
"客户姓名"
type=
"text"
value=
""
>
<!--<input class="form-control btn2 ld-Marheight" data-rule-phoneus="false" data-rule-required="false" id="store_name" placeholder="门店" type="text" value="">-->
<select
class=
"form-control btn2 ld-Marheight"
name=
"maintable_shop_type_1"
id=
"maintable_deal_type"
>
<option
value=
""
>
入账类型
</option>
<option
value=
"10"
>
意向金
</option>
<option
value=
"20"
>
定金
</option>
<option
value=
"30"
>
保管金
</option>
<option
value=
"40"
>
押金
</option>
<option
value=
"50"
>
租金
</option>
<option
value=
"60"
>
进场费
</option>
<option
value=
"70"
>
转让费
</option>
<option
value=
"80"
>
其他
</option>
<option
value=
"90"
>
佣金
</option>
</select>
<select
class=
"form-control btn2 ld-Marheight"
name=
"maintable_shop_type_2"
id=
"maintable_money_type"
>
<option
value=
""
>
入账方式
</option>
<option
value=
"10"
>
支付宝
</option>
<option
value=
"20"
>
微信
</option>
<option
value=
"30"
>
POS机器
</option>
<option
value=
"40"
>
转账
</option>
<option
value=
"50"
>
现金
</option>
<option
value=
"60"
>
其他
</option>
</select>
<select
name=
"district_id"
class=
"form-control btn4 ld-Marheight"
>
<option
value=
""
>
约带看人所在部门
</option>
</select>
<select
name=
"store_id"
class=
"form-control btn4 ld-Marheight"
>
<option
value=
""
>
约带看人所在门店
</option>
</select>
<input
class=
"form-control btn2 ld-Marheight"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"applicant_phone"
placeholder=
"约带看人手机号"
type=
"text"
value=
""
>
<input
class=
"form-control btn2 ld-Marheight"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"applicant_name"
placeholder=
"约带看人姓名"
type=
"text"
value=
""
>
<input
class=
"form-control btn2 ld-Marheight"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"submit_name"
placeholder=
"提交人姓名"
type=
"text"
value=
""
>
<div
class=
"clear"
>
</div>
<!--<span class=" btn btn-info btn3 ld-Marheight" style="visibility: hidden;">搜索</span>-->
<div
class=
"text-right"
>
<span
class=
"btn btn-info btn3 ld-Marheight"
id=
"search"
>
搜索
</span>
<span
class=
"btn btn-info btn3 ld-Marheight"
id=
"reset"
>
重置
</span>
<span
class=
"money_total_two ld-Marheight "
>
收款总额:
</span><span
id=
"money_total"
class=
"money_total_two"
></span>
<!--<span class="money_total_two fore-span ld-Marheight ">实付总额:</span><span id="money_total" class="money_total_two_shifu fore-span ld-Marheight">1268</span>元-->
<span
class=
"btn btn-info btn3 ld-Marheight"
id=
"export"
>
导出报表
</span>
</div>
</form>
</form>
</td>
</tr>
<tr>
<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=
"follow_list"
>
</table>
</div>
<!-- /#page-content-wrapper -->
<div
class=
"text-right"
id=
"pagediv"
>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!--时间轴-->
<div
class=
"modal fade"
id=
"modal-time"
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"
class=
"iframe-div-parent"
>
<iframe
class=
"iframe-time-line"
></iframe>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal -->
</div>
<div
class=
"modal fade"
id=
"modal-linetime"
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 modal-body-height"
>
实付金额:
<input
type=
"number"
id=
'real_money'
/>
元
<div
class=
"clear"
></div>
手续费:
<input
type=
"number"
id=
'real_money2'
/>
元
<div
class=
"clear"
></div><br
/>
<span
style=
"float: left;margin-top: 10px;"
>
入账日期:
</span><input
value=
""
class=
"form_datetime form-control btn5"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"date_booked"
name=
""
type=
"text"
readonly=
"readonly"
>
</div>
<div
class=
"modal-footer"
>
<!--<button type="button" class="btn btn-default" data-dismiss="modal">关闭
</button>-->
<button
type=
"button"
class=
"btn btn-primary submit_edit"
id=
" "
data-dismiss=
"modal"
>
保存
</button>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal -->
</div>
<!--收款图片 2.2版本-->
<div
class=
"modal fade"
id=
"modal-addPic"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal-dialog modal-body-width"
>
<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 modal-body-height"
>
<ul
class=
"list-group"
>
<li
class=
"list-group-item"
>
<div
class=
"form-group full-width-100 full-pic-area"
>
<!--input上传图片-->
<div
id=
"container_body"
>
<label>
请选择一个图像文件:
</label>
<button
type=
"button btn2"
class=
"btn btn-default"
>
上传图片
</button>
<input
type=
"file"
id=
"file_input"
/>
<div
id=
"container_body_img_area"
></div>
</div>
</div>
<ul
class=
"img-pre-ul"
id=
"xiangqing_pic_ul"
>
</ul>
</li>
</ul>
</div>
<div
class=
"modal-footer"
>
<button
type=
"button btn2"
class=
"btn btn-primary"
id=
"saveBtn"
data-dismiss=
"modal"
>
保存
</button>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal -->
</div>
<div
id=
"img_mask_area"
title=
"点击任意位置可关闭"
>
<img
/>
</div>
<!-- /#删除模态框 -->
<div
class=
"modal fade"
id=
"modal-delete"
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"
>
<div
class=
"modal-body"
>
<input
type=
"hidden"
value=
""
id=
"delete_id"
/>
确认删除吗?
</div>
</div>
<div
class=
"modal-footer"
>
<button
type=
"button"
class=
"btn btn-default"
data-dismiss=
"modal"
>
取消
</button>
<button
type=
"button"
class=
"btn btn-primary"
id=
"confirm_delete"
data-dismiss=
"modal"
>
删除
</button>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal -->
</div>
\ No newline at end of file
application/route.php
View file @
98db0989
...
@@ -277,6 +277,7 @@ Route::group('index', [
...
@@ -277,6 +277,7 @@ Route::group('index', [
'getTaxesById'
=>
[
'index/Finance/getTaxesById'
,
[
'method'
=>
'POST|GET'
]],
//财务结单
'getTaxesById'
=>
[
'index/Finance/getTaxesById'
,
[
'method'
=>
'POST|GET'
]],
//财务结单
'financeUpdateLog'
=>
[
'index/Finance/financeUpdateLog'
,
[
'method'
=>
'POST|GET'
]],
//财务结单
'financeUpdateLog'
=>
[
'index/Finance/financeUpdateLog'
,
[
'method'
=>
'POST|GET'
]],
//财务结单
'getRealIncome'
=>
[
'index/Finance/getRealIncome'
,
[
'method'
=>
'GET'
]],
//获取实收日期
'getRealIncome'
=>
[
'index/Finance/getRealIncome'
,
[
'method'
=>
'GET'
]],
//获取实收日期
'receivables'
=>
[
'index/Finance/receivables'
,
[
'method'
=>
'GET'
]],
//获取实收日期
'noticeIndex'
=>
[
'index/notice/index'
,
[
'method'
=>
'GET'
]],
//公告列表
'noticeIndex'
=>
[
'index/notice/index'
,
[
'method'
=>
'GET'
]],
//公告列表
'getNoticeInfo'
=>
[
'index/notice/getNoticeInfo'
,
[
'method'
=>
'GET'
]],
//公告详情
'getNoticeInfo'
=>
[
'index/notice/getNoticeInfo'
,
[
'method'
=>
'GET'
]],
//公告详情
'delNotice'
=>
[
'index/notice/delNotice'
,
[
'method'
=>
'POST'
]],
//删除公告
'delNotice'
=>
[
'index/notice/delNotice'
,
[
'method'
=>
'POST'
]],
//删除公告
...
...
public/resource/js/receivables.js
0 → 100644
View file @
98db0989
define
([
'doT'
,
'text!temp/get_collection_template_tpl.html'
,
'css!style/home.css'
,
'ckfinder'
,
'ckfinderStart'
,
"datetimepicker"
,
'pagination'
,
'bootstrapJs'
,
'blow-up'
],
function
(
doT
,
template
)
{
follow
=
{
pageNo
:
1
,
/*第几页*/
pageSize
:
10
,
/*每页显示多少条*/
id
:
''
,
house_id
:
''
,
house_fatherid
:
''
,
collection_del_id
:
''
,
init
:
function
()
{
//初始化dot
$
(
document
.
body
).
append
(
template
);
// follow.getList(1);
follow
.
event
();
},
event
:
function
()
{
var
_doc
=
$
(
document
);
},
};
return
follow
;
});
\ No newline at end of file
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