半成品入库
This commit is contained in:
@@ -123,15 +123,15 @@ export const getBcpStor = () => post('api/pda/bcp/in/getBcpStor', {})
|
||||
// 1.2单据类型下拉框
|
||||
export const getBillType = () => post('api/pda/bcp/in/getBillType', {})
|
||||
// 1.3物料选择页面
|
||||
// export const getMaterial = (code) => post('api/pda/bcp/in/getMaterial', {
|
||||
// material_code: code
|
||||
// })
|
||||
export const getMaterial = (code) => {
|
||||
let res = {
|
||||
data: [{material_code: '1', material_name: 'a', material_spec: '001', class_code: '1', net_weight: '100', unit_name: 'g'}]
|
||||
}
|
||||
return res
|
||||
}
|
||||
export const getMaterial = (code) => post('api/pda/bcp/in/getMaterial', {
|
||||
material_code: code
|
||||
})
|
||||
// export const getMaterial = (code) => {
|
||||
// let res = {
|
||||
// data: [{material_code: '1', material_name: 'a', material_spec: '001', class_code: '1', net_weight: '100', unit_name: 'g'}]
|
||||
// }
|
||||
// return res
|
||||
// }
|
||||
// 1.4入库点下拉框
|
||||
export const getPoint = () => post('api/pda/bcp/in/getPoint', {})
|
||||
// 1.5呼叫空载具(按钮)
|
||||
@@ -145,6 +145,15 @@ export const createIn = (from) => post('api/pda/bcp/in/createIn', {
|
||||
* 半成品入库管理查询
|
||||
*/
|
||||
// 2.1半成品入库查询
|
||||
export const getAll = () => post('api/pda/bcp/in/getAll', {})
|
||||
export const getAll = (id, btime, etime, code, scode, type) => post('api/pda/bcp/in/getAll', {
|
||||
stor_id: id,
|
||||
begin_time: btime,
|
||||
end_time: etime,
|
||||
material_code: code,
|
||||
storagevehicle_code: scode,
|
||||
bill_type: type
|
||||
})
|
||||
// 2.2强制确认(按钮)
|
||||
export const bcpInConfirm = () => post('api/pda/bcp/in/confirm', {})
|
||||
export const bcpInConfirm = (row) => post('api/pda/bcp/in/confirm', {
|
||||
row: row
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user