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/MsOpSubSeaOrder/MsOpSubSeaOrderModel.js

218 lines
7.3 KiB
JavaScript

Ext.define('MsSubSeaOrderModel', {
extend: 'Ext.data.Model',
idProperty: 'BSNO',
fields: [
{ name: 'BSNO', type: 'string' },
{ name: 'ORDNO', type: 'string' },
{ name: 'ORSTATUS', type: 'string' },
{ name: 'ORSTATUSREF', type: 'string' },
{ name: 'ORREASON', type: 'string' },
{ name: 'BSDATE', type: 'string' },
{ name: 'MBLNO', type: 'string' },
{ name: 'CUSTOMERNAME', type: 'string' },
{ name: 'SHIPPERCODE', type: 'string' },
{ name: 'SHIPPER', type: 'string' },
{ name: 'SHIPPERCOUNTRY', type: 'string' },
{ name: 'SHIPPERTEL', type: 'string' },
{ name: 'CONSIGNEECODE', type: 'string' },
{ name: 'CONSIGNEE', type: 'string' },
{ name: 'CONSIGNEECOUNTRY', type: 'string' },
{ name: 'CONSIGNEETEL', type: 'string' },
{ name: 'NOTIFYPARTYCODE', type: 'string' },
{ name: 'NOTIFYPARTY', type: 'string' },
{ name: 'NOTIFYPARTYCOUNTRY', type: 'string' },
{ name: 'NOTIFYPARTYTEL', type: 'string' },
{ name: 'VESSEL', type: 'string' },
{ name: 'VOYNO', type: 'string' },
{ name: 'ETD', type: 'string' },
{ name: 'ETA', type: 'string' },
{ name: 'PORTLOADID', type: 'string' },
{ name: 'PORTLOAD', type: 'string' },
{ name: 'PORTDISCHARGEID', type: 'string' },
{ name: 'PORTDISCHARGE', 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: 'NOPKGS', type: 'string' },
{ name: 'DESCRIPTION', type: 'string' },
{ name: 'GROSSWEIGHT', type: 'string' },
{ name: 'MEASUREMENT', type: 'string' },
{ name: 'GOODSNAME', type: 'string' },
{ name: 'PKGS', type: 'string' },
{ name: 'KINDPKGS', type: 'string' },
{ name: 'CBM', type: 'string' },
{ name: 'TOTALNO', type: 'string' },
{ name: 'CNTRTOTAL', type: 'string' },
{ name: 'KGS', type: 'string' },
{ name: 'INPUTBY', 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: 'DPAGE', type: 'string' },
{ name: 'DLABEL', type: 'string' },
{ name: 'LINKMAN', type: 'string' },
{ name: 'REMARK', type: 'string' },
{ name: 'COMPANYID', type: 'string' },
{ name: 'AGENTID', type: 'string' },
{ name: 'COMPANY', type: 'string' },
{ name: 'AGENT', type: 'string' },
{ name: 'BILLTYPE', type: 'int' },
{ name: 'ORTYPE', type: 'int' },
{ name: 'SPCHARGE', type: 'bool' },
{ name: 'AUDITOPERATOR', type: 'string' },
{ name: 'AUDITDATE', type: 'string' }
]
});
Ext.define('MsSubSeaOrderCtn', {
extend: 'Ext.data.Model',
idProperty: 'BSNO,CTN_ID',
fields: [
{ name: 'CTN_ID', type: 'string' },
{ name: 'BSNO', type: 'string' },
{ name: 'CTNCODE', type: 'string' },
{ 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: 'CTNSOURCE', type: 'string' },
{ name: 'STATUS', type: 'string' }
]
});
Ext.define('MsOrderFee', {
extend: 'Ext.data.Model',
idProperty: 'FEEID',
fields: [
{ name: 'FEEID', type: 'string' },
{ name: 'BSNO', type: 'string' },
{ name: 'FeeName', type: 'string' },
{ name: 'UnitPrice', type: 'number' },
{ name: 'Quantity', type: 'number' },
{ name: 'Amount', type: 'number' },
{ name: 'Currency', type: 'string' },
{ name: 'ExChangerate', type: 'number' },
{ name: 'Reason', type: 'string' },
{ name: 'REMARK', type: 'string' },
{ name: 'SORT', type: 'number' },
{ name: 'AGENTFEE', type: 'string' },
{ name: 'Unit', type: 'string' },
{ name: 'FeeFrt', type: 'string' }
]
});
Ext.define('MsFeeCurr', {
extend: 'Ext.data.Model',
idProperty: 'CURR',
fields: [
{ name: 'CURR', type: 'string' },
{ name: 'DEFRATE', type: 'number' }
]
});
Ext.define('MsOrderCtnStatus', {
extend: 'Ext.data.Model',
idProperty: 'BSNO,CTN_ID',
fields: [
{ name: 'CTN_ID', type: 'string' },
{ name: 'BSNO', type: 'string' },
{ name: 'CTNCODE', type: 'string' },
{ 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: 'STATUS', type: 'string' },
{ name: 'CTNSTATUS', type: 'string' },
{ name: 'CTNSTATUSDATE', type: 'string' },
{ name: 'ORSTATUS', type: 'string' },
{ name: 'BSDATE', type: 'string' },
{ name: 'MBLNO', type: 'string' },
{ name: 'VESSEL', type: 'string' },
{ name: 'VOYNO', type: 'string' },
{ name: 'ETD', type: 'string' },
{ name: 'ETA', type: 'string' },
{ name: 'PORTLOADID', type: 'string' },
{ name: 'PORTLOAD', type: 'string' },
{ name: 'PORTDISCHARGEID', type: 'string' },
{ name: 'PORTDISCHARGE', type: 'string' },
{ name: 'PLACERECEIPT', type: 'string' },
{ name: 'PLACEDELIVERYID', type: 'string' },
{ name: 'PLACEDELIVERY', type: 'string' },
{ name: 'DESTINATIONID', type: 'string' },
{ name: 'DESTINATION', type: 'string' },
{ name: 'SERVICE', type: 'string' },
{ name: 'CARGOID', type: 'string' },
]
});
Ext.define('MsOtCompany', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'NAME', type: 'string' },
{ name: 'ENNAME', type: 'string' }
]
});
Ext.define('MsCompanyOrderFee', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'COMPANYID', type: 'string' },
{ name: 'FEENAME', type: 'string' },
{ name: 'UNITPRICE', type: 'number' },
{ name: 'CURRENCY', type: 'string' },
{ name: 'EXCHANGERATE', type: 'number' },
{ name: 'SORT', type: 'number' },
{ name: 'AGENTFEE', type: 'number' },
{ name: 'UNIT', type: 'string' }
]
});
Ext.define('MsSubSeaOrderYard', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'YARDCODE', type: 'string' },
{ name: 'DESCRIP', type: 'string' }
]
});