-
admin
2024-06-01 a846f28bef985e7671f0b469fb73541cbfb08a93
提交 | 用户 | 时间
e57a89 1 import request from '@/utils/request'
2
3 // 查询生产工单列表
4 export function listProductionOrde(query) {
5   return request({
6     url: '/om/productionOrde/list',
7     method: 'get',
8     params: query
9   })
10 }
11
237733 12 // 查询生产工单列表
A 13 export function bindYzSfcFlag(query) {
14   return request({
15     url: '/om/productionOrde/bindYzSfcFlag',
16     method: 'get',
17     params: query
18   })
19 }
20
21 // 查询生产工单列表
22 export function checkYzSfcCode(query) {
23   return request({
24     url: '/om/productionOrde/checkYzSfcCode',
25     method: 'get',
26     params: query
27   })
28 }
29
30 // 查询生产工单列表
31 export function checkCarCode(query) {
32   return request({
33     url: '/om/productionOrde/checkCarCode',
34     method: 'get',
35     params: query
36   })
37 }
38
e57a89 39 export function upDownMove(query) {
40   return request({
41     url: '/om/productionOrde/upDownMove',
42     method: 'get',
43     params: query
44   })
45 }
46
42cfe3 47 export function importTemplate() {
48   return request({
49     url: '/om/productionOrde/importTemplate',
50     method: 'get',
51   })
52 }
53
e70fb4 54 export function receivingWorkOrders() {
A 55   return request({
56     url: '/om/productionOrde/receivingWorkOrders',
57     method: 'get',
58   })
59 }
60
e57a89 61 // 查询生产工单详细
a846f2 62 export function jieBang(id) {
A 63   return request({
64     url: '/om/productionOrde/jieBang/' + id,
65     method: 'get'
66   })
67 }
68
69 // 查询生产工单详细
e57a89 70 export function getProductionOrde(id) {
71   return request({
72     url: '/om/productionOrde/' + id,
73     method: 'get'
74   })
75 }
76
77 // 新增生产工单
78 export function addProductionOrde(data) {
79   return request({
80     url: '/om/productionOrde',
81     method: 'post',
82     data: data
83   })
84 }
85
a75d86 86 export function trolleyYardBinDing(data) {
A 87   return request({
88     url: '/om/productionOrde/trolleyYardBinDing',
89     method: 'post',
90     data: data
91   })
92 }
93
94 export function findBytrolleyYardGetOne(data) {
95   return request({
96     url: '/om/productionOrde/findBytrolleyYardGetOne',
97     method: 'post',
98     data: data
99   })
100 }
101
102 export function getCarCodeSize(data) {
103   return request({
104     url: '/om/productionOrde/getCarCodeSize',
105     method: 'post',
106     data: data
107   })
108 }
109
e57a89 110 // 修改生产工单
111 export function updateProductionOrde(data) {
112   return request({
113     url: '/om/productionOrde',
114     method: 'put',
115     data: data
116   })
117 }
118
119 // 删除生产工单
120 export function delProductionOrde(id) {
121   return request({
122     url: '/om/productionOrde/' + id,
123     method: 'delete'
124   })
125 }