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
916d783f
Commit
916d783f
authored
May 03, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
财务审核4个页面
parent
4b96fa37
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
331 additions
and
12 deletions
+331
-12
Finance.php
application/index/controller/Finance.php
+24
-7
Basic.php
application/index/extend/Basic.php
+2
-1
account_statement.html
application/index/view/finance/account_statement.html
+1
-1
statement.html
application/index/view/finance/statement.html
+2
-0
statement_backout.html
application/index/view/finance/statement_backout.html
+3
-0
wait_backout.html
application/index/view/finance/wait_backout.html
+292
-0
ORefundModel.php
application/model/ORefundModel.php
+5
-1
route.php
application/route.php
+2
-2
No files found.
application/index/controller/Finance.php
View file @
916d783f
...
...
@@ -15,6 +15,7 @@ use app\model\AAgents;
use
app\model\OBargainModel
;
use
app\model\OFinancialAudit
;
use
app\model\OPayLogModel
;
use
app\model\ORefundModel
;
class
Finance
extends
Basic
{
...
...
@@ -109,12 +110,20 @@ class Finance extends Basic
}
$result
=
$this
->
response
(
$data
[
'code'
],
$data
[
'msg'
],
$data
[
'data'
]);
}
else
{
if
(
$this
->
params
[
'check_status'
]
!=
4
)
{
//未结单
$result
=
view
(
'finance/index'
);
}
else
{
//已结单
$result
=
view
(
'finance/statement'
);
$result
=
''
;
switch
(
$this
->
params
[
'check_status'
])
{
case
0
:
//未结单
$result
=
view
(
'finance/account_statement'
);
break
;
case
4
:
//已结单
$result
=
view
(
'finance/statement'
);
break
;
case
5
:
//待撤销
$result
=
view
(
'finance/wait_backout'
);
break
;
case
6
:
//已撤销
$result
=
view
(
'finance/statement_backout'
);
break
;
}
}
...
...
@@ -408,6 +417,13 @@ class Finance extends Basic
* @return \think\response\View
*/
public
function
refundList
()
{
return
view
(
'refundList'
);
if
(
!
$this
->
request
->
isAjax
())
{
return
view
(
'refundList'
);
}
$refund
=
new
ORefundModel
();
$refund
->
selectRefundByOrderNo
();
}
}
\ No newline at end of file
application/index/extend/Basic.php
View file @
916d783f
...
...
@@ -43,7 +43,8 @@ class Basic extends Controller
'index/banner'
,
'index/getUserLabel'
,
'index/bannerList'
,
'index/getLabelsList'
'index/getLabelsList'
,
'index/regions'
);
/**
...
...
application/index/view/finance/
index
.html
→
application/index/view/finance/
account_statement
.html
View file @
916d783f
...
...
@@ -56,7 +56,7 @@
<div
class=
"col-lg-10 col-lg-offset-0"
>
<div
class=
"panel panel-default"
>
<div
class=
"panel-heading breadcrumb"
>
<li><a
href=
"#"
>
成交报告-未
接单666
</a></li>
<li><a
href=
"#"
>
成交报告-未
结单
</a></li>
</div>
<div
class=
"panel-body"
>
<div
class=
"table-responsive"
>
...
...
application/index/view/finance/statement.html
View file @
916d783f
{layout name="global/frame_tpl" /}
已结单
\ No newline at end of file
application/index/view/finance/statement_backout.html
0 → 100644
View file @
916d783f
{layout name="global/frame_tpl" /}
已撤销
\ No newline at end of file
application/index/view/finance/wait_backout.html
0 → 100644
View file @
916d783f
{layout name="global/frame_tpl" /}
<input
type=
"hidden"
class=
"page-load"
id=
"reportList"
/>
<style>
#note_text
{
width
:
80%
;
margin-left
:
48px
;
margin-top
:
-20px
;
}
#note_text_re
{
width
:
80%
;
margin-left
:
48px
;
margin-top
:
-20px
;
}
.Tswitch_one
{
display
:
none
;
}
.Tswitch_two
{
display
:
none
;
}
.left
{
float
:
left
;
width
:
340px
;
line-height
:
36px
;
}
.right
{
line-height
:
36px
;
}
.btn_2
{
width
:
60px
;
display
:
inline-block
;
height
:
26px
;
padding
:
3px
6px
}
.edit_new
{
float
:
right
;
margin-bottom
:
5px
;
margin-top
:
-10px
;
}
.form-control-one
{
display
:
inline-block
;
width
:
40%
;
}
#form_search
{
line-height
:
48px
;
}
.modal-body-two
{
height
:
500px
;
overflow-y
:
scroll
;
}
</style>
<div
id=
"page-content-wrapper"
>
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
"col-lg-10 col-lg-offset-0"
>
<div
class=
"panel panel-default"
>
<div
class=
"panel-heading breadcrumb"
>
<li><a
href=
"#"
>
成交报告-待撤销
</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=
"9"
>
<a
class=
"btn btn-info liudan_pic_btn"
id=
"commissioner"
>
专员审核
</a>
<a
class=
"btn btn-default liudan_pic_btn"
id=
"manager"
>
经理审核
</a>
<a
class=
"btn btn-default liudan_pic_btn"
id=
"director"
>
总监审核
</a>
<a
class=
"btn btn-default liudan_pic_btn"
id=
"cashier"
>
出纳审核
</a>
</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>
</tr>
</thead>
<tbody
class=
"text-center"
id=
"follow_list"
>
</tbody>
</table>
</div>
<!-- /#page-content-wrapper -->
<div
class=
"text-right"
id=
"pagediv"
>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- 弹出框 编辑 -->
<div
class=
"modal fade"
id=
"modal-edit"
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"
>
<span
class=
"btn btn-info"
id=
"information"
>
成交信息
</span>
<span
class=
"btn btn-default caozuo"
id=
"fees"
>
分佣提成
</span>
<span
class=
"btn btn-default"
id=
"records"
>
收款记录
</span>
</h4>
</div>
<div
class=
"modal-body modal-body-two"
>
<div
class=
"Tswitch"
>
<div
class=
"left"
>
<span>
商铺地址:
</span><span
class=
"internal_address"
></span><br>
<span>
客户姓名:
</span><span
class=
"user_name"
></span><br>
<span>
应收总佣金:
</span>
<input
class=
"form-control btn_2 commission"
type=
"text"
>
元
<br>
<span>
实收佣金:
</span>
<input
class=
"form-control btn_2 practical_fee"
type=
"text"
>
元
<br>
</div>
<div
class=
"right"
>
<span>
商铺名称:
</span><span
class=
"internal_title"
></span><br>
<span>
客户电话:
</span><span
class=
"user_phone"
></span><br>
<span>
提交日期:
</span><span
class=
"create_time"
></span><br>
</div>
<input
type=
"hidden"
class=
"page-pass"
/>
</div>
<div
class=
"Tswitch Tswitch_one"
>
<!--分佣提成-->
<a
class=
"btn btn-success edit_new"
href=
"#modal-new"
data-toggle=
"modal"
>
新增
</a>
<table
class=
"table table-striped table-bordered table-hover table-condensed"
id=
"caozuo_hide"
>
<thead>
<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>
</tr>
</thead>
<tbody
class=
"text-center"
id=
"caozuo_table"
>
</table>
<!--分佣提成-->
</div>
<div
class=
"Tswitch Tswitch_two"
>
收款记录
</div>
<br><br><br><br>
</div>
<div
class=
"modal-footer"
>
<button
type=
"button"
class=
"btn btn-default"
data-dismiss=
"modal"
>
取消
</button>
<button
type=
"button"
class=
"btn btn-primary"
data-dismiss=
"modal"
id=
"confirm_edit"
>
确定
</button>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal -->
</div>
<!-- 弹出框 通过 -->
<div
class=
"modal fade"
id=
"modal-pass"
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"
></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> -->
</div>
<div
class=
"modal-footer"
>
<button
type=
"button"
class=
"btn btn-default"
data-dismiss=
"modal"
>
取消
</button>
<button
type=
"button"
class=
"btn btn-primary"
data-dismiss=
"modal"
id=
"confirm_follow"
>
确定
</button>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal -->
</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"
>
<div
class=
"modal-body"
id=
"del_msg"
>
确认删除吗?
</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=
" "
>
删除
</button>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal -->
</div>
<!-- 分佣提成新增 -->
<div
class=
"modal fade"
id=
"modal-new"
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"
id=
""
>
<!-- 新增分佣提成 -->
<form
id=
"form_search"
>
分佣方:
<select
class=
"form-control form-control-one"
id=
"is_carefully_chosen"
>
<option
value=
"0"
>
请选择
</option>
<option
value=
"1"
>
盘方
</option>
<option
value=
"2"
>
客方
</option>
<option
value=
"3"
>
反签
</option>
<option
value=
"4"
>
独家
</option>
<option
value=
"5"
>
合作方
</option>
</select><br>
<span>
业务员:
</span><input
class=
"form-control form-control-one"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
" "
placeholder=
""
type=
"text"
value=
""
><br>
<span>
所属门店:
</span><input
class=
"form-control form-control-one"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
" "
placeholder=
""
type=
"text"
value=
""
><br>
<span>
分佣比例:
</span><input
class=
"form-control form-control-one"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"commission-rate"
placeholder=
""
type=
"text"
value=
""
><br>
<span>
应分佣金:
</span><input
class=
"form-control form-control-one"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"should-commission"
placeholder=
""
type=
"text"
value=
""
><br>
</form>
<!-- 新增分佣提成 -->
</div>
</div>
<div
class=
"modal-footer"
>
<button
type=
"button"
class=
"btn btn-default"
data-dismiss=
"modal"
>
取消
</button>
<button
type=
"button"
class=
"btn btn-primary"
data-dismiss=
"modal"
id=
"new-commission"
>
确定
</button>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal -->
</div>
application/model/ORefundModel.php
View file @
916d783f
...
...
@@ -79,9 +79,13 @@ class ORefundModel extends Model{
/**
* 查询退款记录
* @param string $filed
*
* @param $filed
* @param $params
* @return false|\PDOStatement|string|\think\Collection
* @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\ModelNotFoundException
* @throws \think\exception\DbException
*/
public
function
selectRefundByOrderNo
(
$filed
,
$params
)
{
...
...
application/route.php
View file @
916d783f
...
...
@@ -189,8 +189,8 @@ Route::group('index', [
'reportListMajordomo/:check_status'
=>
[
'index/Finance/reportList'
,
[
'method'
=>
'get'
]
,[
'check_status'
=>
2
]],
//财务 成交报告-未结单-总监审核
'reportListCashier/:check_status'
=>
[
'index/Finance/reportList'
,
[
'method'
=>
'get'
]
,[
'check_status'
=>
3
]],
//财务 成交报告-未结单-出纳审核
'reportListStatement/:check_status'
=>
[
'index/Finance/reportList'
,
[
'method'
=>
'get'
]
,[
'check_status'
=>
4
]],
//财务 成交报告-已结单
'reportListBackout/:
status'
=>
[
'index/Finance/reportList'
,
[
'method'
=>
'get'
]
,[
'
status'
=>
5
]],
//财务 成交报告-待撤销
'reportListUndone/:
status'
=>
[
'index/Finance/reportList'
,
[
'method'
=>
'get'
]
,[
'
status'
=>
6
]],
//财务 成交报告-已撤销
'reportListBackout/:
check_status'
=>
[
'index/Finance/reportList'
,
[
'method'
=>
'get'
]
,[
'check_
status'
=>
5
]],
//财务 成交报告-待撤销
'reportListUndone/:
check_status'
=>
[
'index/Finance/reportList'
,
[
'method'
=>
'get'
]
,[
'check_
status'
=>
6
]],
//财务 成交报告-已撤销
'refundList/:status'
=>
[
'index/Finance/refundList'
,
[
'method'
=>
'get|post'
],
[
'status'
=>
1
]
],
//财务 退款
'refundedList/:status'
=>
[
'index/Finance/refundList'
,
[
'method'
=>
'get|post'
],
[
'status'
=>
2
]
],
//财务 已退款
'checkReportAttache/:check_status'
=>
[
'index/Finance/checkReport'
,
[
'method'
=>
'post'
],
[
'check_status'
=>
0
]],
//审核成交报告-专员审核
...
...
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