From ff8b7e2db82fd5e1b1686fe3e336591ba4b3f2ea Mon Sep 17 00:00:00 2001 From: anthonyywj2 <353682448@qq.com> Date: Sat, 26 Mar 2022 21:34:08 +0800 Subject: [PATCH] =?UTF-8?q?=E7=95=8C=E9=9D=A2=E8=B0=83=E6=95=B4=EF=BC=8Cbu?= =?UTF-8?q?g=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/basic/invWarehouse.js | 8 ++ src/views/business/stockOrder.vue | 4 +- src/views/business/stockOrderDelSearch.vue | 6 +- src/views/business/stockOrderEditor.vue | 4 +- src/views/business/stockOrderNew.vue | 4 +- src/views/business/stockOrderSearch.vue | 4 +- src/views/business/stockOrderWaitCheck.vue | 4 +- src/views/inout/IOAddOrder.vue | 108 +++++++++++---------- src/views/inout/IOAdditionalOrder.vue | 64 +++++++----- src/views/inout/IOCheckErrorOrder.vue | 2 +- src/views/inout/IONewOrder.vue | 2 +- 11 files changed, 120 insertions(+), 90 deletions(-) diff --git a/src/api/basic/invWarehouse.js b/src/api/basic/invWarehouse.js index 703f072..7276dbd 100644 --- a/src/api/basic/invWarehouse.js +++ b/src/api/basic/invWarehouse.js @@ -19,6 +19,14 @@ export function filterAll(query) { }); } +export function filterAllByLoc(query) { + return axios({ + url: "/spms/inv/warehouse/filterAllLocInv", + method: "get", + params: query + }); +} + export function filterAllByUser(query) { return axios({ url: "/spms/inv/warehouse/filterAllByUser", diff --git a/src/views/business/stockOrder.vue b/src/views/business/stockOrder.vue index 31a45ee..2af1f43 100644 --- a/src/views/business/stockOrder.vue +++ b/src/views/business/stockOrder.vue @@ -366,7 +366,7 @@ import codeDetail from "./errorCode"; import addOrder from "./addOrder"; import {inspectionStockOrderPDFFromTemplateFile, stockOrderPDFFromTemplateFile} from "../../api/itextpdf/itextpdf"; import store from "../../store"; -import {getLocalJoinBusType} from "../../api/basic/busLocalType"; +import {getLocalJoinBusType, getLocalJoinByUser} from "../../api/basic/busLocalType"; import {filterAll, filterAllByUser} from "@/api/basic/invWarehouse"; export default { @@ -745,7 +745,7 @@ export default { let query = { enabled: true, }; - getLocalJoinBusType(query) + getLocalJoinByUser(query) .then((response) => { this.busTypes = response.data.list || []; this.filterQuery.billAction = this.busTypes[0].action; diff --git a/src/views/business/stockOrderDelSearch.vue b/src/views/business/stockOrderDelSearch.vue index b65a998..bcb9f90 100644 --- a/src/views/business/stockOrderDelSearch.vue +++ b/src/views/business/stockOrderDelSearch.vue @@ -163,7 +163,7 @@ - +