From f423e1277f91427f0a767bd1224c1260dcb73086 Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期一, 20 四月 2026 22:47:54 +0800
Subject: [PATCH] feat: 添加空箱入库功能及相关优化
---
Code/WCS/WIDESEAWCS_Client/src/views/taskinfo/robotState.vue | 74 ++++++++++++++++++------------------
1 files changed, 37 insertions(+), 37 deletions(-)
diff --git a/Code/WCS/WIDESEAWCS_Client/src/views/taskinfo/robotState.vue b/Code/WCS/WIDESEAWCS_Client/src/views/taskinfo/robotState.vue
index 462827e..3547526 100644
--- a/Code/WCS/WIDESEAWCS_Client/src/views/taskinfo/robotState.vue
+++ b/Code/WCS/WIDESEAWCS_Client/src/views/taskinfo/robotState.vue
@@ -52,13 +52,13 @@
// 缂栬緫琛ㄥ崟閰嶇疆
const editFormOptions = ref([
[
- { title: "IP鍦板潃", field: "IPAddress", type: "string", readonly: true },
- { title: "鐗堟湰鍙�", field: "Version", type: "int", readonly: true },
+ { title: "IP鍦板潃", field: "ipAddress", type: "string", readonly: true },
+ { title: "鐗堟湰鍙�", field: "version", type: "int", readonly: true },
],
[
{
title: "杩愯妯″紡",
- field: "RobotRunMode",
+ field: "robotRunMode",
type: "select",
data: [
{ key: 1, value: "鎵嬪姩妯″紡" },
@@ -67,7 +67,7 @@
},
{
title: "鎺у埗妯″紡",
- field: "RobotControlMode",
+ field: "robotControlMode",
type: "select",
data: [
{ key: 1, value: "瀹㈡埛绔帶鍒�" },
@@ -76,7 +76,7 @@
},
{
title: "鎵嬭噦鐘舵��",
- field: "RobotArmObject",
+ field: "robotArmObject",
type: "select",
data: [
{ key: 0, value: "绌洪棽" },
@@ -85,46 +85,46 @@
},
],
[
- { title: "鍥為浂鐘舵��", field: "Homed", type: "string" },
- { title: "褰撳墠鍔ㄤ綔", field: "CurrentAction", type: "string" },
- { title: "杩愯鐘舵��", field: "OperStatus", type: "string" },
+ { title: "鍥為浂鐘舵��", field: "homed", type: "string" },
+ { title: "褰撳墠鍔ㄤ綔", field: "currentAction", type: "string" },
+ { title: "杩愯鐘舵��", field: "operStatus", type: "string" },
],
[
- { title: "浠诲姟鎬绘暟", field: "RobotTaskTotalNum", type: "int" },
- { title: "褰撳墠鎵规", field: "CurrentBatchIndex", type: "int" },
- { title: "鎹㈢洏闃舵", field: "ChangePalletPhase", type: "int" },
+ { title: "浠诲姟鎬绘暟", field: "robotTaskTotalNum", type: "int" },
+ { title: "褰撳墠鎵规", field: "currentBatchIndex", type: "int" },
+ { title: "鎹㈢洏闃舵", field: "changePalletPhase", type: "int" },
],
[
{
title: "鏄惁鎷嗙洏",
- field: "IsSplitPallet",
+ field: "isSplitPallet",
type: "checkbox",
},
{
title: "鏄惁缁勭洏",
- field: "IsGroupPallet",
+ field: "isGroupPallet",
type: "checkbox",
},
{
title: "鍋囩數鑺ā寮�",
- field: "IsInFakeBatteryMode",
+ field: "isInFakeBatteryMode",
type: "checkbox",
},
],
[
{
title: "鏄惁鎵爜NG",
- field: "IsScanNG",
+ field: "isScanNG",
type: "checkbox",
},
{
title: "鐢佃姱鏄惁鍒颁綅",
- field: "BatteryArrived",
+ field: "batteryArrived",
type: "checkbox",
},
{
title: "娑堟伅宸茶闃�",
- field: "IsEventSubscribed",
+ field: "isEventSubscribed",
type: "checkbox",
},
],
@@ -140,31 +140,31 @@
// 鎼滅储琛ㄥ崟閰嶇疆
const searchFormOptions = ref([
[
- { title: "IP鍦板潃", field: "IPAddress", type: "string" },
- { title: "褰撳墠鍔ㄤ綔", field: "CurrentAction", type: "string" },
- { title: "杩愯鐘舵��", field: "OperStatus", type: "string" },
+ { title: "IP鍦板潃", field: "ipAddress", type: "string" },
+ { title: "褰撳墠鍔ㄤ綔", field: "currentAction", type: "string" },
+ { title: "杩愯鐘舵��", field: "operStatus", type: "string" },
],
]);
// 鍒楀畾涔�
const columns = ref([
- { field: "IPAddress", title: "IP鍦板潃", type: "string", width: 140, align: "left" },
- { field: "Version", title: "鐗堟湰", type: "int", width: 80, align: "left" },
- { field: "RobotRunMode", title: "杩愯妯″紡", type: "int", width: 100, bind: { key: "robotRunMode", data: [] }, align: "center" },
- { field: "RobotControlMode", title: "鎺у埗妯″紡", type: "int", width: 100, bind: { key: "robotControlMode", data: [] }, align: "center" },
- { field: "RobotArmObject", title: "鎵嬭噦鐘舵��", type: "int", width: 90, bind: { key: "robotArmObject", data: [] }, align: "center" },
- { field: "Homed", title: "鍥為浂鐘舵��", type: "string", width: 100, align: "center" },
- { field: "CurrentAction", title: "褰撳墠鍔ㄤ綔", type: "string", width: 100, align: "center" },
- { field: "OperStatus", title: "杩愯鐘舵��", type: "string", width: 100, align: "center" },
- { field: "RobotTaskTotalNum", title: "浠诲姟鎬绘暟", type: "int", width: 90, align: "center" },
- { field: "IsSplitPallet", title: "鎷嗙洏", type: "byte", width: 60, align: "center" },
- { field: "IsGroupPallet", title: "缁勭洏", type: "byte", width: 60, align: "center" },
- { field: "IsInFakeBatteryMode", title: "鍋囩數鑺�", type: "byte", width: 70, align: "center" },
- { field: "CurrentBatchIndex", title: "鎵规", type: "int", width: 60, align: "center" },
- { field: "ChangePalletPhase", title: "鎹㈢洏闃舵", type: "int", width: 80, align: "center" },
- { field: "IsScanNG", title: "鎵爜NG", type: "byte", width: 80, align: "center" },
- { field: "BatteryArrived", title: "鐢佃姱鍒颁綅", type: "byte", width: 80, align: "center" },
- { field: "IsEventSubscribed", title: "宸茶闃�", type: "byte", width: 70, align: "center" },
+ { field: "ipAddress", title: "IP鍦板潃", type: "string", width: 140, align: "left" },
+ { field: "version", title: "鐗堟湰", type: "int", width: 80, align: "left" },
+ { field: "robotRunMode", title: "杩愯妯″紡", type: "int", width: 100, bind: { key: "robotRunMode", data: [{ key: 1, value: "鎵嬪姩妯″紡" },{ key: 2, value: "鑷姩妯″紡" }] }, align: "center" },
+ { field: "robotControlMode", title: "鎺у埗妯″紡", type: "int", width: 100, bind: { key: "robotControlMode", data: [{ key: 1, value: "瀹㈡埛绔帶鍒�" },{ key: 2, value: "鍏朵粬" }] }, align: "center" },
+ { field: "robotArmObject", title: "鎵嬭噦鐘舵��", type: "int", width: 90, bind: { key: "robotArmObject", data: [{ key: 0, value: "绌洪棽"}, { key: 1, value: "鏈夌墿鏂�" }] }, align: "center" },
+ { field: "homed", title: "鍥為浂鐘舵��", type: "string", width: 100, align: "center" },
+ { field: "currentAction", title: "褰撳墠鍔ㄤ綔", type: "string", width: 100, align: "center" },
+ { field: "operStatus", title: "杩愯鐘舵��", type: "string", width: 100, align: "center" },
+ { field: "robotTaskTotalNum", title: "浠诲姟鎬绘暟", type: "int", width: 90, align: "center" },
+ { field: "isSplitPallet", title: "鎷嗙洏", type: "byte", width: 60, align: "center" },
+ { field: "isGroupPallet", title: "缁勭洏", type: "byte", width: 60, align: "center" },
+ { field: "isInFakeBatteryMode", title: "鍋囩數鑺�", type: "byte", width: 70, align: "center" },
+ { field: "currentBatchIndex", title: "鎵规", type: "int", width: 60, align: "center" },
+ { field: "changePalletPhase", title: "鎹㈢洏闃舵", type: "int", width: 80, align: "center" },
+ { field: "isScanNG", title: "鎵爜NG", type: "byte", width: 80, align: "center" },
+ { field: "batteryArrived", title: "鐢佃姱鍒颁綅", type: "byte", width: 80, align: "center" },
+ { field: "isEventSubscribed", title: "宸茶闃�", type: "byte", width: 70, align: "center" },
]);
const detail = ref({});
--
Gitblit v1.9.3