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.

55 lines
2.0 KiB
JavaScript

11 months ago
Ext.define('MsWlDriver', {
extend: 'Ext.data.Model',
idProperty: 'DrvCode',
fields: [
{ name: 'RowNumber', type: 'string' },
{ name: 'OrgCode', type: 'string' },
{ name: 'DrvCode', type: 'string' },
{ name: 'DrvName', type: 'string' },
{ name: 'DrvClass', type: 'string' },
{ name: 'DrvClass_Ref', type: 'string' },
{ name: 'JzNo', type: 'string' },
{ name: 'LzDate', type: 'string' },
{ name: 'LimitDays', type: 'number' },
{ name: 'DriverYears', type: 'number' },
{ name: 'TruckType', type: 'string' },
{ name: 'TruckType_Ref', type: 'string' },
{ name: 'Licence', type: 'string' },
{ name: 'YearCheckDate', type: 'string' },
{ name: 'NextCheckDate', type: 'string' },
{ name: 'NoticeDays', type: 'number' },
{ name: 'Mobile', type: 'string' },
{ name: 'OffTel', type: 'string' },
{ name: 'Remark', type: 'string' },
{ name: 'CertificateNo', type: 'string' },
{ name: 'Addr', type: 'string' },
{ name: 'GID', type: 'string' }
]
});
Ext.define('MsUploadFile', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'PID', type: 'string' },
{ name: 'UPLOADEMPLY', type: 'string' },
{ name: 'UPLOADDATE', type: 'date', dateFormat: 'Y-m-d' },
{ name: 'FILETYPE', type: 'string' },
{ name: 'FILEPATH', type: 'string' },
{ name: 'FILENAME', type: 'string' }
]
});
Ext.define('companymb', {
extend: 'Ext.data.Model',
fields: [
{ name: 'gid', type: 'string' },
{ name: 'code', type: 'string' },
{ name: 'name', type: 'string' }
]
});