diff --git a/sgzb-ui/src/views/warehouseManage/machinery/coding/index.vue b/sgzb-ui/src/views/warehouseManage/machinery/coding/index.vue index e664ca0d..c1c72bd5 100644 --- a/sgzb-ui/src/views/warehouseManage/machinery/coding/index.vue +++ b/sgzb-ui/src/views/warehouseManage/machinery/coding/index.vue @@ -534,6 +534,7 @@ v-if="mapDialogVisible" :deviceName="deviceName" :deviceType="deviceType" + :iotCode="iotCode" @handelCloseDialog="handelCloseDialog" /> @@ -643,6 +644,7 @@ export default { mapDialogVisible: false, deviceName: '', deviceType: '', + iotCode: '', } }, created() { @@ -838,9 +840,11 @@ export default { } }, // 查看设备地图 - handleMap(row) { + async handleMap(row) { this.deviceName = row.specificationType this.deviceType = row.maStatusName + this.iotCode = row.iotCode + this.mapDialogVisible = true },