bug
liuying
2024-04-25 cdacaa3a770e30582d57b9c4aef379b7da65c8c7
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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
import { axios } from '@/utils/request'
 
/**
 * 查询叫料
 *
 * @author XJF
 */
export function LesTakematerialsPage (parameter) {
  return axios({
    url: '/LesTakematerials/page',
    method: 'get',
    params: parameter
  })
}
 
/**
 * 添加叫料
 *
 * @author XJF
 */
export function LesTakematerialsAdd (data) {
  return axios({
    url: '/lesTakematerials/AddTakematerial',
    method: 'post',
    data: data
  })
}
 
/**
 * 删除叫料
 *
 * @author XJF
 */
export function LesTakematerialsDelete (ids) {
  return axios({
    url: '/LesTakematerials/delete',
    method: 'post',
    data:{id:ids}
  })
}
 
/**
 * 获取叫料单号
 *
 * @author yhh
 */
export function GetBillNumber () {
  return axios({
    url: '/lesTakematerials/GetTakeMaterialsNo',
    method: 'get'
  })
}
 
 
/**
 * 物料查询
 *
 * @author yhh
 */
export function QueryMaterials (params) {
  return axios({
    url: '/lesTakematerials/MaterialSourcepage',
    method: 'get',
    params:params
  })
}
 
/**
 * 领料单下发
 *
 * @author yhh
 */
export function Distribute (ids) {
  return axios({
    url: '/lesTakematerials/BatchTakeMaterials',
    method: 'post',
    data:{id:ids}
  })
}
 
/**
 * 领料单完成
 *
 * @author yhh
 */
export function ForceComplete (id) {
  return axios({
    url: '/lesTakematerials/CompleteOrder',
    method: 'post',
    data:{id:id}
  })
}
 
 
/**
 * 领料单详情下发
 *
 * @author yhh
 */
export function DetailDistribute (params) {
  return axios({
    url: '/lesTakematerials/BatchTakeMaterialsDetial',
    method: 'post',
    data:params
  })
}
 
/**
 * 单据详情
 *
 * @author yhh
 */
export function LesTakeMaterialsDetailPage (params) {
  return axios({
    url: '/lesTakematerials/detailPage',
    method: 'get',
    params:params
  })
}
 
 
/**
 * 获取产线
 *
 * @author yhh
 */
export function GetLines() {
  return axios({
    url: '/lesTakematerials/GetProductionlineList',
    method: 'get'
  })
}
 
/**
 * 根据产线获取工位
 *
 * @author yhh
 */
export function GetStations(id) {
  return axios({
    url: '/lesTakematerials/GetStationList',
    method: 'get',
    params:{id}
  })
}
 
/**
 * 获取库区下拉
 *
 * @author yhh
 */
export function GetAreas() {
  return axios({
    url: '/lesTakematerials/GetAreaList',
    method: 'get'
  })
}
 
/**
 * 获取图号下拉
 *
 * @author yhh
 */
export function GetDrawinNos() {
  return axios({
    url: '/lesTakematerials/GetDrawingNoList',
    method: 'get'
  })
}
 
/**
 * 获取船号下拉
 *
 * @author yhh
 */
export function GetSipNos() {
  return axios({
    url: '/lesTakematerials/GetShipNoList',
    method: 'get'
  })
}
 
/**
 * 按物料提交
 *
 * @author yhh
 */
export function LesTakematerialsAutoAdd (data) {
  return axios({
    url: '/lesTakematerials/AutoAddTakematerial',
    method: 'post',
    data: data
  })
}