update 无来源转库,解决1.转库组织要用中文显示
2.转入仓库要做联动,转入组织变更时初始化转入仓库列表,只展示转入组织的仓库
This commit is contained in:
parent
f11e91daa4
commit
d6bcfbf0a5
@ -202,11 +202,12 @@
|
|||||||
v-model="queryParams.params.destinationErpFactory"
|
v-model="queryParams.params.destinationErpFactory"
|
||||||
placeholder="下拉选择组织"
|
placeholder="下拉选择组织"
|
||||||
size="small"
|
size="small"
|
||||||
|
@change="changeSpcERPFactory"
|
||||||
>
|
>
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in state.spcERPFactoryList"
|
v-for="item in state.spcERPFactoryList"
|
||||||
:key="item.ERPFACTORY"
|
:key="item.ERPFACTORY"
|
||||||
:label="item.ERPFACTORY"
|
:label="item.DESCRIPTION"
|
||||||
:value="item.ERPFACTORY"
|
:value="item.ERPFACTORY"
|
||||||
/>
|
/>
|
||||||
</el-select>
|
</el-select>
|
||||||
@ -644,7 +645,7 @@ function changeFac(e: any) {
|
|||||||
(item.ERPFACTORY === e)
|
(item.ERPFACTORY === e)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
changeSpcERPFactory(e)
|
||||||
}
|
}
|
||||||
function changeERPLocation(e: any) {
|
function changeERPLocation(e: any) {
|
||||||
// console.log(e)
|
// console.log(e)
|
||||||
@ -681,6 +682,7 @@ function ERPFactoryQuery() {
|
|||||||
(item.ERPFACTORY === state.queryParams.params.ERPFACTORY)
|
(item.ERPFACTORY === state.queryParams.params.ERPFACTORY)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
changeSpcERPFactory(state.queryParams.params.ERPFACTORY)
|
||||||
state.queryParams.params.destinationErpFactory = state.queryParams.params.ERPFACTORY
|
state.queryParams.params.destinationErpFactory = state.queryParams.params.ERPFACTORY
|
||||||
})
|
})
|
||||||
.catch(() => {})
|
.catch(() => {})
|
||||||
@ -1103,6 +1105,27 @@ async function getStorageSpecLocationList() {
|
|||||||
state.locDecListAll = res.resultObj;
|
state.locDecListAll = res.resultObj;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function changeSpcERPFactory(e: any) {
|
||||||
|
state.locDecList1 = [] as any
|
||||||
|
getQueryList({
|
||||||
|
queryId: 'GetErpLocationList',
|
||||||
|
version: 'WEB00001',
|
||||||
|
params: {
|
||||||
|
SITENAME: localStorage.getItem('siteName') || 'SDK',
|
||||||
|
ERPFACTORYNAME: e
|
||||||
|
},
|
||||||
|
pageNum: 1,
|
||||||
|
pageSize: 10
|
||||||
|
})
|
||||||
|
.then((res: any) => {
|
||||||
|
state.locDecList1 = res.data
|
||||||
|
/* state.ERPLocationList.unshift({
|
||||||
|
ENUMVALUE: ''
|
||||||
|
})*/
|
||||||
|
})
|
||||||
|
.catch(() => {})
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user