Your Name
2023-01-06 e3d63f84a43db07fa5992de2937ee23fc67bad38
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
import request from "/@/utils/request";
 
export function claimReturnRecordsApi() {
    return {
        getClaimReturnRecords: (data: {}) => {
            return request({
                url: import.meta.env.VITE_API_URL_OUT + `/equipment/material/record/page/list`,
                method: 'post',
                data
            });
        },
        returnGoods: (data: {}) => {
            return request({
                url: import.meta.env.VITE_API_URL_OUT + `/equipment/material/record/revert`,
                method: 'post',
                data
            });
        },
        refreshReturnAndNoReturn: (data: {}) => {
            return request({
                url: import.meta.env.VITE_API_URL_OUT + `/equipment/material/record/queryById`,
                method: 'post',
                data
            });
        },
    }
}