rushfee/build/classes/html/tick/njiaofeidetail.html

60 lines
2.3 KiB
HTML
Raw Normal View History

2022-05-16 15:07:40 +00:00
<html login="false">
<head>
<title>客户信息明细</title>
</head>
<body >
<input widget="hidden" name="org_name"/>
<input widget="hidden" name="begindate"/>
<input widget="hidden" name="enddate"/>
<div widget="toolbar" style="padding:5px;border:0;">
<a widget="button" iconCls="icon-export" style="margin-left: 10px;" onclick="downloadfileGet()">导出</a>
</div>
<div widget="autosize">
<div widget="datagrid" name="grid" style="width: 100%; height: 100%;" url="rush/ContactMt/getnjiaofeidetail" >
<div type="indexcolumn" width="6" header="序号"></div>
<div field="org_name" width="8" header="分公司"></div>
<div field="cust_name" width="28" header="客户名称"></div>
<div field="cust_tax_code" width="18" header="客户税号"></div>
<div field="end_date" width="10" header="到期日期"></div>
<div field="isjiaofei" width="7" header="是否缴费"></div>
<div field="isweihu" width="7" header="是否维护"></div>
<div field="count" width="7" header="回访次数"></div>
<div field="isyouxiao" width="7" header="是否有效"></div>
<div field="addtime" width="15" header="缴费日期"></div>
</div>
</body>
<script type="text/javascript">
var grid = aos.get('grid');
function init(param){
var grid = aos.get('grid');
var date=param['date']
var org_name=param['org_name'];
var begindate=param['begindate'];
var enddate = param['enddate']
aos.get('org_name').setValue(org_name);
aos.get('begindate').setValue(begindate);
aos.get('enddate').setValue(enddate);
var params={org_name:org_name,begindate:begindate,enddate:enddate};
grid.load(params);
}
function downloadfileGet(){
var base = document.getElementsByTagName("base")[0].href;
var begindate1=aos.get('begindate').getValue();
var enddate1=aos.get('enddate').getValue();
var org_name=aos.get('org_name').getValue();
var begindate=begindate1+" "+"00:00:00";
var enddate=enddate1+" "+"23:59:59";
window.location.href=base+"rush/ContactMt/getnjiaofeidetailexcel?begindate="+begindate1+"&enddate="+enddate+"&org_name="+encodeURI(encodeURI(org_name));
}
</script>
</html>