|
|
@@ -3,7 +3,7 @@ import request from '@/utils/request'
|
|
|
// 查询订单列表
|
|
|
export function listStoreOrder(data) {
|
|
|
return request({
|
|
|
- url: '/store/store/storeOrder/list',
|
|
|
+ url: '/store/storeOrder/list',
|
|
|
method: 'post',
|
|
|
data: data
|
|
|
})
|
|
|
@@ -12,7 +12,7 @@ export function listStoreOrder(data) {
|
|
|
// 查询订单明细总数
|
|
|
export function getOrderItemsNum(query) {
|
|
|
return request({
|
|
|
- url: '/store/store/storeOrder/orderItemsNum',
|
|
|
+ url: '/store/storeOrder/orderItemsNum',
|
|
|
method: 'get',
|
|
|
params: query
|
|
|
})
|
|
|
@@ -20,7 +20,7 @@ export function getOrderItemsNum(query) {
|
|
|
// 查询尾款订单列表
|
|
|
export function listPayRemainOrder(query) {
|
|
|
return request({
|
|
|
- url: '/store/store/storeOrder/payRemainList',
|
|
|
+ url: '/store/storeOrder/payRemainList',
|
|
|
method: 'get',
|
|
|
params: query
|
|
|
})
|
|
|
@@ -28,7 +28,7 @@ export function listPayRemainOrder(query) {
|
|
|
// 查询推广订单列表
|
|
|
export function listPromotionOrder(query) {
|
|
|
return request({
|
|
|
- url: '/store/store/storeOrder/promotionList',
|
|
|
+ url: '/store/storeOrder/promotionList',
|
|
|
method: 'get',
|
|
|
params: query
|
|
|
})
|
|
|
@@ -36,7 +36,7 @@ export function listPromotionOrder(query) {
|
|
|
// 查询健康商城订单列表
|
|
|
export function listHealthStoreOrder(data) {
|
|
|
return request({
|
|
|
- url: '/store/store/storeOrder/healthList',
|
|
|
+ url: '/store/storeOrder/healthList',
|
|
|
method: 'post',
|
|
|
data: data
|
|
|
})
|
|
|
@@ -44,7 +44,7 @@ export function listHealthStoreOrder(data) {
|
|
|
|
|
|
export function getCustomerOrderList(query) {
|
|
|
return request({
|
|
|
- url: '/store/store/storeOrder/getCustomerOrderList',
|
|
|
+ url: '/store/storeOrder/getCustomerOrderList',
|
|
|
method: 'get',
|
|
|
params: query
|
|
|
})
|
|
|
@@ -57,7 +57,7 @@ export function getCustomerOrderList(query) {
|
|
|
// 查询订单详细
|
|
|
export function getStoreOrder(id) {
|
|
|
return request({
|
|
|
- url: '/store/store/storeOrder/' + id,
|
|
|
+ url: '/store/storeOrder/' + id,
|
|
|
method: 'get'
|
|
|
})
|
|
|
}
|
|
|
@@ -65,7 +65,7 @@ export function getStoreOrder(id) {
|
|
|
// 查询订单详细
|
|
|
export function getStoreOrderAddress(id) {
|
|
|
return request({
|
|
|
- url: '/store/store/storeOrder/queryAddress/' + id,
|
|
|
+ url: '/store/storeOrder/queryAddress/' + id,
|
|
|
method: 'get'
|
|
|
})
|
|
|
}
|
|
|
@@ -73,7 +73,7 @@ export function getStoreOrderAddress(id) {
|
|
|
// 查询订单详细
|
|
|
export function getStoreOrderPhone(id) {
|
|
|
return request({
|
|
|
- url: '/store/store/storeOrder/queryPhone/' + id,
|
|
|
+ url: '/store/storeOrder/queryPhone/' + id,
|
|
|
method: 'get'
|
|
|
})
|
|
|
}
|
|
|
@@ -81,7 +81,7 @@ export function getStoreOrderPhone(id) {
|
|
|
|
|
|
export function getExpress(id) {
|
|
|
return request({
|
|
|
- url: '/store/store/storeOrder/getExpress/' + id,
|
|
|
+ url: '/store/storeOrder/getExpress/' + id,
|
|
|
method: 'get'
|
|
|
})
|
|
|
}
|
|
|
@@ -89,7 +89,7 @@ export function getExpress(id) {
|
|
|
// 新增订单
|
|
|
export function addStoreOrder(data) {
|
|
|
return request({
|
|
|
- url: '/store/store/storeOrder',
|
|
|
+ url: '/store/storeOrder',
|
|
|
method: 'post',
|
|
|
data: data
|
|
|
})
|
|
|
@@ -98,7 +98,7 @@ export function addStoreOrder(data) {
|
|
|
// 修改订单
|
|
|
export function updateStoreOrder(data) {
|
|
|
return request({
|
|
|
- url: '/store/store/storeOrder',
|
|
|
+ url: '/store/storeOrder',
|
|
|
method: 'put',
|
|
|
data: data
|
|
|
})
|
|
|
@@ -107,7 +107,7 @@ export function updateStoreOrder(data) {
|
|
|
// 修改物流编号
|
|
|
export function updateDeliveryId(data) {
|
|
|
return request({
|
|
|
- url: '/store/store/storeOrder/editDeliveryId',
|
|
|
+ url: '/store/storeOrder/editDeliveryId',
|
|
|
method: 'put',
|
|
|
data: data
|
|
|
})
|
|
|
@@ -116,7 +116,7 @@ export function updateDeliveryId(data) {
|
|
|
// 删除订单
|
|
|
export function delStoreOrder(id) {
|
|
|
return request({
|
|
|
- url: '/store/store/storeOrder/' + id,
|
|
|
+ url: '/store/storeOrder/' + id,
|
|
|
method: 'delete'
|
|
|
})
|
|
|
}
|
|
|
@@ -124,7 +124,7 @@ export function delStoreOrder(id) {
|
|
|
// 导出订单
|
|
|
export function exportStoreOrder(data) {
|
|
|
return request({
|
|
|
- url: '/store/store/storeOrder/export',
|
|
|
+ url: '/store/storeOrder/export',
|
|
|
method: 'post',
|
|
|
data: data
|
|
|
})
|
|
|
@@ -133,7 +133,7 @@ export function exportStoreOrder(data) {
|
|
|
// 导出订单
|
|
|
export function exportStoreOrderDetails(data) {
|
|
|
return request({
|
|
|
- url: '/store/store/storeOrder/exportDetails',
|
|
|
+ url: '/store/storeOrder/exportDetails',
|
|
|
method: 'post',
|
|
|
data: data
|
|
|
})
|
|
|
@@ -143,7 +143,7 @@ export function exportStoreOrderDetails(data) {
|
|
|
// 导出订单
|
|
|
export function exportHealthStoreOrder(data) {
|
|
|
return request({
|
|
|
- url: '/store/store/storeOrder/healthExport',
|
|
|
+ url: '/store/storeOrder/healthExport',
|
|
|
method: 'post',
|
|
|
data: data
|
|
|
})
|
|
|
@@ -152,7 +152,7 @@ export function exportHealthStoreOrder(data) {
|
|
|
// 导出订单
|
|
|
export function exportHealthStoreOrderDetails(data) {
|
|
|
return request({
|
|
|
- url: '/store/store/storeOrder/healthExportDetails',
|
|
|
+ url: '/store/storeOrder/healthExportDetails',
|
|
|
method: 'post',
|
|
|
data: data
|
|
|
})
|
|
|
@@ -161,7 +161,7 @@ export function exportHealthStoreOrderDetails(data) {
|
|
|
// 导出订单
|
|
|
export function exportPromotionOrder(query) {
|
|
|
return request({
|
|
|
- url: '/store/store/storeOrder/promotionExport',
|
|
|
+ url: '/store/storeOrder/promotionExport',
|
|
|
method: 'get',
|
|
|
params: query
|
|
|
})
|
|
|
@@ -170,7 +170,7 @@ export function exportPromotionOrder(query) {
|
|
|
// 导出付尾款订单
|
|
|
export function exportStorePayRemainOrder(query) {
|
|
|
return request({
|
|
|
- url: '/store/store/storeOrder/payRemainExport',
|
|
|
+ url: '/store/storeOrder/payRemainExport',
|
|
|
method: 'get',
|
|
|
params: query
|
|
|
})
|
|
|
@@ -179,7 +179,7 @@ export function exportStorePayRemainOrder(query) {
|
|
|
// 导出订单
|
|
|
export function exportStoreOrderItems(query) {
|
|
|
return request({
|
|
|
- url: '/store/store/storeOrder/exportItems',
|
|
|
+ url: '/store/storeOrder/exportItems',
|
|
|
method: 'get',
|
|
|
params: query
|
|
|
})
|
|
|
@@ -188,7 +188,7 @@ export function exportStoreOrderItems(query) {
|
|
|
// 导出订单
|
|
|
export function exportStoreOrderItemsDetails(query) {
|
|
|
return request({
|
|
|
- url: '/store/store/storeOrder/exportItemsDetails',
|
|
|
+ url: '/store/storeOrder/exportItemsDetails',
|
|
|
method: 'get',
|
|
|
params: query
|
|
|
})
|
|
|
@@ -197,7 +197,7 @@ export function exportStoreOrderItemsDetails(query) {
|
|
|
// 导出订单
|
|
|
export function exportHealthStoreOrderItems(query) {
|
|
|
return request({
|
|
|
- url: '/store/store/storeOrder/healthExportItems',
|
|
|
+ url: '/store/storeOrder/healthExportItems',
|
|
|
method: 'get',
|
|
|
params: query
|
|
|
})
|
|
|
@@ -206,7 +206,7 @@ export function exportHealthStoreOrderItems(query) {
|
|
|
// 导出订单
|
|
|
export function exportHealthStoreOrderItemsDetails(query) {
|
|
|
return request({
|
|
|
- url: '/store/store/storeOrder/healthExportItemsDetails',
|
|
|
+ url: '/store/storeOrder/healthExportItemsDetails',
|
|
|
method: 'get',
|
|
|
params: query
|
|
|
})
|
|
|
@@ -214,7 +214,7 @@ export function exportHealthStoreOrderItemsDetails(query) {
|
|
|
|
|
|
export function createUserOrder(data) {
|
|
|
return request({
|
|
|
- url: '/store/store/storeOrder/createUserOrder',
|
|
|
+ url: '/store/storeOrder/createUserOrder',
|
|
|
method: 'post',
|
|
|
data: data
|
|
|
})
|
|
|
@@ -222,21 +222,21 @@ export function createUserOrder(data) {
|
|
|
|
|
|
export function finishOrder(data) {
|
|
|
return request({
|
|
|
- url: '/store/store/storeOrder/finishOrder',
|
|
|
+ url: '/store/storeOrder/finishOrder',
|
|
|
method: 'post',
|
|
|
data: data
|
|
|
})
|
|
|
}
|
|
|
export function importTemplate() {
|
|
|
return request({
|
|
|
- url: '/store/store/storeOrder/importTemplate',
|
|
|
+ url: '/store/storeOrder/importTemplate',
|
|
|
method: 'get'
|
|
|
})
|
|
|
}
|
|
|
|
|
|
export function editTuiMoney(data) {
|
|
|
return request({
|
|
|
- url: '/store/store/storeOrder/editTuiMoney',
|
|
|
+ url: '/store/storeOrder/editTuiMoney',
|
|
|
method: 'post',
|
|
|
data: data
|
|
|
})
|
|
|
@@ -244,7 +244,7 @@ export function editTuiMoney(data) {
|
|
|
|
|
|
export function refundOrderMoney(data) {
|
|
|
return request({
|
|
|
- url: '/store/store/storeOrder/refundOrderMoney',
|
|
|
+ url: '/store/storeOrder/refundOrderMoney',
|
|
|
method: 'post',
|
|
|
data: data
|
|
|
})
|
|
|
@@ -252,14 +252,14 @@ export function refundOrderMoney(data) {
|
|
|
|
|
|
export function updateExpress(data) {
|
|
|
return request({
|
|
|
- url: '/store/store/storeOrder/updateExpress',
|
|
|
+ url: '/store/storeOrder/updateExpress',
|
|
|
method: 'post',
|
|
|
data: data
|
|
|
})
|
|
|
}
|
|
|
export function syncExpress(data) {
|
|
|
return request({
|
|
|
- url: '/store/store/storeOrder/syncExpress',
|
|
|
+ url: '/store/storeOrder/syncExpress',
|
|
|
method: 'post',
|
|
|
data: data
|
|
|
})
|
|
|
@@ -267,14 +267,14 @@ export function syncExpress(data) {
|
|
|
|
|
|
export function updateErp(data) {
|
|
|
return request({
|
|
|
- url: '/store/store/storeOrder/updateErpOrder',
|
|
|
+ url: '/store/storeOrder/updateErpOrder',
|
|
|
method: 'post',
|
|
|
data: data
|
|
|
})
|
|
|
}
|
|
|
export function addTuiMoney(data) {
|
|
|
return request({
|
|
|
- url: '/store/store/storeOrder/addTuiMoney',
|
|
|
+ url: '/store/storeOrder/addTuiMoney',
|
|
|
method: 'post',
|
|
|
data: data
|
|
|
})
|
|
|
@@ -282,7 +282,7 @@ export function addTuiMoney(data) {
|
|
|
|
|
|
export function getEroOrder(query) {
|
|
|
return request({
|
|
|
- url: '/store/store/storeOrder/getEroOrder',
|
|
|
+ url: '/store/storeOrder/getEroOrder',
|
|
|
method: 'get',
|
|
|
params: query
|
|
|
})
|
|
|
@@ -290,7 +290,7 @@ export function getEroOrder(query) {
|
|
|
|
|
|
export function createErpOrder(query) {
|
|
|
return request({
|
|
|
- url: '/store/store/storeOrder/createErpOrder',
|
|
|
+ url: '/store/storeOrder/createErpOrder',
|
|
|
method: 'get',
|
|
|
params: query
|
|
|
})
|
|
|
@@ -299,7 +299,7 @@ export function createErpOrder(query) {
|
|
|
//审核
|
|
|
export function auditPayRemain(data) {
|
|
|
return request({
|
|
|
- url: '/store/store/storeOrder/auditPayRemain',
|
|
|
+ url: '/store/storeOrder/auditPayRemain',
|
|
|
method: 'post',
|
|
|
data: data
|
|
|
})
|
|
|
@@ -308,7 +308,7 @@ export function auditPayRemain(data) {
|
|
|
// 订单维度分页查询接口
|
|
|
export function orderDimensionStatisticsList(query) {
|
|
|
return request({
|
|
|
- url: '/store/store/storeOrder/orderDimensionStatisticsList',
|
|
|
+ url: '/store/storeOrder/orderDimensionStatisticsList',
|
|
|
method: 'get',
|
|
|
params: query
|
|
|
})
|
|
|
@@ -317,7 +317,7 @@ export function orderDimensionStatisticsList(query) {
|
|
|
// 导出订单维度统计接口
|
|
|
export function orderDimensionStatisticsExport(query) {
|
|
|
return request({
|
|
|
- url: '/store/store/storeOrder/orderDimensionStatisticsExport',
|
|
|
+ url: '/store/storeOrder/orderDimensionStatisticsExport',
|
|
|
method: 'get',
|
|
|
params: query
|
|
|
})
|
|
|
@@ -325,14 +325,14 @@ export function orderDimensionStatisticsExport(query) {
|
|
|
|
|
|
export function importDeliveryNoteExpressTemplate() {
|
|
|
return request({
|
|
|
- url: '/store/store/storeOrder/importDeliveryNoteExpressTemplate',
|
|
|
+ url: '/store/storeOrder/importDeliveryNoteExpressTemplate',
|
|
|
method: 'get'
|
|
|
})
|
|
|
}
|
|
|
|
|
|
export function queryErpPhone(query) {
|
|
|
return request({
|
|
|
- url: '/store/store/storeOrder/queryErpPhone',
|
|
|
+ url: '/store/storeOrder/queryErpPhone',
|
|
|
method: 'get',
|
|
|
params: query
|
|
|
})
|
|
|
@@ -340,7 +340,7 @@ export function queryErpPhone(query) {
|
|
|
|
|
|
export function saveErpPhone(data) {
|
|
|
return request({
|
|
|
- url: '/store/store/storeOrder/saveErpPhone',
|
|
|
+ url: '/store/storeOrder/saveErpPhone',
|
|
|
method: 'post',
|
|
|
data: data
|
|
|
})
|
|
|
@@ -348,7 +348,7 @@ export function saveErpPhone(data) {
|
|
|
|
|
|
export function editErpPhone(data) {
|
|
|
return request({
|
|
|
- url: '/store/store/storeOrder/editErpPhone',
|
|
|
+ url: '/store/storeOrder/editErpPhone',
|
|
|
method: 'post',
|
|
|
data: data
|
|
|
})
|
|
|
@@ -356,7 +356,7 @@ export function editErpPhone(data) {
|
|
|
|
|
|
export function batchCreateErpOrder(data) {
|
|
|
return request({
|
|
|
- url: '/store/store/storeOrder/batchCreateErpOrder',
|
|
|
+ url: '/store/storeOrder/batchCreateErpOrder',
|
|
|
method: 'post',
|
|
|
data: data
|
|
|
})
|
|
|
@@ -364,7 +364,7 @@ export function batchCreateErpOrder(data) {
|
|
|
|
|
|
export function batchSetErpOrder(data) {
|
|
|
return request({
|
|
|
- url: '/store/store/storeOrder/batchSetErpOrder',
|
|
|
+ url: '/store/storeOrder/batchSetErpOrder',
|
|
|
method: 'post',
|
|
|
data: data
|
|
|
})
|
|
|
@@ -373,7 +373,7 @@ export function batchSetErpOrder(data) {
|
|
|
|
|
|
export function getErpAccount() {
|
|
|
return request({
|
|
|
- url: '/store/store/storeOrder/getErpAccount',
|
|
|
+ url: '/store/storeOrder/getErpAccount',
|
|
|
method: 'get'
|
|
|
})
|
|
|
}
|
|
|
@@ -381,7 +381,7 @@ export function getErpAccount() {
|
|
|
// 导出发货单
|
|
|
export function healthExportShippingOrder(query) {
|
|
|
return request({
|
|
|
- url: '/store/store/storeOrder/healthExportShippingOrder',
|
|
|
+ url: '/store/storeOrder/healthExportShippingOrder',
|
|
|
method: 'get',
|
|
|
params: query
|
|
|
})
|
|
|
@@ -390,7 +390,7 @@ export function healthExportShippingOrder(query) {
|
|
|
// 订单确认审核
|
|
|
export function auditStoreOrder(data) {
|
|
|
return request({
|
|
|
- url: '/store/store/storeOrder/batchAudit',
|
|
|
+ url: '/store/storeOrder/batchAudit',
|
|
|
method: 'post',
|
|
|
data: data
|
|
|
})
|
|
|
@@ -399,7 +399,7 @@ export function auditStoreOrder(data) {
|
|
|
// 订单备注
|
|
|
export function orderRemark(data) {
|
|
|
return request({
|
|
|
- url: '/store/store/storeOrder/remark',
|
|
|
+ url: '/store/storeOrder/remark',
|
|
|
method: 'post',
|
|
|
data: data
|
|
|
})
|