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.
296 lines
11 KiB
JavaScript
296 lines
11 KiB
JavaScript
Ext.define('MsWl_Portmb', {
|
|
extend: 'Ext.data.Model',
|
|
idProperty: 'id',
|
|
fields: [
|
|
{ name: 'GID', type: 'string' },
|
|
{ name: 'BODYTYPE', type: 'string' },
|
|
{ name: 'BODYTYPE_REF', type: 'string' },
|
|
{ name: 'TRUCKNO', type: 'string' },
|
|
{ name: 'DRVCODE', type: 'string' },
|
|
{ name: 'EXPDATE', type: 'string' },
|
|
{ name: 'ACCDATE', type: 'string' },
|
|
{ name: 'Amount_1', type: 'number' },
|
|
{ name: 'Amount_2', type: 'number' },
|
|
{ name: 'REMARK', type: 'string' },
|
|
{ name: 'DRVNAME', type: 'string' },
|
|
{ name: 'DRVMOBILE', type: 'string' },
|
|
{ name: 'TimeMark', type: 'string' },
|
|
{ name: 'Locked', type: 'string' }
|
|
]
|
|
});
|
|
|
|
Ext.define('MsWlBsHeadRefMsWlTruck', {
|
|
extend: 'Ext.data.Model',
|
|
fields: [
|
|
{ name: 'TruckNo', type: 'string' },
|
|
{ name: 'DrvCode', type: 'string' },
|
|
{ name: 'Mobile', type: 'string' }
|
|
, { name: 'WORKNOTruckNo', type: 'string' }
|
|
]
|
|
});
|
|
Ext.define('MsWlBsHeadRefMsWlDriver', {
|
|
extend: 'Ext.data.Model',
|
|
fields: [
|
|
{ name: 'DrvCode', type: 'string' },
|
|
{ name: 'DrvName', type: 'string' },
|
|
{ name: 'CodeAndName', type: 'string' },
|
|
{ name: 'Mobile', type: 'string' }
|
|
]
|
|
});
|
|
|
|
Ext.define('PortCtnmb', {
|
|
extend: 'Ext.data.Model',
|
|
idProperty: 'GID',
|
|
fields: [
|
|
{ name: 'GID', type: 'string' },
|
|
{ name: 'LINKID', type: 'string' },
|
|
{ name: 'DRVCODE', type: 'string' },
|
|
{ name: 'TRUCKNO', type: 'string' },
|
|
{ name: 'Ctn20', type: 'number' },
|
|
{ name: 'Ctn40', type: 'number' },
|
|
{ name: 'Ctn45', type: 'number' },
|
|
{ name: 'Mov', type: 'number' },
|
|
{ name: 'TEU', type: 'number' },
|
|
{ name: 'Price_1', type: 'string' },
|
|
{ name: 'Price_2', type: 'string' },
|
|
{ name: 'AvrOil', type: 'string' },
|
|
{ name: 'Factor', type: 'string' },
|
|
{ name: 'Plus', type: 'string' },
|
|
{ name: 'Amount_1', type: 'string' },
|
|
{ name: 'Amount_2', type: 'string' },
|
|
{ name: 'DRVNAME', type: 'string' },
|
|
{ name: 'Mobile', type: 'string' }
|
|
]
|
|
});
|
|
|
|
Ext.define('PortOthermb', {
|
|
extend: 'Ext.data.Model',
|
|
idProperty: 'GID',
|
|
fields: [
|
|
{ name: 'GID', type: 'string' },
|
|
{ name: 'LINKID', type: 'string' },
|
|
{ name: 'DRVCODE', type: 'string' },
|
|
{ name: 'TRUCKNO', type: 'string' },
|
|
{ name: 'GP', type: 'number' },
|
|
{ name: 'HZ', type: 'number' },
|
|
{ name: 'BG_TEU', type: 'number' },
|
|
{ name: 'Mov', type: 'number' },
|
|
{ name: 'TEU', type: 'number' },
|
|
{ name: 'AvrOil', type: 'string' },
|
|
{ name: 'Factor', type: 'string' },
|
|
{ name: 'Plus', type: 'string' },
|
|
{ name: 'Amount_1', type: 'string' },
|
|
{ name: 'Amount_2', type: 'string' },
|
|
{ name: 'DRVNAME', type: 'string' },
|
|
{ name: 'Mobile', type: 'string' }
|
|
]
|
|
});
|
|
|
|
Ext.define('PortROmb', {
|
|
extend: 'Ext.data.Model',
|
|
idProperty: 'GID',
|
|
fields: [
|
|
{ name: 'GID', type: 'string' },
|
|
{ name: 'LINKID', type: 'string' },
|
|
{ name: 'DRVCODE', type: 'string' },
|
|
{ name: 'TRUCKNO', type: 'string' },
|
|
{ name: 'Trans', type: 'number' },
|
|
{ name: 'Dock', type: 'number' },
|
|
{ name: 'Ctn45', type: 'number' },
|
|
{ name: 'Mov', type: 'number' },
|
|
{ name: 'TEU', type: 'number' },
|
|
{ name: 'Trans_Price', type: 'number' },
|
|
{ name: 'Dock_Price', type: 'number' },
|
|
{ name: 'Mov_Price', type: 'number' },
|
|
{ name: 'AvrOil', type: 'string' },
|
|
{ name: 'Factor', type: 'string' },
|
|
{ name: 'Plus', type: 'string' },
|
|
{ name: 'Amount_1', type: 'string' },
|
|
{ name: 'Amount_2', type: 'string' },
|
|
{ name: 'DRVNAME', type: 'string' },
|
|
{ name: 'Mobile', type: 'string' }
|
|
]
|
|
});
|
|
|
|
Ext.define('PortMovCtnmb', {
|
|
extend: 'Ext.data.Model',
|
|
idProperty: 'GID',
|
|
fields: [
|
|
{ name: 'GID', type: 'string' },
|
|
{ name: 'LINKID', type: 'string' },
|
|
{ name: 'DRVCODE', type: 'string' },
|
|
{ name: 'TRUCKNO', type: 'string' },
|
|
{ name: 'Emp', type: 'number' },
|
|
{ name: 'Single', type: 'number' },
|
|
{ name: 'Double', type: 'number' },
|
|
{ name: 'BG', type: 'number' },
|
|
{ name: 'Mov', type: 'number' },
|
|
{ name: 'TEU', type: 'number' },
|
|
{ name: 'AvrOil', type: 'string' },
|
|
{ name: 'Factor', type: 'string' },
|
|
{ name: 'Plus', type: 'string' },
|
|
{ name: 'Amount_1', type: 'string' },
|
|
{ name: 'Amount_2', type: 'string' },
|
|
{ name: 'DRVNAME', type: 'string' },
|
|
{ name: 'Mobile', type: 'string' }
|
|
]
|
|
});
|
|
|
|
Ext.define('PortGJmb', {
|
|
extend: 'Ext.data.Model',
|
|
idProperty: 'GID',
|
|
fields: [
|
|
{ name: 'GID', type: 'string' },
|
|
{ name: 'LINKID', type: 'string' },
|
|
{ name: 'DRVCODE', type: 'string' },
|
|
{ name: 'TRUCKNO', type: 'string' },
|
|
{ name: 'DX', type: 'number' },
|
|
{ name: 'DX_Price_1', type: 'number' },
|
|
{ name: 'DX_Price_2', type: 'number' },
|
|
{ name: 'XZ', type: 'number' },
|
|
{ name: 'XZ_Price_1', type: 'number' },
|
|
{ name: 'XZ_Price_2', type: 'number' },
|
|
{ name: 'PT', type: 'number' },
|
|
{ name: 'PT_Price_1', type: 'number' },
|
|
{ name: 'PT_Price_2', type: 'number' },
|
|
{ name: 'Amount_1', type: 'string' },
|
|
{ name: 'Amount_2', type: 'string' },
|
|
{ name: 'DRVNAME', type: 'string' },
|
|
{ name: 'Mobile', type: 'string' }
|
|
]
|
|
});
|
|
|
|
Ext.define('FuelTruckListmb', {
|
|
extend: 'Ext.data.Model',
|
|
idProperty: 'TRUCKNO',
|
|
fields: [
|
|
{ name: 'TRUCKNO', type: 'string' },
|
|
{ name: 'DRVCODE', type: 'string' },
|
|
{ name: 'FuelType', type: 'string' },
|
|
{ name: 'FuelQty', type: 'number' },
|
|
{ name: 'begindate', type: 'string' },
|
|
{ name: 'enddate', type: 'string' },
|
|
{ name: 'Amount', type: 'string' }
|
|
]
|
|
});
|
|
|
|
|
|
Ext.define('FuelDatemb', {
|
|
extend: 'Ext.data.Model',
|
|
idProperty: 'GID',
|
|
fields: [
|
|
{ name: 'GID', type: 'string' },
|
|
{ name: 'TRUCKNO', type: 'string' },
|
|
{ name: 'DRVCODE', type: 'string' },
|
|
{ name: 'DRVNAME', type: 'string' },
|
|
{ name: 'FuelType', type: 'string' },
|
|
{ name: 'FuelQty', type: 'string' },
|
|
{ name: 'FuelDate', type: 'date' },
|
|
{ name: 'inserted', type: 'string' }
|
|
]
|
|
});
|
|
|
|
Ext.define('FuelPricemb', {
|
|
extend: 'Ext.data.Model',
|
|
idProperty: 'GID',
|
|
fields: [
|
|
{ name: 'GID', type: 'string' },
|
|
{ name: 'FuelDate', type: 'date' },
|
|
{ name: 'FuelType', type: 'string' },
|
|
{ name: 'Price', type: 'string' },
|
|
{ name: 'COMPANYID', type: 'string' },
|
|
{ name: 'COMPANYNAME', type: 'string' },
|
|
{ name: 'inserted', type: 'string' }
|
|
]
|
|
});
|
|
|
|
Ext.define('FuelDatemb2', {
|
|
extend: 'Ext.data.Model',
|
|
idProperty: 'GID',
|
|
fields: [
|
|
{ name: 'GID', type: 'string' },
|
|
{ name: 'TRUCKNO', type: 'string' },
|
|
{ name: 'DRVCODE', type: 'string' },
|
|
{ name: 'DRVNAME', type: 'string' },
|
|
{ name: 'FuelType', type: 'string' },
|
|
{ name: 'FuelQty', type: 'string' },
|
|
{ name: 'FuelDate', type: 'string' },
|
|
{ name: 'inserted', type: 'string' }
|
|
]
|
|
});
|
|
|
|
Ext.define('MsWl_FuelDateInputmb', {
|
|
extend: 'Ext.data.Model',
|
|
idProperty: 'GID',
|
|
fields: [
|
|
{ name: 'GID', type: 'string' },
|
|
{ name: 'STATION', type: 'string' },
|
|
{ name: 'BLSH', type: 'string' },
|
|
{ name: 'ZH', type: 'string' },
|
|
{ name: 'KLX', type: 'string' },
|
|
{ name: 'CKR', type: 'string' },
|
|
{ name: 'CH', type: 'string' },
|
|
{ name: 'JH', type: 'string' },
|
|
{ name: 'YP', type: 'string' },
|
|
{ name: 'FUEL', type: 'number' },
|
|
{ name: 'PRICE', type: 'string' },
|
|
{ name: 'AMOUNT', type: 'number' },
|
|
{ name: 'YHED', type: 'string' },
|
|
{ name: 'SS', type: 'string' },
|
|
{ name: 'YE', type: 'string' },
|
|
{ name: 'YY', type: 'string' },
|
|
{ name: 'DEPT', type: 'string' },
|
|
{ name: 'JYTIME', type: 'string' },
|
|
{ name: 'inserted', type: 'string' }
|
|
]
|
|
});
|
|
|
|
|
|
Ext.define('MsWl_ADL_FuelTruckListmb', {
|
|
extend: 'Ext.data.Model',
|
|
idProperty: 'GID',
|
|
fields: [
|
|
{ name: 'GID', type: 'string' },
|
|
{ name: 'TRUCKNO', type: 'string' },
|
|
{ name: 'DRVCODE', type: 'string' },
|
|
{ name: 'DRVNAME', type: 'string' },
|
|
{ name: 'EXPDATE_BGN', type: 'string' },
|
|
{ name: 'EXPDATE_END', type: 'string' },
|
|
{ name: 'REALFUEL', type: 'number' },
|
|
{ name: 'FUELPRICE', type: 'string' },
|
|
{ name: 'FUELPRICE_AGIO', type: 'string' },
|
|
{ name: 'AMOUNT', type: 'number' },
|
|
{ name: 'REMARK', type: 'string' },
|
|
{ name: 'RATEDFUEL', type: 'number' },
|
|
{ name: 'OVERLOADMIL', type: 'number' },
|
|
{ name: 'FUELRATE', type: 'string' }
|
|
]
|
|
});
|
|
|
|
Ext.define('FuelTruckList_ADLmb', {
|
|
extend: 'Ext.data.Model',
|
|
idProperty: 'TRUCKNO',
|
|
fields: [
|
|
{ name: 'GID', type: 'string' },
|
|
{ name: 'TRUCKNO', type: 'string' },
|
|
{ name: 'DRVCODE', type: 'string' },
|
|
{ name: 'DRVNAME', type: 'string' },
|
|
{ name: 'EXPDATE_BGN', type: 'string' },
|
|
{ name: 'EXPDATE_END', type: 'string' },
|
|
{ name: 'REALFUEL', type: 'number' },
|
|
{ name: 'FUELPRICE', type: 'string' },
|
|
{ name: 'FUELPRICE_AGIO', type: 'string' },
|
|
{ name: 'AMOUNT', type: 'number' },
|
|
{ name: 'REMARK', type: 'string' },
|
|
{ name: 'RATEDFUEL', type: 'number' },
|
|
{ name: 'OVERLOADMIL', type: 'number' },
|
|
{ name: 'FUELRATE', type: 'string' },
|
|
{ name: 'SAVEAMOUNT', type: 'number' },
|
|
{ name: 'RatedFuelAmount', type: 'number' },
|
|
{ name: 'FuelRemain', type: 'number' }
|
|
|
|
]
|
|
});
|
|
|
|
|