sjz
2025-02-19 9790ff7ecc198ae3bbf10d5e3707a95d60ddab69
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
import request from '@/utils/request.js'
 
export function getIqcCheckList() {
    return request({
        'url': '/iqc/getIqcCheckList?userNo=' + uni.getStorageSync('userInfo').code,
        'method': 'post',
        'header': {
            'Content-Type': 'application/json',
            'dataType': 'json',
            'Accept': 'application/json'
        }
    })
}
 
export function getIqcCheckListByNo(item) {
    return request({
        'url': '/iqc/getIqcCheckListByNo?item=' + item,
        'method': 'post',
        'header': {
            'Content-Type': 'application/json',
            'dataType': 'json',
            'Accept': 'application/json'
        }
    })
}
 
export function getIqcInspectionItems(checkNo) {
    return request({
        'url': '/iqc/getIqcInspectionItems?checkNo=' + checkNo,
        'method': 'post',
        'header': {
            'Content-Type': 'application/json',
            'dataType': 'json',
            'Accept': 'application/json'
        }
    })
}
 
export function getIqcSampleResult(mainId) {
    return request({
        'url': '/iqc/getIqcSampleResult?mainId=' + mainId,
        'method': 'post',
        'header': {
            'Content-Type': 'application/json',
            'dataType': 'json',
            'Accept': 'application/json'
        }
    })
}
 
export function getIqcByCode(code) {
    return request({
        'url': '/iqc/getIqcByCode?code=' + code,
        'method': 'post',
        'header': {
            'Content-Type': 'application/json',
            'dataType': 'json',
            'Accept': 'application/json'
        }
    })
}
 
export function getIqcBarCode(releaseNo) {
    return request({
        'url': '/iqc/getIqcBarCode?releaseNo=' + releaseNo,
        'method': 'post',
        'header': {
            'Content-Type': 'application/json',
            'dataType': 'json',
            'Accept': 'application/json'
        }
    })
}
 
export function saveIqcBadQty(data) {
    return request({
        'url': '/iqc/saveIqcBadQty',
        'method': 'post',
        'data':data,
        'header': {
            'Content-Type': 'application/json',
            'dataType': 'json',
            'Accept': 'application/json'
        }
    })
}
 
export function saveIqcType(releaseNo,pid,info) {
    return request({
        'url': '/iqc/saveIqcType?releaseNo='+releaseNo+'&pid=' + pid +'&userNo=' + uni.getStorageSync('userInfo').code,
        'method': 'post',
        'data':info,
        'header': {
            'Content-Type': 'application/json',
            'dataType': 'json',
            'Accept': 'application/json'
        }
    })
}
 
export function saveIqc(releaseNo,remark) {
    return request({
        'url': '/iqc/saveIqc?releaseNo=' + releaseNo +'&userNo=' + uni.getStorageSync('userInfo').code + '&remark=' + encodeURIComponent(remark.replace(/\%/g, '%25').replace(/\ /g,'%20').replace(/\#/g,'%23').replace(/\?/g,'%3F').replace(/\+/g,'%2B').replace(/\//g,'%2F').replace(/\&/g,'%26')),
        'method': 'post',
        'header': {
            'Content-Type': 'application/json',
            'dataType': 'json',
            'Accept': 'application/json'
        }
    })
}
 
export function generateIqcInfo(checkNo) {
    return request({
        'url': '/iqc/generateIqcInfo?checkNo=' + checkNo,
        'method': 'post',
        'header': {
            'Content-Type': 'application/json',
            'dataType': 'json',
            'Accept': 'application/json'
        }
    })
}