From 2ae5aa151f7b40a082e34aa7ed22b4b64edd1d3c Mon Sep 17 00:00:00 2001
From: dengjunjie <dengjunjie@hnkhzn.com>
Date: 星期三, 11 六月 2025 17:13:56 +0800
Subject: [PATCH] 修改堆垛机通讯协议及交互逻辑
---
代码管理/WMS/WIDESEA_WMSClient/src/views/record/locationStatusChangeRecord.vue | 70 +++++++---------------------------
1 files changed, 15 insertions(+), 55 deletions(-)
diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/record/locationStatusChangeRecord.vue" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/record/locationStatusChangeRecord.vue"
index 4879560..036d4f3 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/record/locationStatusChangeRecord.vue"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/record/locationStatusChangeRecord.vue"
@@ -24,7 +24,7 @@
cnName: "璐т綅鐘舵�佸彉鍔ㄨ褰�",
name: "locationStatusChangeRecord",
url: "/LocationStatusChangeRecord/",
- sortName: "id",
+ sortName: "CreateDate",
});
const editFormFields = ref({
deviceCode: "",
@@ -37,52 +37,7 @@
deviceRemark: "",
});
const editFormOptions = ref([
- [
- {
- title: "璁惧缂栧彿",
- required: true,
- field: "deviceCode",
- type: "string",
- },
- {
- title: "璁惧鍚嶇О",
- required: true,
- field: "deviceName",
- type: "string",
- },
- {
- title: "璁惧绫诲瀷",
- required: true,
- field: "deviceType",
- type: "string",
- },
- {
- title: "璁惧鐘舵��",
- required: true,
- field: "deviceStatus",
- type: "string",
- },
- ],
- [
- { title: "璁惧IP", required: true, field: "deviceIp", type: "string" },
- {
- title: "璁惧绔彛",
- required: true,
- field: "devicePort",
- type: "string",
- },
- {
- title: "PLC绫诲瀷",
- required: true,
- field: "devicePlcType",
- type: "string",
- },
- {
- title: "澶囨敞",
- field: "deviceRemark",
- type: "string",
- },
- ],
+
]);
const searchFormFields = ref({
locationCode: "",
@@ -94,6 +49,11 @@
{ title: "璐т綅鍙�", field: "locationCode" },
{ title: "鍗曟嵁缂栧彿", field: "orderNo" },
{ title: "浠诲姟鍙�", field: "taskNum" },
+ ],
+ [
+ { title: "鍙樺姩鍓嶈揣浣嶇姸鎬�", field: "beforeStatus" ,type: "selectList",dataKey: "locationStatusEnum",data: [],},
+ { title: "鍙樺姩鍚庤揣浣嶇姸鎬�", field: "afterStatus" ,type: "selectList",dataKey: "locationStatusEnum",data: [],},
+ { title: "鍙樺姩绫诲瀷", field: "changeType" ,type: "selectList",dataKey: "stockChangeType",data: [],},
],
]);
const columns = ref([
@@ -110,6 +70,13 @@
{
field: "locationId",
title: "璐т綅涓婚敭",
+ type: "string",
+ width: 90,
+ align: "left",
+ },
+ {
+ field: "taskNum",
+ title: "浠诲姟鍙�",
type: "string",
width: 90,
align: "left",
@@ -133,7 +100,7 @@
field: "afterStatus",
title: "鍙樺姩鍚庤揣浣嶇姸鎬�",
type: "decimal",
- width: 90,
+ width: 150,
align: "left",
bind: { key: "locationStatusEnum", data: [] },
},
@@ -164,13 +131,6 @@
title: "鍗曟嵁鏄庣粏涓婚敭",
type: "string",
width: 200,
- align: "left",
- },
- {
- field: "taskNum",
- title: "浠诲姟鍙�",
- type: "string",
- width: 180,
align: "left",
},
{
--
Gitblit v1.9.3