22
schangxiang@126.com
2024-12-11 444a83f76b62a19a83796c8f5a5af1e875a3be63
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
import {request} from '@/utils/request.js'
import qs from 'qs'
export function getCollectionPage(data) {
    let param = {
        PurchaseNo:data.PurchaseNo,        
        WarematerialCode:data.WarematerialCode
    }
    return request({
        url: `/ConfirmDelivery/page?${qs.stringify(param)}`,
        method: 'get'
    })
}
//物料标签---查询
export function getMaterialContent(data) {
    return request({
        url: `/PurchaseOrder/pageDetails?WareMaterialCode=${data.materialCode}&PurchaseNo=${data.purchase}`,
        method: 'get'
    })
}
 
export function getMaterialData() {
    return request({
        url: `/WareMaterial/page?PageNo=1&PageSize=1000000`,
        method: 'get'
    })
}
 
//获取物料信息
export function getMaterialInfo(data) {
    let param = {
        Code:data.materialCode,        
        PageNo:1,
        PageSize:10
    }
    return request({
        // url: `/WareMaterial/page?Code=${data.materialCode}&PageNo=1&PageSize=10`,
        url: `/WareMaterial/page?${qs.stringify(param)}`,
        method: 'get'
    })
}
 
//获取工量具信息
export function getWareToolInfo(data) {
    return request({
        url: `/WareTool/page?Code=${data.materialCode}&PageNo=1&PageSize=10`,
        method: 'get'
    })
}
 
//添加打印记录
export function addPrintRecord(data) {
    return request({
        url: `/WareMaterialPrintHistory/add`,
        method: 'post',
        data
    })
}
 
//获取物料的标签信息
//获取工量具信息
export function getMaterialCount(data) {
    return request({
        url: `/WareQrcode/update?PageNo=${data.PageNo}&PageSize=${data.PageSize}`,
        method: 'get'
    })
}
 
//补打标签 根据库位编号 
export function getMerterialBaseKuwei(data) {
    return request({
        url: `/inventory/container/queryall?${qs.stringify(data)}`,
        method: 'get'
    })
}
 
//调用斑马打印机
export function addBanmaRecord(data) {
    return request({
        url: `/WareMaterialPrintHistory/add`,
        method: 'post',
        data
    })
}
 
//调用斑马打印机 -- 批量打印
export function addBanmaRecordArr(data) {
    return request({
        url: `/WareMaterialPrintHistory/addBatch`,
        method: 'post',
        data
    })
}