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.
50 lines
2.2 KiB
JavaScript
50 lines
2.2 KiB
JavaScript
Ext.define('MsCtBankJournalModel', {
|
|
extend: 'Ext.data.Model',
|
|
idProperty: 'GID',
|
|
fields: [
|
|
{name: 'GID', type: 'string' }, //惟一值
|
|
{name: 'ACCGID', type: 'string' }, //科目GID
|
|
{name: 'FCYNO', type: 'string' }, //外币编号usd
|
|
{name: 'VOUDATE', type: 'DateTime' }, //凭证日期
|
|
{name: 'ITEMNO', type: 'int' }, //当日序号
|
|
{name: 'VGID', type: 'string' }, //凭证明细GID
|
|
{name: 'VKNO', type: 'string' }, //凭证字
|
|
{name: 'VOUNO', type: 'string' }, //凭证号
|
|
{name: 'FENTRYID', type: 'int' }, //分录号
|
|
{name: 'ACCDATE', type: 'string' }, //会计期间
|
|
{name: 'SETTLETYPE', type: 'int' }, //结算方式
|
|
{name: 'BILLNO', type: 'string' }, //结算号
|
|
{name: 'SVOUDATE', type: 'DateTime' }, //结算日期
|
|
{name: 'DC', type: 'string' }, //借贷方向
|
|
{name: 'DR', type: 'decimal' }, //本位币借方金额(互斥)
|
|
{name: 'CR', type: 'decimal' }, //本位币贷方金额(互斥)
|
|
{name: 'FCYEXRATE', type: 'decimal' }, //汇率
|
|
{name: 'QTYDR', type: 'decimal' }, //折合本位币借方
|
|
{name: 'QTYCR', type: 'decimal' }, //折合本位币贷方
|
|
{name: 'BLC', type: 'decimal' }, //余额
|
|
{name: 'EXPLAN', type: 'string' }, //摘要,规则生成
|
|
{name: 'ENTERED', type: 'string' }, //经手人
|
|
{name: 'ISINITIAL', type: 'bool' }, //是否期初
|
|
{name: 'CHECKINGGID', type: 'string' }, //对账GID
|
|
{name: 'STARTGID', type: 'string' }, //账套启用GID
|
|
{name: 'CORPID', type: 'string' }, //分公司GID
|
|
{name: 'CREATEUSER', type: 'string' }, //制单人GID
|
|
//{name: 'CREATETIME', type: 'DateTime' }, //创建时间
|
|
{name: 'MODIFIEDUSER', type: 'string' }, //最后一次更改操作人GID
|
|
//{name: 'MODIFIEDTIME', type: 'DateTime' }, //最后一次更改操作时间
|
|
{name: 'ACCNAME', type: 'string' }, //科目GID
|
|
{name: 'ISCHECKING', type: 'string' }, //对账状态
|
|
{name: 'SETTLETYPENAME', type: 'string' }, //结算方式
|
|
{name: 'CREATEUSERNAME', type: 'string' }, //制单人
|
|
{name: 'MODIFIEDUSERNAME', type: 'string'} //最后一次更改操作人
|
|
]
|
|
});
|
|
|
|
Ext.define('STLMODE', {
|
|
extend: 'Ext.data.Model',
|
|
fields: [
|
|
{ name: 'STLCODE', type: 'number' },
|
|
{ name: 'STLNAME', type: 'string' }
|
|
]
|
|
});
|