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