曹睿
6 天以前 901cd45f087ffd434feda0070b174966cc37c8f3
src/api/inventoryManagement/stockIn.js
对比新文件
@@ -0,0 +1,59 @@
import request from "@/utils/request";
// 鏌ヨ鍏ュ簱淇℃伅鍒楄〃
export const getStockInPage = (params) => {
    return request({
        url: "/stockin/listPage",
        method: "get",
        params,
    });
};
// 淇敼搴撳瓨淇℃伅
export const updateStockIn = (data) => {
    return request({
        url: "/stockin/update",
        method: "put",
        data,
    });
};
// 鏂板鍟嗗搧鍏ュ簱淇℃伅
export function addSutockIn(data) {
    return request({
        url: '/stockin/add',
        method: 'post',
        data: data
    })
}
// 鍒犻櫎鍏ュ簱淇℃伅
export function delStockIn(ids) {
    return request({
        url: '/stockin/del',
        method: 'delete',
        data: ids
    })
}
// 瀵煎嚭鍏ュ簱淇℃伅
export function exportStockIn(query) {
    return request({
        url: '/stockin/export',
        method: 'get',
        params: query,
        responseType: 'blob'
    })
}
export function selectProductRecordListByPuechaserId(query) {
    return request({
        url: '/stockin/productlist',
        method: 'get',
        params: query
    })
}
//