Ext.define('CWAdvancePaymentmb', { extend: 'Ext.data.Model', idProperty: 'GID', fields: [ { name: 'GID', type: 'string' }, { name: 'LINKGID', type: 'string' }, { name: 'BILLNO', type: 'string' }, { name: 'FEETYPE', type: 'number' }, { name: 'CUSTOMERNAME', type: 'string' }, { name: 'CURRENCY', type: 'string' }, { name: 'AMOUNT', type: 'number' }, { name: 'DOAMOUNT', type: 'number' }, { name: 'REMAIN', type: 'number' }, { name: 'EXCHANGERATE', type: 'number' }, { name: 'CREATEUSER', type: 'string' }, { name: 'CREATETIME', type: 'string' }, { name: 'SETTLEUSER', type: 'string' }, { name: 'SETTLETIME', type: 'string' }, { name: 'REMARK', type: 'string' }, { name: 'ISDELETE', type: 'string' }, { name: 'DELETEUSER', type: 'string' }, { name: 'DELETETIME', type: 'string' }, { name: 'ISFINISH', type: 'string' }, { name: 'COMPANYID', type: 'string' }, { name: 'BANKACCID', type: 'string' }, { name: 'BANKACCIDNAME', type: 'string' }, { name: 'ISVOU', type: 'string' }, { name: 'VOUCHERNO', type: 'string' }, { name: 'CREATEUSERREF', type: 'string' }, { name: 'COMPANYREF', type: 'string' } , { name: 'FEETYPEREF', type: 'string' } , { name: 'REASON', type: 'string' } , { name: 'RKAMOUNT', type: 'string' } ] }); Ext.define('CWAdvancePaymentBodymb', { extend: 'Ext.data.Model', idProperty: 'GID', fields: [ { name: 'GID', type: 'string' }, { name: 'LINKGID', type: 'string' }, { name: 'BILLNO', type: 'string' }, { name: 'SETTLELINKGID', type: 'string' }, { name: 'SETTLEBILLNO', type: 'string' }, { name: 'FEETYPE', type: 'string' }, { name: 'FEETYPEREF', type: 'string' }, { name: 'CUSTOMERNAME', type: 'string' }, { name: 'CURRENCY', type: 'string' }, { name: 'DOAMOUNT', type: 'string' }, { name: 'SETTLEUSER', type: 'string' }, { name: 'SETTLEUSERREF', type: 'string' }, { name: 'SETTLETIME', type: 'string' }, { name: 'REMARK', type: 'string' }, { name: 'ISDELETE', type: 'string' }, { name: 'DELETEUSER', type: 'string' }, { name: 'DELETETIME', type: 'string' }, { name: 'COMPANYID', type: 'string' }, { name: 'VOUCHERNO', type: 'string' } ] }); Ext.define('Tradermb', { extend: 'Ext.data.Model', idProperty: 'gid', fields: [ { name: 'gid', type: 'string' }, { name: 'name', type: 'string' }, { name: 'codename', type: 'string' } ] });