fix bug
This commit is contained in:
parent
7b029f9292
commit
be6fcef7cd
1 changed files with 1 additions and 1 deletions
|
|
@ -316,7 +316,7 @@ const saveDetail = () => {
|
|||
await fetchReportCover("pdf", orderId.value); // ดึงรายงานคำสั่งใหม่
|
||||
|
||||
// เช็คประเภทคำสั่งถ้าไม่ใช่ type เหล่านี้จะมีแนบท้าย
|
||||
if (attachmentStatus.value || code.value === "c-pm-38") {
|
||||
if (attachmentStatus.value) {
|
||||
// ดึงรายงานในส่วนของแนบท้ายมาใหม่
|
||||
await fetchReportAttachment("pdf", orderId.value);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue