lx
This commit is contained in:
@@ -10,6 +10,17 @@ export function initProject() {
|
||||
}
|
||||
})
|
||||
}
|
||||
// 查询仓库
|
||||
export function initWarehouse() {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
type: '1',
|
||||
name: '库存管理_货位仓库_仓库_查询数据'
|
||||
}
|
||||
})
|
||||
}
|
||||
// 机床查询
|
||||
export function searchmachine(check, num) {
|
||||
return request({
|
||||
@@ -75,14 +86,14 @@ export function searchReplacementCard(pageCurrent, pageSize, card_check, card) {
|
||||
})
|
||||
}
|
||||
// 补投增加
|
||||
export function addReplacementCard(Number) {
|
||||
export function addReplacementCard(Number, house) {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
type: '2',
|
||||
name: '库存管理_补投单_补投单增加',
|
||||
param: '人员编号=' + Number
|
||||
param: '人员编号=' + Number + '&仓库流水号=' + house
|
||||
}
|
||||
})
|
||||
}
|
||||
@@ -99,14 +110,14 @@ export function deleteReplacementCard(Number) {
|
||||
})
|
||||
}
|
||||
// 补投增加
|
||||
export function addCardDetail(Number, project, machine, team, mun, reason) {
|
||||
export function addCardDetail(Number, project, machine, team, name, mass, locate, parttype, reason) {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
type: '2',
|
||||
name: '库存管理_仓库补投_补投单明细增加',
|
||||
param: '补投单流水号=' + Number + '&项目流水号=' + project + '&机床流水号=' + machine + '&组件流水号=' + team + '&补投数量=' + mun + '&原因=' + reason
|
||||
name: '库存管理_零件补投_批量增加补投单明细',
|
||||
param: '补投单流水号=' + Number + '&项目流水号组=' + project + '&机床流水号组=' + machine + '&组件流水号组=' + team + '&名称组=' + name + '&数量组=' + mass + '&货位流水号组=' + locate + '&零件类型组=' + parttype + '&原因组=' + reason
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user