From 4f39dcc195f28fa275fc2d065fbf1bf6a46c21b7 Mon Sep 17 00:00:00 2001 From: dengjunjie <dengjunjie@hnkhzn.com> Date: 星期二, 17 六月 2025 00:41:18 +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