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/MsMlieage/MsMlieageModel.js

30 lines
888 B
JavaScript

2 years ago
Ext.define('MsMlieage', {
extend: 'Ext.data.Model',
idProperty: 'SerialNo',
fields: [
{ name: 'SerialNo', type: 'number' },
{ name: 'TruckNo', type: 'string' },
{ name: 'TruckNo_Ref', type: 'string' },
{ name: 'RptDate', type: 'string' },
{ name: 'TotalMil', type: 'number' },
{ name: 'HeavyMileage', type: 'number' },
{ name: 'EmptyMileage', type: 'number' },
{ name: 'TransVolume', type: 'number' },
{ name: 'AroundTon', type: 'number' }
]
});
Ext.define('MsMlieageRefMsWlTruck', {
extend: 'Ext.data.Model',
fields: [
{ name: 'TruckNo', type: 'string' },
{ name: 'TruckSpec', type: 'string' },
{ name: 'CodeAndName', type: 'string' }
]
});