You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
836 B
48 lines
836 B
import request from '@/utils/request' |
|
|
|
export function getData(data) { |
|
return request({ |
|
url: '/bxg/api/yxStoreAfterSales/sales/List', |
|
method: 'get', |
|
data |
|
}) |
|
} |
|
|
|
export function salesCheck(data) { |
|
return request({ |
|
url: '/bxg/api/yxStoreAfterSales/salesCheck', |
|
method: 'post', |
|
data |
|
}) |
|
} |
|
|
|
export function rebackMoney(params) { |
|
return request({ |
|
url: '/bxg/api/yxStoreAfterSales/makeMoney', |
|
method: 'post', |
|
params |
|
}) |
|
} |
|
export function add(data) { |
|
return request({ |
|
url: '/bxg/api/yxStoreAfterSales', |
|
method: 'post', |
|
data |
|
}) |
|
} |
|
|
|
export function del(ids) { |
|
return request({ |
|
url: '/bxg/api/yxStoreAfterSales/', |
|
method: 'delete', |
|
data: ids |
|
}) |
|
} |
|
|
|
export function edit(data) { |
|
return request({ |
|
url: '/bxg/api/yxStoreAfterSales', |
|
method: 'put', |
|
data |
|
}) |
|
}
|
|
|