技术中心部分修改,添加库存系统
This commit is contained in:
48
src/api/Inventory/Inboundscanning.js
Normal file
48
src/api/Inventory/Inboundscanning.js
Normal file
@@ -0,0 +1,48 @@
|
||||
import request from '@/utils/request'
|
||||
// 查询零件入库情况
|
||||
export function searchTable(partnumber) {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
type: '1',
|
||||
name: 'MES_机加工MES_库存管理_入库模块_零件基础信息查询_根据零件图号',
|
||||
param: '零件图号=' + partnumber + '=string'
|
||||
}
|
||||
})
|
||||
}
|
||||
// 仓库查询
|
||||
export function getinventory() {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
type: '1',
|
||||
name: '库存管理_货位主文件_仓库查询'
|
||||
}
|
||||
})
|
||||
}
|
||||
// 货位查询
|
||||
export function getlocate(housenumber) {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
type: '1',
|
||||
name: '库存管理_货位主文件_查询数据',
|
||||
param: '仓库流水号=' + housenumber + '=int'
|
||||
}
|
||||
})
|
||||
}
|
||||
// 修改入库数量
|
||||
export function insertOne(num0, num1, people, num4, num5, num6, num7) {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
type: '2',
|
||||
name: 'MES_机加工MES_库存管理_入库模块_增加入库信息_修改入库数量',
|
||||
param: '工艺计划流水号=' + num0 + '=int&入库数量=' + num1 + '=int&收件人员编号=' + people + '=int&送件人员编号=1001' + '&漆塑=' + num4 + '&仓库流水号=' + num5 + '&货位流水号=' + num6 + '&备注=' + num7
|
||||
}
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user