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.

139 lines
5.6 KiB
JavaScript

Ext.define('MsOpPrice', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'PRICETYPE', type: 'string' },
{ name: 'LINE', type: 'string' },
{ name: 'COUNTRY', type: 'string' },
{ name: 'PORTLOAD', type: 'string' },
{ name: 'PORTDISCHARGE', type: 'string' },
{ name: 'TRANSPORT', type: 'string' },
{ name: 'CARRIER', type: 'string' },
{ name: 'WEEKETD', type: 'string' },
{ name: 'VOYAGE', type: 'string' },
{ name: 'VALIDETD', type: 'string' },
{ name: 'SERVICE', type: 'string' },
{ name: 'GOODTYPE', type: 'string' },
{ name: 'CTNSTATUS', type: 'string' },
{ name: 'AGENTNAME', type: 'string' },
{ name: 'AGENTATTN', type: 'string' },
{ name: 'AGENTADDR', type: 'string' },
{ name: 'DEBITCORPNAME', type: 'string' },
{ name: 'PRICEDATE', type: 'string' },
{ name: 'TOTALRMB', type: 'string' },
{ name: 'TOTALUSD', type: 'string' },
{ name: 'TOTALEUR', type: 'string' },
{ name: 'TOTALJPY', type: 'string' },
{ name: 'OTRMB', type: 'string' },
{ name: 'OTUSD', type: 'string' },
{ name: 'OTEUR', type: 'string' },
{ name: 'BEGINDATE', type: 'string' },
{ name: 'ENDDATE', type: 'string' },
{ name: 'PRJECTTYPE', type: 'string' },
{ name: 'PRJECTSOURCE', type: 'string' },
{ name: 'ISTRANSPORT', type: 'string' },
{ name: 'RENTOFDAY', type: 'string' },
{ name: 'RENTAMOUNT', type: 'string' },
{ name: 'ISBEST', type: 'string' },
{ name: 'PRJECTMAR', type: 'string' },
{ name: 'OTJPY', type: 'string' },
{ name: 'OTHER1COST', type: 'number' },
{ name: 'OTHER2COST', type: 'number' },
{ name: 'OTHER3COST', type: 'number' },
{ name: 'OTHER4COST', type: 'number' },
{ name: 'OTHER5COST', type: 'number' },
{ name: 'OTHER6COST', type: 'number' },
{ name: 'OTHER7COST', type: 'number' },
{ name: 'OTHER8COST', type: 'number' },
{ name: 'OTHER9COST', type: 'number' },
{ name: 'OTHER10COST', type: 'number' },
{ name: 'OTHER11COST', type: 'number' },
{ name: 'TTL1COST', type: 'number' },
{ name: 'TTL2COST', type: 'number' },
{ name: 'TTL3COST', type: 'number' },
{ name: 'TTL4COST', type: 'number' },
{ name: 'TTL5COST', type: 'number' },
{ name: 'TTL6COST', type: 'number' },
{ name: 'TTLINUSDCOST', type: 'number' },
{ name: 'TTLCOST', type: 'number' },
{ name: 'REMARKS', type: 'string' },
{ name: 'INPUTBY', type: 'string' },
{ name: 'INPUTBYREF', type: 'string' },
{ name: 'OP', type: 'string' },
{ name: 'OPREF', type: 'string' },
{ name: 'BSSTATUS', type: 'string' },
{ name: 'AUDITOPERATORREF', type: 'string' },
{ name: 'AUDITDATE', type: 'string' },
{ name: 'ISSTOP', type: 'string' },
{ name: 'REASON', type: 'string' },
{ name: 'YARD', type: 'string' },
{ name: 'FEETYPE', type: 'string' },
{ name: 'INPUTTIME', type: 'string' },
{ name: 'COMPANYID', type: 'string' }
]
});
Ext.define('MsOpPriceItems', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'PRICEGID', type: 'string' },
{ name: 'LINKGID', type: 'string' },
{ name: 'ITEMSNO', type: 'number' },
{ name: 'FEENAME', type: 'string' },
{ name: 'UNIT', type: 'string' },
{ name: 'UNITPRICE', type: 'number' },
{ name: 'CURRENCY', type: 'string' },
{ name: 'CHANGERATE', type: 'number' },
{ name: 'EXCHANGERATE', type: 'number' },
{ name: 'QUANTITY', type: 'number' },
{ name: 'AMOUNT', type: 'number' },
{ name: 'GOODSNAME', type: 'string' },
{ name: 'REMARKS', type: 'string' },
{ name: 'INPUTBY', type: 'string' },
{ name: 'INPUTBYREF', type: 'string' },
{ name: 'INPUTTIME', type: 'string' },
{ name: 'FEESTATUS', type: 'number' },
{ name: 'FREEDAY', type: 'number' },
{ name: 'FEESTATUS_REF', type: 'string' },
{ name: 'CTNSTATUS', type: 'string' },
{ name: 'VALIDETD', type: 'string' },
{ name: 'ISSTOP', type: 'bool' },
{ name: 'BEGINDATE', type: 'string' },
{ name: 'ENDDATE', type: 'string' },
{ name: 'DATETYPE', type: 'string' },
{ name: 'PRICECLASS', type: 'string' },
{ name: 'CUSTOMERNAME', type: 'string' },
{ name: 'AUDITOPERATOR', type: 'string' },
{ name: 'AUDITDATE', type: 'string' },
{ name: 'AUDITNAME', type: 'string' },
{ name: 'MODIFYTIME', type: 'string' },
{ name: 'MODIFYUSERREF', type: 'string' },
{ name: 'MODIFYUSER', type: 'string' },
{ name: 'REASON', type: 'string' },
{ name: 'APPLYTIME', type: 'string' },
{ name: 'APPLYUSERREF', type: 'string' }
]
});
Ext.define('CODE_SERVICE', {
extend: 'Ext.data.Model',
idProperty: 'SERVICE',
fields: [
{ name: 'SERVICE', type: 'string' }
]
});
Ext.define('MsFeeCurr', {
extend: 'Ext.data.Model',
idProperty: 'CURR',
fields: [
{ name: 'CURR', type: 'string' },
{ name: 'DEFRATE', type: 'number' }
]
});