Browse Source

入库确认单获取合同

yangchengfei 5 months ago
parent
commit
e8fe5bf5a3
1 changed files with 46 additions and 2 deletions
  1. 46 2
      src/api/receiptConfirmation/index.js

+ 46 - 2
src/api/receiptConfirmation/index.js

@@ -49,11 +49,11 @@ export function InConfirmDelete(id) {
49 49
     })
50 50
 }
51 51
 
52
-
52
+// /business-fs-in-confirm/getContractData
53 53
 // 合同下拉  
54 54
 export function getContractInfo(orgId) {
55 55
     return request({
56
-        url: `${depot_intelligent}/business-fs-statistical-account/getContract/?orgId=${orgId}`,
56
+        url: `${depot_intelligent}/business-fs-in-confirm/getContractData/?orgId=${orgId}`,
57 57
         method: 'get',
58 58
     })
59 59
 }
@@ -65,4 +65,48 @@ export function updateInConfirm(data) {
65 65
         method: 'put',
66 66
         data,
67 67
     })
68
+}
69
+
70
+// ---------------------------------利息维护------------------------------------------
71
+// 查询利息维护信息列表
72
+export function maintainGelList(query) {
73
+    return request({
74
+        url: `${depot_intelligent}/business-fs-interest-maintain/getList`,
75
+        method: "get",
76
+        params: query || {},
77
+    })
78
+}
79
+
80
+// 利息维护详情
81
+export function maintainGetById(id) {
82
+    return request({
83
+        url: `${depot_intelligent}/business-fs-interest-maintain/getById/${id}`,
84
+        method: 'get',
85
+    })
86
+}
87
+
88
+// 利息维护新增
89
+export function maintainSave(data) {
90
+    return request({
91
+        url: `${depot_intelligent}/business-fs-interest-maintain/save`,
92
+        method: "post",
93
+        data: data,
94
+    })
95
+}
96
+
97
+// 利息维护修改
98
+export function maintainUpdate(data) {
99
+    return request({
100
+        url: `${depot_intelligent}/business-fs-interest-maintain/update`,
101
+        method: 'put',
102
+        data,
103
+    })
104
+}
105
+
106
+// 利息维护删除
107
+export function maintainDelete(id) {
108
+    return request({
109
+        url: `${depot_intelligent}/business-fs-interest-maintain/delete/${id}`,
110
+        method: 'delete',
111
+    })
68 112
 }