yyt
8 天以前 0cceb649e1dc443c2a91d26d81eacb0867c96db3
提交 | 用户 | 时间
0cceb6 1 import request from '@/utils/request'
Y 2
3 // 查询基础BOM列表
4 export function listProductBom(query) {
5   return request({
6     url: '/bs/ProductBom/list',
7     method: 'get',
8     params: query
9   })
10 }
11
12 // 查询基础BOM详细
13 export function getProductBom(id) {
14   return request({
15     url: '/bs/ProductBom/' + id,
16     method: 'get'
17   })
18 }
19
20 // 新增基础BOM
21 export function addProductBom(data) {
22   return request({
23     url: '/bs/ProductBom',
24     method: 'post',
25     data: data
26   })
27 }
28
29 // 修改基础BOM
30 export function updateProductBom(data) {
31   return request({
32     url: '/bs/ProductBom',
33     method: 'put',
34     data: data
35   })
36 }
37
38 // 删除基础BOM
39 export function delProductBom(id) {
40   return request({
41     url: '/bs/ProductBom/' + id,
42     method: 'delete'
43   })
44 }