|
|
|
|
Ext.define('MsChInvoice', {
|
|
|
|
|
extend: 'Ext.data.Model',
|
|
|
|
|
idProperty: 'GID',
|
|
|
|
|
fields: [
|
|
|
|
|
{ name: 'GID', type: 'string' },
|
|
|
|
|
{ name: 'BILLNO', type: 'string' },
|
|
|
|
|
{ name: 'CUSTOMERNAME', type: 'string' },
|
|
|
|
|
{ name: 'ACTUALCUSTOMERNAME', type: 'string' },
|
|
|
|
|
{ name: 'CURRENCY', type: 'string' },
|
|
|
|
|
{ name: 'RECVCURR', type: 'string' },
|
|
|
|
|
{ name: 'INVOICENO', type: 'string' },
|
|
|
|
|
{ name: 'INVOICECUSTNAME', type: 'string' },
|
|
|
|
|
{ name: 'INVOICETYPE', type: 'number' },
|
|
|
|
|
{ name: 'INVOICETYPEREF', type: 'string' },
|
|
|
|
|
{ name: 'BILLSTATUS', type: 'number' },
|
|
|
|
|
{ name: 'BILLSTATUSREF', type: 'string' },
|
|
|
|
|
{ name: 'INVOICECATEGORY', type: 'string' },
|
|
|
|
|
{ name: 'INVOICECATEGORYREF', type: 'string' },
|
|
|
|
|
{ name: 'AMOUNT', type: 'number' },
|
|
|
|
|
{ name: 'INVAMOUNT', type: 'number' },
|
|
|
|
|
{ name: 'OTCURRAMOUNT', type: 'number' },
|
|
|
|
|
{ name: 'EXCHANGERATE', type: 'number' },
|
|
|
|
|
{ name: 'AMOUNTCAPITAL', type: 'string' },
|
|
|
|
|
{ name: 'APPLICANT', type: 'string' },
|
|
|
|
|
{ name: 'APPLICANTNAME', type: 'string' },
|
|
|
|
|
{ name: 'APPLYTIME', type: 'string' },
|
|
|
|
|
{ name: 'OPERATOR', type: 'string' },
|
|
|
|
|
{ name: 'OPERATORNAME', type: 'string' },
|
|
|
|
|
{ name: 'OPERATETIME', type: 'string' },
|
|
|
|
|
{ name: 'INVOICEMAKETIME', type: 'string' },
|
|
|
|
|
{ name: 'COMPANYID', type: 'string' },
|
|
|
|
|
{ name: 'BSNO', type: 'string' },
|
|
|
|
|
{ name: 'MBLNO', type: 'string' },
|
|
|
|
|
{ name: 'VESSELVOYAGE', type: 'string' },
|
|
|
|
|
{ name: 'ETD', type: 'string' },
|
|
|
|
|
{ name: 'POL', type: 'string' },
|
|
|
|
|
{ name: 'POD', type: 'string' },
|
|
|
|
|
{ name: 'CUSTRATENO', type: 'string' },
|
|
|
|
|
{ name: 'CUSTADDRTEL', type: 'string' },
|
|
|
|
|
{ name: 'CUSTBANK', type: 'string' },
|
|
|
|
|
{ name: 'BANK', type: 'string' },
|
|
|
|
|
{ name: 'ACCOUNT', type: 'string' },
|
|
|
|
|
{ name: 'LICENSECODE', type: 'string' },
|
|
|
|
|
{ name: 'TAXCODE', type: 'string' },
|
|
|
|
|
{ name: 'VOUCHERNO', type: 'string' },
|
|
|
|
|
{ name: 'ISNEEDPRINT', type: 'string' },
|
|
|
|
|
{ name: 'ISNEEDFEE', type: 'string' },
|
|
|
|
|
{ name: 'ISDELETE', type: 'string' },
|
|
|
|
|
{ name: 'DELETEOPERATOR', type: 'string' },
|
|
|
|
|
{ name: 'DELOPERATORNAME', type: 'string' },
|
|
|
|
|
{ name: 'DELETETIME', type: 'string' },
|
|
|
|
|
{ name: 'NOSTL', type: 'string' },
|
|
|
|
|
{ name: 'FEEAMOUNT', type: 'string' },
|
|
|
|
|
{ name: 'REMARK', type: 'string' },
|
|
|
|
|
{ name: 'SALECORPID', type: 'string' },
|
|
|
|
|
{ name: 'SALECORP', type: 'string' },
|
|
|
|
|
{ name: 'VOUNO', type: 'string' }
|
|
|
|
|
]
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
Ext.define('MsChInvoiceNo', {
|
|
|
|
|
extend: 'Ext.data.Model',
|
|
|
|
|
idProperty: 'INVNO',
|
|
|
|
|
fields: [
|
|
|
|
|
{ name: 'INVNO', type: 'string' }
|
|
|
|
|
]
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
Ext.define('companymb', {
|
|
|
|
|
extend: 'Ext.data.Model',
|
|
|
|
|
fields: [
|
|
|
|
|
{ name: 'gid', type: 'string' },
|
|
|
|
|
{ name: 'name', type: 'string' }
|
|
|
|
|
]
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Ext.define('MsInfoClientBankModel', {
|
|
|
|
|
extend: 'Ext.data.Model',
|
|
|
|
|
idProperty: 'GID',
|
|
|
|
|
fields: [
|
|
|
|
|
{ name: 'GID', type: 'string' },
|
|
|
|
|
{ name: 'LINKID', type: 'string' },
|
|
|
|
|
{ name: 'ACCOUNTNAME', type: 'string' },
|
|
|
|
|
{ name: 'CODENAME', type: 'string' },
|
|
|
|
|
{ name: 'CURRENCY', type: 'string' },
|
|
|
|
|
{ name: 'ACCOUNTNAMEREF', type: 'string' },
|
|
|
|
|
{ name: 'BANKNAME', type: 'string' },
|
|
|
|
|
{ name: 'ACCOUNT', type: 'string' },
|
|
|
|
|
{ name: 'REMARK', type: 'string' },
|
|
|
|
|
{ name: 'FINANCESOFTCODE', type: 'string' },
|
|
|
|
|
{ name: 'CREATEUSER', type: 'string' },
|
|
|
|
|
{ name: 'CREATETIME', type: 'string' },
|
|
|
|
|
{ name: 'CWGLACCID', type: 'string' },
|
|
|
|
|
{ name: 'BANKNAME_ACCOUNT', type: 'string' }
|
|
|
|
|
]
|
|
|
|
|
});
|