zuozhengqing
2024-03-22 9b2a3f36ec28dfc50d26e9cb4aa9fe13497e8dff
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
import request from "@/common/untils/request"
 
//编码规范列表
export const getCodeStandardList = (data) => {
  return request({
    url: "/api-s/v1/standard/getCodeStandardList",
    method: "post",
    data,
  });
};
 
 
export const addMaterial = (data) => {
  return request({
    url: "/api-s/v1/material/addMaterial",
    method: "post",
    data,
  });
};
 
 
export const updateMaterial = (data) => {
  return request({
    url: "/api-s/v1/material/updateMaterial",
    method: "post",
    data,
  });
};
 
// 产品-获取单位列表
export const getUnitInfo = (data) => {
  return request({
    url: "/api-wms/v1/product/getUnitInfo",
    method: "get",
    data,
  });
};
 
// ----bom --- 計量單位 的數據  更新
export const postGetSaveSUnitDict = (params) =>
  request.post("/api-s/v1/dict/saveUnitDict", params);