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.

2489 lines
43 KiB

12 months ago
import request from '@/api/httpRequest2.js'
12 months ago
// const baseApi = "/api/admin-api"
12 months ago
//公司地址
// 本地地址
12 months ago
const baseApi = "/admin-api"
12 months ago
/**
* 获取验证码
* @param {*}
*/
export function getCaptchaImage(params) {
return request({
url: baseApi + "/system/captcha/captchaImage",
method: "get",
data: params,
});
}
/**
* 登录方法
*/
export function login(username, password, code, uuid) {
return request({
url: baseApi + '/system/auth/login',
headers: {
isToken: false
},
method: 'post',
data: {
username,
password,
code,
uuid
}
})
}
/**
* 退出
*/
export function logout() {
return request({
url: baseApi + "/system/auth/logout",
method: "post",
data: {},
});
}
/**
* 获取登录用户的权限信息
*/
export function getPermissionInfo() {
return request({
url: baseApi + "/system/auth/get-permission-info",
method: "get",
data: {},
});
}
/**
* 获取租户信息
*/
export function getTenantInfo(name) {
var params = {
name: name,
pageNo: 1,
pageSize: 100,
}
return request({
url: baseApi + "/system/tenant/page",
method: "get",
data:params,
});
}
/**
* 获取登录用户信息
*/
export function getUserProfile() {
return request({
url: baseApi + '/system/user/profile/get',
method: 'get'
})
}
/**
* 修改个人用户密码
*/
export function updateUserPwd(oldPassword, newPassword) {
const data = {
oldPassword,
newPassword
}
return request({
url: baseApi + '/system/user/profile/update-password',
method: 'PUT',
params: data
})
}
/**
* 获取配置字典
* @param {*}
*
*/
export function getDictionaryItem(params) {
return request({
url: baseApi + "/system/dict-type/getDictByTypes",
method: "post",
data: params,
});
}
/**
* 查询 客户信息
* @param {*} 物品代码
*
*/
export function getBasicCustomerList() {
return request({
url: baseApi + "/wms/customer/list",
method: "get",
data: {},
});
}
/**
* 根据业务代码查询业务类型
* @param {*} Code
*
*/
export function getBusinesstypeByCode(code) {
var params ={
code:code,
pageNo:1,
pageSize:100
}
return request({
url: baseApi + "/wms/businesstype/page",
method: "get",
data: params,
});
}
/**
* 按物料代码查询库存明细
* @param {*} itemCode
*
*/
export function getBalanceByItemCode(params) {
return request({
url: baseApi + "/wms/balance/page",
method: "get",
data: params,
});
}
/**
* 按物品查询预计入
* @param {*} itemCode
*
*/
export function getExpectinByItemcode(params) {
return request({
url: baseApi + "/wms/expectin/page",
method: "get",
data: params,
});
}
/**
* 按物品查询预计出
* @param {*} itemCode
*
*/
export function getExpectoutByItemcode(params) {
return request({
url: baseApi + "/wms/expectout/page",
method: "get",
data: params,
});
}
/**
* 按库位查询库存汇总
* @param {*}
*
*/
export function getBalanceByLocationcodeGroup(params) {
return request({
url: baseApi + "/wms/balance/page",
method: "get",
data: params,
});
}
/**
* 按库位查询库存明细
* @param {*}
*/
export function getBalanceByLocationcode(params) {
return request({
url: baseApi + "/wms/balance/page",
method: "get",
data: params,
});
}
/**
* 查询器具信息接口
* @param {*} number 器具代码
*/
export function getContainerByNumber(number) {
var params = {
number: number,
pageNo: 1,
pageSize: 100
}
return request({
url: baseApi + "/wms/container-main/page",
method: "get",
data: params,
});
}
/**
* 按器具查询库存明细
* @param {*器具代码}
*
*/
export function getBalanceByContainerNumberGroup(params) {
return request({
url: baseApi + "/wms/balance/page",
method: "get",
data: params,
});
}
/**
* 按器具查询库存明细(无器具)
* @param {*器具代码}
*
*/
export function getBalanceByContainerNumber(params) {
return request({
url: baseApi + "/wms/balance/page",
method: "get",
data: params,
});
}
/**
*
* @param {*} header version
* 获取标签设置信息
*/
export function getLabelByHeader(header, version) {
var params = {
header: header,
version:version,
}
return request({
url: baseApi + "/wms/labeltype/getDetailsByHeader",
method: "get",
data: params,
});
}
/**
* 获取包装信息
* @param {*}
*
*/
export function getPackageByNumber(number) {
var params = {
number: number,
pageNo: 1,
pageSize: 100
}
return request({
url: baseApi + "/wms/package/page",
method: "get",
data: params,
});
}
/**
* 查询库位信息接口
* @param {*} code 库位代码
*
*/
export function getBasicLocationByCode(code) {
var parmas ={
code:code,
pageNo:1,
pageSize:100
}
return request({
url: baseApi + "/wms/location/page",
method: "get",
data: parmas,
});
}
/**
* 查询物品信息接口
* @param {*} code 物品代码
*
*/
export function getBasicItemByCode(itemCode) {
var params = {
code: itemCode,
pageNo: 1,
pageSize: 100
}
return request({
url: baseApi + "/wms/itembasic/page" ,
method: "get",
data: params,
});
}
/**
* 按物品查询库存汇总
* @param {*} itemCode
*
*/
export function getBalanceByCodeGroup(params) {
return request({
url: baseApi + "/wms/balance/page",
method: "get",
data: params,
});
}
/**
* 查询包装信息接口
* @param {*} itemCode 物品代码
*
*/
export function getItempackagingByItemcode(itemCode) {
return request({
url: baseApi + "/wms/itempackaging/page?itemCode=" + itemCode,
method: "get",
data: {},
});
}
/**
* 供应商发货
*
* status 任务状态
* 开始日期
* 结束日期
* 获取日期任务列表
* @param {*}
*/
export function getSupplierDeliverRecordList(params) {
return request({
url: baseApi + "/wms/supplierdeliver-record-main/senior",
method: "post",
data: params,
});
}
/**
* 供应商发货 详情
* status 任务状态
* 开始日期
* 结束日期
* 获取日期任务列表
* @param {*}
*/
export function getSupplierDeliverRecordDetail(id) {
return request({
url: baseApi + "/wms/supplierdeliver-record-main/getSupplierdeliverRecordById?id="+id,
method: "get",
data: {},
});
}
/**
* 报检单查询 = request_inspect
* 任务状态
* 开始日期
* 结束日期
* 获取日期任务列表
* @param {*}
*/
export function getInspectRequestList(params) {
return request({
url: baseApi + "/wms/inspect-request-main/senior",
method: "post",
data: params,
});
}
/**
* 检验单查询 详情
* 任务状态
* 开始日期
* 结束日期
* 获取日期任务列表
* @param {*}
*/
export function getInspectRequestDetail(id) {
return request({
url: baseApi + "/wms/inspect-request-main/getInspectRequestById?id="+id,
method: "get",
data: {},
});
}
/**
* 采购收货 任务
* status 任务状态
* 开始日期
* 结束日期
* 获取日期任务列表
* @param {*}
*/
export function getPurchaseReceiptJobList(params) {
return request({
url: baseApi + "/wms/purchasereceipt-job-main/senior",
method: "post",
data: params,
});
}
/**
* 采购收货 任务承接
* @param {*} id
*
*/
export function takePurchaseReceiptJob(id) {
return request({
url: baseApi + "/wms/purchasereceipt-job-main/accept?id=" + id,
method: "put",
data: {},
});
}
/**
* 采购收货 放弃承接
* @param {*} id
*
*/
export function cancleTakePurchaseReceiptJob(id) {
return request({
url: baseApi + "/wms/purchasereceipt-job-main/abandon?id=" + id,
method: "put",
data: {},
});
}
/**
* 采购收货 获取任务明细
* @param {*} id 任务id
*
*/
export function getPurchaseReceiptJobDetail(id) {
return request({
url: baseApi + "/wms/purchasereceipt-job-main/getPurchasereceiptJobyId?id=" + id,
method: "get",
data: {},
});
}
/**
* 采购收货 任务提交
* @param {*} 任务id
*
*/
export function purchaseReceiptJobSubmit(params) {
return request({
url: baseApi + "/wms/purchasereceipt-job-main/execute",
method: "put",
data: params,
});
}
/**
* 采购退货
* status 任务状态
* 开始日期
* 结束日期
* 获取日期任务列表
* 获取任务明细
*/
export function getPurchaseReturnJobList(params) {
return request({
url: baseApi + "/wms/purchasereturn-job-main/senior",
method: "post",
data: params,
});
}
/**
* 采购退货 获取任务明细
* @param {*} id 任务id
*
*/
export function getPurchasereturnJobDetail(id) {
return request({
url: baseApi + "/wms/purchasereturn-job-main/getReturnJobById?id=" + id,
method: "get",
data: {},
});
}
/**
* 采购退货 承接任务
* @param {*} id
*
*/
export function takePurchasereturnJob(id) {
return request({
url: baseApi + "/wms/purchasereturn-job-main/accept?id=" + id,
method: "put",
data: {},
});
}
/**
* 采购退货 放弃承接
* @param {*} id
*
*/
export function cancleTakePurchasereturnJob(id) {
return request({
url: baseApi + "/wms/purchasereturn-job-main/abandon?id=" + id,
method: "put",
data: {},
});
}
/**
* 采购退货 任务提交
* @param {*} params
*/
export function purchaseReturnJobsubmit (params) {
return request({
url: baseApi + "/wms/purchasereturn-job-main/execute",
method: "put",
data: params,
});
}
/**
12 months ago
* 采购退货 申请列表
* 任务状态
* 开始日期
* 结束日期
* 获取日期任务列表
* @param {*}
*/
export function getPurchaseReturnRequestList(params) {
return request({
url: baseApi + "/wms/purchasereturn-request-main/senior",
method: "post",
data: params,
});
}
/**
* 采购退货 获取申请任务明细
* @param {*} id 任务id
*
*/
export function getPurchaseReturnRequestDetail(id) {
return request({
url: baseApi + "/wms/purchasereturn-request-main/getPurchasereturnRequestById?id=" + id,
method: "get",
data: {},
});
}
/**
* 采购退货 记录提交
12 months ago
* @param {*} params
*/
12 months ago
export function purchaseReturnRecordSubmit(params) {
12 months ago
return request({
url: baseApi + "/magic-api/pda/job/purchasereturn/createRecord",
method: "put",
data: params,
});
}
/**
* 采购退货 申请提交
* @param {*} params
*/
12 months ago
export function purchaseReturnRequestSubmit(params) {
12 months ago
return request({
url: baseApi + "/wms/purchasereturn-request-main/submit",
method: "put",
data: params,
});
}
/**
* 到货检验 任务
*
* status 任务状态
* 开始日期
* 结束日期
* 获取日期任务列表
* @param {*}
*/
export function getInspectJobList(params) {
return request({
url: baseApi + "/wms/inspect-job-main/senior",
method: "post",
data: params,
});
}
/**
* 到货检验 获取任务明细
* @param {*} id 任务id
*
*/
export function getInspectJobDetail(id) {
return request({
url: baseApi + "/wms/inspect-job-main/getInspectJobById?id=" + id,
method: "get",
data: {},
});
}
/**
* 到货检验 任务承接
* @param {*} id
*
*/
export function takeInspectJob(id) {
return request({
url: baseApi + "/wms/inspect-job-main/accept?id=" + id,
method: "put",
data: {},
});
}
/**
* 到货检验 放弃承接
* @param {*} id
*
*/
export function cancleTakeInspectJob(id) {
return request({
url: baseApi + "/wms/inspect-job-main/abandon?id=" + id,
method: "put",
data: {},
});
}
/**
* 到货检验 任务提交
* @param {*} 任务id
*
*/
export function inspectJobSubmit(params) {
return request({
url: baseApi + "/wms/inspect-job-main/execute",
method: "put",
data: params,
});
}
/**
* 原料上架 任务
* status 任务状态
* 开始日期
* 结束日期
* 获取日期任务列表
* @param {*}
*/
export function getPutawayJobList(params) {
return request({
url: baseApi + "/wms/putaway-job-main/senior",
method: "post",
data: params,
});
}
/**
* 原料上架 获取任务明细
* @param {*} id 任务id
*
*/
export function getPutawayJobDetail(id) {
return request({
url: baseApi + "/wms/putaway-job-main/getPutawayJobById?id=" + id,
method: "get",
data: {},
});
}
/**
* 原料上架 提交
* @param {*} params
*/
export function putawayJobSubmit(params) {
return request({
url: baseApi + "/wms/putaway-job-main/execute",
method: "put",
data: params,
});
}
/**
* 原料上架 承接任务
* @param {*} id
*
*/
export function takePutawayJob(id) {
return request({
url: baseApi + "/wms/putaway-job-main/accept?id=" + id,
method: "put",
data: {},
});
}
/**
* 原料上架 放弃承接
* @param {*} id
*
*/
export function cancleTakePutawayJob(id) {
return request({
url: baseApi + "/wms/putaway-job-main/abandon?id=" + id,
method: "put",
data: {},
});
}
/**
* 发料任务 列表
* status 任务状态
* 开始日期
* 结束日期
* 获取日期任务列表
* @param {*}
*/
export function getIssueJobList(params) {
return request({
url: baseApi + "/wms/issue-job-main/senior",
method: "post",
data: params,
});
}
/**
* 发料任务明细
* @param {*} 任务id
*
*/
export function getIssueJobDetail(id) {
return request({
url: baseApi + "/wms/issue-job-main/getIssueJobById?id=" + id,
method: "get",
data: {},
});
}
/**
* 发料 任务承接
* @param {*} id
*
*/
export function takeIssueJob(id) {
return request({
url: baseApi + "/wms/purchasereceipt-job-main/accept?id=" + id,
method: "put",
data: {},
});
}
/**
* 发料 放弃承接
* @param {*} id
*
*/
export function cancleTakeIssueJob(id) {
return request({
url: baseApi + "/wms/purchasereceipt-job-main/abandon?id=" + id,
method: "get",
data: {},
});
}
/**
* 生产收料 任务列表
* status 任务状态
* 开始日期
* 结束日期
* 获取日期任务列表
* @param {*}
*/
export function getProductionReceiptJobList(params) {
return request({
url: baseApi + "/wms/productionreceipt-job-main/senior",
method: "post",
data: params,
});
}
/**
* 生产收料 获取任务明细
* @param {*} id 任务id
*
*/
export function getProductionReceiptJobDetail(id) {
return request({
url: baseApi + "/wms/productionreceipt-job-main/getProductionreceiptJobById?id=" + id,
method: "get",
data: {},
});
}
/**
* 生产收料 任务承接
* @param {*} id
*
*/
export function takeProductionReceiptJob(id) {
return request({
url: baseApi + "/wms/purchasereceipt-job-main/accept?id=" + id,
method: "put",
data: {},
});
}
/**
* 生产收料 放弃承接
* @param {*} id
*
*/
export function cancleTakeProductionReceiptJob(id) {
return request({
url: baseApi + "/wms/purchasereceipt-job-main/abandon?id=" + id,
method: "put",
data: {},
});
}
/**
* 生产收料 提交
* @param {*} params
*/
12 months ago
export function productionReceiptJobSubmit(params) {
12 months ago
return request({
12 months ago
url: baseApi + "/magic-api/pda/job/putaway/jobSubmit",
method: "put",
data: params,
});
}
/**
* 生产收料记录 提交
* @param {*} params
*/
export function productionReceiptRecordSubmit(params) {
return request({
url: baseApi + "/magic-api/pda/job/putaway/jobSubmit",
method: "put",
12 months ago
data: params,
});
}
/**
* 库存转移 任务
* status 任务状态
* 开始日期
* 结束日期
* 获取日期任务列表
* @param {*}
*/
export function getInventoryMoveJobList(params) {
return request({
url: baseApi + "/wms/inventorymove-job-main/senior",
method: "post",
data: params,
});
}
/**
* 库存转移 获取任务明细
* @param {*} id 任务id
*
*/
export function getInventoryMoveJobDetail(id) {
return request({
url: baseApi + "/wms/inventorymove-job-main/getInventorymoveJobById?id=" + id,
method: "get",
data: {},
});
}
/**
* 生产收料 任务承接
* @param {*} id
*
*/
export function takeInventoryMoveJob(id) {
return request({
url: baseApi + "/wms/purchasereceipt-job-main/accept?id=" + id,
method: "put",
data: {},
});
}
/**
* 生产收料 放弃承接
* @param {*} id
*
*/
export function cancleTakeInventoryMoveJob(id) {
return request({
url: baseApi + "/wms/purchasereceipt-job-main/abandon?id=" + id,
method: "put",
data: {},
});
}
/**
* 库存转移 任务提交
* @param {*} 任务id
*
*/
export function inventoryMoveSubmit(params) {
return request({
url: baseApi + "/magic-api/pda/job/purchasereceipt/jobSubmit?id=" + id,
method: "put",
data: params,
});
}
/**
* 盘点 任务
* status 任务状态
* 开始日期
* 结束日期
* 获取日期任务列表
* @param {*}
*/
export function getCountJobList(params) {
return request({
url: baseApi + "/wms/count-job-main/senior",
method: "post",
data: params,
});
}
/**
* 盘点 获取任务明细
* @param {*} id 任务id
*
*/
export function getCountJobDetail(id) {
return request({
url: baseApi + "/wms/count-job-main/getCountJobById?id=" + id,
method: "get",
data: {},
});
}
/**
* 盘点 任务承接
* @param {*} id
*
*/
export function takeCountJob(id) {
return request({
url: baseApi + "/wms/purchasereceipt-job-main/accept?id=" + id,
method: "put",
data: {},
});
}
/**
* 盘点 放弃承接
* @param {*} id
*
*/
export function cancleTakeCountJob(id) {
return request({
url: baseApi + "/wms/purchasereceipt-job-main/abandon?id=" + id,
method: "put",
data: {},
});
}
/**
* 盘点 任务提交
* @param {*} 任务id
*
*/
export function countJobSubmit(params) {
return request({
url: baseApi + "/magic-api/pda/job/purchasereceipt/jobSubmit?id=" + id,
method: "put",
data: params,
});
}
/**
* 计划外入库 任务
* status 任务状态
* 开始日期
* 结束日期
* 获取任务列表
* @param {*}
*/
export function getUnPlannedReceiptJobList(params) {
return request({
url: baseApi + "/wms/unplannedreceipt-job-main/senior",
method: "post",
data: params,
});
}
/**
* 计划外入库 获取任务明细
* @param {*} id 任务id
*
*/
export function getUnPlannedReceiptJobDetail(id) {
return request({
url: baseApi + "/wms/unplannedreceipt-job-main/getUnplannedreceiptJobById?id=" + id,
method: "get",
data: {},
});
}
/**
* 计划外入库 任务承接
* @param {*} id
*
*/
export function takeUnPlannedReceiptJob(id) {
return request({
url: baseApi + "/wms/purchasereceipt-job-main/accept?id=" + id,
method: "put",
data: {},
});
}
/**
* 计划外入库 放弃承接
* @param {*} id
*
*/
export function cancleTakeUnPlannedReceiptJob(id) {
return request({
url: baseApi + "/wms/purchasereceipt-job-main/abandon?id=" + id,
method: "get",
data: {},
});
}
/**
12 months ago
* 计划外入库任务 提交
* @param {*} params
*/
export function unPlannedReceiptJobSubmit(params) {
return request({
url: baseApi + "/magic-api/pda/job/purchasereturn/jobSubmit",
method: "put",
data: params,
});
}
/**
* 计划外入库申请 提交
* @param {*} params
*/
export function unPlannedReceiptRequestbSubmit(params) {
return request({
url: baseApi + "/magic-api/pda/job/purchasereturn/jobSubmit",
method: "put",
data: params,
});
}
/**
* 计划外入库记录 提交
12 months ago
* @param {*} params
*/
12 months ago
export function unPlannedReceiptRecordbSubmit(id, params) {
12 months ago
return request({
url: baseApi + "/magic-api/pda/job/purchasereturn/jobSubmit?id=" + id,
method: "post",
data: params,
});
}
/**
* 计划外出库 任务
* status 任务状态
* 开始日期
* 结束日期
* 获取任务列表
* @param {*}
*/
export function getUnPlannedIssueJobList(params) {
return request({
url: baseApi + "/wms/unplannedissue-job-main/senior",
method: "post",
data: params,
});
}
/**
* 计划外出库 获取任务明细
* @param {*} id 任务id
*
*/
export function getUnPlannedIssueJobDetail(id) {
return request({
url: baseApi + "/wms/unplannedissue-job-main/getUnplannedissueJobById?id=" + id,
method: "get",
data: {},
});
}
/**
* 计划外出库 承接
* @param {*} id
*
*/
export function takeUnPlannedIssueJob(id) {
return request({
url: baseApi + "/wms/purchasereceipt-job-main/abandon?id=" + id,
method: "put",
data: {},
});
}
/**
* 计划外出库 放弃承接
* @param {*} id
*
*/
export function cancleTakeUnPlannedIssueJob(id) {
return request({
url: baseApi + "/wms/purchasereceipt-job-main/abandon?id=" + id,
method: "put",
data: {},
});
}
/**
* 计划外出库 提交
* @param {*} params
*/
12 months ago
export function unPlannedIssueJobSubmit(params) {
12 months ago
return request({
12 months ago
url: baseApi + "/magic-api/pda/job/purchasereturn/jobSubmit",
method: "put",
data: params,
});
}
/**
* 计划外出库申请 提交
* @param {*} params
*/
export function unPlannedIssueRequestSubmit(params) {
return request({
url: baseApi + "/magic-api/pda/job/purchasereturn/jobSubmit",
method: "put",
data: params,
});
}
/**
* 计划外出库记录 提交
* @param {*} params
*/
export function unPlannedIssueRecordSubmit(params) {
return request({
url: baseApi + "/magic-api/pda/job/purchasereturn/jobSubmit",
method: "put",
12 months ago
data: params,
});
}
/**
* 制品收货 任务
* status 任务状态
* 开始日期
* 结束日期
* 获取日期任务列表
* @param {*}
*/
export function getProductReceiptJobList(params) {
return request({
url: baseApi + "/wms/productreceipt-job-main/senior",
method: "post",
data: params,
});
}
/**
* 制品收货 获取任务明细
* @param {*} id 任务id
*
*/
export function getProductReceiptJobDetail(id) {
return request({
url: baseApi + "/wms/productreceipt-job-main/getProductreceiptJobById?id=" + id,
method: "get",
data: {},
});
}
/**
12 months ago
* 制品收货 承接
12 months ago
* @param {*} id
*
*/
export function takeProductReceiptJob(id) {
return request({
url: baseApi + "/wms/purchasereceipt-job-main/abandon?id=" + id,
method: "put",
data: {},
});
}
/**
12 months ago
* 制品收货 放弃承接
12 months ago
* @param {*} id
*
*/
export function cancleTakeProductReceiptJob(id) {
return request({
url: baseApi + "/wms/purchasereceipt-job-main/abandon?id=" + id,
method: "put",
data: {},
});
}
/**
* 制品收货 提交
* @param {*} params
*/
12 months ago
export function productReceiptJobsubmit( params) {
12 months ago
return request({
12 months ago
url: baseApi + "/magic-api/pda/job/purchasereturn/jobSubmit",
12 months ago
method: "put",
data: params,
});
}
/**
* 制品上架 任务
* status 任务状态
* 开始日期
* 结束日期
* 获取日期任务列表
* @param {*}
*/
export function getProductPutawayJobList(params) {
return request({
url: baseApi + "/wms/productputaway-job-main/senior",
method: "post",
data: params,
});
}
/**
* 制品上架 获取任务明细
* @param {*} id 任务id
*
*/
export function getProductPutawayJobDetail(id) {
return request({
url: baseApi + "/wms/productputaway-job-main/getProductputawayJobById?id=" + id,
method: "get",
data: {},
});
}
/**
* 制品上架 承接
* @param {*} id
*
*/
export function takeProductPutawayJob(id) {
return request({
url: baseApi + "/wms/purchasereceipt-job-main/abandon?id=" + id,
method: "put",
data: {},
});
}
/**
* 制品上架 放弃承接
* @param {*} id
*
*/
export function cancleTakeProductPutawayJob(id) {
return request({
url: baseApi + "/wms/purchasereceipt-job-main/abandon?id=" + id,
method: "get",
data: {},
});
}
/**
* 制品上架 任务提交
* @param {*} 任务id
*
*/
export function productPutawayJobSubmit(params) {
return request({
12 months ago
url: baseApi + "/magic-api/pda/job/purchasereceipt/jobSubmit",
method: "put",
data: params,
});
}
/**
* 制品上架记录 提交
* @param {*} 任务id
*
*/
export function productPutawayRecordSubmit(params) {
return request({
url: baseApi + "/magic-api/pda/job/purchasereceipt/jobSubmit",
12 months ago
method: "put",
data: params,
});
}
/**
* 制品拆解 任务
* status 任务状态
* 开始日期
* 结束日期
* 获取日期任务列表
* @param {*}
*/
export function getProductDismantleJobList(params) {
return request({
url: baseApi + "/wms/productdismantle-job-main/senior",
method: "post",
data: params,
});
}
/**
* 制品拆解 获取任务明细
* @param {*} id 任务id
*
*/
export function getProductDismantleJobDetail(id) {
return request({
url: baseApi + "/wms/productdismantle-job-main/getProductdismantleJobById?id=" + id,
method: "get",
data: {},
});
}
/**
* 制品拆解 任务承接
* @param {*} id
*
*/
export function takeProductDismantleJob(id) {
return request({
url: baseApi + "/wms/purchasereceipt-job-main/accept?id=" + id,
method: "put",
data: {},
});
}
/**
* 制品拆解 放弃承接
* @param {*} id
*
*/
export function cancleTakeProductDismantleJob(id) {
return request({
url: baseApi + "/wms/purchasereceipt-job-main/abandon?id=" + id,
method: "put",
data: {},
});
}
/**
* 制品拆解 任务提交
* @param {*} 任务id
*
*/
export function productDismantleJobSubmit(params) {
return request({
12 months ago
url: baseApi + "/wms/purchasereceipt-job-main/abandon",
12 months ago
method: "put",
12 months ago
data: {},
12 months ago
});
}
/**
* 制品发货 任务
* status 任务状态
* 开始日期
* 结束日期
* 获取日期任务列表
* @param {*}
*/
export function getDeliverJobList(params) {
return request({
url: baseApi + "/wms/deliver-job-main/senior",
method: "post",
data: params,
});
}
/**
* 制品发货 获取任务明细
* @param {*} id 任务id
*
*/
export function getDeliverDetail(id) {
return request({
url: baseApi + "/wms/deliver-job-main/getDeliverJobById?id=" + id,
method: "get",
data: {},
});
}
/**
* 制品发货 任务承接
* @param {*} id
*
*/
export function takeDeliverJob(id) {
return request({
url: baseApi + "/wms/purchasereceipt-job-main/accept?id=" + id,
method: "put",
data: {},
});
}
/**
* 制品发货 放弃承接
* @param {*} id
*
*/
export function cancleTakeDeliverJob(id) {
return request({
url: baseApi + "/wms/purchasereceipt-job-main/abandon?id=" + id,
method: "put",
data: {},
});
}
/**
* 制品发货 任务提交
* @param {*} 任务id
*
*/
export function deliverJobSubmit( params) {
return request({
url: baseApi + "/magic-api/pda/job/purchasereceipt/jobSubmit?id=" + id,
method: "put",
data: params,
});
}
12 months ago
/**
* 制品发货申请
* 任务状态
* 开始日期
* 结束日期
* 获取日期任务列表
* @param {*}
*/
export function getDeliverRequestList(params) {
return request({
url: baseApi + "/wms/deliver-request-main/senior",
method: "post",
data: params,
});
}
/**
* 制品发货申请 获取任务明细
* @param {*} id 任务id
*
*/
export function getDeliverRequestDetail(id) {
return request({
url: baseApi + "/wms/deliver-request-main/getDeliverRequestById?id=" + id,
method: "get",
data: {},
});
}
/**
* 制品发货申请 申请提交
* @param {*} params
*/
export function deliverRequestSubmit(params) {
return request({
url: baseApi + "/wms/purchasereturn-request-main/submit",
method: "put",
data: params,
});
}
/**
* 制品发货 记录提交
* @param {*} params
*/
export function deliverRecordSubmit(params) {
return request({
url: baseApi + "/wms/purchasereturn-request-main/submit",
method: "put",
data: params,
});
}
12 months ago
/**
* 客户退货 任务
* status 任务状态
* 开始日期
* 结束日期
* 获取日期任务列表
* @param {*}
*/
export function getCustomerReturnJobList(params) {
return request({
url: baseApi + "/wms/customerreturn-job-main/senior",
method: "post",
data: params,
});
}
/**
* 客户退货 获取任务明细
* @param {*} id 任务id
*
*/
export function getCustomerReturnJobDetail(id) {
return request({
url: baseApi + "/wms/customerreturn-job-main/getCustomerreturnJobById?id=" + id,
method: "get",
data: {},
});
}
/**
* 客户退货 任务承接
* @param {*} id
*
*/
export function takeCustomerReturnJob(id) {
return request({
url: baseApi + "/wms/purchasereceipt-job-main/accept?id=" + id,
method: "put",
data: {},
});
}
/**
* 客户退货 放弃承接
* @param {*} id
*
*/
export function cancleTakeCustomerReturnJob(id) {
return request({
url: baseApi + "/wms/purchasereceipt-job-main/abandon?id=" + id,
method: "put",
data: {},
});
}
/**
* 客户退货 任务提交
* @param {*} 任务id
*
*/
export function customerReturnJobSubmit(params) {
return request({
12 months ago
url: baseApi + "/magic-api/pda/job/purchasereceipt/jobSubmit",
12 months ago
method: "put",
data: params,
});
}
/**
* 客户退货申请
* status 任务状态
* 开始日期
* 结束日期
* 获取日期任务列表
* @param {*}
*/
export function getCustomerReturnRequestList(params) {
return request({
url: baseApi + "/wms/customerreturn-request-main/senior",
method: "post",
data: params,
});
}
/**
* 客户退货申请 任务明细
* @param {*} id 任务id
*
*/
export function getCustomerReturnRequestDetail(id) {
return request({
url: baseApi + "/wms/customerreturn-request-main/getCustomerreturnRequestById?id=" + id,
method: "get",
data: {},
});
}
12 months ago
/**
* 客户退货 申请提交
* @param {*} params
*/
export function customerReturnRequestSubmit(params) {
return request({
url: baseApi + "/wms/purchasereturn-request-main/submit",
method: "put",
data: params,
});
}
/**
* 客户退货 记录提交
* @param {*} params
*/
export function customerReturnRecordSubmit(params) {
return request({
url: baseApi + "/wms/purchasereturn-request-main/submit",
method: "put",
data: params,
});
}
12 months ago
/**
* 调拨入库 任务
* status 任务状态
* 开始日期
* 结束日期
* 获取日期任务列表
* @param {*}
*/
export function getTransferReceiptJobList(params) {
return request({
url: baseApi + "/wms/transferreceipt-job-main/senior",
method: "post",
data: params,
});
}
/**
* 调拨入库 获取任务明细
* @param {*} id 任务id
*
*/
export function getTransferReceiptJobDetail(id) {
return request({
url: baseApi + "/wms/transferreceipt-job-main/getTransferreceiptJobById?id=" + id,
method: "get",
data: {},
});
}
/**
* 调拨入库 承接
* @param {*} id
*
*/
export function takeTransferReceiptJob(id) {
return request({
url: baseApi + "/wms/purchasereceipt-job-main/abandon?id=" + id,
method: "put",
data: {},
});
}
/**
* 调拨入库 放弃承接
* @param {*} id
*
*/
export function cancleTakeTransferReceiptJob(id) {
return request({
url: baseApi + "/wms/purchasereceipt-job-main/abandon?id=" + id,
method: "put",
data: {},
});
}
/**
* 调拨入库 任务提交
* @param {*} 任务id
*
*/
export function transferReceiptJobSubmit(params) {
return request({
12 months ago
url: baseApi + "/magic-api/pda/job/purchasereceipt/jobSubmit",
method: "put",
data: params,
});
}
/**
* 调拨入库记录 提交
* @param {*} id
*
*/
export function transferReceiptRecordSubmit(params) {
return request({
url: baseApi + "/magic-api/pda/job/purchasereceipt/jobSubmit",
12 months ago
method: "put",
data: params,
});
}
/**
* 调拨出库 任务列表
* status 任务状态
* 开始日期
* 结束日期
* 获取日期任务列表
* @param {*}
*/
export function getTransferIssueJobList(params) {
return request({
url: baseApi + "/wms/transferissue-job-main/senior",
method: "post",
data: params,
});
}
/**
* 调拨出库 获取任务明细
* @param {*} id 任务id
*
*/
export function getTransferIssueJobDetail(id) {
return request({
url: baseApi + "/wms/transferissue-job-main/getTransferissueJobById?id=" + id,
method: "get",
data: {},
});
}
/**
12 months ago
* 调拨出库 承接
12 months ago
* @param {*} id
*
*/
export function takeTransferIssueJob(id) {
return request({
url: baseApi + "/wms/purchasereceipt-job-main/abandon?id=" + id,
method: "put",
data: {},
});
}
/**
12 months ago
* 调拨出库 放弃承接
12 months ago
* @param {*} id
*
*/
export function cancleTakeTransferIssueJob(id) {
return request({
url: baseApi + "/wms/purchasereceipt-job-main/abandon?id=" + id,
method: "put",
data: {},
});
}
/**
* 调拨出库 任务提交
* @param {*} 任务id
*
*/
export function transferIssueJobSubmit( params) {
return request({
url: baseApi + "/magic-api/pda/job/purchasereceipt/jobSubmit?id=" + id,
method: "post",
data: params,
});
}
12 months ago
/**
* 调拨出库记录 提交
* @param {*}
*
*/
export function transferIssueRecordSubmit( params) {
return request({
url: baseApi + "/magic-api/pda/job/purchasereceipt/jobSubmit",
method: "put",
data: params,
});
}
12 months ago
/**
* 制品上架申请
* 任务状态
* 开始日期
* 结束日期
* 获取日期任务列表
* @param {*}
*/
export function getProductPutawayRequestList(params) {
return request({
url: baseApi + "/wms/productputaway-request-main/senior",
method: "post",
data: params,
});
}
/**
* 制品上架申请 获取任务明细
* @param {*} id 任务id
*
*/
export function getProductPutawayRequestDetail(id) {
return request({
url: baseApi + "/wms/productputaway-request-main/getProductputawayRequestById?id=" + id,
method: "get",
data: {},
});
}
12 months ago
/**
* 制品上架 申请提交
* @param {*} params
*/
export function productPutawayRequestSubmit(params) {
return request({
url: baseApi + "/wms/purchasereturn-request-main/submit",
method: "put",
data: params,
});
}
12 months ago
/**
* 发料申请列表
* @param {*} params
*/
export function getIssueRequestList(params) {
return request({
url: baseApi + "/wms/issue-request-main/senior",
method: "post",
data: params,
});
}
/**
* 发料申请明细
* @param {*} id
*/
export function getIssueRequestDetail(id) {
return request({
url: baseApi + "/wms/issue-request-main/getIssueRequestById?id="+id,
method: "get",
data: {},
});
}
/**
12 months ago
* 发料申请 提交
* @param {*} params
12 months ago
*/
12 months ago
export function issueRequestSubmit(params) {
12 months ago
return request({
12 months ago
url: baseApi + "/wms/purchasereturn-request-main/submit",
method: "put",
12 months ago
data: params,
});
}
/**
12 months ago
* 发料记录 提交
* @param {*} params
12 months ago
*/
12 months ago
export function issueRecordSubmit(params) {
12 months ago
return request({
12 months ago
url: baseApi + "/wms/purchasereturn-request-main/submit",
method: "put",
data: params,
12 months ago
});
}
12 months ago
12 months ago
/**
* 原料上架申请 获取任务列表
* 任务状态
* 开始日期
* 结束日期
* 获取日期任务列表
* @param {*}
*/
export function getPutawayRequestList(params) {
return request({
url: baseApi + "/wms/putaway-request-main/senior",
method: "post",
data: params,
});
}
/**
* 原料上架申请 获取任务明细
* @param {*} id 任务id
*
*/
export function getPutawayRequestDetail(id) {
return request({
url: baseApi + "/wms/putaway-request-main/getPutawayRequestById?id=" + id,
method: "get",
data: {},
});
}
12 months ago
/**
* 原料上架申请 提交
* @param {*} params
*/
export function putawayRequestSubmit(params) {
return request({
url: baseApi + "/wms/purchasereturn-request-main/submit",
method: "put",
data: params,
});
}
/**
* 原料上架记录 提交
* @param {*} params
*/
export function putawayRecordSubmit(params) {
return request({
url: baseApi + "/wms/purchasereturn-request-main/submit",
method: "put",
data: params,
});
}
12 months ago
/**
* 生产退料 任务获取任务列表
* 任务状态
* 开始日期
* 结束日期
* 获取日期任务列表
* @param {*}
*/
export function getProductionreturnJobList(params) {
return request({
url: baseApi + "/wms/productionreturn-job-main/senior",
method: "post",
data: params,
});
}
/**
* 生产退料任务 获取任务明细
* @param {*} id 任务id
*
*/
export function getProductionReturnJobDetail(id) {
return request({
url: baseApi + "/wms/productionreturn-job-main/getProductionreturnJobById?id=" + id,
method: "get",
data: {},
});
}
/**
12 months ago
* 生产退料 承接任务
12 months ago
* @param {*} id
*
*/
export function takeProductionReturnJob(id) {
return request({
url: baseApi + "/wms/purchasereceipt-job-main/abandon?id=" + id,
method: "put",
data: {},
});
}
/**
* 生产退料 放弃承接
* @param {*} id
*
*/
export function cancleTakeProductionReturnJob(id) {
return request({
url: baseApi + "/wms/purchasereceipt-job-main/abandon?id=" + id,
method: "put",
data: {},
});
}
12 months ago
/**
* 生产退料 任务提交
* @param {*} 任务id
*
*/
export function productionReturnJobSubmit( params) {
return request({
url: baseApi + "/magic-api/pda/job/purchasereceipt/jobSubmit?id=" + id,
method: "put",
data: params,
});
}
12 months ago
/**
* 生产退料申请 获取任务列表
* status 任务状态
* 开始日期
* 结束日期
* 获取日期任务列表
* @param {*}
*/
export function getProductionReturnRequestList(params) {
return request({
url: baseApi + "/wms/productionreturn-request-main/senior",
method: "post",
data: params,
});
}
/**
12 months ago
* 生产退料申请 获取申请明细
* @param {*} id
12 months ago
*
*/
export function getProductionReturnRequestDetail(id) {
return request({
url: baseApi + "/wms/productionreturn-request-main/getProductionreturnRequestById?id=" + id,
method: "get",
data: {},
});
}
/**
12 months ago
* 生产退料申请 提交
* @param {*} params
12 months ago
*/
12 months ago
export function productionReturnRequestSubmit(params) {
12 months ago
return request({
12 months ago
url: baseApi + "/wms/purchasereturn-request-main/submit",
12 months ago
method: "put",
data: params,
});
}
12 months ago
/**
* 生产退料记录 提交
* @param {*} params
*/
export function productionReturnRecordSubmit(params) {
return request({
url: baseApi + "/wms/purchasereturn-request-main/submit",
method: "put",
data: params,
});
}
12 months ago
/**
* 计划外出库申请
* 任务状态
* 开始日期
* 结束日期
* 获取任务列表
* @param {*}
*/
export function getUnPlannedIssueRequestList(params) {
return request({
url: baseApi + "/wms/unplannedissue-request-main/senior",
method: "post",
data: params,
});
}
/**
* 计划外出库申请 获取明细
* @param {*} id 任务id
*
*/
export function getUnPlannedIssueRequestDetail(id) {
return request({
url: baseApi + "/wms/unplannedissue-request-main/getUnplannedissueRequestById?id=" + id,
method: "get",
data: {},
});
}
/**
* 计划外入库 申请
* status 任务状态
* 开始日期
* 结束日期
* 获取任务列表
* @param {*}
*/
export function getUnPlannedReceiptRequestList(params) {
return request({
url: baseApi + "/wms/unplannedreceipt-request-main/senior",
method: "post",
data: params,
});
}
/**
* 计划外入库申请 获取任务明细
* @param {*} id 任务id
*
*/
export function getUnPlannedReceiptRequestDetail(id) {
return request({
url: baseApi + "/wms/unplannedreceipt-request-main/getUnplannedreceiptRequestById?id=" + id,
method: "get",
data: {},
});
}
/**
12 months ago
* 计划外入库 申请提交
* @param {*} params
12 months ago
*/
12 months ago
export function unPlannedReceiptRequestSubmit(params) {
12 months ago
return request({
12 months ago
url: baseApi + "/wms/purchasereturn-request-main/submit",
method: "put",
12 months ago
data: params,
});
}
/**
* 报废出库 任务
* status 任务状态
* 开始日期
* 结束日期
* 获取日期任务列表
* @param {*}
*/
export function getScrapJobList(params) {
return request({
url: baseApi + "/wms/scrap-job-main/senior",
method: "post",
data: params,
});
}
/**
* @param {*} id 任务id
*/
export function getScrapJobDetail(id) {
return request({
url: baseApi + "/wms/scrap-job-main/getScrapJobById?id=" + id,
method: "get",
data: {},
});
}
/**
* 报废出库 任务承接
* @param {*} id
*
*/
export function takeScrapJob(id) {
return request({
url: baseApi + "/wms/purchasereceipt-job-main/accept?id=" + id,
method: "put",
data: {},
});
}
/**
* 报废出库 放弃承接
* @param {*} id
*
*/
export function cancleTakeScrapJob(id) {
return request({
url: baseApi + "/wms/purchasereceipt-job-main/abandon?id=" + id,
method: "put",
data: {},
});
}
/**
* 报废出库 任务提交
* @param {*} 任务id
*
*/
export function scrapJobSubmit( params) {
return request({
url: baseApi + "/magic-api/pda/job/purchasereceipt/jobSubmit?id=" + id,
method: "put",
data: params,
});
}
12 months ago
/**
* 报废出库 申请
* status 任务状态
* 开始日期
* 结束日期
* 获取任务列表
* @param {*}
*/
export function getScrapRequestList(params) {
return request({
url: baseApi + "/wms/scrap-request-main/senior",
method: "post",
data: params,
});
}
/**
* 报废出库申请 获取申请明细
* @param {*} id 任务id
*
*/
export function getScrapRequestDetail(id) {
return request({
url: baseApi + "/wms/scrap-request-main/getScrapRequestById?id=" + id,
method: "get",
data: {},
});
}
/**
* 报废出库申请 提交
* @param {*} params
*/
export function scrapRequestSubmit(params) {
return request({
url: baseApi + "/wms/purchasereturn-request-main/submit",
method: "put",
data: params,
});
}
/**
* 报废出库记录 提交
* @param {*} params
*/
export function scrapRecordSubmit(params) {
return request({
url: baseApi + "/wms/purchasereturn-request-main/submit",
method: "put",
data: params,
});
}
12 months ago
/**
* 补料任务 列表
*
* status 任务状态
* 开始日期
* 结束日期
* 获取日期任务列表
* @param {*}
*/
export function getRepleinshJobList(params) {
return request({
url: baseApi + "/wms/repleinsh-job-main/senior",
method: "post",
data: params,
});
}
/**
* 补料任务 获取任务明细
* @param {*} id 任务id
*
*/
export function getRepleinshJobDetail(id) {
return request({
url: baseApi + "/wms/repleinsh-job-main/getRepleinshJobById?id=" + id,
method: "get",
data: {},
});
}
/**
* 补料 任务承接
* @param {*} id
*
*/
export function takeRepleinshJob(id) {
return request({
url: baseApi + "/wms/purchasereceipt-job-main/accept?id=" + id,
method: "put",
data: {},
});
}
/**
* 补料 放弃承接
* @param {*} id
*
*/
export function cancleTakeRepleinshJob(id) {
return request({
url: baseApi + "/wms/purchasereceipt-job-main/abandon?id=" + id,
method: "put",
data: {},
});
}
/**
12 months ago
* 补料任务 提交
12 months ago
* @param {*} params
*/
12 months ago
export function repleinshJobSubmit(params) {
12 months ago
return request({
12 months ago
url: baseApi + "/magic-api/pda/job/putaway/jobSubmit",
method: "put",
data: params,
});
}
/**
* 补料申请 提交
* @param {*} params
*/
export function repleinshRequestSubmit(params) {
return request({
url: baseApi + "/magic-api/pda/job/putaway/jobSubmit",
method: "put",
data: params,
});
}
/**
* 补料记录 提交
* @param {*} params
*/
export function repleinshRecordSubmit(params) {
return request({
url: baseApi + "/magic-api/pda/job/putaway/jobSubmit",
method: "put",
data: params,
});
}
/**
* 托盘绑定 提交
* @param {*} params
*/
export function bindPalledtRecordSubmit(params) {
return request({
url: baseApi + "/magic-api/pda/job/putaway/jobSubmit",
method: "put",
data: params,
});
}
/**
* 托盘解绑 提交
* @param {*} params
*/
export function unbindPalledtRecordSubmit(params) {
return request({
url: baseApi + "/magic-api/pda/job/putaway/jobSubmit",
method: "put",
data: params,
});
}
/**
* 拆包 提交
* @param {*} params
*/
export function splitPackageRecordSubmit(params) {
return request({
url: baseApi + "/magic-api/pda/job/putaway/jobSubmit",
method: "put",
data: params,
});
}
/**
* 合包 提交
* @param {*} params
*/
export function mergePackageRecordSubmit(params) {
return request({
url: baseApi + "/magic-api/pda/job/putaway/jobSubmit",
method: "put",
data: params,
});
}
/**
* 翻包 提交
* @param {*} params
*/
export function overPackageRecordSubmit(params) {
return request({
url: baseApi + "/magic-api/pda/job/putaway/jobSubmit",
method: "put",
12 months ago
data: params,
});
}
/**
* "itemCodes": [],
"locationCode":"INSPECT"
管理精度策略
* @param {*}
*
*/
export function getManagementPrecision(params) {
return request({
url: baseApi + "/wms/rule/getPrecisionStrategyByItemCodes",
method: "post",
data: params,
});
}
/**
* 查询库存通过多种条件 高级筛选
* @param {*}
*
*/
export function getBalanceByFilter(param) {
return request({
url: baseApi + "/wms/balance/senior",
method: "post",
data: param,
});
}