rushfee/build/classes/html/tick/shijidayhlnew.html

104 lines
3.6 KiB
HTML
Raw Normal View History

2023-04-02 12:16:16 +00:00
<html login="false">
<head>
<title>当日缴费量</title>
</head>
<body>
<div widget="toolbar" style="padding:10px;border:0;">
<input name="searchbegindate" widget=datechooser allowinput="f" label="开始日期">
<input name="searchenddate" widget=datechooser allowinput="f" label="结束日期" >
<input name="custtype" widget=combox allowinput="f" style="width: 150px;" showNullItem="true"
data="[{id:1,text:'托管'},{id:0,text:'服务费'}]" label="客户类型">
<input name="injf" widget=combox allowinput="f" style="width: 150px;" showNullItem="true"
data="[{id:1,text:'是'},{id:0,text:'否'}]" label="是否在机柜">
<input name="ifmz" widget=combox allowinput="f" style="width: 150px;" showNullItem="true"
data="[{id:1,text:'是'},{id:0,text:'否'}]" label="是否免征">
<a widget="button" iconCls="icon-search" onclick="search()">查询</a>
</div>
<div widget="autosize">
<div widget="datagrid" name="grid" style="width: 100%; height: 100%;" url="tick/TickList/shijinumnew" allowalternating="true" onrowdblclick="taskInfo()">
<div type="indexcolumn" width="10" header="序号"></div>
<div field="operator" width="20" align="center" header="催缴人"></div>
<div field="totalnum" width="30" align="center" header="服务费"></div>
<div field="xinxiang" width="30" align="center" header="托管"></div>
<div field="peixun" width="30" align="center" header="财税会员"></div>
<div field="source" width="30" align="center" header="代理会计数量"></div>
<div field="heji" width="30" align="center" header="合计"></div>
</div>
</div>
</body>
<script type="text/javascript">
var grid = aos.get('grid');
var begintime =aos.formatDate(new Date(),"yyyy-MM-dd");
var endtime =aos.formatDate(new Date(),"yyyy-MM-dd");
aos.get('searchbegindate').setValue(begintime);
aos.get('searchenddate').setValue(endtime);
function search(){
var begindate=aos.get('searchbegindate').getValue();
var enddate=aos.get('searchenddate').getValue();
if (begindate!="")
{
if (enddate=="")
{aos.alert('请选择结束时间!');
return ;
}
else{
if (begindate>enddate)
{
aos.alert('开始日期必须早于结束日期!');
}else{
var begindate=begindate+" "+"00:00:00";
var enddate=enddate+" "+"23:59:59";
var params={
searchbegindate:begindate,
injf:aos.get('injf').getValue(),
custtype:aos.get('custtype').getValue(),
ifmz:aos.get('ifmz').getValue(),
searchenddate:enddate
}
grid.load(params);
}
}
}else if(enddate!="")
{
aos.alert('请选择开始时间!');
return ;
}else{
var begindate=aos.get('searchbegindate').getValue();
var enddate=aos.get('searchenddate').getValue();
var params = {searchbegindate:begindate,
injf:aos.get('injf').getValue(),
custtype:aos.get('custtype').getValue(),
ifmz:aos.get('ifmz').getValue(),
searchenddate:enddate
}
grid.load(params);
}
}
function taskInfo(){
var row=grid.getSelected();
var date=aos.get('searchbegindate').getValue();
var date1=aos.get('searchenddate').getValue();
var begindate=date+" "+"00:00:00";
var enddate=date1+" "+"23:59:59";
var operator=row.operator;
var param={};
param['operator']=row.operator;
param['searchbegindate']=begindate;
param['searchenddate']=enddate;
aos.showWindow('canvas/tick/shijidetail', param, '600px', '400px', '当日实际缴费企业明细', function(rtnValue){
});
}
</script>
</html>