@dongkboy 2 месяцев назад
Родитель
Сommit
38b4dc4261
2 измененных файлов с 19 добавлено и 0 удалено
  1. 2 0
      src/api/modules/finance.ts
  2. 17 0
      src/views/receivable/documentary/ticket.vue

+ 2 - 0
src/api/modules/finance.ts

@@ -142,6 +142,8 @@ const financeApi = (axiosInstance: ApiInstance) => ({
 
     // 私有-开票-标识结清
     updateSettlementStatus: (data: any) => axiosInstance.post(`/receivable/updateSettlementStatus?id=${data}`), // 标识结清
+
+    settlementPaymentDifference: (data: any) => axiosInstance.post(`/followReconciliation/saveOrUpdate`,data),
 })
 
 export default financeApi

+ 17 - 0
src/views/receivable/documentary/ticket.vue

@@ -433,6 +433,23 @@ const handelComfirmEdit = () => {
   tableData.value[rowIndex.value].falselyIncreasedDifference = editForm.value.falselyIncreasedDifference
   tableData.value[rowIndex.value].falselyIncreasedReason = editForm.value.falselyIncreasedReason
   editShow.value = false
+  api.financeApi.settlementPaymentDifference({
+    partnerCompanyId: editForm.value.partnerCompanyId,
+    partnerCompanyId: editForm.value.partnerCompanyId,
+    year: editForm.value.year,
+    month: editForm.value.month,
+    reconciliationAmount: editForm.value.reconciliationAmount,
+    falselyIncreasedDifference: editForm.value.falselyIncreasedDifference,
+    falselyIncreasedReason: editForm.value.falselyIncreasedReason,
+  }).then((res: any) => {
+    if (res.code == 200) {
+      ElMessage({
+        message: res.msg,
+        type: 'success'
+      })
+      initData()
+    }
+  })
 }
 onMounted(() => {
   initData()