From 556cbf3713bb68cab8412b60887519fd1f542c6c Mon Sep 17 00:00:00 2001 From: x_z Date: Tue, 31 Jan 2023 17:45:08 +0800 Subject: [PATCH] =?UTF-8?q?1.=E8=B0=83=E6=95=B4=E5=8D=95=E6=8D=AE=E6=B5=81?= =?UTF-8?q?=E8=BD=AC=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/basic/busType.js | 8 + src/api/basic/busTypePre.js | 8 + src/views/system/param/busTypeChange.vue | 8 - src/views/system/param/busTypePre.vue | 96 +++++------ src/views/system/param/busTypePreModify.vue | 169 +++++++++++++++----- 5 files changed, 190 insertions(+), 99 deletions(-) diff --git a/src/api/basic/busType.js b/src/api/basic/busType.js index 0d18c7e9..6a5cc34c 100644 --- a/src/api/basic/busType.js +++ b/src/api/basic/busType.js @@ -65,3 +65,11 @@ export function filterForThirdSys() { params: null }) } + +export function getBusTypeListByUser(params) { + return axios({ + url: "/udiwms/localBusType/filterByUser", + method: "get", + params: params + }); +} diff --git a/src/api/basic/busTypePre.js b/src/api/basic/busTypePre.js index 990e874a..8d5dfe96 100644 --- a/src/api/basic/busTypePre.js +++ b/src/api/basic/busTypePre.js @@ -8,6 +8,14 @@ export function getBusTypePreResList(params) { }); } +export function getBusTypePreResList2(params) { + return axios({ + url: "/spms/busTypePre/filterBusTypePreRes", + method: "get", + params: params + }); +} + export function getBusTypePreList(params) { return axios({ url: "/spms/busTypePre/filter", diff --git a/src/views/system/param/busTypeChange.vue b/src/views/system/param/busTypeChange.vue index 8d151524..9de27d98 100644 --- a/src/views/system/param/busTypeChange.vue +++ b/src/views/system/param/busTypeChange.vue @@ -120,15 +120,7 @@ export default { false: "禁用", true: "启用", }, - mainActionMap: { - WareHouseIn: "入库", - WareHouseOut: "出库" - }, - fileList: [], total: 0, - multipleSelection: [], - headers: {}, - configParams: {}, loading: false, typeMap: { 1: "耗材领用", diff --git a/src/views/system/param/busTypePre.vue b/src/views/system/param/busTypePre.vue index 6a7e860c..33dee9ea 100644 --- a/src/views/system/param/busTypePre.vue +++ b/src/views/system/param/busTypePre.vue @@ -25,25 +25,17 @@ - - - - + + + + + + - - - - - - - +