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/MsOpCtnr/MsOpCtnrModel.js

111 lines
4.1 KiB
JavaScript

Ext.define('MsOpCtnrList', {
extend: 'Ext.data.Model',
idProperty: 'BSNO',
fields: [
{ name: 'BSNO', type: 'string' },
{ name: 'BLTYPE', type: 'string' },
{ name: 'RETURNTYPE', type: 'string' },
{ name: 'BSSTATUS', type: 'string' },
{ name: 'FEESTATUS', type: 'string' },
{ name: 'BSSTATUSREF', type: 'string' },
{ name: 'FEESTATUSREF', type: 'string' },
{ name: 'DRFEESTATUS', type: 'string' },
{ name: 'CRFEESTATUS', type: 'string' },
{ name: 'CUSTNO', type: 'string' },
{ name: 'CUSTOMERNAME', type: 'string' },
{ name: 'BILLNO', type: 'string' },
{ name: 'CNTRSOURCE', type: 'string' },
{ name: 'BSDATE', type: 'string' },
{ name: 'ACCDATE', type: 'string' },
{ name: 'OP', type: 'string' },
{ name: 'CORPID', type: 'string' },
{ name: 'PORT', type: 'string' },
{ name: 'YARD', type: 'string' },
{ name: 'RETURNYARD', type: 'string' },
{ name: 'MBLNO', type: 'string' },
{ name: 'BSSOURCE', type: 'string' },
{ name: 'BSSOURCEDETAIL', type: 'string' },
{ name: 'VESSEL', type: 'string' },
{ name: 'VOYNO', type: 'string' },
{ name: 'ETD', type: 'string' },
{ name: 'SALE', type: 'string' },
{ name: 'PORTLOAD', type: 'string' },
{ name: 'PORTDISCHARGE', type: 'string' },
{ name: 'BillFeeStatus', type: 'string' },
{ name: 'SALECORPID', type: 'string' },
{ name: 'DRFEENAME', type: 'string' },
{ name: 'CRFEENAME', type: 'string' },
{ name: 'CNTRTOTAL', type: 'string' },
{ name: 'ISCREATEFEEREF', type: 'string' },
{ name: 'CREATEUSER', type: 'string' },
{ name: 'CREATETIME', type: 'string' },
{ name: 'MODIFIEDUSER', type: 'string' },
{ name: 'MODIFIEDTIME', type: 'string' }
]
});
Ext.define('MsOpCtnrDetail', {
extend: 'Ext.data.Model',
idProperty: 'CTNGID',
fields: [
{ name: 'BSNO', type: 'string' },
{ name: 'CTNGID', type: 'string' },
{ name: 'CTNALL', type: 'string' },
{ name: 'CNTRNO', type: 'string' },
{ name: 'CNTRSOURCE', type: 'string' },
{ name: 'CTNSTATUS', type: 'string' },
{ name: 'CTNSTATUSTIME', type: 'string' },
{ name: 'PORT', type: 'string' },
{ name: 'YARD', type: 'string' },
{ name: 'CTNEF', type: 'string' },
{ name: 'CTNEFREF', type: 'string' },
{ name: 'RETURNYARD', type: 'string' },
{ name: 'ISSTOP', type: 'bool' },
{ name: 'ISSTOPREF', type: 'string' },
{ name: 'ISBERETURN', type: 'bool' },
{ name: 'ISBERETURNREF', type: 'string' },
{ name: 'CUSTNO', type: 'string' },
{ name: 'MBLNO', type: 'string' },
{ name: 'REMARK', type: 'string' },
{ name: 'DRFEENAME', type: 'string' },
{ name: 'DR', type: 'number' },
{ name: 'CRFEENAME', type: 'string' },
{ name: 'CR', type: 'number' },
{ name: 'MXCR', type: 'number' }
]
});
Ext.define('CtnrDyDetail', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'BSNO', type: 'string' },
{ name: 'GID', type: 'string' },
{ name: 'CTNGID', type: 'string' },
{ name: 'CTNALL', type: 'string' },
{ name: 'CNTRNO', type: 'string' },
{ name: 'CNTRSOURCE', type: 'string' },
{ name: 'CTNSTATUS', type: 'string' },
{ name: 'CTNSTATUSTIME', type: 'string' },
{ name: 'PORT', type: 'string' },
{ name: 'YARD', type: 'string' },
{ name: 'CTNEF', type: 'string' },
{ name: 'CTNEFREF', type: 'string' },
{ name: 'CUSTNO', type: 'string' },
{ name: 'MBLNO', type: 'string' },
{ name: 'REMARK', type: 'string' }
]
});