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
ce0bc958
Commit
ce0bc958
authored
Dec 13, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商铺日志修改
parent
000ddf19
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
shopInspectionLog.js
public/resource/js/shopInspectionLog.js
+7
-0
No files found.
public/resource/js/shopInspectionLog.js
View file @
ce0bc958
...
...
@@ -10,6 +10,13 @@ define(['doT', 'text!temp/shop_inspectionlog_template_tpl.html', 'css!style/home
init
:
function
()
{
//初始化dot
$
(
document
.
body
).
append
(
template
);
var
myDate
=
new
Date
();
var
y
=
myDate
.
getFullYear
();
var
m
=
myDate
.
getMonth
()
+
1
;
var
d
=
myDate
.
getDate
();
var
day_end
=
y
+
'-'
+
(
m
<
10
?
(
'0'
+
m
)
:
m
)
+
'-'
+
(
d
<
10
?
(
'0'
+
d
)
:
d
);
$
(
'#start_date'
).
val
(
day_end
);
$
(
'#end_date'
).
val
(
day_end
);
//客户跟进 添加 默认时间一天
shoplog
.
getList
(
0
);
shoplog
.
event
();
},
...
...
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