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.
48 lines
1.8 KiB
JavaScript
48 lines
1.8 KiB
JavaScript
Ext.define('MsCwAccitemsGlModel', {
|
|
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: 'PACCID', type: 'string' },
|
|
{ name: 'STARTGID', type: 'string' }, //总账已启用已登录账套GID
|
|
{ name: 'ISBANK', type: 'bool' }, //是否银行类科目
|
|
{ name: 'ISSETTLEMENT', type: 'bool' }, //是否结算类科目
|
|
]
|
|
});
|
|
|
|
Ext.define('MsCwAccitemsCurrency', {
|
|
extend: 'Ext.data.Model',
|
|
idProperty: 'GID',
|
|
fields: [
|
|
{name: 'GID', type: 'string' }, //唯一编码
|
|
{name: 'LINKGID', type: 'string' }, //科目GID
|
|
{name: 'CURRENCY', type: 'string' }, //币别
|
|
{name: 'CORPID', type: 'string' }, //分公司代码
|
|
{name: 'CREATEUSER', type: 'string' }, //创建人gid
|
|
{name: 'CREATETIME', type: 'DateTime' }, //创建时间
|
|
{name: 'STARTGID', type: 'string' } //总账已启用已登录账套GID
|
|
]
|
|
});
|