You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

100 lines
4.2 KiB
JavaScript

10 months ago
Ext.define('RptCwCfsModel', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{name: 'GID', type: 'string' }, //唯一编码
{name: 'MODELGID', type: 'string' }, //方案GID
{name: 'ITEMGID', type: 'string' }, //项目GID
{name: 'ACCDATE', type: 'string' }, //会计期间
{name: 'QTYLASTBLC', type: 'decimal' }, //本年累计余额
{name: 'QTYBLC', type: 'decimal' }, //本月金额
{name: 'QTYLASTBLC_S', type: 'decimal' }, //本年累计余额(公式生成)
{name: 'QTYBLC_S', type: 'decimal' }, //本月金额(公式生成)
{name: 'QTYLASTBLC_H', type: 'decimal' }, //本年累计余额(手动调整)
{name: 'QTYBLC_H', type: 'decimal' }, //本月金额(手动调整)
{name: 'STARTGID', type: 'string' }, //账套启用GID
{name: 'CORPID', type: 'string' }, //分公司代码
{name: 'MODIFIEDUSER', type: 'string' } //更改操作人gid
//{name: 'MODIFIEDTIME', type: 'DateTime' } //更改操作时间
]
});
Ext.define('RptCwCfsDetailModel', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{name: 'GID', type: 'string' }, //唯一编码
{name: 'LINKGID', type: 'string' }, //模板GID
{name: 'ACCGID', type: 'string' }, //科目GID
{name: 'OPERATORS', type: 'string' }, //运算符号
{name: 'ACCESS', 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'}
]
});
Ext.define('RptCwCfsModelModel', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{name: 'GID', type: 'string' }, //唯一编码
{name: 'MODELNAME', type: 'string' }, //方案名称
{name: 'ISDEFAULT', type: 'bool' }, //是否默认方案并不允许删除
{name: 'STARTGID', type: 'string' }, //账套启用GID
{name: 'CORPID', type: 'string' }, //分公司代码
{name: 'MODIFIEDUSER', type: 'string' } //更改操作人gid
//{name: 'MODIFIEDTIME', type: 'DateTime' } //更改操作时间
]
});
Ext.define('RptCwCfsModelItemModel', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{name: 'GID', type: 'string' }, //唯一编码
{name: 'MODELGID', type: 'string' }, //方案GID
{name: 'ITEMNAME', type: 'string' }, //项目名称
{name: 'LINENUM', type: 'int' }, //项目行次
{name: 'DETAILED', type: 'bool' }, //末级科目(标志)
{name: 'ISALTER', type: 'bool' }, //是否允许修改项目
{name: 'PACCGID', type: 'string' }, //父级科目代码
{name: 'ITEMTYPE', type: 'string' }, //科目属性
{name: 'MODIFIEDUSER', type: 'string' } //更改操作人gid
//{name: 'MODIFIEDTIME', type: 'DateTime' } //更改操作时间
]
});
Ext.define('RptVWCwCfsTemplateModelItemModel', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{name: 'GID', type: 'string' }, //GID
{name: 'MODELGID', type: 'string' }, //MODELGID
{name: 'ITEMGID', type: 'string' }, //ITEMGID
{name: 'ACCDATE', type: 'string' }, //ACCDATE
{name: 'QTYLASTBLC', type: 'decimal' }, //QTYLASTBLC
{name: 'QTYBLC', type: 'decimal' }, //QTYBLC
{name: 'QTYLASTBLC_S', type: 'decimal' }, //QTYLASTBLC_S
{name: 'QTYBLC_S', type: 'decimal' }, //QTYBLC_S
{name: 'QTYLASTBLC_H', type: 'decimal' }, //QTYLASTBLC_H
{name: 'QTYBLC_H', type: 'decimal' }, //QTYBLC_H
{name: 'STARTGID', type: 'string' }, //STARTGID
{name: 'CORPID', type: 'string' }, //CORPID
{name: 'MODIFIEDUSER', type: 'string' }, //MODIFIEDUSER
//{name: 'MODIFIEDTIME', type: 'DateTime' }, //MODIFIEDTIME
{name: 'MODELNAME', type: 'string' }, //MODELNAME
{name: 'ISDEFAULT', type: 'bool' }, //ISDEFAULT
{name: 'ITEMNAME', type: 'string' }, //ITEMNAME
{name: 'LINENUM', type: 'int' }, //LINENUM
{name: 'DETAILED', type: 'bool' }, //DETAILED
{name: 'ISALTER', type: 'bool' }, //ISALTER
{name: 'PACCGID', type: 'string' }, //PACCGID
{name: 'ITEMTYPE', type: 'string' } //ITEMTYPE
]
});