cl
9 天以前 5b544fc8d6029a71669b3992c5cfea9a044aaf3f
提交 | 用户 | 时间
0ca254 1 import request from '@/utils/request'
A 2
3 // 查询生产工单列表
4 export function listProductionOrde(query) {
5   return request({
6     url: '/om/productionOrde/list',
7     method: 'get',
8     params: query
9   })
10 }
11
12 // 查询生产工单列表
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
39 export function upDownMove(query) {
40   return request({
41     url: '/om/productionOrde/upDownMove',
42     method: 'get',
43     params: query
44   })
45 }
46
22c9e0 47 export function mozuReceivingWorkOrders(query) {
A 48   return request({
49     url: '/om/productionOrde/mozuReceivingWorkOrders',
50     method: 'get',
51     params: query
52   })
53 }
54
0ca254 55 export function importTemplate() {
A 56   return request({
57     url: '/om/productionOrde/importTemplate',
58     method: 'get',
59   })
60 }
61
62 export function receivingWorkOrders() {
63   return request({
64     url: '/om/productionOrde/receivingWorkOrders',
65     method: 'get',
66   })
67 }
68
69 // 查询生产工单详细
70 export function jieBang(id) {
71   return request({
72     url: '/om/productionOrde/jieBang/' + id,
73     method: 'get'
74   })
75 }
76
77 // 查询生产工单详细
78 export function getProductionOrde(id) {
79   return request({
80     url: '/om/productionOrde/' + id,
81     method: 'get'
82   })
83 }
84
85 export function workReportingByStation(id,stationCode) {
86   return request({
87     url: '/om/productionOrde/workReportingByStation/' + id+'/' + stationCode,
88     method: 'get',
89   })
90 }
91
92 // 新增生产工单
93 export function addProductionOrde(data) {
94   return request({
95     url: '/om/productionOrde',
96     method: 'post',
97     data: data
98   })
99 }
100
101 export function trolleyYardBinDing(data) {
102   return request({
103     url: '/om/productionOrde/trolleyYardBinDing',
104     method: 'post',
105     data: data
106   })
107 }
108
109 export function findBytrolleyYardGetOne(data) {
110   return request({
111     url: '/om/productionOrde/findBytrolleyYardGetOne',
112     method: 'post',
113     data: data
114   })
115 }
116
117 export function getCarCodeSize(data) {
118   return request({
119     url: '/om/productionOrde/getCarCodeSize',
120     method: 'post',
121     data: data
122   })
123 }
124
125 // 修改生产工单
126 export function updateProductionOrde(data) {
127   return request({
128     url: '/om/productionOrde',
129     method: 'put',
130     data: data
131   })
132 }
133
134 // 删除生产工单
135 export function delProductionOrde(id) {
136   return request({
137     url: '/om/productionOrde/' + id,
138     method: 'delete'
139   })
140 }