Commit c8ec428d authored by Smile's avatar Smile

包裹页面

parent c7f580b4
import request from '@/utils/request'
// 创建集运包裹主
export function createCons(data) {
return request({
url: '/ecw/cons/create',
method: 'post',
data: data
})
}
// 更新集运包裹主
export function updateCons(data) {
return request({
url: '/ecw/cons/update',
method: 'put',
data: data
})
}
// 删除集运包裹主
export function deleteCons(id) {
return request({
url: '/ecw/cons/delete?id=' + id,
method: 'delete'
})
}
// 获得集运包裹主
export function getCons(id) {
return request({
url: '/ecw/cons/get?id=' + id,
method: 'get'
})
}
// 获得集运包裹主分页
export function getConsPage(query) {
return request({
url: '/ecw/cons/page',
method: 'get',
params: query
})
}
// 导出集运包裹主 Excel
export function exportConsExcel(query) {
return request({
url: '/ecw/cons/export-excel',
method: 'get',
params: query,
responseType: 'blob'
})
}
......@@ -280,6 +280,8 @@ export const DICT_TYPE = {
MEMBERSHIP_LEVELS: "membership_levels", //会员等级
ENABLE_STATUS: "enable_status", //会员等级规则开启状态
MEMBER_USER_OPERATE_LOG: "member_user_operate_log", //会员等级操作日志
CONS_BUSINESS_NODE: "cons_business_node", //包裹业务节点
CONS_STATUS: "cons_status", //包裹状态
};
/**
......
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