2024-09-30 16:44:59 +08:00
|
|
|
import request from '@/utils/request'
|
|
|
|
|
|
|
|
// 预订单表列表
|
|
|
|
export function apiBeforehandOrderLists(params: any) {
|
|
|
|
return request.get({ url: '/beforehand_order/beforehandorder/lists', params })
|
|
|
|
}
|
|
|
|
|
|
|
|
// 添加预订单表
|
|
|
|
export function apiBeforehandOrderAdd(params: any) {
|
|
|
|
return request.post({ url: '/beforehand_order/beforehandorder/add', params })
|
|
|
|
}
|
|
|
|
|
|
|
|
// 编辑预订单表
|
|
|
|
export function apiBeforehandOrderEdit(params: any) {
|
|
|
|
return request.post({ url: '/beforehand_order/beforehandorder/edit', params })
|
|
|
|
}
|
2024-10-05 16:21:26 +08:00
|
|
|
// 一键入库
|
|
|
|
export function apiBeforehandOrderCreateOutboundOrder(params: any) {
|
|
|
|
return request.post({ url: '/beforehand_order/beforehandorder/createOutboundOrder', params })
|
|
|
|
}
|
2024-09-30 16:44:59 +08:00
|
|
|
|
|
|
|
// 删除预订单表
|
|
|
|
export function apiBeforehandOrderDelete(params: any) {
|
|
|
|
return request.post({ url: '/beforehand_order/beforehandorder/delete', params })
|
|
|
|
}
|
|
|
|
|
|
|
|
// 预订单表详情
|
|
|
|
export function apiBeforehandOrderDetail(params: any) {
|
|
|
|
return request.get({ url: '/beforehand_order/beforehandorder/detail', params })
|
|
|
|
}
|
2024-10-05 16:21:26 +08:00
|
|
|
|
|
|
|
// 入库列表
|
|
|
|
export function apiBeforehandOrderWarehousingLists(params: any) {
|
|
|
|
return request.get({ url: '/beforehand_order/beforehandorder/warehousing_lists', params })
|
|
|
|
}
|
|
|
|
// 出库列表
|
|
|
|
export function apiBeforehandOrderOutboundLists(params: any) {
|
|
|
|
return request.get({ url: '/beforehand_order/beforehandorder/outbound_lists', params })
|
|
|
|
}
|
2024-10-08 11:37:57 +08:00
|
|
|
// 订单转预订单
|
|
|
|
export function apiPurchaseOrderTransferAdvanceOrder(params: any) {
|
|
|
|
return request.post({
|
|
|
|
url: '/beforehand_order/beforehandorder/orderTransferAdvanceOrder',
|
|
|
|
params
|
|
|
|
})
|
|
|
|
}
|