Ext.define('MsChInvoiceapplication', { extend: 'Ext.data.Model', idProperty: 'GID', fields: [ { name: 'GID', type: 'string' }, { name: 'BILLNO', type: 'string' }, { name: 'BILLSTATUS', type: 'string' }, { name: 'BILLSTATUSREF', type: 'string' }, { name: 'CUSTOMERNAME', type: 'string' }, { name: 'ACTUALCUSTOMERNAME', type: 'string' }, { name: 'CURRENCY', type: 'string' }, { name: 'RECVCURR', type: 'string' }, { name: 'INVOICENO', type: 'string' }, { name: 'INVOICENOREF', type: 'string' }, { name: 'INVOICECUSTNAME', type: 'string' }, { name: 'INVOICECATEGORY', type: 'string' }, { name: 'INVOICECATEGORYREF', type: 'string' }, { name: 'APPLYAMOUNT', type: 'number' }, { name: 'INVAMOUNT', type: 'number' }, { name: 'OTCURRAMOUNT', type: 'number' }, { name: 'RATE', type: 'number' }, { name: 'AMOUNTCAPITAL', type: 'string' }, { name: 'APPLICANT', type: 'string' }, { name: 'APPLICANTNAME', type: 'string' }, { name: 'APPLICANTDEPT', type: 'string' }, { name: 'APPLYTIME', type: 'string' }, { name: 'ENTERTIME', type: 'string' }, { name: 'OPERATOR', type: 'string' }, { name: 'OPERATETIME', type: 'string' }, { name: 'INVDATE', 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: 'REMARK', type: 'string' }, { name: 'SHENREMARK', type: 'string' }, { name: 'REASON', type: 'string' }, { name: 'NOSTL', type: 'string' }, { name: 'FEEAMOUNT', type: 'string' }, { name: 'PAYCOMPANYID', type: 'string' }, { name: 'PAYCOMPANYREF', type: 'string' }, { name: 'ISPRINT', type: 'string' }, { name: 'PRINTCOUNT', type: 'number' }, { name: 'IsAudit', type: 'number' }, { name: 'PUSHMODE', type: 'string' }, { name: 'PUSHMOBILE', type: 'string' }, { name: 'PUSHEMAIL', type: 'string' }, { name: 'PUSHMODEREF', type: 'string' }, { name: 'INVOICELINE', type: 'string' }, { name: 'INVOICELINEREF', type: 'string' }, { name: 'SETTLEMENT', type: 'number' } ] }); Ext.define('MsChInvoiceDetail', { extend: 'Ext.data.Model', idProperty: 'GID', fields: [ { name: 'GID', type: 'string' }, { name: 'PID', type: 'string' }, { name: 'SERIALNO', type: 'number' }, { name: 'GOODSNAME', type: 'string' }, { name: 'GOODSNAMEREF', type: 'string' }, { name: 'SPEC', type: 'string' }, { name: 'UNIT', type: 'string' }, { name: 'PKGS', type: 'number' }, { name: 'TAXPRICE', type: 'number' }, { name: 'PRICE', type: 'number' }, { name: 'TAXRATE', type: 'number' }, { name: 'AMOUNT', type: 'number' }, { name: 'TAX', type: 'number' }, { name: 'REMARK', type: 'string' }, { name: 'GOODCODE', type: 'string' }, { name: 'ISUSEPREF', type: 'string' }, { name: 'DEFREMARK', type: 'string' }, { name: 'ZTAXTYPE', type: 'string' } ] }); Ext.define('companymb', { extend: 'Ext.data.Model', fields: [ { name: 'gid', type: 'string' }, { name: 'name', type: 'string' } ] }); Ext.define('sys_template', { extend: 'Ext.data.Model', fields: [ { name: 'GID', type: 'string' }, { name: 'TEMPLATE', type: 'string' }, { name: 'TEMPLATETYPE', type: 'string' }, { name: 'COMPANYID', type: 'string' }, { name: 'TEMPLDATE_DESC', 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' } ] }); Ext.define('MsChPayapplication', { extend: 'Ext.data.Model', idProperty: 'GID', fields: [ { name: 'GID', type: 'string' }, { name: 'BILLNO', type: 'string' }, { name: 'BILLSTATUS', type: 'string' }, { name: 'BILLSTATUSREF', type: 'string' }, { name: 'CUSTOMERNAME', type: 'string' }, { name: 'CHEQUEPAYABLE', type: 'string' }, { name: 'SETTLETYPE', type: 'number' }, { name: 'SETTLETYPEREF', type: 'string' }, { name: 'PAYTYPE', type: 'string' }, { name: 'PAYABLETIME', type: 'string' }, { name: 'CURR', type: 'string' }, { name: 'AMOUNTRMB', type: 'number' }, { name: 'AMOUNTUSD', type: 'number' }, { name: 'RATE', type: 'number' }, { name: 'SETTLERMB', type: 'number' }, { name: 'SETTLEUSD', type: 'number' }, { name: 'SETTLERATE', type: 'number' }, { name: 'APPLYTIME', type: 'string' }, { name: 'ENTERTIME', type: 'string' }, { name: 'SETTLETIME', type: 'string' }, { name: 'AUDITTIME', type: 'string' }, { name: 'APPLICANT', type: 'string' }, { name: 'APPLICANTNAME', type: 'string' }, { name: 'SETTLEUSER', type: 'string' }, { name: 'AUDITUSER', type: 'string' }, { name: 'COMPANYID', type: 'string' }, { name: 'CHEQUENUMREMARK', type: 'string' }, { name: 'INVNO', type: 'string' }, { name: 'INVDATE', type: 'string' }, { name: 'REMARK', type: 'string' }, { name: 'CUSTACCOUNTGID', type: 'string' }, { name: 'CUSTBANKNAME', type: 'string' }, { name: 'CUSTACCOUNT', type: 'string' }, { name: 'ISINVOICE', type: 'string' }, { name: 'BS_CUSTOMERNAME', type: 'string' }, { name: 'PREAMOUNTRMB', type: 'number' }, { name: 'PREAMOUNTUSD', type: 'number' }, { name: 'BALAMOUNTRMB', type: 'number' }, { name: 'BALAMOUNTUSD', type: 'number' }, { name: 'IsAudit', type: 'number' } ] });