|
|
|
|
Ext.define('WlTruck', {
|
|
|
|
|
extend: 'Ext.data.Model',
|
|
|
|
|
idProperty: 'TruckNo',
|
|
|
|
|
fields: [
|
|
|
|
|
{ name: 'OrgCode', type: 'string' },
|
|
|
|
|
{ name: 'TruckNo', type: 'string' },
|
|
|
|
|
{ name: 'TruckSpec', type: 'string' },
|
|
|
|
|
{ name: 'TruckType', type: 'string' },
|
|
|
|
|
{ name: 'TrunkColor', type: 'string' },
|
|
|
|
|
{ name: 'TrunkBrand', type: 'string' },
|
|
|
|
|
{ name: 'LoadCount', type: 'float' },
|
|
|
|
|
{ name: 'CjNo', type: 'string' },
|
|
|
|
|
{ name: 'FdjNo', type: 'string' },
|
|
|
|
|
{ name: 'GzDate', type: 'string' },
|
|
|
|
|
{ name: 'ZrDate', type: 'string' },
|
|
|
|
|
{ name: 'DrvCode', type: 'string' },
|
|
|
|
|
{ name: 'DrvCode_Ref', type: 'string' },
|
|
|
|
|
{ name: 'NowStatus', type: 'string' },
|
|
|
|
|
{ name: 'DepCode', type: 'string' },
|
|
|
|
|
{ name: 'TruncClass', type: 'string' },
|
|
|
|
|
{ name: 'Remark', type: 'string' }
|
|
|
|
|
]
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
Ext.define('WlDriver', {
|
|
|
|
|
extend: 'Ext.data.Model',
|
|
|
|
|
fields: [
|
|
|
|
|
{ name: 'DrvCode', type: 'string' },
|
|
|
|
|
{ name: 'DrvName', type: 'string' }
|
|
|
|
|
]
|
|
|
|
|
});
|