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/Areas/MvcShipping/Viewsjs/MsOpRailway/MsOpRailwayModel.js

198 lines
7.4 KiB
JavaScript

3 years ago
Ext.define('MsOpRailwayModel', {
extend: 'Ext.data.Model',
idProperty: 'BSNO',
fields: [
{ name: 'BSNO', type: 'string' },
{ name: 'ORDERTYPE', type: 'string' },
{ name: 'COLOR', type: 'string' },
{ name: 'MASTERNO', type: 'string' },
{ name: 'CUSTNO', type: 'string' },
{ name: 'ORDERNO', type: 'string' },
{ name: 'MBLNO', type: 'string' },
{ name: 'HBLNO', type: 'string' },
{ name: 'BSSTATUS', type: 'bool' },
{ name: 'FEESTATUS', type: 'bool' },
{ name: 'BSSTATUSREF', type: 'string' },
{ name: 'FEESTATUSREF', type: 'string' },
{ name: 'DRFEESTATUS', type: 'string' },
{ name: 'CRFEESTATUS', type: 'string' },
{ name: 'DRINVSTATUS', type: 'string' },
{ name: 'DRDUISTATUS', type: 'string' },
{ name: 'OPSTATUS', type: 'string' },
{ name: 'BSDATE', type: 'string' },
{ name: 'ACCDATE', type: 'string' },
{ name: 'CUSTOMERNAME', type: 'string' },
{ name: 'BSSOURCE', type: 'string' },
{ name: 'BSSOURCEDETAIL', type: 'string' },
{ name: 'INPUTBY', type: 'string' },
{ name: 'OP', type: 'string' },
{ name: 'CUSTSERVICE', type: 'string' },
{ name: 'SALE', type: 'string' },
{ name: 'CORPID', type: 'string' },
{ name: 'SALEDEPT', type: 'string' },
{ name: 'CREATETIME', type: 'string' },
{ name: 'TRANSNO', type: 'string' },
{ name: 'TRAINNO', type: 'string' },
{ name: 'TRANSTYPE', type: 'string' },
{ name: 'BLTYPE', type: 'string' },
{ name: 'TRANSDIRECT', type: 'string' },
{ name: 'CARRIER', type: 'string' },
{ name: 'PlACERECEIPT', type: 'string' },
{ name: 'PLACELOADID', type: 'string' },
{ name: 'PLACELOAD', type: 'string' },
{ name: 'PLACELOADENAME', type: 'string' },
{ name: 'DESTINATIONID', type: 'string' },
{ name: 'DESTINATION', type: 'string' },
{ name: 'DESTINATIONENAME', type: 'string' },
{ name: 'DESTINATIONDETAIL', type: 'string' },
{ name: 'PLACETRANSITID', type: 'string' },
{ name: 'PLACETRANSIT', type: 'string' },
{ name: 'PLACETRANSITENAME', type: 'string' },
{ name: 'SETOUTDATE', type: 'string' },
{ name: 'ASETOUTDATE', type: 'string' },
{ name: 'TRAINREPORTDATE', type: 'string' },
{ name: 'TRAINDAY', type: 'number' },
{ name: 'STATIONTIME', type: 'string' },
{ name: 'ETA', type: 'string' },
{ name: 'PREVESSEL', type: 'string' },
{ name: 'PREVOY', type: 'string' },
{ name: 'VESSELDAY', type: 'number' },
{ name: 'REPLACEDOCDATE', type: 'string' },
{ name: 'CUSTOMDATE', type: 'string' },
{ name: 'CUSTOMCLEARDATE', type: 'string' },
{ name: 'CUSTOMTRANSITCORP', type: 'string' },
{ name: 'SHENCODE', type: 'string' },
{ name: 'CODESTATUS', type: 'string' },
{ name: 'SHENCODETIME', type: 'string' },
{ name: 'GIVECODETIME', type: 'string' },
{ name: 'ARRIVEPLACETRANSIT', type: 'string' },
{ name: 'SETOUTPLACETRANSIT', type: 'string' },
{ name: 'TRANSITDAY', type: 'number' },
{ name: 'RETRAINNO', type: 'string' },
{ name: 'RETRAINDATE', type: 'string' },
{ name: 'FRPLACETRANSITID', type: 'string' },
{ name: 'FRPLACETRANSIT', type: 'string' },
{ name: 'ARRIVEFRPLACETRANSIT', type: 'string' },
{ name: 'ARRIVALDATE', type: 'string' },
{ name: 'RECTNTYPE', type: 'string' },
{ name: 'RECTNDATE', type: 'string' },
{ name: 'ONROADDATE', type: 'string' },
{ name: 'ONROADPLACE', type: 'string' },
{ name: 'RETURNCTNCORP', type: 'string' },
{ name: 'RETURNDATE', type: 'string' },
{ name: 'RECEIVECTNDATE', type: 'string' },
{ name: 'RECEIVEYARD', type: 'string' },
{ name: 'CTNSOURCE', type: 'string' },
{ name: 'CTNCODE', type: 'string' },
{ name: 'CTNALL', type: 'string' },
{ name: 'CTNNUM', type: 'number' },
{ name: 'CNTRNO', type: 'string' },
{ name: 'SEALNO', type: 'string' },
{ name: 'FRSEALNO', type: 'string' },
{ name: 'PKGS', type: 'string' },
{ name: 'KINDPKGS', type: 'string' },
{ name: 'CBM', type: 'string' },
{ name: 'GOODSNAME', type: 'string' },
{ name: 'KGS', type: 'string' },
{ name: 'CTNWEIGHT', type: 'string' },
{ name: 'ISVOU', type: 'string' },
{ name: 'VOUNO', type: 'string' },
{ name: 'REMARK', type: 'string' },
2 years ago
{ name: 'INVNO', type: 'string' },
3 years ago
{ name: 'STLNAME', type: 'string' },
{ name: 'STLDATE', type: 'string' },
{ name: 'OPERATORCODE', type: 'string' },
{ name: 'OPERATOR', type: 'string' },
{ name: 'OPERATOREMAIL', type: 'string' },
{ name: 'OPERATORTEL', type: 'string' },
{ name: 'OPERATORFAX', type: 'string' },
{ name: 'FINANCIALSTAFFCODE', type: 'string' },
{ name: 'FINANCIALSTAFF', type: 'string' },
{ name: 'FINANCIALSTAFFEMAIL', type: 'string' },
{ name: 'FINANCIALSTAFFTEL', type: 'string' },
{ name: 'FINANCIALSTAFFFAX', type: 'string' },
{ name: 'PLACERECEIPTID', type: 'string' },
{ name: 'SOURCECODE', type: 'string' },
{ name: 'ISCONTAINERSOC', type: 'string' },
{ name: 'SALECORPID', type: 'string' },
{ name: 'SALECORP', type: 'string' },
{ name: 'CNTR1', type: 'number' },
{ name: 'CNTR2', type: 'number' },
{ name: 'CNTR3', type: 'number' },
{ name: 'CNTR4', type: 'number' },
{ name: 'CNTR5', type: 'number' },
{ name: 'CNTR6', type: 'number' },
{ name: 'CNTR7', type: 'number' },
{ name: 'CNTR8', type: 'number' },
{ name: 'CNTR9', type: 'number' },
{ name: 'CNTR10', type: 'number' },
{ name: 'OTCNTR', type: 'string' },
{ name: 'TEU', type: 'string' },
{ name: 'DPAGE', type: 'string' },
{ name: 'DLABEL', type: 'string' },
{ name: 'LINKMAN', type: 'string' },
{ name: 'VESSELID', type: 'string' },
{ name: 'HSCODE', type: 'string' },
{ name: 'TRANSTATUS', type: 'string' },
{ name: 'ISSUEPLACEID', type: 'string' }
]
});
Ext.define('MsOpRailwayTracking', {
extend: 'Ext.data.Model',
idProperty: 'TK_ID',
fields: [
{ name: 'TK_ID', type: 'string' },
{ name: 'BSNO', type: 'string' },
{ name: 'SORTNO', type: 'string' },
{ name: 'TRAINNO', type: 'string' },
{ name: 'FRTRAINNO', type: 'string' },
{ name: 'INPUTBY', type: 'string' },
{ name: 'INPUTDATE', type: 'string' },
{ name: 'TRACKDATE', type: 'date', dateFormat: 'Y-m-d' },
{ name: 'CNTRNO', type: 'string' },
{ name: 'SEALNO', type: 'string' },
{ name: 'ACTIVITY', type: 'string' },
{ name: 'EFCNTR', type: 'string' },
{ name: 'LOCATION', type: 'string' },
{ name: 'LOCATIONID', type: 'string' },
{ name: 'DISTANCE', type: 'number' },
{ name: 'DISTANCEDEST', type: 'number' },
{ name: 'REMARK', type: 'string' }
]
});
Ext.define('MsOpSeaeDetail', {
extend: 'Ext.data.Model',
idProperty: 'BSNO,CTNCODE,CTN_ID',
fields: [
{ name: 'CTN_ID', type: 'string' },
{ name: 'BSNO', type: 'string' },
{ name: 'CTNCODE', type: 'string' },
{ name: 'SIZE', type: 'string' },
{ name: 'CTN', type: 'string' },
{ name: 'CTNNUM', type: 'int' },
{ name: 'TEU', type: 'int' },
{ name: 'CTNALL', type: 'string' },
{ name: 'CNTRNO', type: 'string' },
{ name: 'SEALNO', type: 'string' },
{ name: 'PKGS', type: 'int' },
{ name: 'KGS', type: 'decimal' },
{ name: 'CBM', type: 'decimal' },
{ name: 'REMARK', type: 'string' },
{ name: 'KINDPKGS', type: 'string' },
{ name: 'TAREWEIGHT', type: 'decimal' }, //箱皮重
{name: 'GOODSNAME', type: 'string' }
]
});
Ext.define('MsCodeRailwayTracking', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'TRACKINGCODE', type: 'string' },
{ name: 'REMARK', type: 'string' }
]
});