From 122f40375b234eb5728c057874e123ed0b561192 Mon Sep 17 00:00:00 2001 From: x_z Date: Wed, 2 Nov 2022 16:28:03 +0800 Subject: [PATCH] =?UTF-8?q?1.=E6=B7=BB=E5=8A=A0=E7=9B=98=E7=82=B9=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/inventory/invCountSetting.js | 25 +++ src/router/index.js | 11 +- src/views/inventory/invCountSetting.vue | 222 ++++++++++++++++++++++++ 3 files changed, 257 insertions(+), 1 deletion(-) create mode 100644 src/api/inventory/invCountSetting.js create mode 100644 src/views/inventory/invCountSetting.vue 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 @@ + + + + +