From e7b5de7fd35cd9d8ae15c7afe08bc834fd924399 Mon Sep 17 00:00:00 2001 From: x_z Date: Thu, 15 Dec 2022 17:26:30 +0800 Subject: [PATCH] =?UTF-8?q?1.=E8=B0=83=E6=95=B4=E8=AE=BE=E5=A4=87=E9=A2=86?= =?UTF-8?q?=E7=94=A8=E5=8A=9F=E8=83=BD=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/basic/invSubWarehouse.js | 8 ++ src/views/inventory/addDeviceCollectOrder.vue | 88 +++++++++++++++---- src/views/inventory/deviceCollectOrderNew.vue | 1 + src/views/userManage/admin/authAdmin.vue | 62 +++++++++++-- 4 files changed, 135 insertions(+), 24 deletions(-) diff --git a/src/api/basic/invSubWarehouse.js b/src/api/basic/invSubWarehouse.js index 76deef7..f7bb7a1 100644 --- a/src/api/basic/invSubWarehouse.js +++ b/src/api/basic/invSubWarehouse.js @@ -68,4 +68,12 @@ export function unbindSubThrWarehouse(params) { }); } +export function getInvWarehouseList(params) { + return axios({ + url: "/spms/sub/inv/warehouse/filterSubInvList", + method: "get", + params: params + }); +} + diff --git a/src/views/inventory/addDeviceCollectOrder.vue b/src/views/inventory/addDeviceCollectOrder.vue index c23191a..61fb09c 100644 --- a/src/views/inventory/addDeviceCollectOrder.vue +++ b/src/views/inventory/addDeviceCollectOrder.vue @@ -2,12 +2,6 @@
- 录入产品 - - - {{ item.name }} - {{ item.code }} + v-for="item in userList" + :key="item.employeeName" + :label="item.employeeName" + :value="item.employeeName"> + {{ item.employeeName }} + {{ + item.employeeName + }} @@ -113,9 +110,17 @@ size="small" @click.native.stop="addCode()" style="height: 31px; margin-left: 20px" - >添加 + >扫码添加 + + 手动添加 + @@ -281,7 +286,7 @@