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/stockInfo.vue | 54 ++++++++++++++++++++++++++++++++++++++++++++++++------ 1 files changed, 48 insertions(+), 6 deletions(-) diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/stock/stockInfo.vue" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/stock/stockInfo.vue" index 22f2eea..f4d0f57 100644 --- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/stock/stockInfo.vue" +++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/stock/stockInfo.vue" @@ -38,8 +38,27 @@ }); const editFormOptions = ref([ [ - {field:'palletCode',title:'鎵樼洏缂栧彿',type:'string'}, - {field:'locationCode',title:'璐т綅缂栧彿',type:'string'}, + { title: "鎵樼洏缂栧彿", field: "palletCode", type :"string"}, + { title: "璐т綅缂栧彿", field: "locationCode",type:"string",readonly: true, }, + { title: "鎵�灞炰粨搴�", field: "warehouseId",type: "select",dataKey: "warehouses",data: [],readonly: true,}, + {title: "搴撳瓨鏄庣粏鐘舵��",field: "stockStatus",type: "select",dataKey:"stockStatusEmun", data: [],readonly: true,}, + + ], + [ + { title: "鎵樼洏绫诲瀷", field: "palletType", type :"select",dataKey:"locationTypeEnum",data:[]}, + { + field: "modifier", + title: "淇敼浜�", + type: "string", + readonly: true, + }, + { + field: "modifyDate", + title: "淇敼鏃堕棿", + type: "datetime", + readonly: true, + }, + ] ]); const searchFormFields = ref({ @@ -48,8 +67,10 @@ }); const searchFormOptions = ref([ [ - { title: "鎵樼洏缂栧彿", field: "palletCode" }, - { title: "璐т綅缂栧彿", field: "locationCode" }, + { title: "鎵樼洏缂栧彿", field: "palletCode", type :"like"}, + { title: "璐т綅缂栧彿", field: "locationCode",type:"like" }, + { title: "鎵�灞炰粨搴�", field: "warehouseId",type: "select",dataKey: "warehouses",data: [],}, + {title: "搴撳瓨鏄庣粏鐘舵��",field: "status",type: "select",dataKey:"stockStatusEmun", data: []}, ], ]); const columns = ref([ @@ -64,6 +85,13 @@ align: "left", }, { + field: "id", + title: "搴撳瓨涓婚敭", + type: "string", + width: 90, + align: "left", + }, + { field: "palletCode", title: "鎵樼洏缂栧彿", type: "string", @@ -71,12 +99,28 @@ align: "left", }, { + field: "palletType", + title: "鎵樼洏绫诲瀷", + type: "select", + width: 120, + align: "left", + bind: { key: "locationTypeEnum", data: [] }, + }, + { field: "locationCode", title: "璐т綅缂栧彿", type: "string", width: 150, align: "left", }, + { + field: "stockStatus", + title: "搴撳瓨鏄庣粏鐘舵��", + type: "string", + width: 120, + align: "left", + bind: { key: "stockStatusEmun", data: [] }, + }, // { // field: "isFull", // title: "鏄惁婊$洏", @@ -113,7 +157,6 @@ type: "string", width: 100, align: "left", - hidden:true }, { field: "modifyDate", @@ -121,7 +164,6 @@ type: "datetime", width: 160, align: "left", - hidden:true }, { field: "remark", -- Gitblit v1.9.3