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/WlTruck/WlTruckModel.js

32 lines
1.2 KiB
JavaScript

2 years ago
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' }
]
});