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.
70 lines
3.1 KiB
70 lines
3.1 KiB
import { createAPI } from "@/utils/httpRequest.js";
|
|
|
|
|
|
// 获取采购单信息
|
|
export const getPoList = data => createAPI(`po/getPoList`,'post',data)
|
|
|
|
// 接收采购单信息
|
|
export const receivePo = data => createAPI(`po/receivePo`,'post',data)
|
|
|
|
// 获取下一个itemNo
|
|
export const getNextItemNo = data => createAPI(`po/getNextItemNo`,'post',data)
|
|
|
|
// 获取待检验入库单列表
|
|
export const getQualifiedInspectionList = data => createAPI(`inspection/getQualifiedInspectionList`,'post',data)
|
|
|
|
// 获取检验不合格待处理单据列表
|
|
export const getUnqualifiedInspectionList = data => createAPI(`inspection/getUnqualifiedInspectionList`,'post',data)
|
|
|
|
// 扫描条码获取HandlingUnit信息
|
|
export const scanHandlingUnitLabel = data => createAPI(`handlingunit/getHandlingUnitDetail`,'post',data)
|
|
|
|
// 检验合格入库
|
|
export const confirmQualifiedInbound = data => createAPI(`inspection/confirmQualifiedInbound`,'post',data)
|
|
|
|
// 获取检验历史记录
|
|
export const getInboundHistory = data => createAPI(`inspection/getInboundHistory`,'post',data)
|
|
|
|
// 确认不合格处理
|
|
export const confirmUnqualifiedProcess = data => createAPI(`inspection/confirmUnqualifiedProcess`,'post',data)
|
|
|
|
// 确认其它入库
|
|
export const confirmOtherInbound = data => createAPI(`other/confirmOtherInbound`,'post',data)
|
|
|
|
// 确认其它出库
|
|
export const confirmOtherOutbound = data => createAPI(`other/confirmOtherOutbound`,'post',data)
|
|
|
|
// 获取其它出库历史
|
|
export const getOtherOutboundHistory = data => createAPI(`other/getOtherOutboundHistory`,'post',data)
|
|
|
|
// 打印标签
|
|
export const printLabel = data => createAPI('/label/setting/printLabel','post',data)
|
|
|
|
// 获取PO接收记录
|
|
export const getPoReceiveRecords = data => createAPI(`po/getPoReceiveRecords`,'post',data)
|
|
|
|
// 根据接收单号获取HandlingUnit列表
|
|
export const getHandlingUnitsByReceiptNo = data => createAPI(`po/getHandlingUnitsByReceiptNo`,'post',data)
|
|
|
|
// 确认库存移库
|
|
export const confirmInventoryMove = data => createAPI(`other/confirmInventoryMove`,'post',data)
|
|
|
|
// 获取采购订单接收记录列表(检验合格入库用)
|
|
export const getPurchaseOrderReceiptList = data => createAPI(`qualified-storage/getPurchaseOrderReceiptList`,'post',data)
|
|
|
|
// 校验并获取HandlingUnit信息(检验合格入库用)
|
|
export const validateHandlingUnitForQualifiedStorage = data => createAPI(`qualified-storage/validateHandlingUnit`,'post',data)
|
|
|
|
// 确认检验合格入库
|
|
export const confirmQualifiedStorage = data => createAPI(`qualified-storage/confirmQualifiedStorage`,'post',data)
|
|
|
|
// 校验库位类型是否匹配收货方式要求
|
|
export const validateLocationForReceiveCase = data => createAPI(`warehouse/validateLocationForReceiveCase`, 'post', data)
|
|
|
|
// 校验库位是否为PICKING类型(检验合格入库用)
|
|
export const validateLocationForPicking = data => createAPI(`warehouse/validateLocationForPicking`, 'post', data)
|
|
|
|
// 根据站点和料号查询料件属性详情
|
|
export const getPartAttributeInfo = data => createAPI('/factory/partAttribute/info', 'get', data)
|
|
|
|
export const printLabelCommon = data => createAPI('/label/setting/printLabelCommon','post',data)
|