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/MvcContainer/Viewsjs/MsOpCtnApply/MsOpCtnApplyModel.js

201 lines
8.7 KiB
JavaScript

Ext.define('MsOpCtnApply', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'BSNO', type: 'string' },
{ name: 'APPLYID', type: 'string' },
{ name: 'MODIFYTYPE', type: 'string' },
{ name: 'REASON', type: 'string' },
{ name: 'MDSTATUS', type: 'string' },
{ name: 'BSDATE', type: 'string' },
{ name: 'SALE', type: 'string' },
{ name: 'BSSTATUS', type: 'string' },
{ name: 'OP', type: 'string' },
{ name: 'GOODSNAME', type: 'string' },
{ name: 'GOODSNAMEREF', type: 'string' },
{ name: 'GOODTYPE', type: 'string' },
{ name: 'PORTLOAD', type: 'string' },
{ name: 'PORTDISCHARGE', type: 'string' },
{ name: 'CTNALL', type: 'string' },
{ name: 'CTNNUM', type: 'number' },
{ name: 'ISOWNERBOOKING', type: 'bool' },
{ name: 'CUSTOMERNAME', type: 'string' },
{ name: 'FACTORYNAME', type: 'string' },
{ name: 'FACTORYADDR', type: 'string' },
{ name: 'PLANCTNDATE', type: 'string' },
{ name: 'REMARKS', type: 'string' },
{ name: 'INPUTBY', type: 'string' },
{ name: 'INPUTBYREF', type: 'string' },
{ name: 'INPUTTIME', type: 'string' },
{ name: 'ISGOODSNAMESAME', type: 'bool' },
{ name: 'PREGOODSNAME', type: 'string' },
{ name: 'CURGOODSNAME', type: 'string' },
{ name: 'PRODUCTGOODSNAME', type: 'string' },
{ name: 'OWNERCTN', type: 'string' },
{ name: 'PH', type: 'string' },
{ name: 'DENSITY', type: 'string' },
{ name: 'UNNO', type: 'string' },
{ name: 'DCLASS', type: 'string' },
{ name: 'SDCLASS', type: 'string' },
{ name: 'PACKINGGROUP', type: 'string' },
{ name: 'ISPOLLUTEOCEAN', type: 'bool' },
{ name: 'ISPORTLOADDATE', type: 'bool' },
{ name: 'MELTINGPOINT', type: 'string' },
{ name: 'BOILINGPOINT', type: 'string' },
{ name: 'FLASHPOINT', type: 'string' },
{ name: 'IMDG', type: 'string' },
{ name: 'AUDITSTATUS', type: 'string' },
{ name: 'AUDITBY', type: 'string' },
{ name: 'AUDITBYREF', type: 'string' },
{ name: 'AUDITTIME', type: 'string' },
{ name: 'AUDITRESULT', type: 'string' },
{ name: 'AGENTINPUTBY', type: 'string' },
{ name: 'SUBMITBY', type: 'string' },
{ name: 'SUBMITBYREF', type: 'string' },
{ name: 'SUBMITTIME', type: 'string' },
{ name: 'CTNNUMS', type: 'string' },
{ name: 'CYCLEDAYS', type: 'number' },
{ name: 'CHANGERATE', type: 'number' },
{ name: 'FULL_CTN_FREE_STORAGE_DAY', type: 'number' },
{ name: 'FULL_CTN_OVER_STORAGE_RATE', type: 'number' },
{ name: 'CLEAR_CTN_FREE_STORAGE_DAY', type: 'number' },
{ name: 'CLEAR_CTN_OVER_STORAGE_RATE', type: 'number' },
{ name: 'NO_CLEAR_CTN_FREE_STORAGE_DAY', type: 'number' },
{ name: 'NO_CLEAR_CTN_OVER_STORAGE_RATE', type: 'number' },
{ name: 'CTN_PRICE', type: 'number' },
{ name: 'CURRENCY', type: 'string' },
{ name: 'CTN_INCOME', type: 'number' },
{ name: 'LOAD_FREE_USECTNE_DAY', type: 'number' },
{ name: 'LOAD_OVER_USECTNE_RATE', type: 'number' },
{ name: 'DEST_FREE_USECTNE_DAY', type: 'number' },
{ name: 'DEST_OVER_USECTNE_RATE', type: 'number' },
{ name: 'SLOAD_FREE_USECTNE_DAY', type: 'number' },
{ name: 'SLOAD_OVER_USECTNE_RATE', type: 'number' },
{ name: 'SDEST_FREE_USECTNE_DAY', type: 'number' },
{ name: 'SDEST_OVER_USECTNE_RATE', type: 'number' },
{ name: 'COSTTTL', type: 'number' },
{ name: 'COSTAUDITSTATUS', type: 'string' },
{ name: 'COSTAUDITBY', type: 'string' },
{ name: 'COSTAUDITBYREF', type: 'string' },
{ name: 'COSTAUDITTIME', type: 'string' },
{ name: 'COSTSUBMITBY', type: 'string' },
{ name: 'COSTSUBMITBYREF', type: 'string' },
{ name: 'COSTSUBMITTIME', type: 'string' },
{ name: 'COSTAUDITRESULT', type: 'string' },
{ name: 'ACCAUDITSTATUS', type: 'string' },
{ name: 'ACCAUDITBY', type: 'string' },
{ name: 'ACCAUDITBYREF', type: 'string' },
{ name: 'ACCAUDITTIME', type: 'string' },
{ name: 'ACCAUDITRESULT', type: 'string' },
{ name: 'ADDCTNSTATUS', type: 'string' },
{ name: 'BSAUDITSTATUS', type: 'string' },
{ name: 'BSAUDITBY', type: 'string' },
{ name: 'BSAUDITBYREF', type: 'string' },
{ name: 'BSAUDITTIME', type: 'string' },
{ name: 'BSAUDITRESULT', type: 'string' },
{ name: 'COMPANYID', type: 'string' },
{ name: 'MNGAUDITRESULT', type: 'string' },
{ name: 'MNGAUDITSTATUS', type: 'string' },
{ name: 'AGENTNAME', type: 'string' },
{ name: 'DESTPORT_STATOIN', type: 'string' },//目的港还箱堆场
{ name: 'SERVICE', type: 'string' },//运输条款
{ name: 'NEEDBEHEATED', type: 'string' },//是否加热
{ name: 'AGENTINPUTBY', type: 'string' },//代理维护人
{ name: 'WEIGHT', type: 'number' },//重量
{ name: 'PREI_ETD', type: 'string' },//预计开船日期
{ name: 'EMPTYCTNALLOCATION', type: 'string' }//空箱调拨
]
});
Ext.define('MsOpCtnApplyCostItems', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'LINKGID', type: 'string' },
{ name: 'ITEMSNO', type: 'number' },
{ name: 'CUSTOMERNAME', type: 'string' },
{ 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: 'EXCHANGERATE', type: 'number' },
{ name: 'PRICETYPE', type: 'string' },
{ name: 'REMARKS', type: 'string' },
{ name: 'GOODSNAME', 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('MsOpCtnApplySaleItems', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'LINKGID', type: 'string' },
{ name: 'ITEMSNO', type: 'number' },
{ name: 'ITEMNAME', type: 'string' },
{ name: 'REMARKS', type: 'string' },
{ name: 'INPUTBY', type: 'string' },
{ name: 'INPUTBYREF', type: 'string' },
{ name: 'INPUTTIME', type: 'string' },
{ name: 'COMPANYID', type: 'string' }
]
});
Ext.define('MsOpCtnApplyCtnItems', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'LINKGID', type: 'string' },
{ name: 'ITEMSNO', type: 'number' },
{ name: 'CTNNO', type: 'string' },
{ name: 'CTNPROP', type: 'string' },
{ name: 'INSPECTION_EXPIRE_DATE', type: 'string' },
{ name: 'INSURANCE_EXPIRE_DATE', type: 'string' },
{ name: 'OWNERCTN', type: 'string' },
{ name: 'CURPORT', type: 'string' },
{ name: 'CURSTATOIN', type: 'string' },
{ name: 'TANKVOLUMN', type: 'string' },
{ name: 'PREGOODNAME', 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('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' }
]
});