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(); showLoader();
await putOrderData(); // await putOrderData(); //
await fetchReportCover("pdf", orderId.value); // // (Y = , N = )
fecthstatusOrder();
// type // await fetchReportCover("pdf", orderId.value); //
if (attachmentStatus.value) {
// type tab
if (attachmentStatus.value && tab.value == "second") {
// //
await fetchReportAttachment("pdf", orderId.value); await fetchReportAttachment("pdf", orderId.value);
// tab // // tab
if (tab.value == "second") { // if (tab.value == "second") {
// //
await viewPDF(orderAttachmentPdf.value); await viewPDF(orderAttachmentPdf.value);
} // }
} }
// (Y = , N = )
fecthstatusOrder();
hideLoader(); hideLoader();
}); });
} }