rushfee/resource/html/tick/excustomerlist.html

101 lines
4.0 KiB
HTML
Raw Normal View History

2022-05-16 15:07:40 +00:00
<html login="false" >
<head>
<title>分公司异常报表</title>
</head>
<body>
<div widget="toolbar" style="padding:10px;border:0;">
<input name="cust_type" widget=combox allowinput="f" showNullItem="true"
data="[{id:'1',text:'十次以上'},{id:'0',text:'异常客户'}]" label="客户类型">
<input name="istax" widget=combox allowinput="f" showNullItem="true"
data="[{id:'1',text:'免征户'},{id:'0',text:'非免征户'}]" label="是否免征">
<input name="chargetype" widget=combox allowinput="f" style="width: 200px;" showNullItem="true"
data="[{id:'0',text:'服务费'},{id:'1',text:'托管'}]" emptyText="请选择" label="产品类型">
<input name="injf" widget=combox allowinput="f" style="width: 200px;" showNullItem="true"
data="[{id:'0',text:'否'},{id:'1',text:'是'}]" emptyText="请选择" label="机房状态">
<input name="ifmz" widget=combox allowinput="f" style="width: 200px;" showNullItem="true"
data="[{id:'0',text:'否'},{id:'1',text:'是'}]" emptyText="请选择" label="托管是否免征">
<input name="searchbegindate" widget=datechooser allowinput="f" label="创建日期">
至:
<input name="searchenddate" widget=datechooser allowinput="f" >
<a widget="button" iconCls="icon-search" onclick="search()">查询</a>
</div>
<div widget="autosize">
<div widget="datagrid" name="grid" style="width: 100%; height: 100%;" url="rush/excustomer/excustomerlist" multiSelect="true" onrowdblclick="pay()">
<div type="indexcolumn" width="10" header="序号"></div>
<div field="company" width="10" align="center" header="分公司" ></div>
<div field="num" width="10" align="center" header="总数 (a)"></div>
<div field="daichuli" width="10" align="center" header="待处理 "></div>
<div field="chuliing" width="10" align="center" header="处理中"></div>
<div field="yichuli" width="10" align="center" header="已处理 (b)"></div>
<div field="rencuts" width="10" align="center" header="分公司处理 (c) "></div>
<div field="xitong" width="10" align="center" header="系统处理 (d)"></div>
<div field="companybili" width="10" align="center" header="分公司处理比例 (c/a)"></div>
<div field="xitongbili" width="10" align="center" header="系统处理比例 (d/a)"></div>
<div field="yichulibili" width="10" align="center" header="已处理比例 (b/a)"></div>
<div field="paiming" width="10" align="center" header="排名"></div>
</div>
</div>
</body>
<script type="text/javascript">
var grid = aos.get('grid');
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={
custtype: aos.get('chargetype').getValue(),
injf: aos.get('injf').getValue(),
ifmz: aos.get('ifmz').getValue(),
istax:aos.get('istax').getValue(),
searchbegindate:begindate,
searchenddate:enddate,
cust_type:aos.get('cust_type').getValue()
}
grid.load(params);
}
}
}else if(enddate!="")
{
aos.alert('请选择开始时间!');
return ;
}else{
var begindate=aos.get('searchbegindate').getValue();
var enddate=aos.get('searchenddate').getValue();
var params = {
custtype: aos.get('chargetype').getValue(),
injf: aos.get('injf').getValue(),
ifmz: aos.get('ifmz').getValue(),
istax:aos.get('istax').getValue(),
searchbegindate:begindate,
searchenddate:enddate,
cust_type:aos.get('cust_type').getValue()
}
grid.load(params);
}
}
</script>
</html>