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/Import/Viewsjs/ImportTrade/MsOpSeaeModel.js

228 lines
8.7 KiB
JavaScript

3 years ago
Ext.define('ImportTrademb', {
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: 'OPSTATUS', type: 'string' },
{ name: 'FENPIAO', 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: '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: '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: 'CNTRTOTAL', type: 'string' },
{ name: 'GOODSNAME', 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: '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: '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: 'STATUS1', type: 'boolean' },
{ name: 'STATUS2', type: 'boolean' },
{ name: 'STATUS3', type: 'boolean' },
{ name: 'STATUS4', type: 'boolean' },
{ name: 'STATUS5', type: 'boolean' },
{ 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: '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: 'HSCODE', type: 'string' },
{ name: 'TRANSTATUS', type: 'string' },
{ name: 'ISSUEPLACEID', type: 'string' },
{ name: 'CONTRACTNO', type: 'string' }
]
});
Ext.define('MsOpSeaeDetail', {
extend: 'Ext.data.Model',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'CTN_ID', type: 'string' },
{ name: 'MASTERNO', 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' }, //箱皮重
{name: 'EXITDOOR', type: 'string' }, //箱皮重
{name: 'ENTERDOOR', type: 'string' }, //箱皮重
{name: 'CTNSTATUS', type: 'string' }, //箱皮重
{name: 'VESSEL', type: 'string' }, //箱皮重
{name: 'VOYNO', type: 'string' }, //箱皮重
{name: 'MBLNO', type: 'string' }, //箱皮重
{name: 'TRUCKNO', type: 'string' }, //箱皮重
{name: 'TRUCKTYPE', type: 'string' }, //箱皮重
{name: 'ONBORD', type: 'string' }, //箱皮重
{name: 'ETD', type: 'string' }
]
});
Ext.define('MsOpSeaeAms', {
extend: 'Ext.data.Model',
fields: [
{ name: 'AMSNO', type: 'string' },
{ name: 'BSNO', type: 'string' },
{ name: 'AMSSHIPPER', type: 'string' },
{ name: 'AMSCONSIGNEE', type: 'string' },
{ name: 'AMSNOTIFYPARTY', type: 'string' },
{ name: 'AMSCODE', type: 'string' },
{ name: 'ORDERREMARK', type: 'string' },
{ name: 'SIREMARK', type: 'string' },
{ name: 'CONTRACTORCODE', type: 'string' },
{ name: 'ORDERNO', type: 'string' },
{ name: 'BYCOUNTRY', type: 'string' },
{ name: 'DECLARER', type: 'string' },
{ name: 'SCACCODE', type: 'string' },
{ name: 'GOODSNCM', type: 'string' },
{ name: 'ITNCODE', type: 'string' },
{ name: 'CONSIGNEEPOSTCODE', type: 'string' },
{ name: 'NOTIFYPARTYPOSTCODE', type: 'string' },
{ name: 'CONSIGNEETAXNO', type: 'string' },
{ name: 'NOTIFYPARTYTAXNO', type: 'string' },
{ name: 'CONSIGNEECOUNTRY', type: 'string' },
{ name: 'NOTIFYPARTYCOUNTRY', type: 'string' },
{ name: 'BSNOLIST', type: 'string' },
{ name: 'DOORADDR', type: 'string' },
{ name: 'ATTN', type: 'string' },
{ name: 'ATTNTEL', type: 'string' },
{ name: 'ATTNEMAIL', type: 'string' },
{ name: 'ATTNADDR', type: 'string' },
{ name: 'NOTIFYPARTYID2', type: 'string' }
]
});