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.
95 lines
3.3 KiB
JavaScript
95 lines
3.3 KiB
JavaScript
|
|
Ext.define('MsCodeMSDS', {
|
|
extend: 'Ext.data.Model',
|
|
idProperty: 'GID',
|
|
fields: [
|
|
{ name: 'GID', type: 'string' },
|
|
{ name: 'GOODNAME', type: 'string' },
|
|
{ name: 'TRADEGOODSNAME', type: 'string' },
|
|
{ name: 'CHEMICALGOODSNAME', type: 'string' },
|
|
{ name: 'CHEMICALCGOODSNAME', type: 'string' },
|
|
{ name: 'CASNO', type: 'string' },
|
|
{ name: 'UNNO', type: 'string' },
|
|
{ name: 'DCLASS', type: 'string' },
|
|
{ name: 'SDCLASS', type: 'string' },
|
|
{ name: 'PACKINGGROUP', type: 'string' },
|
|
{ name: 'ISPOLLUTEOCEAN', type: 'bool' },
|
|
{ name: 'ISDANGEROUS', type: 'bool' },
|
|
{ name: 'ISWHITE', type: 'bool' },
|
|
{ name: 'ISSTOP', type: 'bool' },
|
|
{ name: 'MELTINGPOINTB', type: 'string' },
|
|
{ name: 'BOILINGPOINTB', type: 'string' },
|
|
{ name: 'FLASHPOINTB', type: 'string' },
|
|
{ name: 'MELTINGPOINTE', type: 'string' },
|
|
{ name: 'BOILINGPOINTE', type: 'string' },
|
|
{ name: 'FLASHPOINTE', type: 'string' },
|
|
{ name: 'DENSITY', type: 'string' },
|
|
{ name: 'PH', type: 'string' },
|
|
{ name: 'STABILITY', type: 'string' },
|
|
{ name: 'IMDG', type: 'string' },
|
|
{ name: 'REMARKS', type: 'string' },
|
|
{ name: 'GOODSTYPE', type: 'string' },
|
|
{ name: 'INPUTBY', type: 'string' },
|
|
{ name: 'INPUTBYREF', type: 'string' },
|
|
{ name: 'INPUTTIME', type: 'string' },
|
|
{ name: 'GOODNAMEANDCNAME', type: 'string' },
|
|
{ name: 'COMPANYID', type: 'string' }
|
|
]
|
|
});
|
|
|
|
|
|
|
|
Ext.define('MsCodeMSDSFactry', {
|
|
extend: 'Ext.data.Model',
|
|
idProperty: 'GID',
|
|
fields: [
|
|
{ name: 'GID', type: 'string' },
|
|
{ name: 'MSDSID', type: 'string' },
|
|
{ name: 'FACTORYNAME', type: 'string' },
|
|
{ name: 'CUSTOMERNAME', type: 'string' },
|
|
{ name: 'FACTORYADDR', type: 'string' },
|
|
{ name: 'CONSIGNEE', type: 'string' },
|
|
{ name: 'CONSIGNEEADDR', type: 'string' },
|
|
{ name: 'CONSIGNEECTNHISTRY', type: 'string' },
|
|
{ name: 'REMARKS', type: 'string' },
|
|
{ name: 'INPUTBY', type: 'string' },
|
|
{ name: 'INPUTBYREF', type: 'string' },
|
|
{ name: 'LINKTEL', type: 'string' },
|
|
{ name: 'SALE', type: 'string' },
|
|
{ name: 'INPUTTIME', type: 'string' },
|
|
]
|
|
});
|
|
|
|
|
|
Ext.define('MsCodeMSDSRejection', {
|
|
extend: 'Ext.data.Model',
|
|
idProperty: 'GID',
|
|
fields: [
|
|
{ name: 'GID', type: 'string' },
|
|
{ name: 'MSDSID', type: 'string' },
|
|
{ name: 'REJECTID', type: 'string' },
|
|
{ name: 'GOODNAME', type: 'string' },
|
|
{ name: 'REMARKS', type: 'string' },
|
|
{ name: 'INPUTBY', type: 'string' },
|
|
{ name: 'INPUTBYREF', type: 'string' },
|
|
{ name: 'INPUTTIME', type: 'string' },
|
|
]
|
|
});
|
|
|
|
|
|
Ext.define('ReceiptDocmb', {
|
|
extend: 'Ext.data.Model',
|
|
idProperty: 'FieldName',
|
|
fields: [
|
|
{ name: 'GID', type: 'string' },
|
|
{ name: 'RECEIPTTYPE', type: 'string' },
|
|
{ name: 'R_GID', type: 'string' },
|
|
{ name: 'BSNO', type: 'string' },
|
|
{ name: 'URL', type: 'string' },
|
|
{ name: 'Driect_URL', type: 'string' },
|
|
{ name: 'MODIFIEDUSER', type: 'string' },
|
|
{ name: 'MODIFIEDUSERRef', type: 'string' },
|
|
{ name: 'MODIFIEDTIME', type: 'string' }
|
|
]
|
|
});
|