From 10775e2b00cee12fb4b405e18a507c629990051a Mon Sep 17 00:00:00 2001 From: zhanghonglin <zhanghonglin@hnkhzn.com> Date: 星期一, 04 八月 2025 17:26:15 +0800 Subject: [PATCH] 新增切换库位与切换货物状态功能 --- 项目代码/WCS/WIDESEAWCS_Client/src/views/wmsPart/stockInfo.vue | 90 ++++++++++++++++++++++----------------------- 1 files changed, 44 insertions(+), 46 deletions(-) diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Client/src/views/wmsPart/stockInfo.vue" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Client/src/views/wmsPart/stockInfo.vue" index 3f1ca9d..18be238 100644 --- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Client/src/views/wmsPart/stockInfo.vue" +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Client/src/views/wmsPart/stockInfo.vue" @@ -25,25 +25,26 @@ url: "/StockInfo/", sortName: "id" }); - const editFormFields = ref({ - deviceCode: "", - deviceName: "", - deviceType: "", - deviceStatus: "", - deviceIp: "", - devicePort: "", - devicePlcType: "", - deviceRemark: "" - }); + const editFormFields = ref({}); const editFormOptions = ref([ [ - { field: "palletCode", title: "鎵樼洏缂栧彿", type: "string" }, - { field: "locationCode", title: "璐т綅缂栧彿", type: "string" } + { + title: "鐗╂枡淇℃伅", + field: "remark", + type: "select", + dataKey: "mateType", + }, + { + title: "搴撳瓨鐘舵��", + field: "stockStatus", + type: "select", + dataKey: "stock", + } ] ]); const searchFormFields = ref({ - palletCode: "", - locationCode: "" + remark: "", + stockStatus: "" }); const searchFormOptions = ref([ [ @@ -63,46 +64,46 @@ align: "left" }, { - field: "palletCode", - title: "鎵樼洏缂栧彿", + field: "batchNo", + title: "鎵规鍙�", type: "string", width: 90, + align: "left" + }, + { + field: "remark", + title: "鐗╂枡淇℃伅", + type: "string", + width: 120, + align: "left", + bind: { key: "mateType", data: [] }, + }, + { + field: "weight", + title: "閲嶉噺", + type: "string", + width: 150, align: "left" }, { field: "locationCode", title: "璐т綅缂栧彿", type: "string", - width: 150, + width: 100, align: "left" }, - // { - // field: "isFull", - // title: "鏄惁婊$洏", - // type: "string", - // width: 150, - // align: "left", - // bind: { key: "yesno", data: [] }, - // }, { - field: "warehouseId", - title: "浠撳簱", - type: "select", - width: 100, + field: "stockStatus", + title: "搴撳瓨鐘舵��", + type: "string", + width: 90, align: "left", - bind: { key: "warehouses", data: [] } + bind: { key: "stock", data: [] }, }, { field: "creater", - title: "鍒涘缓浜�", + title: "鍒涘缓鑰�", type: "string", - width: 90, - align: "left" - }, - { - field: "createDate", - title: "鍒涘缓鏃堕棿", - type: "datetime", width: 160, align: "left" }, @@ -112,24 +113,21 @@ type: "string", width: 100, align: "left", - hidden: true }, { field: "modifyDate", - title: "淇敼鏃堕棿", + title: "淇敼鏃ユ湡", type: "datetime", width: 160, align: "left", - hidden: true }, { - field: "remark", - title: "澶囨敞", - type: "string", + field: "createDate", + title: "鍒涘缓鏃堕棿", + type: "datetime", width: 100, align: "left", - hidden: true - } + }, ]); const detail = ref({ cnName: "#detailCnName", -- Gitblit v1.9.3