gongchunyi
昨天 f1a2def555ad5ca1e9122520551a54a6f7627716
src/api/basicData/newProduct.js
@@ -9,6 +9,14 @@
        params: query
    })
}
// 产品树查询2
export function productTreeListQuery(query) {
    return request({
        url: '/productMaterial/listQuery',
        method: 'get',
        params: query
    })
}
// 产品子类新增
export function addOrEditProduct(query) {
    return request({
@@ -37,7 +45,7 @@
export function updateOrEditProductModel(query) {
    return request({
        url: '/productMaterialSku/update',
        method: 'post',
        method: 'put',
        data: query
    })
}
@@ -76,8 +84,8 @@
//  下载产品导入模板
export function downloadProductModelImportTemplate() {
    return request({
        url: '/basic/product/export',
        method: 'get',
        url: '/productMaterialSku/downloadTemplate',
        method: 'post',
        responseType: 'blob'
    })
}
@@ -123,4 +131,11 @@
        method: 'get',
        params: query
    })
}
// 拉取数据
export function loadData() {
    return request({
        url: '/productMaterial/loadData',
        method: 'get',
    })
}