diff --git a/wcs_web/src/components/custom/StackerLocationView.vue b/wcs_web/src/components/custom/StackerLocationView.vue
index 7ad3c89..45c31d5 100644
--- a/wcs_web/src/components/custom/StackerLocationView.vue
+++ b/wcs_web/src/components/custom/StackerLocationView.vue
@@ -94,6 +94,15 @@ const filterData = (row: number, line: number, layer: number, depth: number) : I
status: -2
};
}
+// 提示信息
+const tooltipString = (row: number, line: number, layer: number, depth: number) => {
+ const data = filterData(row, line, layer, depth);
+ const locationId = data.locationId;
+ if(data.vehicleNo != null && data.vehicleNo.length > 0) {
+ return locationId + ' [ ' + data.vehicleNo + ' ]';
+ }
+ return locationId;
+};
const test = () => {
console.log(layerMax, depthMax);
@@ -130,19 +139,19 @@ const test = () => {
禁用
-
+
-
+
{{line}}
-
+
@@ -154,7 +163,7 @@ const test = () => {
-
+
diff --git a/wcs_web/src/components/page/stackerLocation/StackerLocationMap.vue b/wcs_web/src/components/page/stackerLocation/StackerLocationMap.vue
index 9910ab4..9cbae7e 100644
--- a/wcs_web/src/components/page/stackerLocation/StackerLocationMap.vue
+++ b/wcs_web/src/components/page/stackerLocation/StackerLocationMap.vue
@@ -36,7 +36,8 @@ const query = () => {
line: item.lLine,
layer: item.lLayer,
depth: item.lDepth,
- status: item.locationStatus
+ status: item.locationStatus,
+ vehicleNo: item.vehicleNo
});
});
laneData.value = newData;
@@ -89,7 +90,7 @@ const getLaneIdList = () => {
-
+
diff --git a/wcs_web/src/interface/custom/IStackerLocationInfo.ts b/wcs_web/src/interface/custom/IStackerLocationInfo.ts
index 817004a..d7730c8 100644
--- a/wcs_web/src/interface/custom/IStackerLocationInfo.ts
+++ b/wcs_web/src/interface/custom/IStackerLocationInfo.ts
@@ -6,4 +6,5 @@ export default interface IStackerLocationInfo {
layer?: number,
depth?: number,
status?: number,
+ vehicleNo?: string,
}
\ No newline at end of file