zhangwencui
62 分钟以前 8d48fa86c9096f6bac90e83ed779e5a5b62b0fc7
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
// 生产报工页面接口
import request from "@/utils/request";
 
// 分页查询
export function workListPage(query) {
  return request({
    url: "/salesLedger/work/listPage",
    method: "get",
    params: query,
  });
}
// 子表格查询
export function workListPageById(query) {
  return request({
    url: "/salesLedger/work/list",
    method: "get",
    params: query,
  });
}
// 生产报工
export function productionReport(query) {
  return request({
    url: "/salesLedger/work/productionReport",
    method: "post",
    data: query,
  });
}
// 生产报工-编辑
export function productionReportUpdate(query) {
  return request({
    url: "/salesLedger/work/productionReportUpdate",
    method: "post",
    data: query,
  });
}
 
 
// 生产报工-分页查询
export function productionReportListPage(query) {
  return request({
    url: "/productionProductMain/listPage",
    method: "get",
    params: query,
  });
}
// 生产报工-详情
export function productionReportDetail(id) {
  return request({
    url: "/productionRecord/detail/" + id,
    method: "get",
  });
}
 
// 生产报工-删除
export function productionReportDelete(id) {
  return request({
    url: `/productionRecord/`+id,
    method: "delete",
  });
}