css
liuying
2024-04-25 8c89f7c22bb2f4e2bede78e8abd806a77f7e5693
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
124
125
126
127
128
129
130
import { axios } from '@/utils/request'
 
/**
 * 查询叫料
 *
 * @author XJF
 */
export function CncTakeMaterialsPage (parameter) {
  return axios({
    url: '/cnctakematerials/page',
    method: 'get',
    params: parameter
  })
}
 
/**
 * 添加叫料
 *
 * @author XJF
 */
export function CncTakeMaterialsAdd (data) {
  return axios({
    url: '/cnctakematerials/AddCNCTakematerial',
    method: 'post',
    data: data
  })
}
 
/**
 * 删除叫料
 *
 * @author XJF
 */
export function CncTakeMaterialsDelete (parameter) {
  return axios({
    url: '/LesTakematerials/delete',
    method: 'post',
    data: parameter
  })
}
 
/**
 * 获取叫料单号
 *
 * @author yhh
 */
export function GetBillNumber () {
  return axios({
    url: '/cnctakematerials/CNCGetTakeMaterialsNo',
    method: 'get'
  })
}
 
 
/**
 * 物料查询
 *
 * @author yhh
 */
export function QueryMaterials (params) {
  return axios({
    url: '/cnctakematerials/CNCMaterialSourcepage',
    method: 'get',
    params:params
  })
}
 
/**
 * 叫料单下发
 *
 * @author yhh
 */
export function Distribute (ids) {
  return axios({
    url: '/cnctakematerials/CNCBatchTakeMaterials',
    method: 'post',
    data:{id:ids}
  })
}
 
/**
 * 叫料单详情下发
 *
 * @author yhh
 */
export function DetailDistribute (id) {
  return axios({
    url: '/cnctakematerials/CNCBatchTakeMaterialsDetail',
    method: 'post',
    data:{id}
  })
}
 
/**
 * 单据详情
 *
 * @author yhh
 */
export function CncTakeMaterialsDetailPage (params) {
  return axios({
    url: '/cnctakematerials/detailPage',
    method: 'get',
    params:params
  })
}
 
/**
 * 获取产线
 *
 * @author yhh
 */
export function GetLines() {
  return axios({
    url: '/cnctakematerials/GetProductionlineList',
    method: 'get'
  })
}
 
/**
 * 根据产线获取工位
 *
 * @author yhh
 */
export function GetStations(id) {
  return axios({
    url: '/cnctakematerials/GetStationList',
    method: 'get',
    params:{id}
  })
}