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/MvcContainer/Viewsjs/MsOpPrice/MsOpPriceModel.js

85 lines
3.4 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: 'TTLUSD', type: 'string' },
{ name: 'TTLRMB', type: 'string' },
{ name: 'CHANGERATE', type: 'string' },
{ name: 'REMARKS', type: 'string' },
{ name: 'INPUTBY', type: 'string' },
{ name: 'INPUTBYREF', type: 'string' },
{ name: 'OP', type: 'string' },
{ name: 'OPREF', 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: '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: '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: 'CUSTOMERNAME', type: 'string' },
{ name: 'AUDITOPERATOR', type: 'string' },
{ name: 'AUDITDATE', type: 'string' },
{ name: 'AUDITNAME', 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' }
]
});