From 9ca9a8147e038c0b847668232a7a3c16649fb15d Mon Sep 17 00:00:00 2001 From: fengyuan_yang <1976974459@qq.com> Date: Mon, 2 Mar 2026 14:37:16 +0800 Subject: [PATCH] =?UTF-8?q?2026-03-02=20=E7=94=9F=E4=BA=A7=E9=A2=86?= =?UTF-8?q?=E6=96=99=E4=BB=BB=E5=8A=A1=E9=A1=B5=E9=9D=A2=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E4=BB=93=E5=BA=93=E6=98=BE=E7=A4=BA=E5=92=8C=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../soIssueNotify/searchIssureNotifyForCK.vue | 42 +++++++++++++++++-- 1 file changed, 39 insertions(+), 3 deletions(-) diff --git a/src/views/modules/orderIssure/soIssueNotify/searchIssureNotifyForCK.vue b/src/views/modules/orderIssure/soIssueNotify/searchIssureNotifyForCK.vue index 2adcb75..44426e0 100644 --- a/src/views/modules/orderIssure/soIssueNotify/searchIssureNotifyForCK.vue +++ b/src/views/modules/orderIssure/soIssueNotify/searchIssureNotifyForCK.vue @@ -96,7 +96,7 @@ - + + + + + + + + + @@ -196,6 +208,7 @@ import { getWorkCenterList, getSiteAndBuByUserName } from "@/api/orderIssure/soIssueNotify.js" +import { getWarehouseList } from "@/api/wms/wms" export default { data() { @@ -219,9 +232,11 @@ export default { componentPartNo: '', partDescription: '', spec: '', - workCenterNoList: [] + workCenterNoList: [], + warehouseIdList: [] }, workCenterList: [], + warehouseList: [], pageIndex: 1, pageSize: 50, totalPage: 0, @@ -336,6 +351,17 @@ export default { columnWidth: 120, showOverflowTooltip: true }, + { + columnProp: "warehouseName", + headerAlign: "center", + align: "left", + columnLabel: "出库仓库", + columnHidden: false, + columnSortable: false, + fixed: '', + columnWidth: 120, + showOverflowTooltip: true + }, { columnProp: "componentScrap", headerAlign: "center", @@ -413,6 +439,7 @@ export default { mounted() { this.calculateTableHeight(); window.addEventListener('resize', this.calculateTableHeight); + this.loadWarehouseList(); this.$nextTick(() => { this.getSiteAndBuByUserName() this.searchTable() @@ -451,7 +478,8 @@ export default { componentPartNo: '', partDescription: '', spec: '', - workCenterNoList: [] + workCenterNoList: [], + warehouseIdList: [] } this.pageIndex = 1 this.searchTable() @@ -480,6 +508,14 @@ export default { } }) }, + // 加载仓库列表 + loadWarehouseList() { + getWarehouseList({ userName: this.$store.state.user.name }).then(({data}) => { + if (data && data.code === 0) { + this.warehouseList = data.rows || [] + } + }) + }, // 每页数 sizeChangeHandle(val) { this.pageSize = val