<html >
<head>
<title>Insurance Report</title>
<script type="text/javascript" src="extjs-4.1.1/ext-all.js"></script>
<link rel="stylesheet" type="text/css" href="extjs-4.1.1/resources/css/ext-all.css" />
<script type="text/javascript" src="extjs-4.1.1/locale/ext-lang-zh_CN.js"></script>
<script type="text/javascript" src="MonthField.js"></script>
<script type="text/javascript">
Ext.onReady(function () {
var form = Ext.create('Ext.form.Panel', {
renderTo: Ext.getBody(),
title: 'Simple Form',
height: 500,
layout: 'hbox',
items: [
{
xtype: 'monthfield', fieldLabel: '日期', editable: false, width: 150, labelWidth: 30, labelAlign: 'right',
format: 'Y-m'
},
{
xtype: 'monthfield', fieldLabel: '日期', editable: false, width: 150, labelWidth: 30, labelAlign: 'right',
format: 'Ym'
}
]
});
});
</script>
</head>
<body >
</body>
</html>
- 1
- 2
- 3
前往页