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.

170 lines
7.3 KiB
JavaScript

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: 'BANKCODE', type: 'string' },
{ name: 'AMOUNTRMB', type: 'number' },
{ name: 'AMOUNTUSD', type: 'number' },
{ name: 'AMOUNTOT', type: 'number' },
{ name: 'ACCOUNTRMB', type: 'string' },
{ name: 'ACCOUNTUSD', 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: 'AUDITUSERREF', type: 'string' },
{ name: 'AUDITTIME', type: 'string' },
{ name: 'DELETEUSERREF', type: 'string' },
{ name: 'DELETETIME', 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: 'INVOICENO', type: 'string' },
{ name: 'INVOICEDATE', type: 'string' },
{ name: 'INVOICEAMOUNT', 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' }
]
});