yujinwen 1 сар өмнө
parent
commit
7a83f76ec7

+ 1 - 1
src/views/report/reportDetailPdf.vue

@@ -115,7 +115,7 @@ export default {
   },
   methods: {
     async getreportdetail() {
-      const { Data,Ret  } = await reportDetail({ ReportCode: this.id });
+      const { Data,Ret  } = await reportDetail({ ReportCode: this.id,IsReplace:1 });
         if (Ret !== 200) return
         this.reportInfo = Data.Report;
         this.configInfo = {

+ 1 - 1
src/views/smartReport/detailPdf.vue

@@ -100,7 +100,7 @@ export default {
       }
     },
     async getreportdetail() {
-      const { Data, Ret } = await reportDetail({ ReportCode: this.id });
+      const { Data, Ret } = await reportDetail({ ReportCode: this.id,IsReplace:1 });
       if (Ret !== 200) return;
       
       this.reportInfo = Data.Report;