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
4c61d167
Commit
4c61d167
authored
Jul 25, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
0ee1e675
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
20 additions
and
4 deletions
+20
-4
RealTimePerformance.php
application/index/controller/RealTimePerformance.php
+7
-0
publicCostDetailsStore.html
application/index/view/cost/publicCostDetailsStore.html
+0
-0
route.php
application/route.php
+1
-0
accountingTable.js
public/resource/js/accountingTable.js
+1
-1
costDetails.js
public/resource/js/costDetails.js
+1
-1
publicCostDetailsStore.js
public/resource/js/publicCostDetailsStore.js
+0
-0
accountingTable_list_template_tpl.html
.../resource/template/accountingTable_list_template_tpl.html
+10
-2
No files found.
application/index/controller/RealTimePerformance.php
View file @
4c61d167
...
...
@@ -80,6 +80,13 @@ class RealTimePerformance extends Basic
if
(
!
$this
->
request
->
isAjax
())
{
return
view
(
'cost/publicCostDetails'
);
}
}
//成本明细详情
public
function
publicCostDetailsStore
()
{
if
(
!
$this
->
request
->
isAjax
())
{
return
view
(
'cost/publicCostDetailsStore'
);
}
}
//门店成本核算表
public
function
accountingTable
()
...
...
application/index/view/cost/publicCostDetailsStore.html
0 → 100644
View file @
4c61d167
This diff is collapsed.
Click to expand it.
application/route.php
View file @
4c61d167
...
...
@@ -367,6 +367,7 @@ Route::group('index', [
'attendanceList'
=>
[
'index/RealTimePerformance/attendanceList'
,
[
'method'
=>
'GET'
]],
//门店考勤 liu
'costParameters'
=>
[
'index/RealTimePerformance/costParameters'
,
[
'method'
=>
'GET'
]],
//成本参数 liu
'publicCostDetails'
=>
[
'index/RealTimePerformance/publicCostDetails'
,
[
'method'
=>
'GET'
]],
//费用报销详情 liu
'publicCostDetailsStore'
=>
[
'index/RealTimePerformance/publicCostDetailsStore'
,
[
'method'
=>
'GET'
]],
//成本明细详情 liu
'accountingTable'
=>
[
'index/RealTimePerformance/accountingTable'
,
[
'method'
=>
'GET'
]],
//成本核算表 liu
'shopinspectionLog'
=>
[
'index/ShopInspectionLog/shopinspectionLogList'
,
[
'method'
=>
'POST|GET'
]],
//商铺查看日志liu
...
...
public/resource/js/accountingTable.js
View file @
4c61d167
...
...
@@ -54,7 +54,7 @@ define(['doT','html2canvas','text!temp/accountingTable_list_template_tpl.html',
//点击详情
$
(
document
).
on
(
'click'
,
'.checkCost'
,
function
(
e
){
//点击审核按钮 调整审核页面
var
id
=
e
.
target
.
dataset
.
id
;
$
(
".publicCostDetails"
).
attr
(
'src'
,
'/index/publicCostDetails?cost_id='
+
id
+
'&is_self=1'
)
$
(
".publicCostDetails"
).
attr
(
'src'
,
'/index/publicCostDetails
Store
?cost_id='
+
id
+
'&is_self=1'
)
});
//打印功能
_doc
.
on
(
'click'
,
'.is-print'
,
function
(
e
)
{
...
...
public/resource/js/costDetails.js
View file @
4c61d167
...
...
@@ -32,7 +32,7 @@ define(['doT', 'text!temp/cost_details_template_tpl.html', 'css!style/home.css',
//点击详情
$
(
document
).
on
(
'click'
,
'.checkCost'
,
function
(
e
){
//点击审核按钮 调整审核页面
var
id
=
e
.
target
.
dataset
.
id
;
$
(
".publicCostDetails"
).
attr
(
'src'
,
'/index/publicCostDetails?cost_id='
+
id
+
'&is_self=1'
)
$
(
".publicCostDetails"
).
attr
(
'src'
,
'/index/publicCostDetails
Store
?cost_id='
+
id
+
'&is_self=1'
)
});
//费用类型切换
$
(
"#cost_type"
).
change
(
function
()
{
...
...
public/resource/js/publicCostDetailsStore.js
0 → 100644
View file @
4c61d167
This diff is collapsed.
Click to expand it.
public/resource/template/accountingTable_list_template_tpl.html
View file @
4c61d167
...
...
@@ -5,7 +5,11 @@
<
tr
>
<
td
>
[
%=
countTime
()
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'id'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'apply_for_id'
]
%
]
<
/td
>
<
td
>
[
%
if
(
it
[
item
][
'apply_for_id'
]
!=
0
)
{
%
]
[
%=
it
[
item
][
'apply_for_id'
]
%
]
[
%
}
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'apply_for_time'
]
%
]
<
/td
>
<
td
>
[
%=
switchFeeType
(
it
[
item
][
'type'
])
%
]
<
/td
>
<
td
>
[
%=
switchFeeItem
(
it
[
item
][
'fee_item'
])
%
]
<
/td
>
...
...
@@ -109,7 +113,11 @@
<
tr
>
<
td
>
[
%=
countTime
()
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'id'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'apply_for_id'
]
%
]
<
/td
>
<
td
>
[
%
if
(
it
[
item
][
'apply_for_id'
]
!=
0
)
{
%
]
[
%=
it
[
item
][
'apply_for_id'
]
%
]
[
%
}
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'apply_for_time'
]
%
]
<
/td
>
<
td
>
[
%=
switchFeeType
(
it
[
item
][
'type'
])
%
]
<
/td
>
<
td
>
[
%=
switchFeeItem
(
it
[
item
][
'fee_item'
])
%
]
<
/td
>
...
...
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