XiaoRuby
2023-08-22 6665e9f2c8676b812bf7579e4201ba37b0fdb5fc
src/api/standardLibrary.js
@@ -17,14 +17,14 @@
  })
}
// 获取所有父项目对应的子项目
export function getProductSonList(params) {
  return request({
    url: '/product/father',
    method: 'get',
    params
  })
}
// // 获取所有父项目对应的子项目
// export function getProductSonList(params) {
//   return request({
//     url: '/product/father',
//     method: 'get',
//     params
//   })
// }
// 添加物料
export function addMaterial(data) {
@@ -52,3 +52,21 @@
    data
  })
}
// 批量删除
export function deleteListApi(ids) {
  return request({
    url: '/product/deleteList',
    method: 'delete',
    params: {ids: ids.toString()}
  })
}
// 失去焦点更新
export function blurUpdateApi(obj) {
  return request({
    url: '/product/write',
    method: 'post',
    params: obj
  })
}