半成品出库
This commit is contained in:
@@ -157,3 +157,40 @@ export const getAll = (id, btime, etime, code, scode, type) => post('api/pda/bcp
|
||||
export const bcpInConfirm = (row) => post('api/pda/bcp/in/confirm', {
|
||||
row: row
|
||||
})
|
||||
|
||||
/**
|
||||
* 半成品出库
|
||||
*/
|
||||
// 1.1仓库下拉框
|
||||
export const outgetBcpStor = () => post('api/pda/bcp/out/getBcpStor', {})
|
||||
// 1.2单据类型下拉框
|
||||
export const outgetBillType = () => post('api/pda/bcp/out/getBillType', {})
|
||||
// 1.3物料选择页面
|
||||
export const outgetMaterial = (code, scode, is) => post('api/pda/bcp/out/getMaterial', {
|
||||
material_code: code,
|
||||
struct_code: scode,
|
||||
is_material: is
|
||||
})
|
||||
// 1.4出库点下拉框
|
||||
export const outgetPoint = () => post('api/pda/bcp/out/getPoint', {})
|
||||
// 1.5确认入库(按钮)
|
||||
export const outcreateIn = (from) => post('api/pda/bcp/out/createIn', {
|
||||
from: from
|
||||
})
|
||||
|
||||
/**
|
||||
* 半成品出库查询
|
||||
*/
|
||||
// 2.1半成品出库查询
|
||||
export const outgetAll = (id, btime, etime, code, scode, type) => post('api/pda/bcp/out/getAll', {
|
||||
stor_id: id,
|
||||
begin_time: btime,
|
||||
end_time: etime,
|
||||
material_code: code,
|
||||
storagevehicle_code: scode,
|
||||
bill_type: type
|
||||
})
|
||||
// 2.2强制确认(按钮)
|
||||
export const bcpOutConfirm = (row) => post('api/pda/bcp/out/confirm', {
|
||||
row: row
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user