Ext.define('InfoSaleProfitSharePlan', { extend: 'Ext.data.Model', idProperty: 'GID', fields: [ { name: 'GID', type: 'string' }, { name: 'PLANNAME', type: 'string' }, { name: 'ISSTOPMONTH', type: 'int' }, { name: 'POORDAY', type: 'int' }, { name: 'MONTHPOORDAY', type: 'int' }, { name: 'REMARKS', type: 'string' }, { name: 'CREATEUSER', type: 'string' }, { name: 'CREATETIME', type: 'string' }, { name: 'COMPANYID', type: 'string' } ] }); Ext.define('InfoSaleProfitShareDetail', { extend: 'Ext.data.Model', idProperty: 'GID', fields: [ { name: 'GID', type: 'string' }, { name: 'PLANID', type: 'string' }, { name: 'MONTHNUM', type: 'int' }, { name: 'PROFITDOWN', type: 'number' }, { name: 'PROFITUP', type: 'number' }, { name: 'SHAREPR', type: 'number' }, { name: 'BEFORESHAREPR', type: 'number' }, { name: 'REMARKS', type: 'string' } ] }); Ext.define('InfoSaleProfitShareLx', { extend: 'Ext.data.Model', idProperty: 'GID', fields: [ { name: 'GID', type: 'string' }, { name: 'PLANID', type: 'string' }, { name: 'BDAY', type: 'int' }, { name: 'EDAY', type: 'number' }, { name: 'DEDUCTIN', type: 'number' }, { name: 'REMARKS', type: 'string' } ] }); Ext.define('InfoSaleProfitShareSet', { extend: 'Ext.data.Model', idProperty: 'GID', fields: [ { name: 'GID', type: 'string' }, { name: 'PLANID', type: 'string' }, { name: 'PLANREF', type: 'string' }, { name: 'PROFITPLAN', type: 'number' }, { name: 'SALEID', type: 'string' }, { name: 'SALE', type: 'string' }, { name: 'COMPANYID', type: 'string' }, { name: 'REMARKS', type: 'string' } ] });