|
@@ -276,6 +276,15 @@
|
|
|
</el-form-item>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
+ <el-table-column show-overflow-tooltip label="调入部门" align="center" prop="storageDeptName" width="230px">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-form-item class="hang">
|
|
|
+ <el-input clearable :disabled="sonDisable" size="small" v-model="scope.row.storageDeptName" @focus="chooseMxBM(scope.$index, 'DEPT_PARAM', true, '调入部门', basicForm.storageInventoryOrg)"">
|
|
|
+ <el-button size="small" :disabled="sonDisable" slot="append" icon="el-icon-more" @click="chooseMxBM(scope.$index, 'DEPT_PARAM', true, '调入部门', basicForm.storageInventoryOrg)"></el-button>
|
|
|
+ </el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
<el-table-column show-overflow-tooltip label="调入货位" align="center" prop="storageAllocationName" width="230px">
|
|
|
<template slot-scope="scope">
|
|
|
<el-form-item class="hang">
|
|
@@ -825,6 +834,8 @@ export default {
|
|
|
storageWarehouseName: null,
|
|
|
deliveryAllocationName: null,
|
|
|
deliveryAllocation: null,
|
|
|
+ storageDept: null,
|
|
|
+ storageDeptName: null,
|
|
|
storageAllocationName: null,
|
|
|
storageAllocation: null,
|
|
|
patchNo: null,
|
|
@@ -912,6 +923,10 @@ export default {
|
|
|
this.materialInfo[this.tableIndex].storageAllocationName = selection[0].name
|
|
|
this.materialInfo[this.tableIndex].storageAllocation = selection[0].id
|
|
|
}
|
|
|
+ if (this.referCondition.title == '调入部门') {
|
|
|
+ this.materialInfo[this.tableIndex].storageDeptName = selection[0].name
|
|
|
+ this.materialInfo[this.tableIndex].storageDept = selection[0].id
|
|
|
+ }
|
|
|
},
|
|
|
chooseTreeRefer(type, isPage, title) {
|
|
|
this.referCondition.type = type
|
|
@@ -967,6 +982,15 @@ export default {
|
|
|
this.referCondition.stordocId = stordocId
|
|
|
this.$refs.refer.init(this.referCondition)
|
|
|
},
|
|
|
+ // 明细行选择调入部门
|
|
|
+ chooseMxBM(index, type, isPage, title, pkOrg) {
|
|
|
+ this.tableIndex = index
|
|
|
+ this.referCondition.type = type
|
|
|
+ this.referCondition.isPage = isPage
|
|
|
+ this.referCondition.title = title
|
|
|
+ this.referCondition.pkOrg = pkOrg
|
|
|
+ this.$refs.refer.init(this.referCondition)
|
|
|
+ },
|
|
|
}
|
|
|
}
|
|
|
</script>
|