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.

164 lines
6.2 KiB
JavaScript

Ext.define('MsWlTruck', {
extend: 'Ext.data.Model',
idProperty: 'TruckNo',
fields: [
{ name: 'RowNumber', type: 'string' },
{ name: 'OrgCode', type: 'string' },
{ name: 'TruckNo', type: 'string' },
{ name: 'TruckSpec', type: 'string' },
{ name: 'TruckType', type: 'string' },
{ name: 'TruckType_Ref', type: 'string' },
{ name: 'TrunkColor', type: 'string' },
{ name: 'TrunkBrand', type: 'string' },
{ name: 'LoadCount', type: 'number' },
{ 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: 'DrvName', type: 'string' },
{ name: 'NowStatus', type: 'string' },
{ name: 'NowStatus_Ref', type: 'string' },
{ name: 'TruncClass', type: 'string' },
{ name: 'NsDqDate', type: 'string' },
{ name: 'VerifiType', type: 'string' },
{ name: 'VerifiType_Ref', type: 'string' },
{ name: 'InsureType', type: 'string' },
{ name: 'InsureType_Ref', type: 'string' },
{ name: 'InsureDate', type: 'string' },
{ name: 'AcciDate', type: 'string' },
{ name: 'AcciExplain', type: 'string' },
{ name: 'DealResult', type: 'string' },
{ name: 'RepairDate', type: 'string' },
{ name: 'IsRotine', type: 'string' },
{ name: 'Remark', type: 'string' },
{ name: 'CodeAndName', type: 'string' },
{ name: 'Emissions', type: 'string' },
{ name: 'Emissions_Ref', type: 'string' },
{ name: 'BizProperty', type: 'string' },
{ name: 'BizProperty_Ref', type: 'string' },
{ name: 'NativeAddr', type: 'string' },
{ name: 'MngOrg', type: 'string' },
{ name: 'Property', type: 'string' },
{ name: 'Property_Ref', type: 'string' },
{ name: 'FuelType', type: 'string' },
{ name: 'FuelType_Ref', type: 'string' },
{ name: 'Level2Date', type: 'string' },
{ name: 'UnloadFuel', type: 'number' },
{ name: 'CraneFuel', type: 'number' },
{ name: 'BasisFuel', type: 'number' },
{ name: 'TonMilFuel', type: 'number' },
{ name: 'OWNER', type: 'number' },
{ name: 'WORKNO', type: 'number' },
{ name: 'LINKTRUCKNO', type: 'string' }
]
});
Ext.define('MsWlTruckFuel', {
extend: 'Ext.data.Model',
idProperty: '',
fields: [
{ name: 'TruckNo', type: 'string' },
{ name: 'SerialNo', type: 'number' },
{ name: 'LoadType', type: 'string' },
{ name: 'LoadType_Ref', type: 'string' },
{ name: 'Condition1', type: 'string' },
{ name: 'Ton1', type: 'number' },
{ name: 'Condition2', type: 'string' },
{ name: 'Ton2', type: 'number' },
{ name: 'FuelTotal', type: 'number' },
{ name: 'FuelPrice', type: 'number' },
{ name: 'Remark', type: 'string' }
]
});
Ext.define('MsWlTruckRefMsWlDriver', {
extend: 'Ext.data.Model',
fields: [
{ name: 'DrvCode', type: 'string' },
{ name: 'DrvName', type: 'string' },
{ name: 'CodeAndName', type: 'string' }
]
});
Ext.define('MsWlTruckFeemb', {
extend: 'Ext.data.Model',
idProperty: 'id',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'TruckNo', type: 'string' },
{ name: 'FeeDate', type: 'date' },
{ name: 'FeeName', type: 'string' },
{ name: 'Amount', type: 'number' },
{ name: 'Remark', type: 'string' },
{ name: 'Inserted', type: 'string' }
]
});
Ext.define('companymb', {
extend: 'Ext.data.Model',
fields: [
{ name: 'gid', type: 'string' },
{ name: 'code', type: 'string' },
{ name: 'name', type: 'string' }
]
});
Ext.define('MsWlTruckTeammb', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'ORGCODE', type: 'string' },
{ name: 'COMPANYNAME', type: 'string' },
{ name: 'TEAMNAME', type: 'string' },
{ name: 'INSERTED', type: 'string' }
]
});
Ext.define('Truckmb', {
extend: 'Ext.data.Model',
fields: [
{ name: 'TruckNo', type: 'string' },
{ name: 'DrvCode', type: 'string' },
{ name: 'Mobile', type: 'string' }
, { name: 'WORKNOTruckNo', type: 'string' }
, { name: 'COMPANYNAME', type: 'string' }
, { name: 'TEAMNAME', type: 'string' }
]
});
Ext.define('TruckMonthmb', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'TRUCKNO', type: 'string' },
{ name: 'ACCDATE', type: 'date' },
{ name: 'ZJF', type: 'string' },
{ name: 'BXF', type: 'string' },
{ name: 'GZCR', type: 'string' },
{ name: 'XLCR', type: 'string' },
{ name: 'ZCR', type: 'string' }
]
});
Ext.define('TruckCert', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'TruckNo', type: 'string' },
{ name: 'Pic_Type', type: 'number' },
{ name: 'UpdateTime', type: 'string' },
{ name: 'Operator', type: 'string' },
{ name: 'Pic_Path', type: 'string' },
{ name: 'Pic_Name', type: 'string' },
{ name: 'CertTypeName', type: 'string' }
]
});