半成品物料查询

This commit is contained in:
2023-07-03 10:14:59 +08:00
parent b1b60c808b
commit 7094e2c48a
7 changed files with 63 additions and 16 deletions

View File

@@ -208,3 +208,46 @@ export const outgetAll = (id, btime, etime, code, scode, type) => post('api/pda/
export const bcpOutConfirm = (row) => post('api/pda/bcp/out/confirm', {
row: row
})
/**
* 半成品盘点
*/
// 1.1仓库下拉框
export const checkGetBcpStor = () => post('api/pda/bcp/check/getBcpStor', {})
// 1.3货位物料查询
export const checkGetMaterialIvt = (code, scode) => post('api/pda/bcp/check/getMaterialIvt', {
material_code: code,
struct_code: scode
})
// 1.5生成盘点单(按钮)
export const checkCreate = (from) => post('api/pda/bcp/check/create', {
from: from
})
// 2.1半成品盘点查询
export const checkGetDtlAll = (id, btime, etime, code, scode, stcode) => post('api/pda/bcp/check/getDtlAll', {
stor_id: id,
begin_time: btime,
end_time: etime,
material_code: code,
storagevehicle_code: scode,
struct_code: stcode
})
// 2.2盘点位下拉框
export const checkGetPoint = () => post('api/pda/bcp/check/getPoint', {})
// 2.3下发(按钮)
export const checkSendTask = (row, code) => post('api/pda/bcp/check/sendTask', {
row: row,
point_code: code
})
// 2.4盘点确认(按钮)
export const checkConfirm = (row) => post('api/pda/bcp/check/confirm', {
row: row
})
// 2.5实盘为准(按钮)
export const checkConfirmOffer = (row) => post('api/pda/bcp/check/confirmOffer', {
row: row
})
// 2.6财务为准(按钮)
export const checkConfirmFinance = (row) => post('api/pda/bcp/check/confirmFinance', {
row: row
})