diff --git a/src/api/inventory/invCountSetting.js b/src/api/inventory/invCountSetting.js new file mode 100644 index 0000000..ea1e18b --- /dev/null +++ b/src/api/inventory/invCountSetting.js @@ -0,0 +1,25 @@ +import axios from "../../utils/axios"; + +export function getSettingList(params) { + return axios({ + url: "/invCount/setting/filterList", + method: "get", + params: params + }); +} + +export function saveCountSetting(data, formName) { + return axios({ + url: formName === 'add' ? "/invCount/setting/add" : "/invCount/setting/update", + method: "post", + data: data + }); +} + +export function verifyAdd() { + return axios({ + url: "/invCount/setting/verifyAdd", + method: "get", + params: null + }); +} diff --git a/src/router/index.js b/src/router/index.js index f5b3009..a4b7803 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -86,6 +86,7 @@ import stockOrderDelete from "../views/business/stockOrderDelete"; import invCountOrderNew from "@/views/inventory/invCountOrderNew"; import invCountOrderAudit from "@/views/inventory/invCountOrderAudit"; import invCountOrderCompleted from "@/views/inventory/invCountOrderCompleted"; +import invCountSetting from "@/views/inventory/invCountSetting"; //货物摆放 import invGoodsPlacement from "@/views/inventory/InvGoodsPlacement"; @@ -311,7 +312,6 @@ export const asyncRouterMap = [ authRule: ["system/BussinessTypeLocl"] } }, - ] }, @@ -1059,6 +1059,15 @@ export const asyncRouterMap = [ authRule: ["inv/invCount"] }, children: [ + { + path: "countSetting", + component: invCountSetting, + name: "盘点设置", + icon: "", + meta: { + authRule: ["invCount/countSetting"] + } + }, { path: "countOrderNew", component: invCountOrderNew, diff --git a/src/views/inventory/invCountSetting.vue b/src/views/inventory/invCountSetting.vue new file mode 100644 index 0000000..395dc70 --- /dev/null +++ b/src/views/inventory/invCountSetting.vue @@ -0,0 +1,222 @@ + + + + +