diff --git a/src/views/Inventory/InventoryManagement/index.vue b/src/views/Inventory/InventoryManagement/index.vue index b18e0f50..79c95e6f 100644 --- a/src/views/Inventory/InventoryManagement/index.vue +++ b/src/views/Inventory/InventoryManagement/index.vue @@ -421,14 +421,18 @@ export default { // 编辑 handleEdit(index, row, formName) { this.temp = 2 - this.dialogFormVisible = true this.form.WarehouseNumber = row.仓库编号 this.form.WarehouseName = row.仓库名称 this.form.WarehouseDescription = row.仓库描述 this.form.Address = row.地址 - this.form.ContactpeopleValue = row.人员编号 + if (this.role !== '15') { + this.form.ContactpeopleValue = this.Contactpeople[0].value + } else { + this.form.ContactpeopleValue = parseInt(row.人员编号) + } this.form.Note = row.备注 this.HouseNumber = row.仓库流水号 + this.dialogFormVisible = true }, // 执行修改 chaEdit() {