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/TruckMng/Viewsjs/MsWlTyreAcc/MsWlTyreAccModel.js

37 lines
1.4 KiB
JavaScript

Ext.define('MsWlTyreAcc', {
extend: 'Ext.data.Model',
idProperty: 'SerialNo',
fields: [
{ name: 'SerialNo', type: 'number' },
{ name: 'TruckNo', type: 'string' },
{ name: 'TruckNo_Ref', type: 'string' },
{ name: 'PluCode', type: 'string' },
{ name: 'PluCode_Ref', type: 'string' },
{ name: 'Spec', type: 'string' },
{ name: 'TyreType', type: 'string' },
{ name: 'TyreType_Ref', type: 'string' },
{ name: 'TyrePos', type: 'string' },
{ name: 'TyrePos_Ref', type: 'string' },
{ name: 'PcNo', type: 'string' },
{ name: 'PlanMil', type: 'number' },
{ name: 'UseDate', type: 'string' },
{ name: 'RoofDate', type: 'string' },
{ name: 'RealMil', type: 'number' },
{ name: 'ScrapDate', type: 'string' },
{ name: 'ScrapMil', type: 'number' },
{ name: 'YkMil', type: 'number' },
{ name: 'OrgCode', type: 'string' },
{ name: 'Remark', type: 'string' }
]
});
Ext.define('MsWlTyreAccRefMsWlTruck', {
extend: 'Ext.data.Model',
fields: [
{ name: 'TruckNo', type: 'string' },
{ name: 'TruckSpec', type: 'string' },
{ name: 'CodeAndName', type: 'string' }
]
});