春风项目四线(合箱线、总装线)
wujian
2024-01-22 aead81c14ebf1e592d66293213b61c945dacf7c1
提交 | 用户 | 时间
fd2207 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
02bd0f 12 // 查询配方配置子信息列表
W 13 export function getProductProcess(query) {
14   return request({
15     url: '/bs/formulaChild/getProductProcess',
16     method: 'post',
17     data: query
18   })
19 }
20
aead81 21 // 查询工艺文件
W 22 export function getMainProductProcess(query) {
23   return request({
24     url: '/bs/formulaChild/getMainProductProcess',
25     method: 'post',
26     data: query
27   })
28 }
29
fd2207 30 // 查询配方配置子信息详细
31 export function getFormulaChild(id) {
32   return request({
33     url: '/bs/formulaChild/' + id,
34     method: 'get'
35   })
36 }
37
38 // 新增配方配置子信息
39 export function addFormulaChild(data) {
40   return request({
41     url: '/bs/formulaChild',
42     method: 'post',
43     data: data
44   })
45 }
46
47 // 修改配方配置子信息
48 export function updateFormulaChild(data) {
49   return request({
50     url: '/bs/formulaChild',
51     method: 'put',
52     data: data
53   })
54 }
55
56 // 删除配方配置子信息
57 export function delFormulaChild(id) {
58   return request({
59     url: '/bs/formulaChild/' + id,
60     method: 'delete'
61   })
62 }