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