Compare commits
No commits in common. "3001ad28242ff086ecc8550769c474b853f91d0f" and "5eaed3f953bca11544caeff6f69be7853d9cf862" have entirely different histories.
3001ad2824
...
5eaed3f953
@ -195,23 +195,6 @@
|
||||
</div>
|
||||
<div class="vue-element-page-table">
|
||||
<el-row class="page-search" align="middle" :gutter="20">
|
||||
<el-col :span="4" style="padding-top: 12px">
|
||||
<el-form-item label="目的组织" prop="ERPFACTORY">
|
||||
<el-select
|
||||
filterable
|
||||
v-model="queryParams.params.ERPFACTORY"
|
||||
placeholder="下拉选择组织"
|
||||
size="small"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in spcERPFactoryList"
|
||||
:key="item.ERPFACTORY"
|
||||
:label="item.DESCRIPTION"
|
||||
:value="item.ERPFACTORY"
|
||||
/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="4" style="padding-top: 12px">
|
||||
<el-form-item label="目的仓库" prop="ERPLOCATION">
|
||||
<el-select
|
||||
@ -327,7 +310,6 @@ const state = reactive({
|
||||
ERPFactoryList: [] as any, // 组织
|
||||
ERPLocationList: [] as any, //仓库
|
||||
LocationList: [] as any, //货位
|
||||
spcERPFactoryList: [] as any,
|
||||
rsa: '',
|
||||
Button_state: false,
|
||||
total: 0,
|
||||
@ -342,7 +324,6 @@ const state = reactive({
|
||||
StorageSelectList: [] as any,
|
||||
locDecList1: [] as any,
|
||||
locDecList2: [] as any,
|
||||
orgNo:"",
|
||||
queryParams: {
|
||||
queryId: '',
|
||||
version: '',
|
||||
@ -484,8 +465,7 @@ const {
|
||||
column1,
|
||||
column2,
|
||||
locDecList1,
|
||||
locDecList2,
|
||||
orgNo
|
||||
locDecList2
|
||||
} = toRefs(state)
|
||||
|
||||
onMounted(() => {
|
||||
@ -518,11 +498,7 @@ onMounted(() => {
|
||||
{ header: '备注', field: 'REMARK', hide: false }
|
||||
]
|
||||
let pwd: any = localStorage.getItem('remeberPwd')
|
||||
if(pwd) {
|
||||
state.orgNo = JSON.parse(pwd).orgNo;
|
||||
state.queryParams.params.ERPFACTORY = state.orgNo
|
||||
}
|
||||
|
||||
// state.orgNo = JSON.parse(pwd).orgNo;
|
||||
// state.queryParams.params.ERPFACTORY = JSON.parse(pwd).orgNo;
|
||||
// state.queryParamsERPLocation.params.ERPFACTORYNAME = JSON.parse(pwd).orgNo;
|
||||
ERPFactoryQuery()
|
||||
@ -626,16 +602,10 @@ async function Storage2List(firstLocation: any) {
|
||||
}
|
||||
}
|
||||
function changeFac(e: any) {
|
||||
console.log(e)
|
||||
// console.log(e)
|
||||
state.queryParams.params.ERPLOCATION = ''
|
||||
state.queryParamsERPLocation.params.ERPFACTORYNAME = e
|
||||
ERPLocationQuery()
|
||||
if(e.ERPFACTORY == "1010" || e.ERPFACTORY == "1020") {
|
||||
state.spcERPFactoryList = state.ERPFactoryList.filter((item: any) =>
|
||||
(e.ERPFACTORY == "1010" || e.ERPFACTORY == "1020")
|
||||
)
|
||||
}
|
||||
|
||||
}
|
||||
function changeERPLocation(e: any) {
|
||||
// console.log(e)
|
||||
@ -682,12 +652,6 @@ const updateList = (col: any) => {
|
||||
}
|
||||
function queryInfo() {
|
||||
state.queryParams.pageNum = 1
|
||||
if(!state.queryParams.params.ERPFACTORY) {
|
||||
ElMessageBox.alert('请选择库存组织!', '提醒框', {
|
||||
confirmButtonText: 'OK'
|
||||
})
|
||||
}
|
||||
|
||||
handleQuery()
|
||||
}
|
||||
async function handleQuery() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user