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/Areas/TruckMng/Viewsjs/MsWlTyre/MsWlTyreModel.js

34 lines
1.3 KiB
JavaScript

2 years ago
Ext.define('MsWlTyre', {
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: 'InitMil', type: 'number' },
{ name: 'InitDate', type: 'string' },
{ name: 'RealMil', type: 'number' },
{ name: 'OrgCode', type: 'string' },
{ name: 'Remark', type: 'string' }
]
});
Ext.define('MsWlTyreRefMsWlTruck', {
extend: 'Ext.data.Model',
fields: [
{ name: 'TruckNo', type: 'string' },
{ name: 'TruckSpec', type: 'string' },
{ name: 'CodeAndName', type: 'string' }
]
});