hailin
2023-07-18 8eb564d8a9bb62cdfac2fe65152389e3b74da02d
src/api/standardLibrary.js
@@ -8,10 +8,44 @@
  })
}
// 添加标准
// 添加类型
export function addStandards() {
  return request({
    url: '/standards/add',
    method: 'get'
  })
}
// 根据标准查询所有型号 参数IdOrNameOfSerialNumber, standardsId
export function getSerialNumberList(params) {
  return request({
    url: '/serial-number/list',
    method: 'get',
    params
  })
}
// 添加型号
export function addSerialNumber() {
  return request({
    url: '/serial-number/add',
    method: 'get'
  })
}
// 根据型号查询所有产品规格 参数serialNumberId, specificationsName
export function getSpecificationsList(params) {
  return request({
    url: '/specifications/list',
    method: 'get',
    params
  })
}
// 添加产品规格
export function addSpecifications() {
  return request({
    url: '/specifications/add',
    method: 'get'
  })
}