|
|
|
|
Ext.define('MsOpCtnBsCard', {
|
|
|
|
|
extend: 'Ext.data.Model',
|
|
|
|
|
idProperty: 'GID',
|
|
|
|
|
fields: [
|
|
|
|
|
{ name: 'GID', type: 'string' },
|
|
|
|
|
{ name: 'CTNNO', type: 'string' },
|
|
|
|
|
{ name: 'CTNPROP', type: 'string' },
|
|
|
|
|
{ name: 'FEESTATUS', type: 'string' },
|
|
|
|
|
{ name: 'BSNO', type: 'string' },
|
|
|
|
|
{ name: 'SEABSNO', type: 'string' },
|
|
|
|
|
{ name: 'APPLYNO', type: 'string' },
|
|
|
|
|
{ name: 'CUSTOMERNAME', type: 'string' },
|
|
|
|
|
{ name: 'PREGOODSNAME', type: 'string' },
|
|
|
|
|
{ name: 'GOODSNAME', type: 'string' },
|
|
|
|
|
{ name: 'GOODSNAMEREF', type: 'string' },
|
|
|
|
|
{ name: 'ETD', type: 'string' },
|
|
|
|
|
{ name: 'ETA', type: 'string' },
|
|
|
|
|
{ name: 'PREETA', type: 'string' },
|
|
|
|
|
{ name: 'AGENTNAME', type: 'string' },
|
|
|
|
|
{ name: 'CUR_PORT', type: 'string' },
|
|
|
|
|
{ name: 'CUR_DATE', type: 'string' },
|
|
|
|
|
{ name: 'CYCLE_DAY', type: 'number' },
|
|
|
|
|
{ name: 'CYCLE_CNTDAY', type: 'number' },
|
|
|
|
|
{ name: 'IS_RETURE_EMPTY', type: 'bool' },
|
|
|
|
|
{ name: 'IS_POD_CLEAN', type: 'bool' },
|
|
|
|
|
{ name: 'IS_BOOKING', type: 'bool' },
|
|
|
|
|
{ name: 'EMPTYCTNALLOCATION', type: 'bool' },
|
|
|
|
|
{ name: 'I_CUSTNO', type: 'string' },
|
|
|
|
|
{ name: 'I_ETD', type: 'string' },
|
|
|
|
|
{ name: 'I_ETA', type: 'string' },
|
|
|
|
|
{ name: 'PREI_ETA', type: 'string' },
|
|
|
|
|
{ name: 'I_MBLNO', type: 'string' },
|
|
|
|
|
{ name: 'I_CUSTNAME', type: 'string' },
|
|
|
|
|
{ name: 'I_CARRIER', type: 'string' },
|
|
|
|
|
{ name: 'I_CONTRACT', type: 'bool' },
|
|
|
|
|
{ name: 'I_PORTLOAD_CNT_TIME', type: 'string' },
|
|
|
|
|
{ name: 'I_PORTLOAD', type: 'string' },
|
|
|
|
|
{ name: 'I_ARRIVALDATE', type: 'string' },
|
|
|
|
|
{ name: 'I_DEST_CNT_TIME', type: 'string' },
|
|
|
|
|
{ name: 'I_DEST_RTCNT_TIME', type: 'string' },
|
|
|
|
|
{ name: 'I_DESTPORT_STATOIN', type: 'string' },
|
|
|
|
|
{ name: 'I_DESTPORT', type: 'string' },
|
|
|
|
|
{ name: 'D_CUSTNO', type: 'string' },
|
|
|
|
|
{ name: 'D_ETD', type: 'string' },
|
|
|
|
|
{ name: 'D_ETA', type: 'string' },
|
|
|
|
|
{ name: 'PRED_ETA', type: 'string' },
|
|
|
|
|
{ name: 'D_MBLNO', type: 'string' },
|
|
|
|
|
{ name: 'D_CUSTNAME', type: 'string' },
|
|
|
|
|
{ name: 'D_CARRIER', type: 'string' },
|
|
|
|
|
{ name: 'D_CONTRACT', type: 'bool' },
|
|
|
|
|
{ name: 'D_PORTLOAD_CNT_TIME', type: 'string' },
|
|
|
|
|
{ name: 'D_PORTLOAD', type: 'string' },
|
|
|
|
|
{ name: 'D_ARRIVALDATE', type: 'string' },
|
|
|
|
|
{ name: 'D_DEST_CNT_TIME', type: 'string' },
|
|
|
|
|
{ name: 'D_DEST_RTCNT_TIME', type: 'string' },
|
|
|
|
|
{ name: 'D_DESTPORT_STATOIN', type: 'string' },
|
|
|
|
|
{ name: 'D_DESTPORT', type: 'string' },
|
|
|
|
|
{ name: 'CUSTNO', type: 'string' },
|
|
|
|
|
{ name: 'OP', type: 'string' },
|
|
|
|
|
{ name: 'BOOKGOODNAME', type: 'string' },
|
|
|
|
|
{ name: 'TRUCKNAME', type: 'string' },
|
|
|
|
|
{ name: 'TRUCKLINKNAME', type: 'string' },
|
|
|
|
|
{ name: 'TRUCKLINKTEL', type: 'string' },
|
|
|
|
|
{ name: 'CURSTATOIN', type: 'string' },
|
|
|
|
|
{ name: 'LOADADDR', type: 'string' },
|
|
|
|
|
{ name: 'CUSTOMGOODNAME', type: 'string' },
|
|
|
|
|
{ name: 'MBLNO', type: 'string' },
|
|
|
|
|
{ name: 'CARRIER', type: 'string' },
|
|
|
|
|
{ name: 'PORTLOAD_STATOIN', type: 'string' },
|
|
|
|
|
{ name: 'PORTLOAD_CNT_TIME', type: 'string' },
|
|
|
|
|
{ name: 'LOADFACTORY', type: 'string' },
|
|
|
|
|
{ name: 'PORTLOAD', type: 'string' },
|
|
|
|
|
{ name: 'PORTLOADDATE', type: 'string' },
|
|
|
|
|
{ name: 'PORTLOAD_FREE_DAYS', type: 'number' },
|
|
|
|
|
{ name: 'PORTLOAD_OVER_DAYS', type: 'number' },
|
|
|
|
|
{ name: 'PORTLOAD_OVER_DAYS_FEE', type: 'number' },
|
|
|
|
|
{ name: 'PORTLOAD_OVER_DAYS_AMT', type: 'number' },
|
|
|
|
|
{ name: 'DESTPORT', type: 'string' },
|
|
|
|
|
{ name: 'ARRIVALDATE', type: 'string' },
|
|
|
|
|
{ name: 'DESTAGENTNAME', type: 'string' },
|
|
|
|
|
{ name: 'DEST_CNT_TIME', type: 'string' },
|
|
|
|
|
{ name: 'DEST_RTCNT_TIME', type: 'string' },
|
|
|
|
|
{ name: 'DESTPORT_STATOIN', type: 'string' },
|
|
|
|
|
{ name: 'DESTPORT_FREE_DAYS', type: 'number' },
|
|
|
|
|
{ name: 'DESTPORT_OVER_DAYS', type: 'number' },
|
|
|
|
|
{ name: 'DESTPORT_OVER_DAYS_FEE', type: 'number' },
|
|
|
|
|
{ name: 'DESTPORT_OVER_DAYS_AMT', type: 'number' },
|
|
|
|
|
{ name: 'DETAIN_CTN_DAYS', type: 'number' },
|
|
|
|
|
{ name: 'PRE_CNT_TIME', type: 'string' },
|
|
|
|
|
{ name: 'INPUTBY', type: 'string' },
|
|
|
|
|
{ name: 'INPUTTIME', type: 'string' },
|
|
|
|
|
{ name: 'MODIFYTIME', type: 'string' },
|
|
|
|
|
{ name: 'INPUTBYREF', type: 'string' },
|
|
|
|
|
{ name: 'REMARKS', type: 'string' },
|
|
|
|
|
{ name: 'AUDITSTATUS', type: 'string' },
|
|
|
|
|
{ name: 'AUDITBY', type: 'string' },
|
|
|
|
|
{ name: 'AUDITBYREF', type: 'string' },
|
|
|
|
|
{ name: 'AUDITTIME', type: 'string' },
|
|
|
|
|
{ name: 'SHENTIME', type: 'string' },
|
|
|
|
|
{ name: 'AUDITRESULT', type: 'string' },
|
|
|
|
|
{ name: 'ISCLOSE', type: 'string' },
|
|
|
|
|
{ name: 'CLOSEDATE', type: 'string' },
|
|
|
|
|
{ name: 'IS_PUTCTN', type: 'string' },
|
|
|
|
|
{ name: 'PUTCTNDATE', type: 'string' },
|
|
|
|
|
{ name: 'REPAIRSTATUS', type: 'string' },
|
|
|
|
|
{ name: 'CLEARINGSTATUS', type: 'string' },
|
|
|
|
|
{ name: 'INPUTBY', type: 'string' },
|
|
|
|
|
{ name: 'RTCNT_TIME', type: 'string' },
|
|
|
|
|
{ name: 'NPORTLOAD_CNT_TIME', type: 'string' },
|
|
|
|
|
{ name: 'NETD', type: 'string' },
|
|
|
|
|
{ name: 'LINES', type: 'string' },
|
|
|
|
|
{ name: 'RMBDR', type: 'number' },
|
|
|
|
|
{ name: 'RMBCR', type: 'number' },
|
|
|
|
|
{ name: 'USDDR', type: 'number' },
|
|
|
|
|
{ name: 'USDCR', type: 'number' },
|
|
|
|
|
{ name: 'XSFUSDDR', type: 'number' },
|
|
|
|
|
{ name: 'OTUSDDR', type: 'number' },
|
|
|
|
|
{ name: 'XSFRMBDR', type: 'number' },
|
|
|
|
|
{ name: 'OTRMBDR', type: 'number' },
|
|
|
|
|
{ name: 'HDFDR', type: 'number' },
|
|
|
|
|
{ name: 'GXFUSDDR', type: 'number' },
|
|
|
|
|
{ name: 'XSFDRTTLINUSD', type: 'number' },
|
|
|
|
|
{ name: 'OTDRTTLINUSD', type: 'number' },
|
|
|
|
|
{ name: 'TTLCRINUSD', type: 'number' },
|
|
|
|
|
{ name: 'PROFITINUSD', type: 'number' },
|
|
|
|
|
{ name: 'DAYPROFITINUSD', type: 'number' },
|
|
|
|
|
{ name: 'RENTPROFITINUSD', type: 'number' },
|
|
|
|
|
{ name: 'OPPROFITINUSD', type: 'number' },
|
|
|
|
|
{ name: 'PUTCTNAUDITSTATUS', type: 'string' },
|
|
|
|
|
{ name: 'PUTCTNAUDITBY', type: 'string' },
|
|
|
|
|
{ name: 'PUTCTNAUDITBYREF', type: 'string' },
|
|
|
|
|
{ name: 'PUTCTNAUDITTIME', type: 'string' },
|
|
|
|
|
{ name: 'PUTCTNAUDITRESULT', type: 'string' },
|
|
|
|
|
{ name: 'COMPANYID', type: 'string' },
|
|
|
|
|
|
|
|
|
|
{ name: 'MDGXSFSTATUS', type: 'string' },
|
|
|
|
|
{ name: 'SERVICE', type: 'string' },
|
|
|
|
|
{ name: 'NEEDBEHEATED', type: 'boolean' },
|
|
|
|
|
{ name: 'AGENTINPUTBY', type: 'string' }
|
|
|
|
|
]
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Ext.define('MsOpCtnRepair', {
|
|
|
|
|
extend: 'Ext.data.Model',
|
|
|
|
|
idProperty: 'GID',
|
|
|
|
|
fields: [
|
|
|
|
|
{ name: 'GID', type: 'string' },
|
|
|
|
|
{ name: 'LINKGID', type: 'string' },
|
|
|
|
|
{ name: 'CTNNO', type: 'string' },
|
|
|
|
|
{ name: 'BSNO', type: 'string' },
|
|
|
|
|
{ name: 'REPAIRITEMS', type: 'string' },
|
|
|
|
|
{ name: 'REPAIRTIME', type: 'string' },
|
|
|
|
|
{ name: 'IMAGE_LINDADDR', type: 'string' },
|
|
|
|
|
{ name: 'IMAGE_LINDADDR2', type: 'string' },
|
|
|
|
|
{ name: 'IMAGE1', type: 'string' },
|
|
|
|
|
{ name: 'IMAGE2', type: 'string' },
|
|
|
|
|
{ name: 'CURSTATOIN', type: 'string' },
|
|
|
|
|
{ name: 'FEENAME', type: 'string' },
|
|
|
|
|
{ name: 'CURRENCY', type: 'string' },
|
|
|
|
|
{ name: 'AMOUNT', type: 'number' },
|
|
|
|
|
{ name: 'REMARKS', type: 'string' },
|
|
|
|
|
{ name: 'INPUTBY', type: 'string' },
|
|
|
|
|
{ name: 'INPUTBYREF', type: 'string' },
|
|
|
|
|
{ name: 'INPUTTIME', type: 'string' },
|
|
|
|
|
{ name: 'AUDITSTATUS', type: 'string' },
|
|
|
|
|
{ name: 'AUDITBY', type: 'string' },
|
|
|
|
|
{ name: 'AUDITTIME', type: 'string' },
|
|
|
|
|
{ name: 'AUDITRESULT', type: 'string' }
|
|
|
|
|
]
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
Ext.define('MsOpCtnDelivery', {
|
|
|
|
|
extend: 'Ext.data.Model',
|
|
|
|
|
idProperty: 'GID',
|
|
|
|
|
fields: [
|
|
|
|
|
{ name: 'GID', type: 'string' },
|
|
|
|
|
{ name: 'LINKGID', type: 'string' },
|
|
|
|
|
{ name: 'CTNNO', type: 'string' },
|
|
|
|
|
{ name: 'CHECKITEMS', type: 'string' },
|
|
|
|
|
{ name: 'REMARKS', type: 'string' },
|
|
|
|
|
{ name: 'INPUTBY', type: 'string' },
|
|
|
|
|
{ name: 'INPUTBYREF', type: 'string' },
|
|
|
|
|
{ name: 'INPUTTIME', type: 'string' },
|
|
|
|
|
{ name: 'AUDITSTATUS', type: 'string' },
|
|
|
|
|
{ name: 'AUDITBY', type: 'string' },
|
|
|
|
|
{ name: 'AUDITTIME', type: 'string' },
|
|
|
|
|
{ name: 'AUDITRESULT', type: 'string' },
|
|
|
|
|
{ name: 'COMPANYID', type: 'string' }
|
|
|
|
|
]
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
Ext.define('MsOpCtnClearing', {
|
|
|
|
|
extend: 'Ext.data.Model',
|
|
|
|
|
idProperty: 'GID',
|
|
|
|
|
fields: [
|
|
|
|
|
{ name: 'GID', type: 'string' },
|
|
|
|
|
{ name: 'LINKGID', type: 'string' },
|
|
|
|
|
{ name: 'CTNNO', type: 'string' },
|
|
|
|
|
{ name: 'BSNO', type: 'string' },
|
|
|
|
|
{ name: 'CURSTATOIN', type: 'string' },
|
|
|
|
|
{ name: 'INSTATOINTIME', type: 'string' },
|
|
|
|
|
{ name: 'IMAGE_LINDADDR', type: 'string' },
|
|
|
|
|
{ name: 'EIR', type: 'string' },
|
|
|
|
|
{ name: 'IMAGE1', type: 'string' },
|
|
|
|
|
{ name: 'EIRPATH', type: 'string' },
|
|
|
|
|
{ name: 'CLEARINGMODE', type: 'string' },
|
|
|
|
|
{ name: 'PREGOODSNAME', type: 'string' },
|
|
|
|
|
{ name: 'ISCLEAR_CERT', type: 'bool' },
|
|
|
|
|
{ name: 'CHECKGOV', type: 'string' },
|
|
|
|
|
{ name: 'ISCLEAR_PLAN', type: 'bool' },
|
|
|
|
|
{ name: 'CLEARTIME', type: 'string' },
|
|
|
|
|
{ name: 'IMAGE_CLEAR', type: 'string' },
|
|
|
|
|
{ name: 'IMAGE_CHECKGOV', type: 'string' },
|
|
|
|
|
{ name: 'IMAGE_CLEARPATH', type: 'string' },
|
|
|
|
|
{ name: 'IMAGE_CHECKGOVPATH', type: 'string' },
|
|
|
|
|
{ name: 'ISCOMPLETE', type: 'bool' },
|
|
|
|
|
{ name: 'FEENAME', type: 'string' },
|
|
|
|
|
{ name: 'CURRENCY', type: 'string' },
|
|
|
|
|
{ name: 'AMOUNT', type: 'number' },
|
|
|
|
|
{ name: 'REMARKS', type: 'string' },
|
|
|
|
|
{ name: 'INPUTBY', type: 'string' },
|
|
|
|
|
{ name: 'INPUTBYREF', type: 'string' },
|
|
|
|
|
{ name: 'INPUTTIME', type: 'string' },
|
|
|
|
|
{ name: 'AUDITSTATUS', type: 'string' },
|
|
|
|
|
{ name: 'AUDITBY', type: 'string' },
|
|
|
|
|
{ name: 'AUDITTIME', type: 'string' },
|
|
|
|
|
{ name: 'AUDITRESULT', type: 'string' }
|
|
|
|
|
]
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
Ext.define('CODE_SERVICE', {
|
|
|
|
|
extend: 'Ext.data.Model',
|
|
|
|
|
idProperty: 'SERVICE',
|
|
|
|
|
fields: [
|
|
|
|
|
{ name: 'SERVICE', type: 'string' }
|
|
|
|
|
]
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
Ext.define('MsFeeCurr', {
|
|
|
|
|
extend: 'Ext.data.Model',
|
|
|
|
|
idProperty: 'CURR',
|
|
|
|
|
fields: [
|
|
|
|
|
{ name: 'CURR', type: 'string' },
|
|
|
|
|
{ name: 'DEFRATE', type: 'number' },
|
|
|
|
|
{ name: 'CRDEFRATE', type: 'number' }
|
|
|
|
|
]
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
Ext.define('MsOpCtnApplyCostItems', {
|
|
|
|
|
extend: 'Ext.data.Model',
|
|
|
|
|
idProperty: 'GID',
|
|
|
|
|
fields: [
|
|
|
|
|
{ name: 'GID', type: 'string' },
|
|
|
|
|
{ name: 'LINKGID', type: 'string' },
|
|
|
|
|
{ name: 'ITEMSNO', type: 'number' },
|
|
|
|
|
{ name: 'FEENAME', type: 'string' },
|
|
|
|
|
{ name: 'UNIT', type: 'string' },
|
|
|
|
|
{ name: 'UNITPRICE', type: 'number' },
|
|
|
|
|
{ name: 'CURRENCY', type: 'string' },
|
|
|
|
|
{ name: 'QUANTITY', type: 'number' },
|
|
|
|
|
{ name: 'AMOUNT', type: 'number' },
|
|
|
|
|
{ name: 'PRICETYPE', type: 'string' },
|
|
|
|
|
{ name: 'REMARKS', type: 'string' },
|
|
|
|
|
{ name: 'INPUTBY', type: 'string' },
|
|
|
|
|
{ name: 'INPUTBYREF', type: 'string' },
|
|
|
|
|
{ name: 'INPUTTIME', type: 'string' },
|
|
|
|
|
{ name: 'AUDITSTATUS', type: 'string' },
|
|
|
|
|
{ name: 'AUDITBY', type: 'string' },
|
|
|
|
|
{ name: 'AUDITTIME', type: 'string' },
|
|
|
|
|
{ name: 'AUDITRESULT', type: 'string' }
|
|
|
|
|
]
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Ext.define('MsOpCtnRepairImg', {
|
|
|
|
|
extend: 'Ext.data.Model',
|
|
|
|
|
idProperty: 'GID',
|
|
|
|
|
fields: [
|
|
|
|
|
{ name: 'GID', type: 'string' },
|
|
|
|
|
{ name: 'LINKGID', type: 'string' },
|
|
|
|
|
{ name: 'CTNNO', type: 'string' },
|
|
|
|
|
{ name: 'IMAGEDESC', type: 'string' },
|
|
|
|
|
{ name: 'IMAGE_LINDADDR1', type: 'string' },
|
|
|
|
|
{ name: 'IMAGE1', type: 'string' },
|
|
|
|
|
{ name: 'IMAGE_LINDADDR2', type: 'string' },
|
|
|
|
|
{ name: 'IMAGE2', type: 'string' },
|
|
|
|
|
{ name: 'REMARKS', type: 'string' },
|
|
|
|
|
{ name: 'INPUTBY', type: 'string' },
|
|
|
|
|
{ name: 'INPUTTIME', type: 'string' },
|
|
|
|
|
{ name: 'COMPANYID', type: 'string' }
|
|
|
|
|
]
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
Ext.define('BsDateModel', {
|
|
|
|
|
extend: 'Ext.data.Model',
|
|
|
|
|
//idProperty: 'GID',
|
|
|
|
|
fields: [
|
|
|
|
|
{ name: 'FIELDNAME', type: 'string' },
|
|
|
|
|
{ name: 'NAME', type: 'string' },
|
|
|
|
|
{ name: 'PREVFIELDNAME', type: 'string' },
|
|
|
|
|
{ name: 'PREVNAME', type: 'string' },
|
|
|
|
|
{ name: 'DATEVALUE', type: 'string' }
|
|
|
|
|
]
|
|
|
|
|
});
|