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.
92 lines
3.9 KiB
JavaScript
92 lines
3.9 KiB
JavaScript
Ext.define('MsCompanysEntity', {
|
|
extend: 'Ext.data.Model',
|
|
idProperty: 'GID',
|
|
fields: [
|
|
{name: 'GID', type: 'string' }, //GID
|
|
{name: 'CODENAME', type: 'string' }, //CODENAME
|
|
{name: 'NAME', type: 'string' }, //NAME
|
|
{name: 'FULLNAME', type: 'string' }, //FULLNAME
|
|
{name: 'ENNAME', type: 'string' }, //公司英文名称
|
|
{name: 'ADDRESS', type: 'string' }, //ADDRESS
|
|
{name: 'ENADDRESS', type: 'string' }, //公司英文地址
|
|
{name: 'POSTCODE', type: 'string' }, //POSTCODE
|
|
{name: 'OFFICEPHONE', type: 'string' }, //OFFICEPHONE
|
|
{name: 'FAX', type: 'string' }, //FAX
|
|
{name: 'EMAIL', type: 'string' }, //EMAIL
|
|
{name: 'WEBSITEURL', type: 'string' }, //WEBSITEURL
|
|
{name: 'LICENSECODE', type: 'string' }, //LICENSECODE
|
|
{name: 'TAXCODE', type: 'string' }, //TAXCODE
|
|
//{name: 'LOGO', type: 'byte[]' }, //徽标
|
|
{name: 'CREATEUSER', type: 'string' }, //CREATEUSER
|
|
{name: 'CREATETIME', type: 'DateTime' }, //CREATETIME
|
|
{name: 'MODIFIEDUSER', type: 'string' }, //更新人gid
|
|
{name: 'MODIFIEDTIME', type: 'DateTime' }, //更新时间
|
|
{name: 'ISDELETED', type: 'bool' }, //ISDELETED
|
|
{name: 'ISDISABLE', type: 'bool' }, //ISDISABLE
|
|
{name: 'PARENTID', type: 'string' }, //PARENTID
|
|
{name: 'BILLRISES', type: 'string' }, //发票抬头
|
|
{name: 'CHEQUEPAYABLE', type: 'string' }, //支票抬头
|
|
{name: 'PRTHEADXML1', type: 'string' }, //打印抬头1
|
|
{name: 'PRTHEADXML2', type: 'string' }, //打印抬头2
|
|
{name: 'PRTHEADXML3', type: 'string' }, //打印抬头3
|
|
{name: 'PRTHEADXML4', type: 'string' }, //打印抬头4
|
|
{name: 'PRTHEADXML5', type: 'string' }, //打印抬头5
|
|
{name: 'BANKSHEAD', type: 'string' }, //BANKSHEAD
|
|
{name: 'LOCALCURR', type: 'string' }, //本地货币
|
|
{name: 'WORKFLOWMSG', type: 'string' }, //是否启用消息提示
|
|
{name: 'GPSUSER', type: 'string' }, //GPSUser
|
|
{name: 'GPSPASSWORD', type: 'string' }, //GPSPassWord
|
|
{name: 'ORGANIZATIONCODE', type: 'string' },
|
|
{ name: 'MODIFIEDUSERNAME', type: 'string' },
|
|
{ name: 'DBNAME', type: 'string' },
|
|
{name: 'LOGOURL', type: 'string' }
|
|
]
|
|
});
|
|
|
|
Ext.define('MsCompanysAccountModel', {
|
|
extend: 'Ext.data.Model',
|
|
idProperty: 'GID',
|
|
fields: [
|
|
{name: 'GID', type: 'string' }, //GID
|
|
{name: 'LINKID', type: 'string' }, //公司关联id
|
|
{name: 'CODENAME', type: 'string' }, //CODENAME
|
|
{name: 'CURRENCY', type: 'string' }, //CURRENCY
|
|
{name: 'ACCOUNTNAME', type: 'string' }, //BANKNAME
|
|
{name: 'BANKNAME', type: 'string' }, //BANKNAME
|
|
{name: 'ACCOUNT', type: 'string' }, //ACCOUNT
|
|
{name: 'SUBJECTCODE', type: 'string' }, //银行账户
|
|
{name: 'REMARK', type: 'string' }, //REMARK
|
|
{name: 'FINANCESOFTCODE', type: 'string' }, //FINANCESOFTCODE
|
|
//{name: 'CREATEUSER', type: 'string' }, //CREATEUSER
|
|
//{name: 'CREATETIME', type: 'DateTime' }, //CREATETIME
|
|
//{name: 'MODIFIEDUSER', type: 'string' }, //MODIFIEDUSER
|
|
//{name: 'MODIFIEDTIME', type: 'DateTime' }, //MODIFIEDTIME
|
|
{name: 'CWGLACCID', type: 'string'} //CWGLACCID
|
|
, { name: 'ISSTOP', type: 'string' }
|
|
, { name: 'ISDEF', type: 'string' }
|
|
, { name: 'BANKNAME2', type: 'string' }
|
|
|
|
]
|
|
});
|
|
|
|
Ext.define('MsCompanysDeptModel', {
|
|
extend: 'Ext.data.Model',
|
|
idProperty: 'GID',
|
|
fields: [
|
|
{name: 'GID', type: 'string' }, //惟一编号
|
|
{name: 'LINKID', type: 'string' }, //公司关联id
|
|
{name: 'DEPTNO', type: 'string' }, //代码
|
|
{name: 'DEPTNAME', type: 'string' }, //名称
|
|
{name: 'MANAGE1', type: 'string' }, //经理
|
|
{name: 'MANAGE2', type: 'string' }, //副经理
|
|
{name: 'REMARK', type: 'string' }, //备注
|
|
//{name: 'CREATEUSER', type: 'string' }, //创建人GID
|
|
//{name: 'CREATETIME', type: 'DateTime' }, //创建时间
|
|
//{name: 'MODIFIEDUSER', type: 'string' }, //最后一次更新操作人GID
|
|
//{name: 'MODIFIEDTIME', type: 'DateTime' }, //最后一次更新操作时间
|
|
{name: 'FINANCESOFTCODE', type: 'string' }, //FINANCESOFTCODE
|
|
]
|
|
});
|
|
|
|
|