<!--#layout("/common/layout.html",{"jsBase":"/js/admin/order/warehouse/"}){ -->
|
<!--
|
<form class="layui-form" id="x1" action=""><button type="submit" class="layui-btn" lay-submit="" lay-filter="demo1">返回</button></form>
|
-->
|
<button type="submit" class="layui-btn" lay-submit="" lay-filter="demo1" onclick="javascript:history.go(-1);">返回</button>
|
<br/>
|
<div>
|
<div class="layui-form-item" style="margin-top: 20px">
|
<div class="layui-form-item">
|
<div class="layui-inline">
|
<label class="layui-form-label">回收员姓名:</label>
|
<div class="layui-input-inline">
|
<input type="text" name="receiverName" id="receiverName" placeholder="回收员姓名" class="layui-input" style="float: right">
|
</div>
|
</div>
|
<div class="layui-inline">
|
<label class="layui-form-label">仓库员姓名:</label>
|
<div class="layui-input-inline">
|
<input type="text" name="storageUserName" id="storageUserName" placeholder="仓库员姓名" class="layui-input" style="float: right">
|
</div>
|
</div>
|
<button type="button" id="search" class="layui-btn layui-btn-primary">搜索</button>
|
</div>
|
</div>
|
|
</div>
|
|
<table id="orderStatisTodayMore" lay-filter="orderStatisTodayMore"></table>
|
|
|
<!--#} -->
|
<script>
|
var index;
|
layui.use(['orderStatisticsTodayMore'], function(){
|
index = layui.orderStatisticsTodayMore;
|
index.init({'startTime':new Date().Format('yyyy-MM-dd ') + "00:00:00", 'endTime':new Date().Format('yyyy-MM-dd ') + "23:59:59"});
|
});
|
|
// 搜索
|
$("#search").click(function () {
|
data = {
|
'startTime':new Date().Format('yyyy-MM-dd ') + "00:00:00", 'endTime':new Date().Format('yyyy-MM-dd ') + "23:59:59",
|
'receiverName': $("#receiverName").val(),'storageUserName':$("#storageUserName").val()
|
};
|
index.init(data);
|
});
|
|
/* $("#x1").html($("#name").val());*/
|
// $("#x1").attr('action', Common.ctxPath+'/admin/order/statistics/index.do');
|
|
Date.prototype.Format = function (fmt) {
|
var o = {
|
"M+": this.getMonth() + 1, //月份
|
"d+": this.getDate(), //日
|
"H+": this.getHours(), //小时
|
"m+": this.getMinutes(), //分
|
"s+": this.getSeconds(), //秒
|
"q+": Math.floor((this.getMonth() + 3) / 3), //季度
|
"S": this.getMilliseconds() //毫秒
|
};
|
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
|
for (var k in o)
|
if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
|
return fmt;
|
}
|
</script>
|
<!--今日统计--更多-->
|