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.
DS7/DSWeb/Account/Viewsjs/Chfee_invoice_HangXin/ChInvoiceModel.js

258 lines
9.7 KiB
JavaScript

Ext.define('MsChInvoice', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'BILLNO', type: 'string' },
{ name: 'CUSTOMERNAME', type: 'string' },
{ name: 'ACTUALCUSTOMERNAME', type: 'string' },
{ name: 'CURRENCY', type: 'string' },
{ name: 'RECVCURR', type: 'string' },
{ name: 'INVOICENO', type: 'string' },
{ name: 'INVOICECUSTNAME', type: 'string' },
{ name: 'INVOICETYPE', type: 'number' },
{ name: 'INVOICETYPEREF', type: 'string' },
{ name: 'BILLSTATUS', type: 'number' },
{ name: 'BILLSTATUSREF', type: 'string' },
{ name: 'INVOICECATEGORY', type: 'string' },
{ name: 'INVOICECATEGORYREF', type: 'string' },
{ name: 'AMOUNT', type: 'number' },
{ name: 'DOAMOUNT', type: 'number' },
{ name: 'STLAMOUNT', type: 'number' },
{ name: 'INVAMOUNT', type: 'number' },
{ name: 'OTCURRAMOUNT', type: 'number' },
{ name: 'EXCHANGERATE', type: 'number' },
{ name: 'AMOUNTCAPITAL', type: 'string' },
{ name: 'APPLICANT', type: 'string' },
{ name: 'APPLICANTNAME', type: 'string' },
{ name: 'APPLYTIME', type: 'string' },
{ name: 'OPERATOR', type: 'string' },
{ name: 'OPERATORNAME', type: 'string' },
{ name: 'OPERATETIME', type: 'string' },
{ name: 'CREATEUSER', type: 'string' },
{ name: 'CREATEUSERREF', type: 'string' },
{ name: 'CREATETIME', type: 'string' },
{ name: 'INVOICEMAKETIME', 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: 'BANK', type: 'string' },
{ name: 'ACCOUNT', type: 'string' },
{ name: 'LICENSECODE', type: 'string' },
{ name: 'TAXCODE', type: 'string' },
{ name: 'VOUCHERNO', type: 'string' },
{ name: 'ISNEEDPRINT', type: 'string' },
{ name: 'ISNEEDFEE', type: 'string' },
{ name: 'ISDELETE', type: 'string' },
{ name: 'DELETEOPERATOR', type: 'string' },
{ name: 'DELOPERATORNAME', type: 'string' },
{ name: 'DELETETIME', type: 'string' },
{ name: 'NOSTL', type: 'string' },
{ name: 'FEEAMOUNT', type: 'string' },
{ name: 'REMARK', type: 'string' },
{ name: 'SALECORPID', type: 'string' },
{ name: 'SALECORP', type: 'string' },
{ name: 'DZSTATUS', type: 'string' },
{ name: 'VOUNO', type: 'string' }
//20191023添加 适应航信接口的需要
,{ name: 'CUSTTEL', type: 'string' },
{ name: 'CUSTADDR', type: 'string' },
{ name: 'PTORRED', type: 'string' },
{ name: 'REDCODE', type: 'string' },
{ name: 'REDNUM', type: 'string' },
{ name: 'PUSHMODE', type: 'string' },
{ name: 'PUSHMOBILE', type: 'string' },
{ name: 'PUSHEMAIL', type: 'string' },
{ name: 'INVOICELINE', type: 'string' },
{ name: 'EINVOICESTATE', type: 'string' },
{ name: 'INVOICEINFOURL', type: 'string' },
{ name: 'INVOICEPDFURL', type: 'string' },
{ name: 'INVOICESERIALNUM', type: 'string' },
{ name: 'INVOICECODE', type: 'string' },
{ name: 'PTORREDREF', type: 'string' },
{ name: 'PUSHMODEREF', type: 'string' },
{ name: 'INVOICELINEREF', type: 'string' },
{ name: 'EINVOICESTATEREF', type: 'string' },
{ name: 'SETRED', type: 'string' }
]
});
Ext.define('MsChInvoiceNo', {
extend: 'Ext.data.Model',
idProperty: 'INVNO',
fields: [
{ name: 'INVNO', type: 'string' }
]
});
Ext.define('companymb', {
extend: 'Ext.data.Model',
fields: [
{ name: 'gid', type: 'string' },
{ name: 'name', 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('MsChInvoice_P2', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'BILLNO', type: 'string' },
{ name: 'CUSTOMERNAME', type: 'string' },
{ name: 'ACTUALCUSTOMERNAME', type: 'string' },
{ name: 'CURRENCY', type: 'string' },
{ name: 'RECVCURR', type: 'string' },
{ name: 'INVOICENO', type: 'string' },
{ name: 'INVOICECUSTNAME', type: 'string' },
{ name: 'INVOICETYPE', type: 'number' },
{ name: 'INVOICETYPEREF', type: 'string' },
{ name: 'BILLSTATUS', type: 'number' },
{ name: 'BILLSTATUSREF', type: 'string' },
{ name: 'INVOICECATEGORY', type: 'string' },
{ name: 'INVOICECATEGORYREF', type: 'string' },
{ name: 'AMOUNT', type: 'number' },
{ name: 'DOAMOUNT', type: 'number' },
{ name: 'STLAMOUNT', type: 'number' },
{ name: 'INVAMOUNT', type: 'number' },
{ name: 'OTCURRAMOUNT', type: 'number' },
{ name: 'EXCHANGERATE', type: 'number' },
{ name: 'AMOUNTCAPITAL', type: 'string' },
{ name: 'APPLICANT', type: 'string' },
{ name: 'APPLICANTNAME', type: 'string' },
{ name: 'APPLYTIME', type: 'string' },
{ name: 'OPERATOR', type: 'string' },
{ name: 'OPERATORNAME', type: 'string' },
{ name: 'OPERATETIME', type: 'string' },
{ name: 'INVOICEMAKETIME', 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: 'BANK', type: 'string' },
{ name: 'ACCOUNT', type: 'string' },
{ name: 'LICENSECODE', type: 'string' },
{ name: 'TAXCODE', type: 'string' },
{ name: 'VOUCHERNO', type: 'string' },
{ name: 'ISNEEDPRINT', type: 'string' },
{ name: 'ISNEEDFEE', type: 'string' },
{ name: 'ISDELETE', type: 'string' },
{ name: 'DELETEOPERATOR', type: 'string' },
{ name: 'DELOPERATORNAME', type: 'string' },
{ name: 'DELETETIME', type: 'string' },
{ name: 'NOSTL', type: 'string' },
{ name: 'FEEAMOUNT', type: 'string' },
{ name: 'REMARK', type: 'string' },
{ name: 'SALECORPID', type: 'string' },
{ name: 'SALECORP', type: 'string' },
{ name: 'DZSTATUS', type: 'string' },
{ name: 'VOUNO', type: 'string' }
//20191023添加 适应航信接口的需要
, { name: 'CUSTTEL', type: 'string' },
{ name: 'CUSTADDR', type: 'string' },
{ name: 'PTORRED', type: 'string' },
{ name: 'REDCODE', type: 'string' },
{ name: 'REDNUM', type: 'string' },
{ name: 'PUSHMODE', type: 'string' },
{ name: 'PUSHMOBILE', type: 'string' },
{ name: 'PUSHEMAIL', type: 'string' },
{ name: 'INVOICELINE', type: 'string' },
{ name: 'EINVOICESTATE', type: 'string' },
{ name: 'INVOICEINFOURL', type: 'string' },
{ name: 'INVOICEPDFURL', type: 'string' },
{ name: 'INVOICESERIALNUM', type: 'string' },
{ name: 'INVOICECODE', type: 'string' },
{ name: 'PTORREDREF', type: 'string' },
{ name: 'PUSHMODEREF', type: 'string' },
{ name: 'INVOICELINEREF', type: 'string' },
{ name: 'EINVOICESTATEREF', type: 'string' },
{ name: 'SETRED', type: 'string' },
{ name: 'VESSEL', type: 'string' },
{ name: 'VOYAGE', type: 'string' },
{ name: 'RATE', type: 'string' },
{ name: 'AMOUNTCAPITAL', type: 'string' },
{ name: 'PRICE', type: 'string' },
{ name: 'NUM', type: 'string' }
]
});
Ext.define('MsChInvoice_FEE_P2', {
extend: 'Ext.data.Model',
//idProperty: 'GID',
fields: [
{ name: 'CURRENCY', type: 'string' },
{ name: 'FEENAME', type: 'string' },
{ name: 'AMOUNT', type: 'string' },
{ name: 'AMOUNT_EX', type: 'string' },
{ name: 'RATE', type: 'string' },
{ name: 'PRICE', type: 'string' },
{ name: 'NUM', type: 'string' }
]
});
Ext.define('CUST_P2', {
extend: 'Ext.data.Model',
//idProperty: 'GID',
fields: [
{ name: 'CUSTCODE', type: 'string' }
]
});
Ext.define('CURRENCY_P2', {
extend: 'Ext.data.Model',
//idProperty: 'GID',
fields: [
{ name: 'CURRENCY', type: 'string' }
]
});
Ext.define('CREATOR_P2', {
extend: 'Ext.data.Model',
//idProperty: 'GID',
fields: [
{ name: 'CREATOR', type: 'string' }
]
});