1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
| // 采购付款登记页面接口
| import request from '@/utils/request'
|
| // 分页查询
| export function registrationList(query) {
| return request({
| url: '/purchase/paymentRegistration/list',
| method: 'get',
| params: query
| })
| }
| // 查询详情
| export function registrationInfo(query) {
| return request({
| url: '/purchase/paymentRegistration/' + query,
| method: 'get',
| })
| }
| // 根据采购合同号查询详情
| export function byPurchaseId(query) {
| return request({
| url: '/purchase/paymentRegistration/byPurchaseId/' + query,
| method: 'get',
| })
| }
| // 查询采购合同号
| export function getPurchaseNo() {
| return request({
| url: '/purchase/ledger/getPurchaseNo',
| method: 'get',
| })
| }
| // 新增
| export function paymentRegistrationAdd(query) {
| return request({
| url: '/purchase/paymentRegistration',
| method: 'post',
| data: query
| })
| }
| // 修改
| export function paymentRegistrationEdit(query) {
| return request({
| url: '/purchase/paymentRegistration',
| method: 'put',
| data: query
| })
| }
| // 删除
| export function paymentRegistrationDel(query) {
| return request({
| url: '/purchase/paymentRegistration/del',
| method: 'delete',
| data: query
| })
| }
|
|