Commit 14431f53 authored by jingnan's avatar jingnan 👀

验收入库确认编辑库位bug修改

parent 323f3097
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<div class="warehouse-select"> <div class="warehouse-select">
<el-select <el-select
v-if="basicData||scope.row.storageZoneId" v-if="basicData||scope.row.storageZoneId"
:value="value" v-model="selectVal"
:loading="tableColumnSelect" :loading="tableColumnSelect"
size="small" size="small"
placeholder="请选择库位" placeholder="请选择库位"
...@@ -145,14 +145,13 @@ export default { ...@@ -145,14 +145,13 @@ export default {
} }
}, },
save(v) { save(v) {
this.selectVal = v this.selectVal = v.split('+')[1]
if (!this.selectVal) this.$utils.showMessageWarning('请选择库位') if (!this.selectVal) this.$utils.showMessageWarning('请选择库位')
this.$emit('save', this.selectVal) this.$emit('save', this.selectVal)
// 适配验收入库确认批量签审 // 适配验收入库确认批量签审
if (this.scope.row.subTypeName === 'InStorageRecallItem' || this.scope.row.subTypeName === 'InStoragePurchaseItem' || this.scope.row.subTypeName === 'InStorageExpireItem') { if (this.scope.row.subTypeName === 'InStorageRecallItem' || this.scope.row.subTypeName === 'InStoragePurchaseItem' || this.scope.row.subTypeName === 'InStorageExpireItem') {
const resValue = this.selectVal this.$set(this.scope.row, 'extWorkUnitCode', this.selectVal)
this.$emit('input', resValue.split('+')[1]) this.setParams(v, this.scope.row)
this.setParams(resValue, this.scope.row)
} }
}, },
setParams(extWorkUnitId, currentRow) { setParams(extWorkUnitId, currentRow) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment