update 优化移库修改目的货位下拉框方法回退
This commit is contained in:
parent
26c1e44b7d
commit
88b3024c34
@ -144,7 +144,7 @@
|
||||
|
||||
<el-row class="page-search" justify="end" align="middle">
|
||||
<el-col :span="6">
|
||||
<!-- <el-form-item label="目的货位" prop="portFormRefData.SEARCHTYPE">
|
||||
<el-form-item label="目的货位" prop="portFormRefData.SEARCHTYPE">
|
||||
<el-cascader
|
||||
@visible-change="handleOuterClick"
|
||||
v-model="state.StorageSelect"
|
||||
@ -156,8 +156,8 @@
|
||||
children: 'children'
|
||||
}"
|
||||
/>
|
||||
</el-form-item>-->
|
||||
<el-form-item label="目的货位" prop="portFormRefData.SEARCHTYPE">
|
||||
</el-form-item>
|
||||
<!-- <el-form-item label="目的货位" prop="portFormRefData.SEARCHTYPE">
|
||||
<el-select
|
||||
size="small"
|
||||
filterable
|
||||
@ -173,7 +173,7 @@
|
||||
:value="item.STORAGENAME"
|
||||
/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-form-item>-->
|
||||
</el-col>
|
||||
<el-col :span="6">
|
||||
<div class="block" style="float: right">
|
||||
@ -212,7 +212,7 @@ import { waitForDebugger } from 'inspector'
|
||||
import { FirstInFirstOut, IFTRUE } from '@/utils/CommonUtil'
|
||||
import { bTableHeight } from '../../../composables/calcTableHeight'
|
||||
import { AssignShipRequest, DeAssignShipRequest, AllCommitMoveInInvoice } from '@/api/StockOut'
|
||||
import request from '@/utils/request'
|
||||
// import request from '@/utils/request'
|
||||
|
||||
const { tableContainer, tableHeight, updateTableHeight, handleResize } = bTableHeight(480)
|
||||
|
||||
@ -236,7 +236,7 @@ const state = reactive({
|
||||
MaterialPackingList: [] as any,
|
||||
MaterialPackingUsername: [] as any,
|
||||
StorageSelect: [] as any,
|
||||
locDecListAll: [] as any,
|
||||
// locDecListAll: [] as any,
|
||||
StorageSelectList: [] as any,
|
||||
lineRow: [] as any,
|
||||
queryParams: {
|
||||
@ -387,7 +387,7 @@ onMounted(() => {
|
||||
|
||||
updateTableHeight()
|
||||
window.addEventListener('resize', handleResize)
|
||||
getStorageSpecLocationList()
|
||||
// getStorageSpecLocationList()
|
||||
})
|
||||
// 更新列
|
||||
function updateList(col: any) {
|
||||
@ -720,7 +720,7 @@ async function handle(row: any, event: any, column: any) {
|
||||
state.firstLocation = row.ERPLOCATION
|
||||
}
|
||||
function handleOuterClick() {
|
||||
//StorageList(state.firstLocation)
|
||||
StorageList(state.firstLocation)
|
||||
}
|
||||
|
||||
async function StorageList(firstLocation: any) {
|
||||
@ -753,7 +753,7 @@ async function StorageList(firstLocation: any) {
|
||||
// 处理错误,可能重置 state 或进行其他恢复操作
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
async function getStorageSpecLocationList() {
|
||||
let erpLocation = JSON.parse(localStorage.getItem('orgNo'));
|
||||
request({
|
||||
@ -780,7 +780,7 @@ function getlocDec(query: any) {
|
||||
} else {
|
||||
state.StorageSelectList = arr
|
||||
}
|
||||
}
|
||||
}*/
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
|
Loading…
x
Reference in New Issue
Block a user