www/js/prod_divide.js

changeset 645
3b1510050c9b
parent 615
9034e65b0d7a
child 710
9646123ea063
equal deleted inserted replaced
644:4654b8ee4690 645:3b1510050c9b
413 $('#stage').jqxTooltip({ content: 'De productie fase van dit product.' }); 413 $('#stage').jqxTooltip({ content: 'De productie fase van dit product.' });
414 $('#stage').jqxInput({ theme: theme, width: 100, height: 23 }); 414 $('#stage').jqxInput({ theme: theme, width: 100, height: 23 });
415 $('#available').jqxNumberInput(Show1dec); 415 $('#available').jqxNumberInput(Show1dec);
416 $('#leftover').jqxNumberInput(Show1dec); 416 $('#leftover').jqxNumberInput(Show1dec);
417 $('#divide_type').val(0); 417 $('#divide_type').val(0);
418 $('#divide_type').on('change', function(event) { 418 $('#divide_type').on('select', function(event) {
419 var index = event.args.index; 419 var index = event.args.index;
420 console.log('divide_type:' + index); 420 console.log('divide_type:' + index);
421 dataRecord.divide_type = index; 421 dataRecord.divide_type = index;
422 switch (index) { 422 switch (index) {
423 case 0: 423 case 0:

mercurial