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
| import request from "@/common/untils/request.js"
| // import axios from "axios"
|
| // 上架规则列表
| export const getListingRulesList = async (data) => {
| return request({
| url: "/api-wms/v1/locationProduct/list",
| method: "post",
| data
| })
| }
| // 添加上架规则
| export function addListingRules(data) {
| return request({
| url: "/api-wms/v1/locationProduct/add",
| method: "post",
| data
| })
| }
| // 删除上架规则
| export function deleteListingRules(id) {
| return request({
| url: `/api-wms/v1/locationProduct/delete/${id}`,
| method: "delete",
| id
| })
| }
| // 修改上架规则
| export function updateListingRules(data) {
| return request({
| url: "/api-wms/v1/locationProduct/update",
| method: "post",
| data
| })
| }
|
|