|
@ -134,6 +134,7 @@ function bindEvents(){
|
|
|
var seDate = getStartEndDate($(this).attr("data-val"));
|
|
|
startDate = seDate.startDate;
|
|
|
endDate = seDate.endDate;
|
|
|
$('#prescriptTable').bootstrapTable('refreshOptions',{pageNumber:1});
|
|
|
getPrescriptionList(true);
|
|
|
}
|
|
|
});
|
|
@ -141,11 +142,13 @@ function bindEvents(){
|
|
|
$("#presctiptionStatus").on('change', function(){
|
|
|
var $this = $(this);
|
|
|
state = $this.val();
|
|
|
$('#prescriptTable').bootstrapTable('refreshOptions',{pageNumber:1});
|
|
|
getPrescriptionList(true);
|
|
|
});
|
|
|
|
|
|
$("#express").on('change', function(){
|
|
|
dispensaryType = $(this).val();
|
|
|
$('#prescriptTable').bootstrapTable('refreshOptions',{pageNumber:1});
|
|
|
getPrescriptionList(true);
|
|
|
});
|
|
|
|
|
@ -154,6 +157,7 @@ function bindEvents(){
|
|
|
var $input = $("#searchName"),
|
|
|
text = $.trim($input.val());
|
|
|
nameKey = text;
|
|
|
$('#prescriptTable').bootstrapTable('refreshOptions',{pageNumber:1});
|
|
|
getPrescriptionList(true);
|
|
|
});
|
|
|
}
|