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.
360 lines
14 KiB
JavaScript
360 lines
14 KiB
JavaScript
|
|
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: 'FeeDescription', type: 'string' },
|
|
{ name: 'CustomerType', type: 'string' },
|
|
{ name: 'CustomerName', type: 'string' },
|
|
{ name: 'CustomerFullName', type: 'string' },
|
|
{ name: 'Unit', type: 'string' },
|
|
{ name: 'UnitPrice', type: 'number' },
|
|
{ name: 'TaxUnitPrice', type: 'number' },
|
|
{ name: 'Quantity', type: 'number' },
|
|
{ name: 'TaxRate', type: 'number' },
|
|
{ name: 'Tax', type: 'number' },
|
|
{ name: 'NoTaxAmount', type: 'number' },
|
|
{ name: 'Amount', type: 'number' },
|
|
{ name: 'AccTaxRate', type: 'number' },
|
|
{ name: 'AccTax', type: 'number' },
|
|
{ name: 'AccAmount', type: 'number' },
|
|
{ name: 'Currency', type: 'string' },
|
|
{ name: 'ExChangerate', type: 'number' },
|
|
{ name: 'Reason', type: 'string' },
|
|
{ name: 'Remark', type: 'string' },
|
|
{ name: 'Commissionrate', type: 'float' },
|
|
{ name: 'Settlement', type: 'float' },
|
|
{ name: 'Invoice', type: 'float' },
|
|
{ name: 'OrderAmount', type: 'float' },
|
|
{ name: 'OrderInvoice', type: 'float' },
|
|
{ name: 'SubmitDate', type: 'date' },
|
|
{ name: 'Auditoperator', type: 'string' },
|
|
{ name: 'AuditDate', type: 'string' },
|
|
{ name: 'EnteroPerator', type: 'string' },
|
|
{ name: 'OpName', type: 'string' },
|
|
{ name: 'EnterDate', type: 'string' },
|
|
{ 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: 'LineNum', type: 'number' },
|
|
{ name: 'IsAudit', type: 'number' },
|
|
{ name: 'PreAmount', type: 'float' },
|
|
{ name: 'MODIFIEDUSER', type: 'string' },
|
|
{ name: 'MODIFIEDTIME', type: 'string', dateFormat: 'Y-m-d H:i:s' },
|
|
{ name: 'UNINVOICE', type: 'number' },
|
|
{ name: 'INPUTMODE', type: 'string' },
|
|
{ name: 'LOCALCURR', type: 'string' },
|
|
{ name: 'MANAGER', type: 'string' },
|
|
{ name: 'MANAGERREF', type: 'string' },
|
|
{ name: 'ISSEL', type: 'string' },
|
|
{ name: 'ISACC', type: 'string' },
|
|
{ name: 'ISDJY', type: 'bool' },
|
|
{ name: 'INVLINKGID', type: 'string' },
|
|
{ name: 'VOUALLNO', type: 'string' },
|
|
{ name: 'STATEMENTNO', type: 'string' },
|
|
{ name: 'SALECORP', type: 'string' }
|
|
|
|
]
|
|
});
|
|
|
|
|
|
Ext.define('MsChFeeGain', {
|
|
extend: 'Ext.data.Model',
|
|
fields: [
|
|
{ name: 'GId', type: 'string' },
|
|
{ name: 'BsNo', type: 'string' },
|
|
{ name: 'CUSTOMERNAME', type: 'string' },
|
|
{ name: 'RMBDR', type: 'number' },
|
|
{ name: 'USDDR', type: 'number' },
|
|
{ name: 'OTDR', type: 'number' },
|
|
{ name: 'RMBCR', type: 'number' },
|
|
{ name: 'USDCR', type: 'number' },
|
|
{ name: 'OTCR', type: 'number' },
|
|
{ name: 'TTLDR', type: 'number' },
|
|
{ name: 'TTLCR', type: 'number' },
|
|
{ name: 'RMBPROFIT', type: 'string' },
|
|
{ name: 'USDPROFIT', type: 'string' },
|
|
{ name: 'OTPROFIT', type: 'string' },
|
|
{ name: 'TTLPROFIT', type: 'string' },
|
|
{ name: 'NOTAXRMBDR', type: 'number' },
|
|
{ name: 'NOTAXUSDDR', type: 'number' },
|
|
{ name: 'NOTAXOTDR', type: 'number' },
|
|
{ name: 'NOTAXRMBCR', type: 'number' },
|
|
{ name: 'NOTAXUSDCR', type: 'number' },
|
|
{ name: 'NOTAXOTCR', type: 'number' },
|
|
{ name: 'NOTAXTTLDR', type: 'number' },
|
|
{ name: 'NOTAXTTLCR', type: 'number' },
|
|
{ name: 'NOTAXRMBPROFIT', type: 'number' },
|
|
{ name: 'NOTAXUSDPROFIT', type: 'number' },
|
|
{ name: 'NOTAXOTPROFIT', type: 'number' },
|
|
{ name: 'NOTAXTTLPROFIT', type: 'number' },
|
|
{ name: 'PROFITRATE', type: 'number' },
|
|
{ name: 'CREATEUSER', type: 'string' },
|
|
{ name: 'CREATETIME', type: 'date' }
|
|
|
|
]
|
|
});
|
|
|
|
Ext.define('MsOPGain', {
|
|
extend: 'Ext.data.Model',
|
|
idProperty: 'GId',
|
|
fields: [
|
|
{ name: 'CURR', type: 'string' },
|
|
{ name: 'AMENDSTR', type: 'string' },
|
|
{ name: 'NORATEDR', type: 'number' },
|
|
{ name: 'DR', type: 'number' },
|
|
{ name: 'BALDR', type: 'number' },
|
|
{ name: 'NORATECR', type: 'number' },
|
|
{ name: 'CR', type: 'number' },
|
|
{ name: 'NORATEPR', type: 'string' },
|
|
{ name: 'PR', type: 'string' },
|
|
{ name: 'NOACCTAXRATEDR', type: 'string' },
|
|
{ name: 'NOACCTAXRATECR', type: 'string' },
|
|
{ name: 'ACCTAXDR', type: 'string' },
|
|
{ name: 'ACCTAXCR', type: 'string' },
|
|
{ name: 'PROFITRATE', type: 'number' }
|
|
|
|
]
|
|
});
|
|
|
|
|
|
Ext.define('MsOpFeeAmend', {
|
|
extend: 'Ext.data.Model',
|
|
idProperty: 'GID',
|
|
fields: [
|
|
{ name: 'GID', type: 'string' },
|
|
{ name: 'BSNO', type: 'string' },
|
|
{ name: 'AMENDNO', type: 'string' },
|
|
{ name: 'PARENTID', type: 'string' },
|
|
{ name: 'FEESTATUS', type: 'bool'},
|
|
{ name: 'FEESTATUSREF', type: 'string' },
|
|
{ name: 'ACCDATE', type: 'string'},
|
|
{ name: 'REASON', type: 'string' },
|
|
{ name: 'SALE', type: 'string' },
|
|
{ name: 'BillFeeStatus', type: 'string' },
|
|
|
|
{ name: 'REMARKS', type: 'string' },
|
|
{ name: 'CREATEUSER', type: 'string' },
|
|
{ name: 'CREATETIME', type: 'string' }
|
|
|
|
]
|
|
});
|
|
|
|
|
|
Ext.define('MsFeeUnit', {
|
|
extend: 'Ext.data.Model',
|
|
idProperty: 'UNIT',
|
|
fields: [
|
|
{ name: 'UNIT', type: 'string' },
|
|
{ name: 'SUNIT', type: 'string' },
|
|
{ name: 'QUANTITY', type: 'number' }
|
|
]
|
|
});
|
|
|
|
Ext.define('MsFeeCurr', {
|
|
extend: 'Ext.data.Model',
|
|
idProperty: 'CURR',
|
|
fields: [
|
|
{ name: 'CURR', type: 'string' },
|
|
{ name: 'DEFRATE', type: 'number' },
|
|
{ name: 'CRDEFRATE', type: 'number' }
|
|
]
|
|
});
|
|
|
|
Ext.define('MsFeeOP', {
|
|
extend: 'Ext.data.Model',
|
|
idProperty: 'OPID',
|
|
fields: [
|
|
{ name: 'OPID', type: 'string' }
|
|
]
|
|
});
|
|
|
|
Ext.define('MsChFeeImport', {
|
|
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: 'FeeName', type: 'string' },
|
|
{ name: 'FeeDescription', type: 'string' },
|
|
{ name: 'CustomerType', type: 'string' },
|
|
{ name: 'CustomerName', type: 'string' },
|
|
{ name: 'Unit', type: 'string' },
|
|
{ name: 'UnitPrice', type: 'number' },
|
|
{ name: 'TaxUnitPrice', type: 'number' },
|
|
{ name: 'Quantity', type: 'number' },
|
|
{ name: 'TaxRate', type: 'number' },
|
|
{ name: 'NoTaxAmount', type: 'number' },
|
|
{ name: 'Amount', type: 'number' },
|
|
{ name: 'AccTaxRate', type: 'number' },
|
|
{ name: 'Currency', type: 'string' },
|
|
{ name: 'ExChangerate', type: 'number' },
|
|
{ name: 'Reason', type: 'string' },
|
|
{ name: 'Remark', type: 'string' },
|
|
{ name: 'Commissionrate', type: 'float' },
|
|
{ name: 'Settlement', type: 'float' },
|
|
{ name: 'Invoice', type: 'float' },
|
|
{ name: 'OrderAmount', type: 'float' },
|
|
{ name: 'OrderInvoice', type: 'float' },
|
|
{ name: 'SubmitDate', type: 'date' },
|
|
{ name: 'Auditoperator', type: 'string' },
|
|
{ name: 'AuditDate', type: 'date', dateFormat: 'Y-m-d H:i:s' },
|
|
{ name: 'EnteroPerator', type: 'string' },
|
|
{ name: 'OpName', type: 'string' },
|
|
{ name: 'EnterDate', type: 'date', dateFormat: 'Y-m-d H:i:s' },
|
|
{ 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: 'LineNum', type: 'number' },
|
|
{ name: 'IsAudit', type: 'number' },
|
|
{ name: 'MODIFIEDUSER', type: 'string' },
|
|
{ name: 'MODIFIEDTIME', type: 'date' },
|
|
{ name: 'UNINVOICE', type: 'number' },
|
|
{ name: 'SALESNO', type: 'string' },
|
|
{ name: 'DELIVERYNO', type: 'string' }
|
|
]
|
|
});
|
|
Ext.define('MsInfoClientFeeDetailModel', {
|
|
extend: 'Ext.data.Model',
|
|
idProperty: 'GID',
|
|
fields: [
|
|
{ name: 'GID', type: 'string' },
|
|
{ name: 'FEENAME', type: 'string' },
|
|
{ name: 'CUSTOMERNAME', type: 'string' },
|
|
{ name: 'CLIENTREF', type: 'string' },
|
|
{ name: 'UNIT', type: 'string' },
|
|
{ name: 'CURRENCY', type: 'string' },
|
|
{ name: 'UNITPRICE', type: 'number' },
|
|
{ name: 'EXCHANGERATE', type: 'number' },
|
|
{ name: 'TAXRATE', type: 'number' },
|
|
{ name: 'TAX', type: 'number' },
|
|
{ name: 'FEEFRT', type: 'string' },
|
|
{ name: 'CREATEUSER', type: 'string' },
|
|
{ name: 'CREATETIME', type: 'string' },
|
|
{ name: 'REMARK', type: 'string' },
|
|
{ name: 'ISCTNREF', type: 'string' },
|
|
{ name: 'ISCTN', type: 'bool' },
|
|
{ name: 'ISINVOICE', type: 'bool' },
|
|
{ name: 'ISADVANCEDPAY', type: 'bool' }
|
|
]
|
|
});
|
|
|
|
Ext.define('VOPBSMb', {
|
|
extend: 'Ext.data.Model',
|
|
idProperty: 'BSNO',
|
|
fields: [
|
|
{ name: 'BSNO', type: 'string' },
|
|
{ name: 'OPLB', type: 'string' },
|
|
{ name: 'OPLBNAME', type: 'string' },
|
|
{ name: 'CUSTOMERNAME', type: 'string' },
|
|
{ name: 'CUSTNO', type: 'string' },
|
|
{ name: 'MBLNO', type: 'string' },
|
|
{ name: 'HBLNO', type: 'string' },
|
|
{ name: 'ETD', type: 'string' },
|
|
{ name: 'ETA', type: 'string' },
|
|
{ name: 'STLDATE', type: 'string' },
|
|
{ name: 'STLNAME', type: 'string' },
|
|
{ name: 'INPUTBY', type: 'string' },
|
|
{ name: 'CREATETIME', type: 'string' },
|
|
{ name: 'SALE', type: 'string' },
|
|
{ name: 'OP', type: 'string' },
|
|
{ name: 'CUSTSERVICE', type: 'string' },
|
|
{ name: 'PORTLOAD', type: 'string' },
|
|
{ name: 'PORTDISCHARGE', type: 'string' },
|
|
{ name: 'CORPID', type: 'string' },
|
|
{ name: 'CNTRTOTAL', type: 'string' },
|
|
{ name: 'FEESTATUS', type: 'string' },
|
|
{ name: 'SALEDEPT', type: 'string' },
|
|
{ name: 'ACCDATE', type: 'string' }
|
|
|
|
]
|
|
});
|
|
|
|
|
|
Ext.define('MsPrice_QuotationSmallmb', {
|
|
extend: 'Ext.data.Model',
|
|
idProperty: 'BSNO',
|
|
fields: [
|
|
{ name: 'BSNO', type: 'string' },
|
|
{ name: 'CUSTOMERNAME', type: 'string' },
|
|
{ name: 'EFFECTIVEDATE', type: 'string' },
|
|
{ name: 'VALIDDATE', type: 'string' },
|
|
{ name: 'CREATOR', type: 'string' },
|
|
{ name: 'CREATETIME', type: 'string' },
|
|
{ name: 'PDFURL', type: 'string' },
|
|
{ name: 'TIMEMARK', type: 'string' },
|
|
{ name: 'REMARK', type: 'string' },
|
|
{ name: 'HAVEMBLNO', type: 'string' },
|
|
{ name: 'CONN_CREATOR', type: 'string' },
|
|
{ name: 'CONN_CREATETIME', type: 'string' }
|
|
]
|
|
});
|
|
|
|
Ext.define('MsBLChFee', {
|
|
extend: 'Ext.data.Model',
|
|
idProperty: 'GId',
|
|
fields: [
|
|
{ name: 'BsNo', type: 'string' },
|
|
{ name: 'AccName', type: 'string' },
|
|
{ name: 'ObjDr', type: 'string' },
|
|
{ name: 'ObjCr', type: 'string' },
|
|
{ name: 'DR', type: 'string' },
|
|
{ name: 'CR', type: 'string' },
|
|
{ name: 'RemarkDr', type: 'string' },
|
|
{ name: 'RemarkCr', type: 'string' },
|
|
{ name: 'USDDR', type: 'number' },
|
|
{ name: 'RMBDR', type: 'number' },
|
|
{ name: 'OTDR', type: 'number' },
|
|
{ name: 'TTLDR', type: 'number' },
|
|
{ name: 'USDCR', type: 'number' },
|
|
{ name: 'RMBCR', type: 'number' },
|
|
{ name: 'OTCR', type: 'number' },
|
|
{ name: 'TTLCR', type: 'number' },
|
|
{ name: 'RMBPROFIT', type: 'number' },
|
|
{ name: 'USDPROFIT', type: 'number' },
|
|
{ name: 'OTPROFIT', type: 'number' },
|
|
{ name: 'TTLPROFIT', type: 'number' }
|
|
|
|
]
|
|
});
|
|
|
|
Ext.define('MsSelectFee', {
|
|
extend: 'Ext.data.Model',
|
|
idProperty: 'GId',
|
|
fields: [
|
|
{ name: 'CUST', type: 'string' },
|
|
{ name: 'CURR', type: 'string' },
|
|
{ name: 'QUANTITY', type: 'number' },
|
|
{ name: 'AMOUNT', type: 'number' }
|
|
|
|
]
|
|
});
|