zhangwencui
4 小时以前 6ca03cc8ac229c13702ce699bab4db6e93f3f172
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
65
66
// 产品维护页面接口
import request from "@/utils/request";
 
// 产品树查询
export function productTreeList(query) {
  return request({
    url: "/basic/product/list",
    method: "get",
    params: query,
  });
}
// 产品树新增修改
export function addOrEditProduct(query) {
  return request({
    url: "/basic/product/addOrEditProduct",
    method: "post",
    data: query,
  });
}
// 规格型号新增修改
export function addOrEditProductModel(query) {
  return request({
    url: "/basic/product/addOrEditProductModel",
    method: "post",
    data: query,
  });
}
// 产品树删除
export function delProduct(query) {
  return request({
    url: "/basic/product/delProduct",
    method: "delete",
    data: query,
  });
}
// 规格型号删除
export function delProductModel(query) {
  return request({
    url: "/basic/product/delProductModel",
    method: "delete",
    data: query,
  });
}
// 规格型号查询
export function modelList(query) {
  return request({
    url: "/basic/product/modelList",
    method: "get",
    params: query,
  });
}
export function modelListPage(query) {
  return request({
    url: "/basic/product/modelListPage",
    method: "get",
    params: query,
  });
}
 
export function pageModel(query) {
  return request({
    url: "/basic/product/pageModel",
    method: "get",
    params: query,
  });
}