From 06eb604f71605c47f015b88b1620b72b6f69df8c Mon Sep 17 00:00:00 2001 From: helongyang <647556386@qq.com> Date: 星期一, 22 九月 2025 05:20:41 +0800 Subject: [PATCH] 功能增加,代码优化 --- 代码管理/WMS/WIDESEA_WMSClient/src/views/outbound/outboundOrderDetail.vue | 148 ++++++++++++++++++++++++++++++++---------------- 1 files changed, 98 insertions(+), 50 deletions(-) diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/outbound/outboundOrderDetail.vue" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/outbound/outboundOrderDetail.vue" index e992c4c..a6540fa 100644 --- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/outbound/outboundOrderDetail.vue" +++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/outbound/outboundOrderDetail.vue" @@ -38,51 +38,91 @@ }); 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", - }, - ], + { + title: "搴撳瓨涓婚敭", + readonly:true, + field: "orderId", + type: "string", + }, + + { + title: "鐗╂枡缂栧彿", + required: true, + field: "materielCode", + type: "string", + readonly: true, + }, + { + title: "鐗╂枡鍚嶇О", + required: true, + field: "materielName", + type: "string", + }, + { + title: "琛屽彿", + readonly: true, + field: "rowNo", + type: "string", + }, + + ], + [ + { + title: "鎵规鍙�", + field: "batchNo", + type: "string", + }, + { + field: "orderQuantity", + title: "鍗曟嵁鏁伴噺", + type: "string", + width: 90, + align: "left", + readonly: true, + }, + { + field: "lockQuantity", + title: "閿佸畾鏁伴噺", + type: "int", + width: 120, + align: "left", + readonly: true, + }, + { + field: "overOutQuantity", + title: "宸插嚭鏁伴噺", + type: "string", + width: 200, + align: "left", + readonly: true, + }, + + ], + [ + { + field: "orderDetailStatus", + title: "璁㈠崟鏄庣粏鐘舵��", + type: "select",dataKey:"orderDetailStatusEnum", + data: [], + readonly: true, + }, + { + field: "modifier", + title: "淇敼浜�", + type: "string", + width: 100, + align: "left", + readonly:true, + }, + { + field: "modifyDate", + title: "淇敼鏃堕棿", + type: "datetime", + width: 160, + align: "left", + readonly:true, + }, + ], ]); const searchFormFields = ref({ deviceCode: "", @@ -91,10 +131,18 @@ }); const searchFormOptions = ref([ [ - { title: "璁惧缂栧彿", field: "deviceCode" }, - { title: "璁惧绫诲瀷", field: "deviceType" }, - { title: "璁惧鐘舵��", field: "deviceStatus" }, - ], + { title: "鐗╂枡缂栧彿", field: "materielCode", type: "like" }, + { title: "鐗╂枡鍚嶇О", field: "materielName", type: "like" }, + { title: "鍑哄簱鍗曚富閿�", field: "orderId", type: "int" }, + { title: "鎵规鍙�", field: "batchNo", type: "like" }, + ], + [ + { + field: "orderDetailStatus",title: "璁㈠崟鏄庣粏鐘舵��",type: "select",dataKey:"orderDetailStatusEnum", data: [] + }, + { title: "鍒涘缓鑰�", field: "creater", type: "like" }, + { title: "鍒涘缓鏃堕棿", field: "createDate", type: "datetime" }, + ], ]); const columns = ref([ { @@ -112,7 +160,6 @@ type: "string", width: 90, align: "left", - hidden: true, }, { field: "materielCode", @@ -162,6 +209,7 @@ type: "string", width: 180, align: "left", + bind: { key: "orderDetailStatusEnum", data: [] }, }, { field: "creater", -- Gitblit v1.9.3