oil-station/fuintCashierWeb/src/api/cashier/goodsorder.js

29 lines
558 B
JavaScript
Raw Normal View History

2023-11-10 18:10:23 +08:00
import request from '@/utils/request'
2023-11-11 13:54:24 +08:00
// 查询商品订单列表
2023-11-10 18:10:23 +08:00
export function listOrder(query) {
return request({
url: '/business/order/list',
method: 'get',
params: query
})
}
// 根据订单id查询商品订单信息
2023-11-11 18:04:49 +08:00
export function getOrderGoods(data) {
2023-11-10 18:10:23 +08:00
return request({
2023-11-11 18:04:49 +08:00
url: '/business/orderGoods/orderList',
method: 'post',
data: data,
2023-11-10 18:10:23 +08:00
})
}
2023-11-11 13:54:24 +08:00
// 根据订单id查询商品订单信息
export function getGoodsOrder(data) {
return request({
url: '/business/order/id',
method: 'post',
data: data,
})
}