feat 批次入库加载库位
This commit is contained in:
parent
4f67296af2
commit
372022ac67
@ -30,8 +30,8 @@
|
||||
<el-table-column prop="ERPFACTORY" label="组织" width="100" />
|
||||
<el-table-column prop="ERPLOCATION" label="库位" width="180">
|
||||
<template #default="scope">
|
||||
<el-select v-model="scope.row.ERPLOCATION" placeholder="选择仓库" style="width: 170px"
|
||||
default-first-option @focus="getStorageSpec(scope.row.ERPLOCATION)" filterable>
|
||||
<!-- <el-select v-model="scope.row.ERPLOCATION" placeholder="选择仓库" style="width: 170px" default-first-option @focus="getStorageSpec(scope.row.ERPLOCATION)" filterable>-->
|
||||
<el-select v-model="scope.row.ERPLOCATION" placeholder="选择仓库" style="width: 170px" default-first-option filterable>
|
||||
<el-option v-for="item in state.ERPLocationList" :key="item.VALUE" :label="item.LABEL" :value="item.VALUE" />
|
||||
</el-select>
|
||||
</template>
|
||||
@ -668,6 +668,10 @@ function handleQuery() {
|
||||
}
|
||||
state.MATERIALPACKINGLISTS
|
||||
}
|
||||
// 加载库位
|
||||
if (res.resultObj.storeCharge && res.resultObj.storeCharge.length > 0) {
|
||||
getERPLocation(res.resultObj.storeCharge[0].ERPFACTORY)
|
||||
}
|
||||
} else {
|
||||
ElMessageBox.alert(res.message, '提醒框', {
|
||||
confirmButtonText: 'OK'
|
||||
@ -752,7 +756,7 @@ async function sendToERP() {
|
||||
}
|
||||
|
||||
function handle(row: any, event: any, column: any) {
|
||||
if (areAllNotEmpty(row.ERPFACTORY)) {
|
||||
/*if (areAllNotEmpty(row.ERPFACTORY)) {
|
||||
getERPLocation(row.ERPFACTORY)
|
||||
} else {
|
||||
ElMessageBox.alert('该明细下组织为空!', '警示框', {
|
||||
@ -765,7 +769,7 @@ function handle(row: any, event: any, column: any) {
|
||||
ElMessageBox.alert('该仓库下货位为空!', '警示框', {
|
||||
confirmButtonText: 'OK'
|
||||
})
|
||||
}
|
||||
}*/
|
||||
state.queryParams.queryId = 'GetPackingRow'
|
||||
state.queryParams.version = 'xh002'
|
||||
state.queryParams.params.SITENAME = 'SDK'
|
||||
|
Loading…
x
Reference in New Issue
Block a user