diff --git a/src/views/stockIn/ProductStockIn/index.vue b/src/views/stockIn/ProductStockIn/index.vue index 0e61e4d..83daf51 100644 --- a/src/views/stockIn/ProductStockIn/index.vue +++ b/src/views/stockIn/ProductStockIn/index.vue @@ -140,6 +140,7 @@ @@ -164,9 +165,9 @@ > @@ -220,7 +221,7 @@ import { bTableHeight } from '../../../composables/calcTableHeight' 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) @@ -426,7 +427,7 @@ onMounted(() => { let pwd: any = localStorage.getItem('remeberPwd') ERPFactoryQuery() queryInfo() - getStorageSpecLocationList() + // getStorageSpecLocationList() updateTableHeight() window.addEventListener('resize', handleResize) }) @@ -576,7 +577,7 @@ function getlocDec(query: any) { // console.log(query) //let arr = state.locDecListAll; 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) { @@ -682,7 +683,7 @@ async function submit() { // state.loading2 = false state.Button_state = false } - +/* async function getStorageSpecLocationList() { let erpLocation = JSON.parse(localStorage.getItem('orgNo')); request({ @@ -696,7 +697,7 @@ async function getStorageSpecLocationList() { state.locDecListAll = res.resultObj; console.log(state.locDecList2) }); -} +}*/