From e0ec2f32a17c9a813644272aadab4fdda5447e4a Mon Sep 17 00:00:00 2001 From: yuanwei <362142050@qq.com> Date: Wed, 29 Nov 2023 00:08:26 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=86=E7=94=A8=E7=AE=A1=E7=90=86=E6=8F=90?= =?UTF-8?q?=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/invSubWarehouse.js | 27 + src/views/inout/receive/receiveAdd.vue | 513 ++++++++++++++----- src/views/inout/receive/receiveAudit.vue | 488 +++++++++++++----- src/views/inout/receive/receiveMySearch.vue | 523 ++++++++++++++----- src/views/inout/receive/receiveSearch.vue | 536 +++++++++++++++----- 5 files changed, 1582 insertions(+), 505 deletions(-) diff --git a/src/api/system/invSubWarehouse.js b/src/api/system/invSubWarehouse.js index 2ba37bb2..ec41473d 100644 --- a/src/api/system/invSubWarehouse.js +++ b/src/api/system/invSubWarehouse.js @@ -1,4 +1,14 @@ import axios from "@/utils/request"; +import {filterCompanyOptimize} from "@/api/basic/product/udiInfo"; + + +export function filterSubAllOptimize(query) { + return axios({ + url: "/spms/sub/inv/warehouse/filterOptimize", + method: "get", + params: query + }); +} export function filterSubAll(query) { @@ -19,6 +29,15 @@ export function findInvByUser(query) { }); } +//获取用户所有关联仓库 +export function findInvByUserOptimize(query) { + return axios({ + url: "/spms/inv/warehouse/findByUserOptimize", + method: "get", + params: query + }); +} + export function filterGroupBySpuse(params) { return axios({ @@ -30,6 +49,14 @@ export function filterGroupBySpuse(params) { //获取除了自己所有其他仓库 +export function findByFromOptimize(query) { + return axios({ + url: "/spms/inv/warehouse/findByFromOptimize", + method: "get", + params: query + }); +} + export function findByFrom(query) { return axios({ url: "/spms/inv/warehouse/findByFrom", diff --git a/src/views/inout/receive/receiveAdd.vue b/src/views/inout/receive/receiveAdd.vue index af50efe0..5174e69c 100644 --- a/src/views/inout/receive/receiveAdd.vue +++ b/src/views/inout/receive/receiveAdd.vue @@ -1,65 +1,105 @@