懒羊羊
2024-03-15 b773030f37dc06a92bdb80e8af9a408843d5b317
提交 | 用户 | 时间
e57a89 1 import request from '@/utils/request'
2
3 // 查询配方配置子信息列表
4 export function listFormulaChild(query) {
5   return request({
6     url: '/bs/formulaChild/list',
7     method: 'get',
8     params: query
9   })
10 }
11
12 // 查询配方配置子信息列表
13 export function releaseCheck(query) {
14   return request({
15     url: '/bs/formulaChild/releaseCheck',
16     method: 'get',
17     params: query
18   })
19 }
20
21 // 查询配方配置子信息列表
22 export function updateResults(query) {
23   return request({
24     url: '/bs/formulaChild/updateResults',
25     method: 'get',
26     params: query
27
28   })
29 }
30
31 // 查询配方配置子信息列表
32 export function workpieceRelease(query) {
33   return request({
34     url: '/bs/formulaChild/workpieceRelease',
35     method: 'get',
36     params: query
37
38   })
39 }
40
b77303 41 // 查询配方配置子信息列表
42 export function updateTighteningFormula(query) {
43   return request({
44     url: '/bs/formulaChild/updateTighteningFormula',
45     method: 'get',
46     params: query
47
48   })
49 }
50
e57a89 51 // 查询配方配置子信息详细
52 export function getFormulaChild(id) {
53   return request({
54     url: '/bs/formulaChild/' + id,
55     method: 'get'
56   })
57 }
58
59 // 新增配方配置子信息
60 export function addFormulaChild(data) {
61   return request({
62     url: '/bs/formulaChild',
63     method: 'post',
64     data: data
65   })
66 }
67
68 // 修改配方配置子信息
69 export function updateFormulaChild(data) {
70   return request({
71     url: '/bs/formulaChild',
72     method: 'put',
73     data: data
74   })
75 }
76
77 // 删除配方配置子信息
78 export function delFormulaChild(id) {
79   return request({
80     url: '/bs/formulaChild/' + id,
81     method: 'delete'
82   })
83 }