update 无来源转库页面货位下拉框方法回退
This commit is contained in:
parent
358271f891
commit
f4197b3ad0
@ -218,6 +218,7 @@
|
||||
<el-select
|
||||
size="small"
|
||||
filterable
|
||||
@change="changeLocW"
|
||||
@blur="focusLocW"
|
||||
v-model="desParams.params.ERPLOCATION"
|
||||
placeholder="下拉选择仓库"
|
||||
@ -244,9 +245,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>
|
||||
@ -306,7 +307,7 @@ import { bTableHeight } from '../../../composables/calcTableHeight'
|
||||
import { getORG } from '@/api/auth'
|
||||
import { cals } from '@/utils/cal'
|
||||
import { search } from '@/api/wareHouse'
|
||||
import request from '@/utils/request'
|
||||
// import request from '@/utils/request'
|
||||
|
||||
const { tableContainer, tableHeight, updateTableHeight, handleResize } = bTableHeight(330)
|
||||
const queryFormRef = ref(ElForm)
|
||||
@ -533,7 +534,7 @@ onMounted(() => {
|
||||
|
||||
updateTableHeight()
|
||||
window.addEventListener('resize', handleResize)
|
||||
getStorageSpecLocationList()
|
||||
// getStorageSpecLocationList()
|
||||
})
|
||||
|
||||
function handleInput(val: any) {
|
||||
@ -811,7 +812,7 @@ async function changeLocW() {
|
||||
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) {
|
||||
@ -1091,6 +1092,7 @@ async function submit() {
|
||||
// state.loading2 = false
|
||||
state.Button_state = false
|
||||
}
|
||||
/*
|
||||
|
||||
async function getStorageSpecLocationList() {
|
||||
let erpLocation = JSON.parse(localStorage.getItem('orgNo'));
|
||||
@ -1105,6 +1107,7 @@ async function getStorageSpecLocationList() {
|
||||
state.locDecListAll = res.resultObj;
|
||||
});
|
||||
}
|
||||
*/
|
||||
|
||||
function changeSpcERPFactory(e: any) {
|
||||
state.locDecList1 = [] as any
|
||||
|
Loading…
x
Reference in New Issue
Block a user