zhuwei 1 year ago
parent
commit
8d6fd927dc

+ 1 - 0
src/views/debit-pay/admin/certificate.vue

@@ -161,6 +161,7 @@ const rowRecalculateClick = async (row) => {
     const { error, code, msg } = await mainApi.recalculate({
         reportId: row.id,
         type:0,
+        taskType: 1,
     })
     row.recalculateLoading = false
     if (!error && code === 200) {

+ 1 - 0
src/views/debit-pay/material/book.vue

@@ -184,6 +184,7 @@ const recalculate = async (row)=>{
     const { error, code, msg } = await bookApi.meterPdfInfo({
         reportId:row.id,
         type:1,
+        taskType:1,
     })
     row.recalculateLoading = false
     if (!error && code === 200) {

+ 2 - 1
src/views/debit-pay/start-work/book.vue

@@ -183,7 +183,8 @@ const recalculate = async (row)=>{
     row.recalculateLoading = true
     const { error, code, msg } = await bookApi.meterPdfInfo({
         reportId:row.id,
-       type:2,
+        type:2,
+        taskType:1,
     })
     row.recalculateLoading = false
     if (!error && code === 200) {

+ 1 - 0
src/views/tasks/components/hc-data/task-review.vue

@@ -546,6 +546,7 @@ const rowViewPdf = async () => {
     const { code, msg, data } = await certificateApi.recalculate({
         reportId: reportId,
         type: type,
+        taskType: 10,
     })
     rowViewLoading.value = false
     if (code === 200 && !isNullES(data)) {