Commit ce0bc958 authored by agping's avatar agping

商铺日志修改

parent 000ddf19
......@@ -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();
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment