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; + }); +}