You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
652 B
32 lines
652 B
|
2 days ago
|
import http from '@/http/api.js'
|
||
|
|
|
||
|
|
// 查询人员
|
||
|
|
const getRoleUser = (code) => {
|
||
|
|
return http.request({
|
||
|
|
url: `/blade-system/user/list-all-by-role-alias?roleAlias=warehouse_keeper`,
|
||
|
|
method: 'GET'
|
||
|
|
})
|
||
|
|
}
|
||
|
|
// 扫描物料号查询数据
|
||
|
|
const getScanSubmit = (params) => {
|
||
|
|
return http.request({
|
||
|
|
url: `/blade-wms/combox/config/getStockByStorehouseAndGoods`,
|
||
|
|
method: 'get',
|
||
|
|
params
|
||
|
|
})
|
||
|
|
}
|
||
|
|
// 新增
|
||
|
|
const addIssue = data => {
|
||
|
|
return http.request({
|
||
|
|
url: '/blade-wms/stOtherOutRecord/submit',
|
||
|
|
method: 'post',
|
||
|
|
data
|
||
|
|
});
|
||
|
|
};
|
||
|
|
|
||
|
|
|
||
|
|
export default {
|
||
|
|
getRoleUser,
|
||
|
|
getScanSubmit,
|
||
|
|
addIssue
|
||
|
|
}
|