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/MsOpAire/MsOpAireModel.js

237 lines
9.0 KiB
JavaScript

3 years ago
Ext.define('MsOpAireModel', {
extend: 'Ext.data.Model',
idProperty: 'BSNO',
fields: [
{ name: 'BSNO', type: 'string' },
{ name: 'ORDERTYPE', type: 'string' },
{ name: 'MASTERNO', type: 'string' },
{ name: 'CUSTNO', 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: 'MANIFESTSTATUS', type: 'string' },
{ name: 'DRFEESTATUS', type: 'string' },
{ name: 'CRFEESTATUS', type: 'string' },
{ name: 'DRINVSTATUS', type: 'string' },
{ name: 'DRDUISTATUS', type: 'string' },
2 years ago
{ name: 'FENPIAO', type: 'string' },
3 years ago
{ name: 'BLISSUESTATUS', type: 'string' },
{ name: 'OPSTATUS', type: 'string' },
{ name: 'ISAPPLY', 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: 'DOC', type: 'string' },
{ name: 'OP', type: 'string' },
{ name: 'CUSTSERVICE', type: 'string' },
{ name: 'FRCUSTSERVICE', type: 'string' },
{ name: 'SALE', type: 'string' },
{ name: 'CORPID', type: 'string' },
{ name: 'SALECORPID', type: 'string' },
{ name: 'SALECORP', type: 'string' },
{ name: 'SALEDEPT', type: 'string' },
{ name: 'CREATETIME', type: 'string' },
{ name: 'VESSEL', type: 'string' },
{ name: 'ETD', type: 'string' },
{ name: 'DELIVERYDATE', type: 'string' },
{ name: 'PORTLOADID', type: 'string' },
{ name: 'PORTLOAD', type: 'string' },
{ name: 'PORTDISCHARGEID', type: 'string' },
{ name: 'PORTDISCHARGE', type: 'string' },
{ name: 'TRANSPORTID', type: 'string' },
{ name: 'TRANSPORT', type: 'string' },
{ name: 'TRANSPORT2ID', type: 'string' },
{ name: 'TRANSPORT2', type: 'string' },
{ name: 'TRANSPORT3ID', type: 'string' },
{ name: 'TRANSPORT3', type: 'string' },
{ name: 'LANE', type: 'string' },
{ name: 'GOODSNAME', type: 'string' },
{ name: 'TRADETYPE', type: 'string' },
{ name: 'TRADETERM', type: 'string' },
{ name: 'ISSUETYPE', type: 'string' },
{ name: 'KGS', type: 'string' },
{ name: 'NETWEIGHT', type: 'string' },
{ name: 'CUSTOMSER', type: 'string' },
{ name: 'TRANSNO', type: 'string' },
{ name: 'BLTYPE', type: 'string' },
{ name: 'SHIPPERID', type: 'string' },
{ name: 'CONSIGNEEID', type: 'string' },
{ name: 'NOTIFYPARTYID', type: 'string' },
{ name: 'SHIPPER', type: 'string' },
{ name: 'CONSIGNEE', type: 'string' },
{ name: 'NOTIFYPARTY', type: 'string' },
{ name: 'AGENTID', type: 'string' },
{ name: 'AGENT', type: 'string' },
{ name: 'ETA', type: 'string' },
{ name: 'ISSUEBY', type: 'string' },
{ name: 'ISSUEDATE', type: 'string' },
{ name: 'ISSUEPLACE', type: 'string' },
{ name: 'BLFRT', type: 'string' },
{ name: 'OTFRT', type: 'string' },
{ name: 'HBLBLFRT', type: 'string' },
{ name: 'HBLOTFRT', type: 'string' },
{ name: 'MARKS', type: 'string' },
{ name: 'DESCRIPTION', type: 'string' },
{ name: 'PKGS', type: 'string' },
{ name: 'KINDPKGS', type: 'string' },
{ name: 'UNIT', type: 'string' },
{ name: 'CBM', type: 'string' },
{ name: 'LANE', type: 'string' },
{ name: 'AIRLINES', type: 'string' },
{ name: 'TRANSAIRLINES', type: 'string' },
{ name: 'FORWARDER', type: 'string' },
{ name: 'TRUCKER', type: 'string' },
{ name: 'INVNO', type: 'string' },
{ name: 'CARGOID', type: 'string' },
{ name: 'CLASS', type: 'string' },
{ name: 'CURR', type: 'string' },
{ name: 'CUSTVALUE', type: 'string' },
{ name: 'CUSTOMVALUE', type: 'string' },
{ name: 'FEEKGS', type: 'string' },
{ name: 'PRICE', type: 'string' },
{ name: 'TTLFREIGHT', type: 'string' },
{ name: 'OTFEE', type: 'string' },
{ name: 'HANDINGINFO', type: 'string' },
{ name: 'ACCOUNTINFO', type: 'string' },
{ name: 'ORDTYPE', type: 'string' },
{ name: 'ORDERNO', type: 'string' },
{ name: 'INSURANCEER', type: 'string' },
{ name: 'INSURANCENO', type: 'string' },
{ name: 'INAMOUT', type: 'string' },
{ name: 'ISVOU', type: 'string' },
{ name: 'VOUNO', type: 'string' },
{ name: 'REMARK', type: 'string' },
{ 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: 'PFREIGHT', type: 'string' },
{ name: 'CFREIGHT', type: 'string' },
{ name: 'PSTATEMENT', type: 'string' },
{ name: 'CSTATEMENT', type: 'string' },
{ name: 'PTAX', type: 'string' },
{ name: 'CTAX', type: 'string' },
{ name: 'POTFREIGHT', type: 'string' },
{ name: 'COTFREIGHT', type: 'string' },
{ name: 'PCARRIEROT', type: 'string' },
{ name: 'CCARRIEROT', type: 'string' },
{ name: 'PTOTAL', type: 'string' },
{ name: 'CTOTAL', type: 'string' },
{ name: 'OTFEE1', type: 'string' },
{ name: 'OTFEE2', type: 'string' },
{ name: 'OTFEE3', type: 'string' },
{ name: 'OTFEE4', type: 'string' },
{ name: 'OTFEE5', type: 'string' },
{ name: 'OTFEE6', type: 'string' },
{ name: 'OTFEE7', type: 'string' },
{ name: 'OTFEE8', type: 'string' },
{ name: 'OTFEE1AMOUNT', type: 'number' },
{ name: 'OTFEE2AMOUNT', type: 'number' },
{ name: 'OTFEE3AMOUNT', type: 'number' },
{ name: 'OTFEE4AMOUNT', type: 'number' },
{ name: 'OTFEE5AMOUNT', type: 'number' },
{ name: 'OTFEE6AMOUNT', type: 'number' },
{ name: 'OTFEE7AMOUNT', type: 'number' },
{ name: 'OTFEE8AMOUNT', type: 'number' },
{ name: 'HSCODE', type: 'string' },
{ name: 'CONTRACTNO', type: 'string' },
{ name: 'CUSTOMNO', type: 'string' },
{ name: 'CUSTOMDATE', type: 'string' },
{ name: 'INSPECTIONNO', type: 'string' },
{ name: 'INSPECTIONDATE', type: 'string' },
{ name: 'ENTERP', type: 'string' },
{ name: 'ENTERPID', type: 'string' },
{ name: 'ISCANCEL', type: 'string' },
{ name: 'IsSERVICE1', type: 'string' },
{ name: 'IsSERVICE2', type: 'string' },
{ name: 'IsSERVICE3', type: 'string' },
{ name: 'IsSERVICE4', type: 'string' },
{ name: 'IsSERVICE5', type: 'string' },
{ name: 'IsSERVICE6', type: 'string' },
{ name: 'IsSERVICE7', type: 'string' },
{ name: 'IsSERVICE8', type: 'string' },
{ name: 'IsSERVICE9', type: 'string' },
{ name: 'IsSERVICE10', type: 'string' },
{ name: 'IsSERVICE15', type: 'string' },
{ name: 'IsSERVICE16', type: 'string' },
{ name: 'ISPRINTPR', type: 'string' },
{ name: 'SERVICE1', type: 'string' },
{ name: 'SERVICE2', type: 'string' },
{ name: 'SERVICE3', type: 'string' },
{ name: 'SERVICE4', type: 'string' },
{ name: 'SERVICE5', type: 'string' },
{ name: 'SERVICE6', type: 'string' },
{ name: 'SERVICE7', type: 'string' },
{ name: 'SERVICE8', type: 'string' },
{ name: 'SERVICE9', type: 'string' },
{ name: 'SERVICE10', type: 'string' },
{ name: 'BillFeeStatus', type: 'string' }
]
});
Ext.define('MsOpAirCbmDetail', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'BSNO', type: 'string' },
{ name: 'LENGTH', type: 'number' },
{ name: 'WIDTH', type: 'number' },
{ name: 'HEIGHT', type: 'number' },
{ name: 'PKGS', type: 'int' },
{ name: 'CBM', type: 'number' }
]
});
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' }
]
});
Ext.define('MsCodeOpService', {
extend: 'Ext.data.Model',
idProperty: 'OS_ID',
fields: [
{ name: 'OS_ID', type: 'string' },
{ name: 'OPField', type: 'string' },
{ name: 'CORPID', type: 'string' },
{ name: 'SERVICENAME', type: 'string' },
{ name: 'OPTYPE', type: 'string' },
{ name: 'OPTYPESTR', type: 'string' },
{ name: 'REMARK', type: 'string' }
]
});
Ext.define('CODE_BLTYPE', {
extend: 'Ext.data.Model',
idProperty: 'BLTYPE',
fields: [
{ name: 'BLTYPE', type: 'string' }
]
});