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/Import/Viewsjs/CargoName/CargoNameModel.js

87 lines
2.6 KiB
JavaScript

2 years ago
/*Ext.define('GYSmb', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'GId', type: 'string' },
{ name: 'CustCode', type: 'string' },
{ name: 'CustName', type: 'string' }
]
});*/
Ext.define('FactoryNomb', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'CLIENTGID', type: 'string' },
{ name: 'FACTORYNO', type: 'string' },
{ name: 'COUNTRYID', type: 'string' },
{ name: 'COUNTRY', type: 'string' },
{ name: 'REMARK', type: 'string' }
]
});
Ext.define('CargoNamemb', {
extend: 'Ext.data.Model',
idProperty: 'id',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'FACTORYNOGID', type: 'string' },
{ name: 'CLIENTGID', type: 'string' },
{ name: 'ENNAME', type: 'string' },
{ name: 'CNNAME', type: 'string' },
{ name: 'HS_ID', type: 'string' },
{ name: 'CIQ_ID', type: 'string' },
{ name: 'MODIFIEDUSER', type: 'string' },
{ name: 'MODIFIEDTIME', type: 'string' },
{ name: 'HSREF', type: 'string' },
{ name: 'CIQREF', type: 'string' },
{ name: 'SBYS', type: 'string' },
{ name: 'CARGOTYPE', type: 'string' },
{ name: 'CODENAME', type: 'string' },
{ name: 'AREA', type: 'string' },
{ name: 'TAGPICURL', type: 'string' }
]
});
Ext.define('Tradermb', {
extend: 'Ext.data.Model',
idProperty: 'gid',
fields: [
{ name: 'gid', type: 'string' },
{ name: 'name', type: 'string' },
{ name: 'codename', type: 'string' },
{ name: 'description', type: 'string' }
]
});
Ext.define('CargoRef', {
extend: 'Ext.data.Model',
fields: [
{ name: 'id', type: 'string' },
{ name: 'name', type: 'string' },
{ name: 'codeandname', type: 'string' }
]
});
Ext.define('CargociqRef', {
extend: 'Ext.data.Model',
fields: [
{ name: 'id', type: 'string' },
{ name: 'ciqname', type: 'string' },
{ name: 'codeandname', type: 'string' }
]
});
Ext.define('ConutryRef', {
extend: 'Ext.data.Model',
fields: [
{ name: 'countryid', type: 'string' },
{ name: 'country', type: 'string' },
{ name: 'country_idandname', type: 'string' }
]
});