|
|
|
|
|
|
|
|
|
Ext.define('MsChInvoiceBook', {
|
|
|
|
|
extend: 'Ext.data.Model',
|
|
|
|
|
idProperty: 'GID',
|
|
|
|
|
fields: [
|
|
|
|
|
{ name: 'GID', type: 'string' },
|
|
|
|
|
{ name: 'NAME', type: 'string' },
|
|
|
|
|
{ name: 'DESCRIPTION', type: 'string' },
|
|
|
|
|
{ name: 'CREATEUSER', type: 'string' },
|
|
|
|
|
{ name: 'CREATEUSERREF', type: 'string' },
|
|
|
|
|
{ name: 'CREATETIME', type: 'string' },
|
|
|
|
|
{ name: 'INVOICECODE', type: 'string' },
|
|
|
|
|
{ name: 'INVOICENUMSTART', type: 'string' },
|
|
|
|
|
{ name: 'INVOICEMAKETIME', type: 'string' },
|
|
|
|
|
{ name: 'INVOICENUMEND', type: 'string' },
|
|
|
|
|
{ name: 'INVOICETOTAL', type: 'number' },
|
|
|
|
|
{ name: 'ISLOCK', type: 'string' },
|
|
|
|
|
{ name: 'ISDELETE', type: 'string' },
|
|
|
|
|
{ name: 'DELETEUSER', type: 'string' },
|
|
|
|
|
{ name: 'DELETETIME', type: 'string' },
|
|
|
|
|
{ name: 'COMPANYID', type: 'string' },
|
|
|
|
|
{ name: 'TYPE', type: 'string' },
|
|
|
|
|
{ name: 'DEFUSER', type: 'string' },
|
|
|
|
|
{ name: 'DEFUSERREF', type: 'string' },
|
|
|
|
|
{ name: 'TYPEREF', type: 'string' }
|
|
|
|
|
]
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
Ext.define('ChInvoiceBookdetail', {
|
|
|
|
|
extend: 'Ext.data.Model',
|
|
|
|
|
idProperty: 'GID',
|
|
|
|
|
fields: [
|
|
|
|
|
{ name: 'GID', type: 'string' },
|
|
|
|
|
{ name: 'BOOKID', type: 'string' },
|
|
|
|
|
{ name: 'INVOICENUM', type: 'string' },
|
|
|
|
|
{ name: 'CREATEUSER', type: 'string' },
|
|
|
|
|
{ name: 'CREATEUSERREF', type: 'string' },
|
|
|
|
|
{ name: 'CREATETIME', type: 'string' },
|
|
|
|
|
{ name: 'ISLOCK', type: 'string' },
|
|
|
|
|
{ name: 'ISLOCKREF', type: 'string' },
|
|
|
|
|
{ name: 'ISDELETE', type: 'string' },
|
|
|
|
|
{ name: 'ISDELETEREF', type: 'string' },
|
|
|
|
|
{ name: 'DELETEUSER', type: 'string' },
|
|
|
|
|
{ name: 'DELETETIME', type: 'string' },
|
|
|
|
|
{ name: 'ISMAKEOUT', type: 'string' },
|
|
|
|
|
{ name: 'ISMAKEOUTREF', type: 'string' },
|
|
|
|
|
{ name: 'MAKEOUTTIME', type: 'string' },
|
|
|
|
|
{ name: 'MAKEOUTUSER', type: 'string' }
|
|
|
|
|
]
|
|
|
|
|
});
|