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.

110 lines
4.3 KiB
JavaScript

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: 'DOAMOUNT', type: 'number' },
{ name: 'STLAMOUNT', type: 'number' },
{ name: 'INVAMOUNT', type: 'number' },
{ name: 'OTCURRAMOUNT', type: 'number' },
{ name: 'EXCHANGERATE', type: 'number' },
{ name: 'TAX', type: 'number' },
{ name: 'AMOUNTCAPITAL', type: 'string' },
{ name: 'APPLICANT', type: 'string' },
{ name: 'APPLICANTNAME', type: 'string' },
{ name: 'APPLICANTDEPT', type: 'string' },
{ name: 'APPLYTIME', type: 'string' },
{ name: 'LOCKUSER', type: 'string' },
{ name: 'OPERATOR', type: 'string' },
{ name: 'OPERATORNAME', type: 'string' },
{ name: 'OPERATETIME', type: 'string' },
{ name: 'CREATEUSER', type: 'string' },
{ name: 'CREATEUSERREF', type: 'string' },
{ name: 'CREATETIME', 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: 'DZSTATUS', type: 'string' },
{ name: 'PTORRED', type: 'string' },
{ name: 'SETRED', type: 'string' },
{ name: 'INVSHENNO', 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' }
]
});