Ext.define('RptCwSofpModel', { extend: 'Ext.data.Model', idProperty: 'GID', fields: [ {name: 'GID', type: 'string' }, //唯一编码 {name: 'TEMPLATE', type: 'string' }, //模板名称 {name: 'ACCDATE', type: 'string' }, //会计期间 {name: 'LINENUM', type: 'int' }, //行次 {name: 'LINENUM1', type: 'string' }, //行次1 {name: 'ACCTYPE', type: 'string' }, //资产 {name: 'QTYLASTBLC', type: 'string' }, //期末余额 {name: 'QTYYEARBLC', type: 'string' }, //年初余额 {name: 'LINENUM2', type: 'string' }, //行次2 {name: 'ACCTYPE2', type: 'string' }, //负债和所有者权益(或股东权益) {name: 'QTYLASTBLC2', type: 'string' }, //期末余额 {name: 'QTYYEARBLC2', type: 'string' }, //年初余额 {name: 'STARTGID', type: 'string' }, //账套启用GID {name: 'CORPID', type: 'string' }, //分公司代码 {name: 'MODIFIEDUSER', type: 'string' }, //更改操作人gid {name: 'MODIFIEDTIME', type: 'DateTime' } //更改操作时间 ] }); Ext.define('RptCwSofpDetailModel', { extend: 'Ext.data.Model', idProperty: 'GID', fields: [ {name: 'GID', type: 'string' }, //GID {name: 'LINKGID', type: 'string' }, //模板科目GID {name: 'LINKNUM', type: 'string' }, //模板科目行次 {name: 'ACCGID', type: 'string' }, //科目GID {name: 'LINENUM', type: 'int' }, //运算顺序 {name: 'OPERATORS', type: 'string' }, //运算符号 {name: 'ACCESS', type: 'string' }, //取数规则 {name: 'QTYLASTBLC', type: 'decimal' }, //期末余额 {name: 'QTYYEARBLC', type: 'decimal' }, //年初余额 {name: 'MODIFIEDUSER', type: 'string' }, //更改操作人gid {name: 'MODIFIEDTIME', type: 'DateTime' }, //更改操作时间 {name: 'ACCNAME', type: 'string' }, //科目GID {name: 'ACCDATE', type: 'string' }, //会计期间 {name: 'ACCIDNAME', type: 'string'} ] });