spring
8 小时以前 bf8467516b08a9c1345b591d5a12174cb006b023
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
// 生产报工页面接口
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,
  });
}
// 根据ID获取工单详情
export function getProductWorkOrderById(query) {
  return request({
    url: "/productWorkOrder/getProductWorkOrderById",
    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 addProductMain(data) {
  return request({
    url: "/productionProductMain/addProductMain",
    method: "post",
    data: data,
  });
}