|
|
|
|
Ext.define('MsChSettlement', {
|
|
|
|
|
extend: 'Ext.data.Model',
|
|
|
|
|
idProperty: 'GID',
|
|
|
|
|
fields: [
|
|
|
|
|
{ name: 'GID', type: 'string' },
|
|
|
|
|
{ name: 'BILLNO', type: 'string' },
|
|
|
|
|
{ name: 'HXBILLNO', type: 'string' },
|
|
|
|
|
{ name: 'BILLDATE', type: 'string' },
|
|
|
|
|
{ name: 'SETTLEMODE', type: 'number' },
|
|
|
|
|
{ name: 'SETTLEMODEREF', type: 'string' },
|
|
|
|
|
{ name: 'CUSTOMERNAME', type: 'string' },
|
|
|
|
|
{ name: 'SETTLETYPE', type: 'number' },
|
|
|
|
|
{ name: 'SETTLETYPEREF', type: 'string' },
|
|
|
|
|
{ name: 'CURR', type: 'string' },
|
|
|
|
|
{ name: 'AMOUNT', type: 'number' },
|
|
|
|
|
{ name: 'STLAMOUNT', type: 'number' },
|
|
|
|
|
{ name: 'ACCOUNT', type: 'string' },
|
|
|
|
|
{ name: 'ACCOUNTREF', type: 'string' },
|
|
|
|
|
{ name: 'AMOUNTRMB', type: 'number' },
|
|
|
|
|
{ name: 'AMOUNTUSD', type: 'number' },
|
|
|
|
|
{ name: 'AMOUNTOT', type: 'number' },
|
|
|
|
|
{ name: 'ACCOUNTRMB', type: 'string' },
|
|
|
|
|
{ name: 'ACCOUNTUSD', type: 'string' },
|
|
|
|
|
{ name: 'ACCOUNTRMBREF', type: 'string' },
|
|
|
|
|
{ name: 'ACCOUNTUSDREF', type: 'string' },
|
|
|
|
|
{ name: 'BILLTYPE', type: 'number' },
|
|
|
|
|
{ name: 'BILLTYPEREF', type: 'string' },
|
|
|
|
|
{ name: 'VOUCHERNO', type: 'string' },
|
|
|
|
|
{ name: 'SETTLEUSER', type: 'string' },
|
|
|
|
|
{ name: 'SETTLEUSERREF', type: 'string' },
|
|
|
|
|
{ name: 'SETTLETIME', type: 'string' },
|
|
|
|
|
{ name: 'CREATEUSER', type: 'string' },
|
|
|
|
|
{ name: 'CREATEUSERREF', type: 'string' },
|
|
|
|
|
{ name: 'CREATETIME', type: 'string' },
|
|
|
|
|
{ name: 'AUDITUSER', type: 'string' },
|
|
|
|
|
{ name: 'AUDITTIME', type: 'string' },
|
|
|
|
|
{ name: 'BILLSTATUS', type: 'string' },
|
|
|
|
|
{ name: 'BILLSTATUSREF', type: 'string' },
|
|
|
|
|
{ name: 'ISEXPORT', type: 'bool' },
|
|
|
|
|
{ name: 'ISNOTVOU', type: 'bool' },
|
|
|
|
|
{ name: 'FINANCIALVOUCHER', type: 'string' },
|
|
|
|
|
{ name: 'COMPANYID', type: 'string' },
|
|
|
|
|
{ name: 'SALECORPID', type: 'string' },
|
|
|
|
|
{ name: 'SALECORP', type: 'string' },
|
|
|
|
|
{ name: 'CUSTBANK', type: 'string' },
|
|
|
|
|
{ name: 'CUSTACCOUNT', type: 'string' },
|
|
|
|
|
{ name: 'REMARK', type: 'string' },
|
|
|
|
|
{ name: 'STLCATEGROY', type: 'string' },
|
|
|
|
|
{ name: 'RATE', type: 'number' },
|
|
|
|
|
{ name: 'VOUNO', type: 'string' },
|
|
|
|
|
{ name: 'ACCOUNTS_CURRENCY', type: 'string' },
|
|
|
|
|
{ name: 'ACCOUNTS_RATE', type: 'number' },
|
|
|
|
|
{ name: 'ACCOUNTS_MONEY', type: 'number' },
|
|
|
|
|
{ name: 'PREPAY_CURRENCY', type: 'string' },
|
|
|
|
|
{ name: 'PREPAY_RATE', type: 'number' },
|
|
|
|
|
{ name: 'PREPAY_MONEY', type: 'number' },
|
|
|
|
|
{ name: 'AHSR_CURRENCY', type: 'string' },
|
|
|
|
|
{ name: 'AHSR_RATE', type: 'number' },
|
|
|
|
|
{ name: 'AHSR_MONEY', type: 'number' },
|
|
|
|
|
{ name: 'FINANCIAL_CURRENCY', type: 'string' },
|
|
|
|
|
{ name: 'FINANCIAL_RATE', type: 'number' },
|
|
|
|
|
{ name: 'FINANCIAL_MONEY', type: 'number' },
|
|
|
|
|
{ name: 'ADVANCE_CURRENCY', type: 'string' },
|
|
|
|
|
{ name: 'ADVANCE_RATE', type: 'number' },
|
|
|
|
|
{ name: 'ADVANCE_MONEY', type: 'number' },
|
|
|
|
|
{ name: 'NOINVOICE', type: 'string' },
|
|
|
|
|
{ name: 'FEEAMOUNT', type: 'string' },
|
|
|
|
|
{ name: 'PAYBILLNO', type: 'string' },
|
|
|
|
|
{ name: 'ISCHEQUE', type: 'string' },
|
|
|
|
|
{ name: 'SETTLENO', type: 'string' },
|
|
|
|
|
{ name: 'REMITTANCE', type: 'string' },
|
|
|
|
|
{ name: 'REMITTANCEAMOUNT', type: 'string' },
|
|
|
|
|
{ name: 'BUYRATE', type: 'string' },
|
|
|
|
|
{ name: 'SELLRATE', type: 'string' },
|
|
|
|
|
{ name: 'INVNO', type: 'string' },
|
|
|
|
|
{ name: 'SHENNO', type: 'string' },
|
|
|
|
|
{ name: 'INVSHENNO', type: 'string' },
|
|
|
|
|
{ name: 'SETTLRATE', type: 'string' }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
]
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
Ext.define('MsCodeCurrencyList', {
|
|
|
|
|
extend: 'Ext.data.Model',
|
|
|
|
|
idProperty: 'CURR',
|
|
|
|
|
fields: [
|
|
|
|
|
{ name: 'CURR', type: 'string' },
|
|
|
|
|
{ name: 'FCYEXRATE', 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('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('ChSettlement_remittance', {
|
|
|
|
|
extend: 'Ext.data.Model',
|
|
|
|
|
idProperty: 'GID',
|
|
|
|
|
fields: [
|
|
|
|
|
{ name: 'GID', type: 'string' },
|
|
|
|
|
{ name: 'FEEID', type: 'string' },
|
|
|
|
|
{ name: 'BILLNO', type: 'string' },
|
|
|
|
|
{ name: 'BSNO', type: 'string' },
|
|
|
|
|
{ name: 'MBLNO', type: 'string' },
|
|
|
|
|
{ name: 'HBLNO', type: 'string' },
|
|
|
|
|
{ name: 'CUSTNO', type: 'string' },
|
|
|
|
|
{ name: 'CUSTOMERNAME', type: 'string' },
|
|
|
|
|
{ name: 'CUSTNAME', type: 'string' },
|
|
|
|
|
{ name: 'SALE', type: 'string' },
|
|
|
|
|
{ name: 'REMITTANCE', type: 'string' },
|
|
|
|
|
{ name: 'FEENAME', type: 'string' },
|
|
|
|
|
{ name: 'FEETYPEREF', type: 'string' },
|
|
|
|
|
{ name: 'CURRENCY', type: 'string' },
|
|
|
|
|
{ name: 'SETTLETIME', type: 'string' },
|
|
|
|
|
{ name: 'AMOUNT', type: 'number' },
|
|
|
|
|
{ name: 'TTLAMOUNT', type: 'number' },
|
|
|
|
|
{ name: 'BUYRATE', type: 'float' },
|
|
|
|
|
{ name: 'SELLRATE', type: 'float' },
|
|
|
|
|
{ name: 'SETTLRATE', type: 'number' },
|
|
|
|
|
{ name: 'REMITTANCEAMOUNT', type: 'number' },
|
|
|
|
|
{ name: 'REMARK', type: 'string' },
|
|
|
|
|
{ name: 'COMPANYID', type: 'string' }
|
|
|
|
|
]
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
Ext.define('MsChDui', {
|
|
|
|
|
extend: 'Ext.data.Model',
|
|
|
|
|
idProperty: 'DUINO',
|
|
|
|
|
fields: [
|
|
|
|
|
{ name: 'DUINO', type: 'string' },
|
|
|
|
|
{ name: 'CUSTNAME', type: 'string' },
|
|
|
|
|
{ name: 'DUIDATE', type: 'string' },
|
|
|
|
|
{ name: 'OP', type: 'string' },
|
|
|
|
|
{ name: 'DUINAME', type: 'string' },
|
|
|
|
|
{ name: 'DM_ID', type: 'string' },
|
|
|
|
|
{ name: 'DC', type: 'string' },
|
|
|
|
|
{ name: 'CUSTTYPE', type: 'string' },
|
|
|
|
|
{ name: 'ISNOSTL', type: 'string' },
|
|
|
|
|
{ name: 'ISNOTAX', type: 'string' },
|
|
|
|
|
{ name: 'BILLSTATUS', type: 'string' },
|
|
|
|
|
{ name: 'BILLSTATUSREF', type: 'string' },
|
|
|
|
|
{ name: 'RMBDR', type: 'number' },
|
|
|
|
|
{ name: 'RMBCR', type: 'number' },
|
|
|
|
|
|
|
|
|
|
{ name: 'BALRMBDR', type: 'number' },
|
|
|
|
|
{ name: 'BALRMBCR', type: 'number' },
|
|
|
|
|
{ name: 'STLRMBDR', type: 'number' },
|
|
|
|
|
{ name: 'STLRMBCR', type: 'number' },
|
|
|
|
|
{ name: 'USDDR', type: 'number' },
|
|
|
|
|
{ name: 'USDCR', type: 'number' },
|
|
|
|
|
|
|
|
|
|
{ name: 'BALUSDDR', type: 'number' },
|
|
|
|
|
{ name: 'BALUSDCR', type: 'number' },
|
|
|
|
|
{ name: 'STLUSDDR', type: 'number' },
|
|
|
|
|
{ name: 'STLUSDCR', type: 'number' },
|
|
|
|
|
{ name: 'OTDR', type: 'number' },
|
|
|
|
|
{ name: 'OTCR', type: 'number' },
|
|
|
|
|
{ name: 'BALOTDR', type: 'number' },
|
|
|
|
|
{ name: 'BALOTCR', type: 'number' },
|
|
|
|
|
{ name: 'STLOTDR', type: 'number' },
|
|
|
|
|
{ name: 'STLOTCR', type: 'number' },
|
|
|
|
|
{ name: 'TTLDR', type: 'number' },
|
|
|
|
|
{ name: 'TTLCR', type: 'number' },
|
|
|
|
|
{ name: 'BALTTLDR', type: 'number' },
|
|
|
|
|
{ name: 'BALTTLCR', type: 'number' },
|
|
|
|
|
{ name: 'REMARKS', type: 'string' },
|
|
|
|
|
{ name: 'ISINVOICE', type: 'string' }
|
|
|
|
|
]
|
|
|
|
|
});
|