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.
87 lines
3.2 KiB
JavaScript
87 lines
3.2 KiB
JavaScript
Ext.define('MsCwGenlegAccitemsModel', {
|
|
extend: 'Ext.data.Model',
|
|
idProperty: 'GID',
|
|
fields: [
|
|
{ name: 'GID', type: 'string' },
|
|
{ name: 'YEAR', type: 'string' },
|
|
{ name: 'MONTH', type: 'string' },
|
|
{ name: 'LINKGID', type: 'string' },
|
|
{ name: 'DEPTACC', type: 'string' },
|
|
{ name: 'EMPLACC', type: 'string' },
|
|
{ name: 'CORPACC', type: 'string' },
|
|
{ name: 'ITEMACC', type: 'string' },
|
|
{ name: 'CURRENCY', type: 'string' },
|
|
{ name: 'AMTYEARDR', type: 'decimal' },
|
|
{ name: 'AMTYEARCR', type: 'decimal' },
|
|
{ name: 'AMTYEARBLC', type: 'decimal' },
|
|
{ name: 'AMTDR', type: 'decimal' },
|
|
{ name: 'AMTCR', type: 'decimal' },
|
|
{ name: 'AMTBLC', type: 'decimal' },
|
|
{ name: 'AMTLASTDR', type: 'decimal' },
|
|
{ name: 'AMTLASTCR', type: 'decimal' },
|
|
{ name: 'AMTLASTBLC', type: 'decimal' },
|
|
{ name: 'FCYYEARDR', type: 'decimal' },
|
|
{ name: 'FCYYEARCR', type: 'decimal' },
|
|
{ name: 'FCYYEARBLC', type: 'decimal' },
|
|
{ name: 'FCYDR', type: 'decimal' },
|
|
{ name: 'FCYCR', type: 'decimal' },
|
|
{ name: 'FCYBLC', type: 'decimal' },
|
|
{ name: 'FCYLASTDR', type: 'decimal' },
|
|
{ name: 'FCYLASTCR', type: 'decimal' },
|
|
{ name: 'FCYLASTBLC', type: 'decimal' },
|
|
{ name: 'QTYYEARDR', type: 'decimal' },
|
|
{ name: 'QTYYEARCR', type: 'decimal' },
|
|
{ name: 'QTYYEARBLC', type: 'decimal' },
|
|
{ name: 'QTYDR', type: 'decimal' },
|
|
{ name: 'QTYCR', type: 'decimal' },
|
|
{ name: 'QTYBLC', type: 'decimal' },
|
|
{ name: 'QTYLASTDR', type: 'decimal' },
|
|
{ name: 'QTYLASTCR', type: 'decimal' },
|
|
{ name: 'QTYLASTBLC', type: 'decimal' },
|
|
{ name: 'MODIFIEDTIME', type: 'DateTime' },
|
|
{ name: 'LINKNAME', type: 'string' },
|
|
{ name: 'MODIFIEDUSERNAME', type: 'string' },
|
|
{ name: 'DR', type: 'decimal' },
|
|
{ name: 'CR', type: 'decimal' },
|
|
{ name: 'ISENABLE', type: 'bool' },
|
|
{ name: 'PFADR', type: 'decimal' },
|
|
{ name: 'PFACR', type: 'decimal' },
|
|
{ name: 'STARTMONTH', type: 'string' },
|
|
{ name: 'ACCDATE', type: 'string' },
|
|
{ name: 'IsInitialEntry', type: 'bool' }
|
|
]
|
|
});
|
|
|
|
Ext.define('MsCwAccitemsModel', {
|
|
extend: 'Ext.data.Model',
|
|
idProperty: 'GID',
|
|
fields: [
|
|
{ name: 'GID', type: 'string' },
|
|
{ name: 'ACCID', type: 'string' },
|
|
{ name: 'ACCNAME', type: 'string' },
|
|
{ name: 'DETAILED', type: 'bool' },
|
|
{ name: 'DC', type: 'string' },
|
|
{ name: 'ISFCY', type: 'bool' },
|
|
{ name: 'ISDEPTACC', type: 'bool' },
|
|
{ name: 'ISEMPLACC', type: 'bool' },
|
|
{ name: 'ISCORPACC', type: 'bool' },
|
|
{ name: 'ISITEMACC', type: 'bool' },
|
|
{ name: 'REMARKS', type: 'string' },
|
|
{ name: 'YEAR', type: 'string' },
|
|
{ name: 'MONTH', type: 'string' },
|
|
{ name: 'PACCGID', type: 'string' },
|
|
{ name: 'ACCATTRIBUTE', type: 'string' }, //科目属性(资产、负债、共同、权益、成本、损益)
|
|
{ name: 'ISENABLE', type: 'bool' },
|
|
{ name: 'id', type: 'string' },
|
|
{ name: 'NAME', type: 'string' },
|
|
{ name: 'ACCTYPE', type: 'string' }, //科目类别
|
|
{ name: 'leaf', type: 'bool' },
|
|
{ name: 'expanded', type: 'bool' },
|
|
{ name: 'DR', type: 'decimal' },
|
|
{ name: 'CR', type: 'decimal' },
|
|
{ name: 'PACCNAME', type: 'string' },
|
|
{ name: 'PFADR', type: 'decimal' },
|
|
{ name: 'PFACR', type: 'decimal' }
|
|
]
|
|
});
|