张晓波
2023-09-19 164694c47c35d6654df69b533e8dbf8b5423efc5
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
/**
 * 钢筋管理
 */
 import axios from '../request';
 export default{
    /**
     * 入库记录
     */
    // 查询入库记录信息
    searchIncome: params =>
        axios.post('/materials/record/recordList', params),
    // 添加入库记录信息
    insertIncome: params =>
        axios.post('/materials/record/recordInsert', params),
    // 入库记录信息详情
    detailsIncome: params =>
        axios.get('/materials/record/recordInfo', {params}),
    // 删除入库记录信息
    deleteIncome: params =>
        axios.get('/materials/record/recordDel', {params}),
    //导出Excel
    exportFiles: params =>
        axios({
        method: 'get',
        url: '/materials/record/recordExportTemplate',
        responseType: 'blob',
        params: params
    }),
    //导入Excel
    exportIncome: params =>
        axios.post('/materials/record/recordExcel', params),
    // 入库记录导出
    exportPutDatas: params =>
        axios({
            method: 'post',
            url: '/materials/record/recordExport',
            responseType: 'blob',
            data: params
        }),
 
 
    /**
     * 钢筋类型
     */
    // 查询钢筋类型信息
    searchType: params =>
        axios.post('/materials/steel/steelList', params),
    // 添加钢筋类型信息
    insertType: params =>
        axios.post('/materials/steel/steelInsert', params),
    // 修改钢筋类型信息
    updateType: params =>
        axios.post('/materials/steel/steelUpdate', params),
    // 钢筋类型信息详情
    detailsType: params =>
        axios.get('/materials/steel/steelInfo', {params}),
    // 删除钢筋类型信息
    deleteType: params =>
        axios.get('/materials/steel/steelDel', {params}),
 
    /**
     * 库存管理
     */
    // 修改库存校正信息
    updateInvent: params =>
        axios.post('/materials/steel/steelCheck', params),
    //预警设置
    setAlarmInvent: params =>
        axios.post('/materials/steel/steelAlertSettings', params),
 
    /**
     * 校正记录
     */
    //查询校正信息列表
     searchCheckList: params =>
     axios.post('/materials/steel/steelCheckList', params),
    //导出数据
    exportCheckDatas: params =>
        axios({
        method: 'post',
        url: '/materials/steel/steelCheckExport',
        responseType: 'blob',
        data: params
    }),
     /**
      * 消耗记录
      */
    //导出数据
    exportDatas: params =>
        axios({
        method: 'post',
        url: '/materials/record/recordOutExport',
        // url: '/materials/record/recordExport',
        responseType: 'blob',
        data: params
    }),
 
    /**
     * 报警提示
     */
    //报警提示
    alarmTipsBear: params =>
        axios.post('/materials/steel/selectSteelAlert', params),
 }