fix PDF = undefined

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-02-21 09:30:54 +07:00
parent 4d4a95c2b9
commit 4f0eecfffe
15 changed files with 24 additions and 2 deletions

View file

@ -195,6 +195,8 @@ function fetchReport() {
* @param data อมลบญชนลา
*/
function genPDf(data: ResReport) {
pdfSrc.value = undefined;
page.value = 1;
showLoader();
axios
.post(config.API.reportTemplate + `/docx`, data, {
@ -429,7 +431,7 @@ function onCloseModal() {
* function fetch รายชอขอมลทะเบยนประว
*/
function fetchListPerson() {
rowsPerson.value = []
rowsPerson.value = [];
showLoader();
let queryParams = {
page: formFilter.page,