update 货位移转页面货位下拉框方法回退

This commit is contained in:
18110972313 2025-05-19 10:27:49 +08:00
parent 88b3024c34
commit 358271f891

View File

@ -271,7 +271,7 @@ import { IFTRUE } from '@/utils/CommonUtil'
import { bTableHeight } from '../../../composables/calcTableHeight' import { bTableHeight } from '../../../composables/calcTableHeight'
import { getORG } from '@/api/auth' import { getORG } from '@/api/auth'
import { search } from '@/api/wareHouse' import { search } from '@/api/wareHouse'
import request from '@/utils/request' // import request from '@/utils/request'
const { tableContainer, tableHeight, updateTableHeight, handleResize } = bTableHeight(240) const { tableContainer, tableHeight, updateTableHeight, handleResize } = bTableHeight(240)
const queryFormRef = ref(ElForm) const queryFormRef = ref(ElForm)
@ -467,7 +467,7 @@ onMounted(() => {
let pwd: any = localStorage.getItem('remeberPwd'); let pwd: any = localStorage.getItem('remeberPwd');
state.ERPFACTORY = JSON.parse(localStorage.getItem('orgNo')) || ''; state.ERPFACTORY = JSON.parse(localStorage.getItem('orgNo')) || '';
getStorageSpecLocationList() // getStorageSpecLocationList()
}) })
// //
function updateList(col: any) { function updateList(col: any) {
@ -584,7 +584,7 @@ function handleOuterClick(isVisible: any) {
return return
} }
} }
//StorageList(firstLocation) StorageList(firstLocation)
} }
} }
@ -719,6 +719,7 @@ async function submit() {
state.loading2 = false state.loading2 = false
state.Button_state = false state.Button_state = false
} }
/*
async function getStorageSpecLocationList() { async function getStorageSpecLocationList() {
let erpLocation = JSON.parse(localStorage.getItem('orgNo')); let erpLocation = JSON.parse(localStorage.getItem('orgNo'));
@ -733,6 +734,7 @@ async function getStorageSpecLocationList() {
state.StorageSelectAll = res.resultObj; state.StorageSelectAll = res.resultObj;
}); });
} }
*/
function getLocationList(query: any) { function getLocationList(query: any) {
let arr = state.StorageSelectAll.filter((item: any) => { let arr = state.StorageSelectAll.filter((item: any) => {