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/MsOpSeai/MsOpSeaiModel.js

318 lines
12 KiB
JavaScript

2 years ago
Ext.define('MsOpSeaiModel', {
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: 'APPLYNO', type: 'string' },
{ name: 'AMEND', 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: 'FENPIAO', 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: 'BLISSUESTATUS', type: 'string' },
{ name: 'INPUTBY', 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: 'VOYNO', type: 'string' },
{ name: 'ETD', type: 'string' },
{ name: 'PORTLOADID', type: 'string' },
{ name: 'PORTLOAD', type: 'string' },
{ name: 'PORTDISCHARGEID', type: 'string' },
{ name: 'PORTDISCHARGE', type: 'string' },
{ name: 'CNTRNO', type: 'string' },
{ name: 'OTCNTR', type: 'string' },
{ name: 'TEU', type: 'string' },
{ name: 'CNTRTOTAL', type: 'string' },
{ name: 'GOODSNAME', type: 'string' },
{ name: 'COUNTRYOFORIGIN', type: 'string' },
{ name: 'NUMBERPLATE', type: 'string' },
{ name: 'CONTRACTNO', type: 'string' },
{ name: 'UNITS', type: 'string' },
{ name: 'TRANSKINDPKGS', type: 'string' },
{ name: 'BALES', type: 'string' },
{ name: 'KGS', type: 'string' },
{ name: 'NETWEIGHT', type: 'string' },
{ name: 'ENTERP', type: 'string' },
{ name: 'CUSTOMSER', type: 'string' },
{ name: 'CUSTOMNO', type: 'string' },
{ name: 'CUSTOMDATE', type: 'string' },
{ name: 'INSPECTION', type: 'string' },
{ name: 'INSPECTIONNO', type: 'string' },
{ name: 'INSPECTIONDATE', 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: 'YARD', type: 'string' },
{ name: 'CLOSINGDATE', type: 'string' },
{ name: 'ETA', type: 'string' },
{ name: 'PLACERECEIPT', type: 'string' },
{ name: 'PLACEDELIVERYID', type: 'string' },
{ name: 'PLACEDELIVERY', type: 'string' },
{ name: 'DESTINATIONID', type: 'string' },
{ name: 'DESTINATION', type: 'string' },
{ name: 'NOBILL', type: 'string' },
{ name: 'ISSUETYPE', type: 'string' },
{ name: 'ISSUEDATE', type: 'string' },
{ name: 'ISSUEPLACE', type: 'string' },
{ name: 'BLFRT', type: 'string' },
{ name: 'PREPARDAT', type: 'string' },
{ name: 'PAYABLEAT', type: 'string' },
{ name: 'SERVICE', type: 'string' },
{ name: 'MARKS', type: 'string' },
{ name: 'CNTRSEALNO', type: 'string' },
{ name: 'NOPKGS', type: 'string' },
{ name: 'DESCRIPTION', type: 'string' },
{ name: 'GROSSWEIGHT', type: 'string' },
{ name: 'MEASUREMENT', type: 'string' },
{ name: 'PKGS', type: 'string' },
{ name: 'KINDPKGS', type: 'string' },
{ name: 'CBM', type: 'string' },
{ name: 'TOTALNO', type: 'string' },
{ name: 'LANE', type: 'string' },
{ name: 'CARRIER', type: 'string' },
{ name: 'FORWARDER', type: 'string' },
{ name: 'TRUCKER', type: 'string' },
{ name: 'INVNO', type: 'string' },
{ name: 'CARGOID', type: 'string' },
{ name: 'DCLASS', type: 'string' },
{ name: 'DUNNO', type: 'string' },
{ name: 'REEFERF', type: 'string' },
{ name: 'TEMPID', type: 'string' },
{ name: 'TEMPSET', type: 'string' },
{ name: 'TEMPMAX', type: 'string' },
{ name: 'TEMPMIN', type: 'string' },
{ name: 'CUSTOMSNUM', type: 'string' },
{ name: 'PRERECORD', type: 'number' },
{ 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: 'REMARK2', type: 'string' },
{ name: 'DOC', type: 'string' },
{ name: 'PACKINGTYPE', type: 'string' },
{ name: 'WAREHOUSE', type: 'string' },
{ name: 'CLOSEDOCDATE', type: 'string' },
{ name: 'INTOPORTDATE', type: 'string' },
{ name: 'MBLFRT', 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: 'PLACERECEIPTID', type: 'string' },
{ name: 'SOURCECODE', type: 'string' },
{ name: 'ISCONTAINERSOC', type: 'string' },
{ name: 'DPAGE', type: 'string' },
{ name: 'DLABEL', type: 'string' },
{ name: 'LINKMAN', type: 'string' },
{ name: 'VESSELID', type: 'string' },
{ name: 'ISSUEPLACEID', type: 'string' },
{ name: 'UNITOFWEIGHT', type: 'string' },
{ name: 'FBP', type: 'string' },
{ name: 'BMDDATE', type: 'string' },
{ name: 'MDTDATE', type: 'string' },
{ name: 'MT', type: 'string' },
{ name: 'TRADINGAGENCY', type: 'string' },
{ name: 'GOODSTYPENAME', type: 'string' },
{ name: 'TRADETYPE', type: 'string' },
{ name: 'TRADETERM', type: 'string' },
{ name: 'SHOWNAME', type: 'string' },
{ name: 'EMAIL', type: 'string' },
{ name: 'TEL', type: 'string' },
{ name: 'FAX', type: 'string' },
{ name: 'TARRIFSPAIEDTIEM', type: 'string' },
{ name: 'APPROVENO', type: 'string' },
{ name: 'GRADE', type: 'string' },
{ name: 'NOR', type: 'string' },
{ name: 'STORAGENAME', type: 'string' },
{ name: 'ISFORCEDTODESPATCH', type: 'string' },
{ name: 'BSKGS', type: 'string' },
{ name: 'ACTUALKGS', type: 'string' },
{ name: 'DRAFTKGS', type: 'string' },
{ name: 'WHARFSKGS', type: 'string' },
{ name: 'WMSINKGS', type: 'string' },
{ name: 'WMSOUTKGS', type: 'string' },
{ name: 'DIFFERENCEKGS', type: 'string' },
{ name: 'WATERCONTENT', type: 'string' },
{ name: 'WATERDENSITY', type: 'string' },
{ name: 'BSTYPE', type: 'string' },
{ name: 'WMSTYPE', type: 'string' },
{ name: 'ISFUMIGATION', type: 'boolean' },
{ name: 'ISSTORAGE', type: 'boolean' },
{ name: 'ISLAND', type: 'boolean' },
{ name: 'ISCUSTOMS', type: 'boolean' },
{ name: 'ISINSPECTION', type: 'boolean' },
{ name: 'ISBOOKING', type: 'boolean' },
{ name: 'ISAGENT', type: 'boolean' },
{ name: 'ISHBLNO', type: 'boolean' },
{ name: 'SERVICE9', type: 'boolean' },
{ name: 'SERVICE10', type: 'boolean' },
{ name: 'ISPRINTPR', 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: 'OPSTATUS', type: 'string' },
{ name: 'CHANGEDOCDATE', type: 'string' },
{ name: 'ISMOREGOOD', type: 'boolean' },
{ name: 'TERMSDELIVERY', type: 'string' },
{ name: 'INSPECTSERVICE', type: 'string' },
{ name: 'SHIPAGENCY', type: 'string' },
{ name: 'ISBONDED', type: 'string' },
{ name: 'IMPORTVALUE', type: 'number' },
//需求编号SR2017071700004
{ name: 'TIHUOTIME', type: 'string' },
{ name: 'SJYHDATE', type: 'string' },
{ name: 'SJCYXL', type: 'string' },
{ name: 'YaXiangDate', type: 'string' },
{ name: 'YaXiangDiDian', type: 'string' },
{ name: 'YaXiangJinE', type: 'number' },
{ name: 'CTNNUM', type: 'number' },
{ name: 'WMSCTNNUM', type: 'number' },
{ name: 'MaTou', type: 'string' },
{ name: 'SHIPPERCODE', type: 'string' },
{ name: 'SHIPPERCOUNTRY', type: 'string' },
{ name: 'SHIPPERATTN', type: 'string' },
{ name: 'SHIPPERTEL', type: 'string' },
{ name: 'SHIPPEREMAIL', type: 'string' },
{ name: 'CONSIGNEECODE', type: 'string' },
{ name: 'CONSIGNEECOUNTRY', type: 'string' },
{ name: 'CONSIGNEEATTN', type: 'string' },
{ name: 'CONSIGNEETEL', type: 'string' },
{ name: 'CONSIGNEEEMAIL', type: 'string' },
{ name: 'NOTIFYPARTYCODE', type: 'string' },
{ name: 'NOTIFYPARTYCOUNTRY', type: 'string' },
{ name: 'NOTIFYPARTYATTN', type: 'string' },
{ name: 'NOTIFYPARTYTEL', type: 'string' },
{ name: 'NOTIFYPARTYEMAIL', type: 'string' },
{ name: 'OPSTATUSCOLOR', type: 'string' },
{ name: 'MSHIPPERID', type: 'string' },
{ name: 'MCONSIGNEEID', type: 'string' },
{ name: 'MNOTIFYPARTYID', type: 'string' },
{ name: 'MSHIPPER', type: 'string' },
{ name: 'MCONSIGNEE', type: 'string' },
{ name: 'MNOTIFYPARTY', type: 'string' },
{ name: 'MDESCRIPTION', type: 'string' },
{ name: 'HGCYDATE', type: 'string' },
{ name: 'HGCYXL', type: 'string' },
{ name: 'CONTRACTDATE', type: 'string' },
{ name: 'TARIFFS', type: 'string' },
{ name: 'VAT', type: 'string' },
{ name: 'MARGIN', type: 'string' },
{ name: 'BillFeeStatus', type: 'string' },
{ name: 'MaTou', type: 'string' },
{ name: 'CHANGEDOCSTATUS', type: 'int' },
{ name: 'CUSTOMSSTATUS', type: 'int' },
{ name: 'CANGDANSTATUS', type: 'int' },
{ name: 'DEST_RTCNT_TIME', type: 'string' }
]
});
Ext.define('MsOpSeaiDetail', {
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: 'CTNSTATUS', 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' },
{ name: 'TRUCKER', type: 'string' },
{ name: 'TRUCKNO', type: 'string' },
{ name: 'TRUCKFEE', type: 'decimal' },
{ name: 'FREECTNDAY', type: 'int' },
{ name: 'CTNDAY', type: 'int' },
{ name: 'CTNPRICE', type: 'decimal' },
{ name: 'CTNFEE', type: 'decimal' },
{ name: 'MTMC', type: 'string' },
{ name: 'SJRGSJ', type: 'string' },
{ name: 'SJCGSJ', type: 'string' },
{ name: 'WMSDATE', type: 'date' },
{ name: 'ISWMS', type: 'string' },
{ name: 'ISTEMP', type: 'string' },
{ name: 'TIXIANGSHIJIAN', type: 'string' },//提箱时间
{ name: 'AREANAME', 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' }
]
});