Ext.define('MsWlPcHead', { extend: 'Ext.data.Model', idProperty: 'BillNo', fields: [ { name: 'BillNo', type: 'string' }, { name: 'LrDate', type: 'string' }, { name: 'JzDate', type: 'string' }, { name: 'UserCode', type: 'string' }, { name: 'UserName', type: 'string' }, { name: 'OrgCode', type: 'string' }, { name: 'OrgName', type: 'string' }, { name: 'TruckNo', type: 'string' }, { name: 'TruckNo_Ref', type: 'string' }, { name: 'DrvCode', type: 'string' }, { name: 'DrvName', type: 'string' }, { name: 'DrvName_Ref', type: 'string' }, { name: 'Mobile', type: 'string' }, { name: 'ExpDate', type: 'string' }, { name: 'ContainerType', type: 'string' }, { name: 'ContainerType_Ref', type: 'string' }, { name: 'ContainerQty', type: 'number' }, { name: 'VoyVeg', type: 'string' }, { name: 'VoyVeg_Ref', type: 'string' }, { name: 'EtDate', type: 'string' }, { name: 'EndPortDate', type: 'string' }, { name: 'MblNo', type: 'string' }, { name: 'YardCode', type: 'string' }, { name: 'YardCode_Ref', type: 'string' }, { name: 'YardName', type: 'string' }, { name: 'RtnYardCode', type: 'string' }, { name: 'RtnYardCode_Ref', type: 'string' }, { name: 'RtnYardName', type: 'string' }, { name: 'FuelQty', type: 'number' }, { name: 'OilLrDate', type: 'string' }, { name: 'OilUser', type: 'string' }, { name: 'OilUser_Ref', type: 'string' } ] }); Ext.define('MsWlTruckRef', { extend: 'Ext.data.Model', fields: [ { name: 'TruckNo', type: 'string' }, { name: 'DrvCode', type: 'string' }, { name: 'Mobile', type: 'string' } ] }); Ext.define('MsWlDriverRef', { extend: 'Ext.data.Model', fields: [ { name: 'DrvCode', type: 'string' }, { name: 'DrvName', type: 'string' }, { name: 'CodeAndName', type: 'string' } ] });