diff --git a/src/api/basic/basicUnitMaintain.js b/src/api/basic/basicUnitMaintain.js index c2c04052..f47bee75 100644 --- a/src/api/basic/basicUnitMaintain.js +++ b/src/api/basic/basicUnitMaintain.js @@ -7,6 +7,14 @@ export function getBasicUnitMaintains(query) { params: query }); } + +export function getCorrespondence(query) { + return axios({ + url: "/udiwms/basic/unit/maintain/filter2", + method: "get", + params: query + }); +} export function getCorpFilter(query) { return axios({ url: "/sale/info/company/product/corp/filter", diff --git a/src/views/inout/IoCreateScanOrder.vue b/src/views/inout/IoCreateScanOrder.vue index 3af121df..9e1042f7 100644 --- a/src/views/inout/IoCreateScanOrder.vue +++ b/src/views/inout/IoCreateScanOrder.vue @@ -70,6 +70,34 @@ + + + + + + + {{ item.name }} + + + + + + { + this.loading = false; + this.fromOptions = response.data.list || []; + }) + .catch(() => { + this.loading = false; + this.fromOptions = []; + }); + }, statusFilterType(status) { const statusMap = { 2: "warning",