diff --git a/src/views/buildWareHouse/MaturationLibraryToERP/index.vue b/src/views/buildWareHouse/MaturationLibraryToERP/index.vue
index 35299c7..f4eb21c 100644
--- a/src/views/buildWareHouse/MaturationLibraryToERP/index.vue
+++ b/src/views/buildWareHouse/MaturationLibraryToERP/index.vue
@@ -135,7 +135,6 @@
@@ -160,9 +159,9 @@
>
@@ -216,6 +215,7 @@
import { getORG } from '@/api/auth'
import { cals } from '@/utils/cal'
import { getOpCode } from '@/api/opcode'
+ import request from '@/utils/request'
const { tableContainer, tableHeight, updateTableHeight, handleResize } = bTableHeight(330)
const queryFormRef = ref(ElForm)
@@ -427,6 +427,8 @@
updateTableHeight()
window.addEventListener('resize', handleResize)
+ StorageList()
+ getStorageSpecLocationList()
})
function getRKey(row: any) {
@@ -573,7 +575,7 @@
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) {
@@ -679,6 +681,21 @@
// 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;
+ console.log(state.locDecList2)
+ });
+ }