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.
101 lines
8.5 KiB
JavaScript
101 lines
8.5 KiB
JavaScript
Ext.define('MsOpBulk', {
|
|
extend: 'Ext.data.Model',
|
|
idProperty: 'BSNO',
|
|
fields: [
|
|
{ name: 'BSNO', type: 'string' },
|
|
{ name: 'BSSTATUS', type: 'boolean' },
|
|
{ name: 'FEESTATUS', type: 'boolean' },
|
|
{ name: 'BSSTATUSREF', type: 'string' },
|
|
{ name: 'FEESTATUSREF', type: 'string' },
|
|
{ name: 'OPSTATUS', type: 'string' },
|
|
{ name: 'BSDATE', type: 'string' },
|
|
{ name: 'ACCDATE', type: 'string' },
|
|
{ name: 'OPDATE', type: 'string' },
|
|
{ name: 'CUSTNO', type: 'string' },
|
|
{ name: 'ORDERNO', type: 'string' },
|
|
{ name: 'CUSTOMERNAME', type: 'string' },
|
|
{ name: 'TRANSTYPE', type: 'string' },
|
|
{ name: 'TimeMark', type: 'number' },
|
|
{ name: 'PORTLOAD', type: 'string' },
|
|
{ name: 'PORTDISCHARGE', type: 'string' },
|
|
{ name: 'ETD', type: 'string' },
|
|
{ name: 'LASTETD', type: 'string' },
|
|
{ name: 'ETA', type: 'string' },
|
|
{ name: 'ETD', type: 'string' },
|
|
{ name: 'INPUTBY', type: 'string' },
|
|
{ name: 'OP', type: 'string' },
|
|
{ name: 'SALE', type: 'string' },
|
|
{ name: 'BSSOURCE', type: 'string' },
|
|
{ name: 'BSSOURCEDETAIL', type: 'string' },
|
|
{ name: 'GOODCODE', type: 'string' },
|
|
{ name: 'GOODSNAME', type: 'string' },
|
|
{ name: 'CORPID', type: 'string' },
|
|
{ name: 'PKGS', type: 'number' },
|
|
{ name: 'KGS', type: 'number' },
|
|
{ name: 'OVERKGS', type: 'number' },
|
|
{ name: 'CBM', type: 'number' },
|
|
{ name: 'STLNAME', type: 'string' },
|
|
{ name: 'STLDATE', type: 'string' },
|
|
{ name: 'REMARK', type: 'string' }
|
|
]
|
|
});
|
|
|
|
Ext.define('MsOpBulkDetail', {
|
|
extend: 'Ext.data.Model',
|
|
idProperty: 'BSNO,SERIALNO',
|
|
fields: [
|
|
{ name: 'BSNO', type: 'string' },
|
|
{ name: 'SerialNo', type: 'number' },
|
|
{ name: 'ACCSTATUS', type: 'boolean' },
|
|
{ name: 'ISTRAIN', type: 'string' },
|
|
{ name: 'TRUCKNO', type: 'string' },
|
|
{ name: 'DRVNAME', type: 'string' },
|
|
{ name: 'DRVCUST', type: 'string' },
|
|
{ name: 'STATIONNO', type: 'string' },
|
|
{ name: 'EXPDATE', type: 'date', dateFormat: 'Y-m-d' },
|
|
{ name: 'PKGS', type: 'number' },
|
|
{ name: 'KGS', type: 'number' },
|
|
{ name: 'NETKGS', type: 'number' },
|
|
{ name: 'TAREKGS', type: 'number' },
|
|
{ name: 'PKGKGS', type: 'number' },
|
|
{ name: 'POUNDNO', type: 'string' },
|
|
{ name: 'TRANSTOTAL', type: 'number' },
|
|
{ name: 'TRANSOT', type: 'number' },
|
|
{ name: 'REMARK', type: 'string' }
|
|
]
|
|
});
|
|
|
|
|
|
Ext.define('MsOpBulkTrainDetail', {
|
|
extend: 'Ext.data.Model',
|
|
idProperty: 'BSNO,SERIALNO',
|
|
fields: [
|
|
{ name: 'BSNO', type: 'string' },
|
|
{ name: 'SerialNo', type: 'number' },
|
|
{ name: 'ACCSTATUS', type: 'boolean'},
|
|
{ name: 'TRAINNO', type: 'string' },
|
|
{ name: 'TRAINTYPE', type: 'string' },
|
|
{ name: 'TRAINCUST', type: 'string' },
|
|
{ name: 'INVNO', type: 'string' },
|
|
{ name: 'STATIONNO', type: 'string' },
|
|
{ name: 'ARRIVALSTATION', type: 'string' },
|
|
{ name: 'EXPDATE', type: 'date', dateFormat: 'Y-m-d' },
|
|
{ name: 'PKGS', type: 'number' },
|
|
{ name: 'KGS', type: 'number' },
|
|
{ name: 'TRANSTOTAL', type: 'number' },
|
|
{ name: 'TRANSOT', type: 'number' },
|
|
{ name: 'REMARK', type: 'string' }
|
|
]
|
|
});
|
|
|
|
|
|
Ext.define('MsOpBulkStationKc', {
|
|
extend: 'Ext.data.Model',
|
|
idProperty: 'STATION',
|
|
fields: [
|
|
{ name: 'STATION', type: 'string' },
|
|
{ name: 'PKGS', type: 'number' },
|
|
{ name: 'KGS', type: 'number' }
|
|
]
|
|
});
|