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/stockQuantityChangeRecord.vue | 118 ++++++++++++++++++---------------------------------------- 1 files changed, 37 insertions(+), 81 deletions(-) diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/record/stockQuantityChangeRecord.vue" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/record/stockQuantityChangeRecord.vue" index 4d7b4f8..ea40703 100644 --- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/record/stockQuantityChangeRecord.vue" +++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/record/stockQuantityChangeRecord.vue" @@ -24,76 +24,30 @@ cnName: "搴撳瓨鍙樺姩淇℃伅璁板綍", name: "stockQuantityChangeRecord", url: "/StockQuantityChangeRecord/", - sortName: "id", + sortName: "CreateDate", }); const editFormFields = ref({ - deviceCode: "", - deviceName: "", - deviceType: "", - deviceStatus: "", - deviceIp: "", - devicePort: "", - devicePlcType: "", - 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({ - deviceCode: "", - deviceType: "", - deviceStatus: "", + palleCode: "", + materielCode: "", + orderNo: "", }); const searchFormOptions = ref([ [ - { title: "璁惧缂栧彿", field: "deviceCode" }, - { title: "璁惧绫诲瀷", field: "deviceType" }, - { title: "璁惧鐘舵��", field: "deviceStatus" }, + { title: "鎵樼洏鍙�", field: "palleCode" }, + { title: "鐗╂枡缂栧彿", field: "materielCode" }, + { title: "鍗曟嵁缂栧彿", field: "orderNo" }, + { title: "鍙樺姩绫诲瀷", field: "changeType" ,type: "selectList",dataKey: "stockChangeType",data: [],}, + ], + [ + { title: "鎵规鍙�", field: "batchNo" }, + { title: "浠诲姟鍙�", field: "taskNum" }, + { title: "搴忓垪鍙�", field: "serilNumber" }, ], ]); const columns = ref([ @@ -109,7 +63,7 @@ }, { field: "stockDetailId", - title: "璁惧涓婚敭", + title: "搴撳瓨鏄庣粏ID", type: "string", width: 90, align: "left", @@ -146,30 +100,17 @@ field: "serilNumber", title: "搴忓垪鍙�", type: "int", - width: 120, + width: 280, align: "left", }, { field: "orderNo", title: "鍗曟嵁缂栧彿", type: "string", - width: 200, + width: 150, align: "left", }, - { - field: "orderId", - title: "鍗曟嵁涓婚敭", - type: "string", - width: 180, - align: "left", - }, - { - field: "orderDetailId", - title: "鍗曟嵁鏄庣粏涓婚敭", - type: "string", - width: 120, - align: "left", - }, + { field: "taskNum", title: "浠诲姟鍙�", @@ -183,26 +124,27 @@ type: "int", width: 120, align: "left", + bind: { key: "stockChangeType", data: [] }, }, { field: "changeQuantity", title: "鍙樺姩鏁伴噺", type: "string", - width: 200, + width: 100, align: "left", }, { field: "beforeQuantity", title: "鍙樺姩鍓嶅簱瀛橀噺", type: "string", - width: 180, + width: 100, align: "left", }, { field: "afterQuantity", title: "鍙樺姩鍚庡簱瀛橀噺", type: "string", - width: 120, + width: 100, align: "left", }, { @@ -234,6 +176,20 @@ align: "left", }, { + field: "orderId", + title: "鍗曟嵁涓婚敭", + type: "string", + width: 180, + align: "left", + }, + { + field: "orderDetailId", + title: "鍗曟嵁鏄庣粏涓婚敭", + type: "string", + width: 120, + align: "left", + }, + { field: "remark", title: "澶囨敞", type: "string", -- Gitblit v1.9.3