| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- Ext.define('school.view.basic.ClassDetail', {
- extend: 'school.view.core.form.FormPanel',
- xtype: 'classdetail',
- //字段属性
- _title: '班级信息',
- _idField: 'id',
- _codeField: 'pu_code',
- _statusField: 'pu_status',
- _statusCodeField: 'pu_statuscode',
- _auditmanField: 'pu_auditman',
- _auditdateField: 'pu_auditdate',
- _relationColumn: 'pd_puid',
- _readUrl: '/api/purchase/purchase/read',
- _saveUrl: '/api/purchase/purchase/save',
- _auditUrl: '/api/purchase/purchase/audit',
- _unAuditUrl: '/api/purchase/purchase/unAudit',
- _deleteUrl: '/api/purchase/purchase/delete',
- _turnInUrl: '/api/purchase/purchase/turnProdin',
- initId: 0,
- initComponent: function () {
- Ext.apply(this, {
- defaultItems: [{
- xtype: 'hidden',
- name: 'currentDetail.id',
- fieldLabel: 'id'
- }, {
- xtype: "textfield",
- name: "currentDetail.name",
- fieldLabel: "班级名称",
- columnWidth: 0.5
- }, {
- // xtype: 'textfield',
- // name: 'code',
- // fieldLabel: '班级代码',
- // }, {
- xtype: 'textfield',
- name: 'currentDetail.grade',
- fieldLabel: '所属年级',
- columnWidth: 0.5
- }, {
- xtype: "textfield",
- name: "address",
- fieldLabel: "班级地址",
- columnWidth: 1
- }, {
- xtype: "textfield",
- name: 'status',
- fieldLabel: "状态",
- columnWidth: 0.5
- }, {
- xtype: "textfield",
- name: 'remark',
- fieldLabel: '备注',
- columnWidth: 0.5
- }]
- });
- this.callParent();
- },
- });
|