Przeglądaj źródła

私有跟单开票加接口

@dongkboy 2 miesięcy temu
rodzic
commit
38b4dc4261

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

@@ -142,6 +142,8 @@ const financeApi = (axiosInstance: ApiInstance) => ({
 
 
     // 私有-开票-标识结清
     // 私有-开票-标识结清
     updateSettlementStatus: (data: any) => axiosInstance.post(`/receivable/updateSettlementStatus?id=${data}`), // 标识结清
     updateSettlementStatus: (data: any) => axiosInstance.post(`/receivable/updateSettlementStatus?id=${data}`), // 标识结清
+
+    settlementPaymentDifference: (data: any) => axiosInstance.post(`/followReconciliation/saveOrUpdate`,data),
 })
 })
 
 
 export default financeApi
 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].falselyIncreasedDifference = editForm.value.falselyIncreasedDifference
   tableData.value[rowIndex.value].falselyIncreasedReason = editForm.value.falselyIncreasedReason
   tableData.value[rowIndex.value].falselyIncreasedReason = editForm.value.falselyIncreasedReason
   editShow.value = false
   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(() => {
 onMounted(() => {
   initData()
   initData()