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: 'AMOUNTOT', type: 'number' }, { name: 'RATE', type: 'number' }, { name: 'SETTLERMB', type: 'number' }, { name: 'SETTLEUSD', type: 'number' }, { name: 'SETTLEOT', type: 'number' }, { name: 'SETTLERATE', type: 'number' }, { name: 'STLRATE', type: 'number' }, { name: 'STLAMOUNT', type: 'number' }, { name: 'STLCURR', type: 'string' }, { name: 'APPLYTIME', type: 'string' }, { name: 'ENTERTIME', type: 'string' }, { name: 'SETTLETIME', type: 'string' }, { name: 'AUDITTIME', type: 'string' }, { name: 'ISAPP', type: 'string' }, { name: 'ISREVINV', type: 'string' }, { name: 'APPLICANT', type: 'string' }, { name: 'APPLICANTNAME', type: 'string' }, { name: 'APPLICANTDEPT', type: 'string' }, { name: 'SETTLEUSER', type: 'string' }, { name: 'AUDITUSER', type: 'string' }, { name: 'AUDITREMARK', type: 'string' }, { name: 'REASON', type: 'string' }, { name: 'COMPANYID', type: 'string' }, { name: 'CHEQUENUMREMARK', type: 'string' }, { name: 'INVNO', type: 'string' }, { name: 'INVDATE', type: 'string' }, { name: 'INVOICEAMOUNT', type: 'string' }, { name: 'REMARK', type: 'string' }, { name: 'SALECORP', type: 'string' }, { name: 'SALECORPID', type: 'string' }, { name: 'CUSTACCOUNTGID', type: 'string' }, { name: 'CUSTBANKNAME', type: 'string' }, { name: 'CUSTACCOUNT', type: 'string' }, { name: 'ISINVOICE', type: 'string' }, { name: 'BS_CUSTOMERNAME', type: 'string' }, { name: 'BALBILLNO', type: 'string' }, { name: 'ISPRINT', type: 'string' }, { name: 'PRINTCOUNT', type: 'number' }, { name: 'PREAMOUNTRMB', type: 'number' }, { name: 'PREAMOUNTUSD', type: 'number' }, { name: 'PREAMOUNTOT', type: 'number' }, { name: 'BALAMOUNTRMB', type: 'number' }, { name: 'BALAMOUNTUSD', type: 'number' }, { name: 'BALAMOUNTOT', type: 'number' }, { name: 'IsAudit', type: 'number' }, { name: 'PUSHMODE', type: 'string' }, { name: 'PUSHMOBILE', type: 'string' }, { name: 'PUSHEMAIL', type: 'string' }, { name: 'PUSHMODEREF', type: 'string' } ] }); Ext.define('MsChBalapplication', { 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: 'PAYABLETIME', type: 'string' }, { name: 'CURR', type: 'string' }, { name: 'AMOUNTRMB', type: 'number' }, { name: 'AMOUNTUSD', type: 'number' }, { name: 'BALAMOUNTRMB', type: 'number' }, { name: 'BALAMOUNTUSD', type: 'number' }, { name: 'STLAMOUNTRMB', type: 'number' }, { name: 'STLAMOUNTUSD', type: 'number' }, { name: 'BALAMOUNTRMB', type: 'number' }, { name: 'BALAMOUNTUSD', 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: 'AUDITUSER', type: 'string' }, { name: 'COMPANYID', type: 'string' }, { name: 'REMARK', type: 'string' } ] }); Ext.define('MsChWork', { extend: 'Ext.data.Model', idProperty: 'GID', fields: [ { name: 'GID', type: 'string' }, { name: 'BILLNO', type: 'string' }, { name: 'BILLSTATUS', type: 'string' }, { name: 'SETTLETIME', type: 'string' }, { name: 'AUDITUSER', type: 'string' }, { name: 'AUDITTIME', type: 'string' }, { name: 'APPLICANT', type: 'string' }, { name: 'APPLYTIME', type: 'string' }, { name: 'REMARK', type: 'string' }, { name: 'COMPANYID', type: 'string' }, { name: 'AUDITUSERREF', type: 'string' }, { name: 'APPLICANTREF', type: 'string' } ] });