be297b00141b04a6bc113093e3fa83072d10081a.svn-base 718 B

123456789101112131415161718
  1. BemsWebApplication.WorkCodeType = function( params, viewInfo ) {
  2. "use strict";
  3. var viewModel = BWA.DataGrid.createViewWithDataGrid( params, viewInfo, 'FmsWorkCodeType', {
  4. columns: [
  5. { dataField: 'WorkTypeId', caption: $G('number'), width: '15%', alignment: 'center' },
  6. { dataField: 'Name', caption: $G( 'workCodeTypeName' ), width: '35%', alignment: 'center' },
  7. { dataField: 'Description', caption: $G('description'), width: '50%', alignment: 'center' }
  8. ],
  9. popupWidth: 480,
  10. isUseSiteId: false,
  11. //notDeleteInPopup: true // hcLee 2015 03 06
  12. useDeleteButton: false // hcLee 2015 03 06
  13. } );
  14. return viewModel;
  15. };