fixing command

This commit is contained in:
Warunee Tamkoo 2024-06-30 23:45:15 +07:00
parent 4bdcb8d9ce
commit 935c1d0fb1

View file

@ -317,23 +317,23 @@ const saveDetail = () => {
showLoader();
await putOrderData(); //
await fetchReportCover("pdf", orderId.value); //
// (Y = , N = )
fecthstatusOrder();
// type
if (attachmentStatus.value) {
// await fetchReportCover("pdf", orderId.value); //
// type tab
if (attachmentStatus.value && tab.value == "second") {
//
await fetchReportAttachment("pdf", orderId.value);
// tab
if (tab.value == "second") {
//
await viewPDF(orderAttachmentPdf.value);
}
// // tab
// if (tab.value == "second") {
//
await viewPDF(orderAttachmentPdf.value);
// }
}
// (Y = , N = )
fecthstatusOrder();
hideLoader();
});
}