This commit is contained in:
Pusdatin BPKD Jkt
2022-07-26 11:30:33 +07:00
parent 23c3bedfcc
commit 893fd463c7
9 changed files with 59 additions and 167 deletions
@@ -12,7 +12,7 @@
</select>
</div>
<div class="form-group">
<label class="col-form-label label-align" for="txt_simtrad4_kotor">DBH/DAK</label>
<label class="col-form-label label-align" for="txt_simtrad4_kotor">DBH</label>
<select id="txt_id_sps" name="txt_id_sps" style="width:100%" class="form-control sps_search" required></select>
<input id="txt_rek_sps" name="txt_rek_sps" type="hidden">
</div>
@@ -149,9 +149,9 @@
})
$('#txt_id_sps').select2({
placeholder: 'Pilih DBH / DAK',
placeholder: 'Pilih DBH',
ajax: {
url: '/item-search-sps?ta='+$("#txt_ta").val(),
url: '/item-search-sps?ta='+$("#txt_ta").val()+'&jenis=dbh',
dataType: 'json',
delay: 250,
processResults: function (data) {