zhangwencui
6 天以前 ba448d252ae2f7d904b47869b3d7203c4a81ac6d
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
// 生产报工页面接口
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 addProductMain(data) {
  return request({
    url: "/productionProductMain/addProductMain",
    method: "post",
    data: data,
  });
}