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
167e646e
Commit
167e646e
authored
Dec 19, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
财务优化
parent
a4e18b1a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
3 deletions
+8
-3
financial_daily_list.js
public/resource/js/financial_daily_list.js
+1
-0
financial_manager_daily_list.js
public/resource/js/financial_manager_daily_list.js
+6
-2
financial_daily_list_template_tpl.html
.../resource/template/financial_daily_list_template_tpl.html
+1
-1
No files found.
public/resource/js/financial_daily_list.js
View file @
167e646e
...
...
@@ -32,6 +32,7 @@ define(['doT', 'text!temp/financial_daily_list_template_tpl.html', 'css!style/ho
e
.
preventDefault
();
e
.
stopPropagation
();
localStorage
.
setItem
(
'financial_check_string_liu'
,
$
(
this
).
attr
(
"data-store"
));
location
.
href
=
href
=
'/index/dailyDetails?time='
+
$
(
this
).
attr
(
"data-storeTime"
)
+
"&storeId="
+
$
(
this
).
attr
(
"data-storeId"
);
});
//搜索按钮的事件
...
...
public/resource/js/financial_manager_daily_list.js
View file @
167e646e
...
...
@@ -15,6 +15,7 @@ define(['doT', 'text!temp/financial_manager_daily_list_template_tpl.html', 'css!
isFinancial
:
0
,
//收款id
operationStatus
:
0
,
daily_id
:
0
,
//日报id
store_id
:
''
,
//日报id
init
:
function
()
{
//初始化时间
var
myDate
=
new
Date
();
...
...
@@ -34,6 +35,8 @@ define(['doT', 'text!temp/financial_manager_daily_list_template_tpl.html', 'css!
bargain
.
financialTime
=
getUrlParam
(
'time'
);
var
managerTitle
=
localStorage
.
getItem
(
'financial_check_string_liu'
)
+
' '
+
bargain
.
financialTime
;
$
(
'.manager-title'
).
html
(
managerTitle
);
bargain
.
store_id
=
getUrlParam
(
'storeId'
);
}
else
{
$
(
'.is-submit-passed'
).
hide
();
$
(
'.is-submit-pass-btn'
).
hide
();
...
...
@@ -44,6 +47,7 @@ define(['doT', 'text!temp/financial_manager_daily_list_template_tpl.html', 'css!
}
else
{
$
(
'.manager-title'
).
html
(
'您还不是店长'
);
}
bargain
.
store_id
=
user_info_obj
.
store_id
;
}
...
...
@@ -164,8 +168,8 @@ define(['doT', 'text!temp/financial_manager_daily_list_template_tpl.html', 'css!
getList
:
function
(
pageNo
){
console
.
count
(
'bar'
);
var
params
=
{
'AuthToken'
:
user_info_obj
.
AuthToken
,
'store_id'
:
user_info_obj
.
store_id
,
'AuthToken'
:
user_info_obj
.
AuthToken
,
'store_id'
:
bargain
.
store_id
,
'is_store'
:
bargain
.
isFinancial
,
'daily_data'
:
bargain
.
financialTime
// 'store_id': 730,
...
...
public/resource/template/financial_daily_list_template_tpl.html
View file @
167e646e
...
...
@@ -9,7 +9,7 @@
<
td
>
[
%=
it
[
item
][
'store_name'
]
%
]
<
/td
>
<
td
>
[
%
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_nam
e'] %]"
data
-
toggle
=
"modal"
>
审核
<
/a
>
<
a
class
=
"btn1 btn-info financial-check"
data
-
recordid
=
"[%= it[item]['id'] %]"
data
-
store
=
"[%= it[item]['store_name'] %]"
data
-
storeId
=
"[%= it[item]['store_id'] %]"
data
-
storeTime
=
"[%= it[item]['daily_dat
e'] %]"
data
-
toggle
=
"modal"
>
审核
<
/a
>
[
%
}
%
]
<
/td
>
<
/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