Commit 14431f53 authored by jingnan's avatar jingnan 👀

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

parent 323f3097
......@@ -8,7 +8,7 @@
<div class="warehouse-select">
<el-select
v-if="basicData||scope.row.storageZoneId"
:value="value"
v-model="selectVal"
:loading="tableColumnSelect"
size="small"
placeholder="请选择库位"
......@@ -145,14 +145,13 @@ export default {
}
},
save(v) {
this.selectVal = v
this.selectVal = v.split('+')[1]
if (!this.selectVal) this.$utils.showMessageWarning('请选择库位')
this.$emit('save', this.selectVal)
// 适配验收入库确认批量签审
if (this.scope.row.subTypeName === 'InStorageRecallItem' || this.scope.row.subTypeName === 'InStoragePurchaseItem' || this.scope.row.subTypeName === 'InStorageExpireItem') {
const resValue = this.selectVal
this.$emit('input', resValue.split('+')[1])
this.setParams(resValue, this.scope.row)
this.$set(this.scope.row, 'extWorkUnitCode', this.selectVal)
this.setParams(v, this.scope.row)
}
},
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