Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- $('.selectproductos').change(function () {
- var ppro_id = $(this).attr('data-pproid');
- var estado = this.value;
- if (jQuery.inArray(estado, ['Solicitar Antecedentes', 'Rechazada Operaciones 1', 'Rechazada Operaciones 2', 'Rechazada Supervisor']) !== -1) {
- $("#modal").modal('show');
- $("#estadoPro").val(estado);
- }
- if (jQuery.inArray(estado, ['Rechazada Suscripciones']) !== -1) {
- $('#modalrechazo').modal('show');
- $("#estadoPror").val(estado);
- }
- if (jQuery.inArray(estado, ['Aprobada Operaciones 1']) !== -1) {
- $('#modalFolio').modal('show');
- $("#estadofinal").val(estado);
- }
- $("#p_antecedentes").val(ppro_id);
- $("#p").val(ppro_id);
- });
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement