From 86270ba438d404115155eea2d79f583ccb9cf789 Mon Sep 17 00:00:00 2001 From: 18110972313 <780768673@qq.com> Date: Sun, 27 Apr 2025 14:37:55 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E4=BC=98=E5=8C=96=E8=B4=A7=E4=BD=8D?= =?UTF-8?q?=E7=A7=BB=E8=BD=AC=E9=A1=B5=E9=9D=A2=E8=B4=A7=E4=BD=8D=E4=B8=8B?= =?UTF-8?q?=E6=8B=89=E6=A1=86=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/stocked/locationMovePage/index.vue | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/src/views/stocked/locationMovePage/index.vue b/src/views/stocked/locationMovePage/index.vue index 7bc8c7f..791c37b 100644 --- a/src/views/stocked/locationMovePage/index.vue +++ b/src/views/stocked/locationMovePage/index.vue @@ -255,6 +255,7 @@ import { IFTRUE } from '@/utils/CommonUtil' import { bTableHeight } from '../../../composables/calcTableHeight' import { getORG } from '@/api/auth' import { search } from '@/api/wareHouse' +import request from '@/utils/request' const { tableContainer, tableHeight, updateTableHeight, handleResize } = bTableHeight(240) const queryFormRef = ref(ElForm) @@ -450,6 +451,7 @@ onMounted(() => { let pwd: any = localStorage.getItem('remeberPwd'); state.ERPFACTORY = JSON.parse(localStorage.getItem('orgNo')) || ''; + getStorageSpecLocationList() }) // 更新列 function updateList(col: any) { @@ -566,7 +568,7 @@ function handleOuterClick(isVisible: any) { return } } - StorageList(firstLocation) + //StorageList(firstLocation) } } @@ -701,6 +703,20 @@ async function submit() { state.loading2 = false state.Button_state = false } + +async function getStorageSpecLocationList() { + let erpLocation = JSON.parse(localStorage.getItem('orgNo')); + request({ + url: '/api/api/storage/getLocationNameForERPLocation', + method: 'post', + data: { + erpLocation: erpLocation, + SITENAME: 'SDK', + }, + }).then((res: any) => { + state.StorageSelectAll = res.resultObj; + }); +}