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/stock/stockInfoDetail.vue | 104 ++++++++++++++++++++++++++++++++++++++++++++++++--- 1 files changed, 97 insertions(+), 7 deletions(-) diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/stock/stockInfoDetail.vue" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/stock/stockInfoDetail.vue" index 0b94c04..3d264d4 100644 --- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/stock/stockInfoDetail.vue" +++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/stock/stockInfoDetail.vue" @@ -30,29 +30,99 @@ const editFormOptions = ref([ [ { + title: "搴撳瓨涓婚敭", + readonly:true, + field: "stockId", + type: "string", + }, + + { title: "鐗╂枡缂栧彿", required: true, field: "materielCode", type: "string", }, { - title: "鍗曟嵁缂栧彿", + title: "鐗╂枡鍚嶇О", required: true, field: "materielName", type: "string", }, { - title: "鎵规鍙�", - required: true, + title: "鍗曟嵁缂栧彿", + readonly: true, field: "orderNo", type: "string", }, + + ], + [ + { + title: "鎵规鍙�", + required: true, + field: "batchNo", + type: "string", + }, + { + title: "搴撳瓨鏁伴噺", + required: true, + field: "stockQuantity", + type: "string", + }, + { + title: "鐢熶骇鏃ユ湡", + required: true, + field: "productionDate", + type: "string", + }, + { + title: "鏈夋晥鏈�", + required: true, + field: "effectiveDate", + type: "string", + }, + ], + [ { title: "搴忓垪鍙�", - required: true, + readonly: true, field: "serialNumber", type: "string", }, + { + title: "鍑哄簱鏁伴噺", + field: "outboundQuantity", + type: "string", + readonly:true + }, + { + title: "搴撳瓨鏄庣粏鐘舵��", + readonly: true, + field: "status", + type: "string", + }, + { + title: "鍏ュ簱鍗曟槑缁嗚鍙�", + readonly: true, + field: "inboundOrderRowNo", + type: "string", + }, + { + field: "modifier", + title: "淇敼浜�", + type: "string", + width: 100, + align: "left", + hidden:true + }, + { + field: "modifyDate", + title: "淇敼鏃堕棿", + type: "datetime", + width: 160, + align: "left", + hidden:true + }, ], ]); @@ -63,9 +133,14 @@ }); const searchFormOptions = ref([ [ - { title: "鐗╂枡缂栧彿", field: "materielCode" }, - { title: "鐗╂枡鍚嶇О", field: "materielName" }, - { title: "鍗曟嵁缂栧彿", field: "orderNo" }, + { title: "鐗╂枡缂栧彿", field: "materielCode",type :"like"}, + { title: "鐗╂枡鍚嶇О", field: "materielName",type :"like"}, + { title: "鍗曟嵁缂栧彿", field: "orderNo",type :"like"}, + ], + [ + { title: "鎵规鍙�", field: "batchNo",type :"like"}, + {title: "搴撳瓨鏄庣粏鐘舵��",field: "status",type: "select",dataKey:"stockStatusEmun", data: []}, + { title: "鏈夋晥鏈熸煡璇�",field: "effectiveDate",type: "datetime"}, ], ]); const columns = ref([ @@ -144,6 +219,21 @@ bind: { key: "stockStatusEmun", data: [] }, }, { + field: "productionDate", + title: "鐢熶骇鏃ユ湡", + type: "string", + width: 120, + align: "left", + + }, + { + field: "effectiveDate", + title: "鏈夋晥鏈�", + type: "string", + width: 120, + align: "left", + }, + { field: "creater", title: "鍒涘缓浜�", type: "string", -- Gitblit v1.9.3