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/MsOpCtnRentBuy/MsOpCtnRentBuyModel.js

164 lines
6.0 KiB
JavaScript

Ext.define('MsCodeGoods', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'STATUSREF', type: 'string' },
{ name: 'CNTRNO', type: 'string' },
{ name: 'CNTROWNER', type: 'string' },
{ name: 'CNSOURCE', type: 'string' },
{ name: 'BUYTIME', type: 'string' },
{ name: 'SELLTIME', type: 'string' },
{ name: 'RENT_BEGINTIME', type: 'string' },
{ name: 'RENT_ENDTIME', type: 'string' },
{ name: 'Remarks', type: 'string' },
{ name: 'INPUTTIME', type: 'string' },
{ name: 'RENT_BEGINTIME', type: 'string' },
{ name: 'BSNO', type: 'string' },
{ name: 'CTNTYPEREF', type: 'string' },
{ name: 'INPUTBY', type: 'string' },
{ name: 'BSDATE', type: 'string' },
{ name: 'RENTDAY', type: 'string' },
{ name: 'AUDITSTATUS', type: 'string' },
{ name: 'AUDITBY', type: 'string' },
{ name: 'AUDITTIME', type: 'string' },
{ name: 'AUDITRESULT', type: 'string' },
{ name: 'SELLBY',type:'string' }
]
});
Ext.define('MsFeeCurr', {
extend: 'Ext.data.Model',
idProperty: 'CURR',
fields: [
{ name: 'CURR', type: 'string' },
{ name: 'DEFRATE', type: 'number' }
]
});
Ext.define('DsShipping.ux.CustomRefModel', {
extend: 'Ext.data.Model',
fields: [
{ name: 'GId', type: 'string' },
{ name: 'CustCode', type: 'string' },
{ name: 'CustName', type: 'string' },
{ name: 'CodeAndName', type: 'string' },
{ name: 'DESCRIPTION', type: 'string' },
{ name: 'SALE', type: 'string' },
{ name: 'BSSOURCE', type: 'string' },
{ name: 'FEEFRT', type: 'string' },
{ name: 'EMAIL', type: 'string' },
{ name: 'TEL', type: 'string' }
]
});
Ext.define('aaaModel', {
extend: 'Ext.data.Model',
fields: [
{ name: 'GId', type: 'string' },
{ name: 'CustCode', type: 'string' },
{ name: 'CustName', type: 'string' },
{ name: 'CodeAndName', type: 'string' },
{ name: 'DESCRIPTION', type: 'string' },
{ name: 'SALE', type: 'string' },
{ name: 'BSSOURCE', type: 'string' },
{ name: 'FEEFRT', type: 'string' },
{ name: 'EMAIL', type: 'string' },
{ name: 'TEL', type: 'string' }
]
});
Ext.define('DsShipping.ux.PortRefModel', {
extend: 'Ext.data.Model',
fields: [
{ name: 'PORTID', type: 'string' },
{ name: 'PORT', type: 'string' },
{ name: 'CNAME', type: 'string' },
{ name: 'PORTANDNAME', type: 'string' }
]
});
Ext.define('DsShipping.ux.CustomRefModel', {
extend: 'Ext.data.Model',
fields: [
{ name: 'GId', type: 'string' },
{ name: 'CustCode', type: 'string' },
{ name: 'CustName', type: 'string' },
{ name: 'CodeAndName', type: 'string' },
{ name: 'DESCRIPTION', type: 'string' },
{ name: 'SALE', type: 'string' },
{ name: 'BSSOURCE', type: 'string' },
{ name: 'FEEFRT', type: 'string' },
{ name: 'EMAIL', type: 'string' },
{ name: 'TEL', type: 'string' }
]
});
Ext.define('DsShipping.ux.CodeLoadportModel', {
extend: 'Ext.data.Model',
fields: [
{ name: 'PORT', type: 'string' },
{ name: 'CNAME', type: 'string' },
{ name: 'EDICODE', type: 'string' },
{ name: 'CodeAndName', type: 'string' }
]
});
Ext.define('MsCodeGoodsDetail', {
extend: 'Ext.data.Model',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'LINKGID', type: 'string' },
{ name: 'GOODSDETAILNAME', type: 'string' },
{ name: 'GOODSDETAILPKGS', type: 'number' },
{ name: 'REMARK', type: 'string' }
]
});
Ext.define('DsShipping.ux.CodeCtnModel', {
extend: 'Ext.data.Model',
fields: [
{ name: 'CTN', type: 'string' }
]
});
Ext.define('CtnoutinmxDetail', {
extend: 'Ext.data.Model',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'LINKGID', type: 'string' },
{ name: 'cntype', type: 'string' },
{ name: 'CNTRNO', type: 'string' },
{ name: 'UnitPrice', type: 'string' },
{ name: 'Currency', type: 'string' },
{ name: 'STATUS', type: 'string' },
{ name: 'cnsource', type: 'string' },
{ name: 'SPORT', type: 'string' },
{ name: 'sCustName', type: 'string' },
{ name: 'REMARKS', type: 'string' },
{ name: 'EPORT', type: 'string' },
{ name: 'eCustName', type: 'string' },
{ name: 'ONEWAY', type: 'string' },
{ name: 'FREEUSE', type: 'string' },
{ name: 'cntage', type: 'string'}]
});
Ext.define('countryype', {
extend: 'Ext.data.Model',
fields: [
{ name: 'Gid', type: 'string' },
{ name: 'countryid', type: 'string' },
{ name: 'country', type: 'string' }
]
});
Ext.define('gangkoutype', {
extend: 'Ext.data.Model',
fields: [
{ name: 'gkid', type: 'string' },
{ name: 'gkname', type: 'string' }
]
});
Ext.define('LaneType', {
extend: 'Ext.data.Model',
fields: [
{name:'GID',type:'string'},
{ name: 'laneid', type: 'string' },
{ name: 'LANE', type: 'string' }
]
});