update 熟化库过账修改目的货位下拉框方法回退

This commit is contained in:
18110972313 2025-05-19 10:21:10 +08:00
parent aa40c4d414
commit 26c1e44b7d

View File

@ -135,6 +135,7 @@
<el-select
size="small"
filterable
@change="changeLocW"
v-model="desParams.params.ERPLOCATION"
placeholder="下拉选择仓库"
>
@ -159,9 +160,9 @@
>
<el-option
v-for="item in locDecList2"
:key="item.STORAGENAME"
:label="item.DESCRIPTION"
:value="item.STORAGENAME"
:key="item.VALUE"
:label="item.LABEL"
:value="item.VALUE"
/>
</el-select>
</el-form-item>
@ -215,7 +216,7 @@
import { getORG } from '@/api/auth'
import { cals } from '@/utils/cal'
import { getOpCode } from '@/api/opcode'
import request from '@/utils/request'
// import request from '@/utils/request'
const { tableContainer, tableHeight, updateTableHeight, handleResize } = bTableHeight(330)
const queryFormRef = ref(ElForm)
@ -427,8 +428,8 @@
updateTableHeight()
window.addEventListener('resize', handleResize)
StorageList()
getStorageSpecLocationList()
// StorageList()
// getStorageSpecLocationList()
})
function getRKey(row: any) {
@ -575,7 +576,7 @@
function getlocDec(query: any) {
// console.log(query)
let arr = state.locDecListAll.filter((item: any) => {
return item.STORAGENAME.includes(query) || item.STORAGENAME.includes(query)
return item.LABEL.includes(query) || item.VALUE.includes(query)
})
// console.log(arr)
if (arr.length > 50) {
@ -681,7 +682,7 @@
// state.loading2 = false
state.Button_state = false
}
/*
async function getStorageSpecLocationList() {
let erpLocation = JSON.parse(localStorage.getItem('orgNo'));
request({
@ -695,7 +696,7 @@
state.locDecListAll = res.resultObj;
console.log(state.locDecList2)
});
}
}*/
</script>
<style scoped lang="scss">