Kaynağa Gözat

ItemQCFailReport Excel Version

MergeProblem1
B.E.N.S.O.N 12 saat önce
ebeveyn
işleme
8ac38b7398
1 değiştirilmiş dosya ile 23 ekleme ve 0 silme
  1. +23
    -0
      src/app/(main)/report/page.tsx

+ 23
- 0
src/app/(main)/report/page.tsx Dosyayı Görüntüle

@@ -550,6 +550,29 @@ export default function ReportPage() {
{loading ? "生成 Excel..." : "下載報告 (Excel)"}
</Button>
</>
) : currentReport.id === 'rep-010' ? (
<>
<Button
variant="contained"
size="large"
startIcon={<DownloadIcon />}
onClick={handlePrint}
disabled={loading}
sx={{ px: 4 }}
>
{loading ? "生成 PDF..." : "下載報告 (PDF)"}
</Button>
<Button
variant="outlined"
size="large"
startIcon={<DownloadIcon />}
onClick={handleExcelPrint}
disabled={loading}
sx={{ px: 4 }}
>
{loading ? "生成 Excel..." : "下載報告 (Excel)"}
</Button>
</>
) : currentReport.responseType === 'excel' ? (
<Button
variant="contained"


Yükleniyor…
İptal
Kaydet