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.

95 lines
3.1 KiB
JavaScript

10 months ago
Ext.define('MsOpRailwayBillModel', {
extend: 'Ext.data.Model',
idProperty: 'AS_ID',
fields: [
{ name: 'AS_ID', type: 'string' },
{ name: 'CUSTNO', type: 'string' },
{ name: 'CNTRNO', type: 'string' },
{ name: 'BSNO', type: 'string' },
{ name: 'INPUTBY', type: 'string' },
{ name: 'TRAINNO', type: 'string' },
{ name: 'CREATETIME', type: 'string' },
{ name: 'SHIPPERID', type: 'string' },
{ name: 'CONSIGNEEID', type: 'string' },
{ name: 'SHIPPER', type: 'string' },
{ name: 'CONSIGNEE', type: 'string' },
{ name: 'PLACELOADENAME', type: 'string' },
{ name: 'DESTINATIONENAME', type: 'string' },
{ name: 'SHENCODE', type: 'string' },
{ name: 'SHIPPERSTATEMENT', type: 'string' },
{ name: 'NOBINDINGRECORD', type: 'string' },
{ name: 'CUSTOMERRECORD', type: 'string' },
{ name: 'SHIPPERFILES', type: 'string' },
{ name: 'OTHERFIELD1', type: 'string' },
{ name: 'PLACETRANSITENAME', type: 'string' },
{ name: 'NOPKGS', type: 'string' },
{ name: 'PKGS', type: 'string' },
{ name: 'KGS', type: 'string' },
{ name: 'KINDPKGS', type: 'string' },
{ name: 'SEALNO', type: 'string' },
{ name: 'LOADER', type: 'string' },
{ name: 'WEIGHTMETHODS', type: 'string' },
{ name: 'CUSTCONTRACTNO', type: 'string' },
{ name: 'CUSTCONTRACTNODATE', type: 'string' },
{ name: 'ARRIVALDATE', type: 'string' },
{ name: 'DESCRIPTION', type: 'string' },
{ name: 'GROSSWEIGHT', type: 'string' },
{ name: 'TOTALNO', type: 'string' },
{ name: 'CNTRTOTAL', type: 'string' },
{ name: 'GOODSNAME', type: 'string' }
]
});
Ext.define('MsOpRailwayBillTrain', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'BSNO', type: 'string' },
{ name: 'INPUTBY', type: 'string' },
{ name: 'SORTNO', type: 'string' },
{ name: 'TRAINNO', type: 'string' },
{ name: 'CARRIER', type: 'string' },
{ name: 'KGS', type: 'number' },
{ name: 'SHAFTNUM', type: 'number' },
{ name: 'TRAINKGS', type: 'number' },
{ name: 'TANKTYPE', type: 'string' },
{ name: 'AFTERKGS', type: 'number' },
{ name: 'AFTERPKGS', type: 'number' },
{ name: 'REMARK', type: 'string' }
]
});
Ext.define('MsOpRailwayBillRoad', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'BSNO', type: 'string' },
{ name: 'SORTNO', type: 'string' },
{ name: 'CARRIER', type: 'string' },
{ name: 'FRSTATION', type: 'string' },
{ name: 'FRSTATIONID', type: 'string' },
{ name: 'TOSTATION', type: 'string' },
{ name: 'TOSTATIONID', type: 'string' },
{ name: 'REMARK', type: 'string' }
]
});
Ext.define('OpSeaeShipper', {
extend: 'Ext.data.Model',
idProperty: 'SHIPPERID',
fields: [
{ name: 'SHIPPERID', type: 'string' },
{ name: 'CODENAME', type: 'string' },
{ name: 'SHORTNAME', type: 'string' },
{ name: 'CodeAndName', type: 'string' },
{ name: 'SHIPPERDETAIL', type: 'string' },
{ name: 'SHIPPERTYPE', type: 'int' },
{ name: 'LOADADDRESS', type: 'string' },
{ name: 'DELIVERADDRESS', type: 'string' },
{ name: 'ISPUBLIC', type: 'bool' }
]
});