|
@@ -215,3 +215,26 @@ export const salesFailExcel = (params) => {
|
|
|
responseType: 'blob'
|
|
|
})
|
|
|
}
|
|
|
+
|
|
|
+// 导出缺货明细
|
|
|
+export const exportStockout = params => {
|
|
|
+ const url = `/sales/detail/exportStockout`
|
|
|
+ delete params.priceType
|
|
|
+ return axios.request({
|
|
|
+ url: url,
|
|
|
+ data: params,
|
|
|
+ method: 'post',
|
|
|
+ responseType: 'blob'
|
|
|
+ })
|
|
|
+}
|
|
|
+// 导出分组缺货明细
|
|
|
+export const exportGroupStockout = params => {
|
|
|
+ const url = `/sales/detail/exportGroupStockout`
|
|
|
+ delete params.priceType
|
|
|
+ return axios.request({
|
|
|
+ url: url,
|
|
|
+ data: params,
|
|
|
+ method: 'post',
|
|
|
+ responseType: 'blob'
|
|
|
+ })
|
|
|
+}
|