zhangwencui
5 天以前 17c1d2d1191dc310e2df0c169f5cd184e82ab8f8
src/api/basicData/newProduct.js
@@ -37,7 +37,7 @@
export function updateOrEditProductModel(query) {
    return request({
        url: '/productMaterialSku/update',
        method: 'post',
        method: 'put',
        data: query
    })
}
@@ -76,8 +76,8 @@
//  下载产品导入模板
export function downloadProductModelImportTemplate() {
    return request({
        url: '/basic/product/export',
        method: 'get',
        url: '/productMaterialSku/downloadTemplate',
        method: 'post',
        responseType: 'blob'
    })
}
@@ -123,4 +123,11 @@
        method: 'get',
        params: query
    })
}
// 拉取数据
export function loadData() {
    return request({
        url: '/productMaterial/loadData',
        method: 'get',
    })
}