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
5d9730bb
Commit
5d9730bb
authored
Dec 19, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
财务日报
parent
073a4469
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
7 deletions
+9
-7
Finance.php
application/index/controller/Finance.php
+1
-1
financial_daily_list.js
public/resource/js/financial_daily_list.js
+5
-5
financial_daily_list_template_tpl.html
.../resource/template/financial_daily_list_template_tpl.html
+3
-1
No files found.
application/index/controller/Finance.php
View file @
5d9730bb
...
@@ -3130,7 +3130,7 @@ class Finance extends Basic
...
@@ -3130,7 +3130,7 @@ class Finance extends Basic
}
}
if
(
$this
->
params
[
'status'
]
>
-
1
)
{
if
(
$this
->
params
[
'status'
]
>
-
1
)
{
$where
[
'status'
]
=
$this
->
params
[
'status'
]
==
2
?
2
:
[
'in'
,
'0,1,2'
]
;
$where
[
'status'
]
=
$this
->
params
[
'status'
];
}
}
$m_daily
=
new
ODaily
();
$m_daily
=
new
ODaily
();
...
...
public/resource/js/financial_daily_list.js
View file @
5d9730bb
...
@@ -91,11 +91,11 @@ define(['doT', 'text!temp/financial_daily_list_template_tpl.html', 'css!style/ho
...
@@ -91,11 +91,11 @@ define(['doT', 'text!temp/financial_daily_list_template_tpl.html', 'css!style/ho
},
},
//获取一级审核,二级审核,三级审核不同的ajax请求url
//获取一级审核,二级审核,三级审核不同的ajax请求url
switchStatus
:
function
(){
switchStatus
:
function
(){
switch
(
Number
(
this
.
mainTabIndex
)){
switch
(
Number
(
this
.
mainTabIndex
)){
case
0
:
case
0
:
return
1
;
return
0
;
case
1
:
case
1
:
return
2
;
return
1
;
case
2
:
case
2
:
return
-
1
;
return
-
1
;
default
:
default
:
...
...
public/resource/template/financial_daily_list_template_tpl.html
View file @
5d9730bb
...
@@ -8,7 +8,9 @@
...
@@ -8,7 +8,9 @@
<
td
>
[
%=
it
[
item
][
'agent_name'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'agent_name'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'store_name'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'store_name'
]
%
]
<
/td
>
<
td
>
<
td
>
<
a
class
=
"btn1 btn-info financial-check"
href
=
"/index/dailyDetails?time=[%= it[item]['daily_date'] %]"
data
-
recordid
=
"[%= it[item]['id'] %]"
data
-
store
=
"[%= it[item]['store_name'] %]"
data
-
toggle
=
"modal"
>
审核
<
/a
>
[
%
if
(
it
[
item
][
'status'
]
==
0
)
{
%
]
<
a
class
=
"btn1 btn-info financial-check"
href
=
"/index/dailyDetails?time=[%= it[item]['daily_date'] %]"
data
-
recordid
=
"[%= it[item]['id'] %]"
data
-
store
=
"[%= it[item]['store_name'] %]"
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