1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
| // 生产任务,报工
| import request from '@/utils/request'
|
| export function listPage(query) {
| return request({
| url: '/productionScheduling/list',
| method: 'get',
| params: query
| })
| }
|
| // 获取智能排产库存原料列表
| export function getProductionSchedulingInventoryList(query) {
| return request({
| url: '/productHome/productionSchedulingInventoryList',
| method: 'GET',
| params: query
| })
| }
|
| // 获取生产排程统计数据
| export function getProductionSchedulingStatistics(query) {
| return request({
| url: '/productHome/productionSchedulingStatistics',
| method: 'GET',
| params: query
| })
| }
|
| // 获取生产排程统计列表
| export function getProductionSchedulingStatisticsList(query) {
| return request({
| url: '/productHome/productionSchedulingStatisticsList',
| method: 'GET',
| params: query
| })
| }
|
| // 排产
| export function addProductionScheduling(data) {
| return request({
| url: '/productionScheduling/addProductionScheduling',
| method: 'post',
| data: data
| })
| }
|
| // 删除
| export function delProductionScheduling(data) {
| return request({
| url: '/productionScheduling/delProductionScheduling',
| method: 'delete',
| data: data
| })
| }
|
| //报工
| export function work(data) {
| return request({
| url: '/productionScheduling/work',
| method: 'post',
| data: data
| })
| }
|
|