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/Import/Viewsjs/approval/approvalModel.js

99 lines
3.6 KiB
JavaScript

2 years ago
Ext.define('approvalmb', {
extend: 'Ext.data.Model',
idProperty: 'id',
fields: [
{ name: 'id', type: 'string' },
{ name: 'gid', type: 'string' },
{ name: 'SQDH', type: 'string' },
{ name: 'SLJG', type: 'string' },
{ name: 'portRef', type: 'string' },
{ name: 'APPNO', type: 'string' },
{ name: 'Countryid', type: 'string' },
{ name: 'Country', type: 'string' },
{ name: 'Weight', type: 'string' },
{ name: 'usedweight', type: 'string' },
{ name: 'remain', type: 'string' },
{ name: 'ValidDate', type: 'string' },
{ name: 'cargoinfo_id', type: 'string' },
{ name: 'cargociq_id', type: 'string' },
{ name: 'AppName', type: 'string' },
{ name: 'code', type: 'string' },
{ name: 'name', type: 'string' },
{ name: 'ciqcode', type: 'string' },
{ name: 'ciqname', type: 'string' },
{ name: 'used', type: 'string' },
{ name: 'selected', type: 'string' },
{ name: 'canbeused', type: 'string' },
{ name: 'isdeleted', type: 'string' },
{ name: 'isdeletedRef', type: 'string' },
{ name: 'company', type: 'string' },
{ name: 'companyname', type: 'string' },
{ name: 'depot', type: 'string' },
{ name: 'JustWriteoffs', type: 'string' },
{ name: 'REMARK', type: 'string' },
{ name: 'SPECIFICATIONS', type: 'string' }
]
});
Ext.define('ConutryRef', {
extend: 'Ext.data.Model',
fields: [
{ name: 'countryid', type: 'string' },
{ name: 'country', type: 'string' },
{ name: 'country_idandname', type: 'string' }
]
});
Ext.define('CargoRef', {
extend: 'Ext.data.Model',
fields: [
{ name: 'id', type: 'string' },
{ name: 'code', 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('Usingmb', {
extend: 'Ext.data.Model',
idProperty: 'weight' + 'contractno',
fields: [
{ name: 'weight', type: 'string' },
{ name: 'ContractNo', type: 'string' },
{ name: 'HTH', type: 'string' },
{ name: 'seller', type: 'string' },
{ name: 'buyer', type: 'string' },
{ name: 'code', type: 'string' },
{ name: 'name', type: 'string' },
{ name: 'hsname', type: 'string' },
{ name: 'ciqcode', type: 'string' },
{ name: 'ciqname', type: 'string' },
{ name: 'cargoname', type: 'string' },
{ name: 'cancellationRef', type: 'string' },
{ name: 'cancellation_date', type: 'string' },
{ name: 'ArrivalDate', type: 'string' },
{ name: 'MainstateRef', type: 'string' },
{ name: 'REMARK', type: 'string' }
]
});
Ext.define('companymb', {
extend: 'Ext.data.Model',
fields: [
{ name: 'gid', type: 'string' },
{ name: 'name', type: 'string' }
]
});