Ext.define('RptCwPLModel', { extend: 'Ext.data.Model', idProperty: 'GID', fields: [ {name: 'GID', type: 'string' }, //唯一编码 {name: 'TEMPLATE', type: 'string' }, //模板名称 {name: 'ACCDATE', type: 'string' }, //会计期间 {name: 'LINENUM', type: 'int' }, //行次 {name: 'ACCTYPE', type: 'string' }, //项目 {name: 'QTYLASTBLC', type: 'string' }, //本年累计金额 {name: 'QTYBLC', type: 'string' }, //本月金额 {name: 'STARTGID', type: 'string' }, //账套启用GID {name: 'CORPID', type: 'string' }, //分公司代码 {name: 'MODIFIEDUSER', type: 'string' }, //更改操作人gid {name: 'MODIFIEDTIME', type: 'DateTime' } //更改操作时间 ] }); Ext.define('RptCwPLDetailModel', { extend: 'Ext.data.Model', idProperty: 'GID', fields: [ {name: 'GID', type: 'string' }, //GID {name: 'LINKGID', type: 'string' }, //模板科目GID {name: 'ACCGID', type: 'string' }, //科目GID {name: 'LINENUM', type: 'int' }, //运算顺序 {name: 'OPERATORS', type: 'string' }, //运算符号 {name: 'QTYLASTBLC', type: 'decimal' }, //本年累计金额 {name: 'QTYBLC', type: 'decimal' }, //本月金额 {name: 'MODIFIEDUSER', type: 'string' }, //更改操作人gid {name: 'MODIFIEDTIME', type: 'DateTime' }, //更改操作时间 {name: 'ACCNAME', type: 'string' }, //科目GID {name: 'ACCDATE', type: 'string' }, //会计期间 {name: 'ACCIDNAME', type: 'string' } ] });