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.

102 lines
4.7 KiB
JavaScript

10 months ago
Ext.define('XXHmb', {
extend: 'Ext.data.Model',
idProperty: 'id' ,
fields: [
{ name: 'seller', type: 'string' },
{ name: 'FEENAME', type: 'string' },
{ name: 'CUSTOMERNAME', type: 'string' },
{ name: 'FEETYPEREF', type: 'string' },
{ name: 'FEESTATUSREF', type: 'string' },
{ name: 'buyer', type: 'string' },
{ name: 'ContractNo', type: 'string' },
{ name: 'HTH', type: 'string' },
{ name: 'GId', type: 'string' },
{ name: 'countryid', type: 'string' },
{ name: 'country', type: 'string' }, //
{ name: 'port', type: 'string' },
{ name: 'portRef', type: 'string' }, //
{ name: 'creator', type: 'string' },
{ name: 'creattime', type: 'string' },
{ name: 'Mainstate', type: 'string' },
{ name: 'MainstateRef', type: 'string' }, //
{ name: 'ShipCompany_id', type: 'string' },
{ name: 'ShipCompanyRef', type: 'string' },
{ name: 'BillNo', type: 'string' },
{ name: 'Vessel', type: 'string' },
{ name: 'Voyage', type: 'string' },
{ name: 'Ex_sailingdate', type: 'string' },
{ name: 'Sailingdate', type: 'string' },
{ name: 'ArrivalDate', type: 'string' },
{ name: 'remark', type: 'string' },
{ name: 'company', type: 'string' },
{ name: 'ACCDATE', type: 'string' },
//{ name: 'ContractStatus', type: 'string' },
{ name: 'ISVOU', 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' }
]
});
Ext.define('MsChFee', {
extend: 'Ext.data.Model',
idProperty: 'GId',
fields: [
{ name: 'GId', type: 'string' },
{ name: 'BsNo', type: 'string' },
{ name: 'FeeStatus', type: 'number' },
{ name: 'FeeStatus_Ref', type: 'string' },
{ name: 'FeeType', type: 'number' },
{ name: 'FeeType_Ref', type: 'string' },
{ name: 'FeeName', type: 'string' },
{ name: 'FeeName_Ref', type: 'string' },
{ name: 'FeeDescription', type: 'string' },
{ name: 'CustomerType', type: 'string' },
{ name: 'CustomerName', type: 'string' },
{ name: 'CustomerName_Ref', type: 'string' },
{ name: 'Unit', type: 'string' },
{ name: 'UnitPrice', type: 'number' },
{ name: 'Quantity', type: 'number' },
{ name: 'Amount', type: 'number' },
{ name: 'Currency', type: 'string' },
{ name: 'ExChangerate', type: 'number' },
{ name: 'Reason', type: 'string' },
{ name: 'Remark', type: 'string' },
{ name: 'Commissionrate', type: 'number' },
{ name: 'Settlement', type: 'number' },
{ name: 'Invoice', type: 'number' },
{ name: 'OrderAmount', type: 'number' },
{ name: 'OrderInvoice', type: 'number' },
{ name: 'SubmitDate', type: 'date' },
{ name: 'Auditoperator', type: 'string' },
{ name: 'AuditDate', type: 'date' },
{ name: 'EnteroPerator', type: 'string' },
{ name: 'EnterDate', type: 'date' },
{ name: 'DebitNo', type: 'string' },
{ name: 'IsDebit', type: 'string' },
{ name: 'IsOpen', type: 'string' },
{ name: 'IsAdvancedpay', type: 'string' },
{ name: 'Sort', type: 'string' },
{ name: 'IsInvoice', type: 'string' },
{ name: 'FeeFrt', type: 'string' },
{ name: 'IsCrmOrderFee', type: 'string' },
{ name: 'AuditStatus', type: 'number' },
{ name: 'InvoiceNum', type: 'string' },
{ name: 'ChequeNum', type: 'string' },
{ name: 'WmsOutBsNo', type: 'string' },
{ name: 'BXGID', type: 'string' },
{ name: 'ACCDATE', type: 'string' },
{ name: 'VOUCHERNO', type: 'string' },
{ name: 'OpName', type: 'string' },
{ name: 'SettlementDate', type: 'string' }
]
});