This commit is contained in:
lixin
2018-12-15 20:13:28 +08:00
parent 5239e0db48
commit 6cdec71dfd
3 changed files with 38 additions and 10 deletions

View File

@@ -61,15 +61,16 @@ export function searchErrorRecord(pageCurrent, pageSize, project_check, project,
}
})
}
// 补投查询
export function searchReplacementCard(card_check, card) {
// 补投查询
export function searchReplacementCard(pageCurrent, pageSize, card_check, card) {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '库存管理_补投单_补投单查询',
param: '补投单编号_check=' + card_check + '&补投单编号=' + card
param: '补投单编号_check=' + card_check + '&补投单编号=' + card,
Pagination: pageCurrent + '&' + pageSize
}
})
}
@@ -97,3 +98,15 @@ export function deleteReplacementCard(Number) {
}
})
}
// 补投增加
export function addCardDetail(Number, project, machine, team, mun, reason) {
return request({
url: '',
method: 'post',
data: {
type: '2',
name: '库存管理_仓库补投_补投单明细增加',
param: '补投单流水号=' + Number + '&项目流水号=' + project + '&机床流水号=' + machine + '&组件流水号=' + team + '&补投数量=' + mun + '&原因=' + reason
}
})
}