Commit 54cfa283 authored by wh's avatar wh

发货管理

parent 1605f447
import request from '@/utils/request'
// 创建出货管理
export function createBox(data) {
// 创建出货
export function createbox(data) {
return request({
url: '/ecw/box/create',
url: '/shipment/box/create',
method: 'post',
data: data
})
}
// 更新出货管理
export function updateBox(data) {
// 更新出货
export function updatebox(data) {
return request({
url: '/ecw/box/update',
url: '/shipment/box/update',
method: 'put',
data: data
})
}
// 删除出货管理
export function deleteBox(id) {
// 删除出货
export function deletebox(id) {
return request({
url: '/ecw/box/delete?id=' + id,
url: '/shipment/box/delete?id=' + id,
method: 'delete'
})
}
// 获得出货管理
export function getBox(id) {
// 获得出货
export function getbox(id) {
return request({
url: '/ecw/box/get?id=' + id,
url: '/shipment/box/get?id=' + id,
method: 'get'
})
}
// 获得出货管理分页
export function getBoxPage(query) {
// 获得出货分页
export function getboxPage(query) {
return request({
url: '/ecw/box/page',
url: '/shipment/box/page',
method: 'get',
params: query
})
}
// 导出出货管理 Excel
export function exportBoxExcel(query) {
// 导出出货 Excel
export function exportboxExcel(query) {
return request({
url: '/ecw/box/export-excel',
url: '/shipment/box/export-excel',
method: 'get',
params: query,
responseType: 'blob'
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment