diff --git a/src/views/stocked/NoOrMoveLibrary/index.vue b/src/views/stocked/NoOrMoveLibrary/index.vue
index a253e84..029ba7c 100644
--- a/src/views/stocked/NoOrMoveLibrary/index.vue
+++ b/src/views/stocked/NoOrMoveLibrary/index.vue
@@ -200,7 +200,6 @@
@@ -289,6 +288,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'
const { tableContainer, tableHeight, updateTableHeight, handleResize } = bTableHeight(330)
const queryFormRef = ref(ElForm)
@@ -507,6 +507,7 @@ onMounted(() => {
updateTableHeight()
window.addEventListener('resize', handleResize)
+ getStorageSpecLocationList()
})
function handleInput(val: any) {
@@ -752,7 +753,7 @@ async function changeLocW() {
function getlocDec(query: any) {
// console.log(query)
let arr = state.locDecListAll.filter((item: any) => {
- return item.LABEL.includes(query) || item.VALUE.includes(query)
+ return item.STORAGENAME.includes(query) || item.STORAGENAME.includes(query)
})
// console.log(arr)
if (arr.length > 50) {
@@ -1032,6 +1033,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.locDecListAll = res.resultObj;
+ });
+}