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 @@ - +