From b60226664873ec9eb6d7480e83ca76303cbf2901 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BD=90=E6=85=A7=E6=85=A7?= Date: Fri, 7 Nov 2025 16:34:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=97=E8=A1=A8=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/css/layout.less | 4 +- src/component/lib/ATableEllipsisDefault.js | 8 +- src/component/proModal/src/index.less | 1 - src/component/table/src/index.vue | 304 +++-- src/layout/module/setup/index.vue | 3 - src/view/announce/index.vue | 7 +- src/view/config/index.vue | 661 +++++----- src/view/console/index.vue | 4 +- src/view/dataSource/index.vue | 13 +- src/view/dept/index.vue | 4 +- src/view/dict/index.vue | 519 ++++---- src/view/dict/modal/data.vue | 49 +- src/view/inbox/index.vue | 8 + src/view/job/index.vue | 11 + src/view/jobLog/index.vue | 17 +- src/view/log/auth.vue | 104 +- src/view/log/oper.vue | 17 +- src/view/oss/index.vue | 1 + src/view/post/index.vue | 19 +- src/view/power/index.vue | 532 ++++---- src/view/role/index.vue | 35 +- src/view/server/index.vue | 2 +- src/view/space/index - 副本.vue | 2 +- src/view/space/modal/TaskStatistics.vue | 10 +- src/view/space/modal/TaskTypeStatistics.vue | 10 +- src/view/tenant/index.vue | 17 +- src/view/user/index.vue | 11 +- src/view/user/modal/give.vue | 1 + src/view/wms/baseInfo/customer/index.vue | 8 + src/view/wms/baseInfo/deliverType/index.vue | 11 + src/view/wms/baseInfo/request/index.vue | 16 +- src/view/wms/baseInfo/sku/index.vue | 31 +- src/view/wms/baseInfo/skuCategory/index.vue | 18 +- .../check/addCheckDetail/addCheckDetail.vue | 10 +- .../check/addCheckDetail/model/save.vue | 10 +- .../wms/billsInfo/check/checkPlt/checkPlt.vue | 10 +- src/view/wms/billsInfo/check/index.vue | 8 + .../wms/billsInfo/check/modal/checkDetail.vue | 8 + .../addInBillDetail/addInBillDetail.vue | 10 +- .../inBill/addInBillDetail/model/save.vue | 10 +- src/view/wms/billsInfo/inBill/index.vue | 8 + .../billsInfo/inBill/modal/inBillDetail.vue | 8 + .../addOutBillDetail/addOutBillDetail.vue | 10 +- .../outBill/addOutBillDetail/modal/save.vue | 10 +- src/view/wms/billsInfo/outBill/index.vue | 8 + .../billsInfo/outBill/modal/outBillDetail.vue | 8 + src/view/wms/billsInfo/outBill/pick/pick.vue | 10 +- .../locView/modal/palletInfoModel.vue | 10 +- src/view/wms/realTimeMonitor/task/index.vue | 21 +- .../wms/realTimeMonitor/taskLog/index.vue | 8 + src/view/wms/report/base/index.vue | 8 +- src/view/wms/report/compoents/table.vue | 8 +- src/view/wms/statistics/inventory/index.vue | 12 +- .../wms/stockInfo/getTallyPallet/index.vue | 8 + .../wms/stockInfo/inventoryView/index.vue | 774 ++++++------ src/view/wms/stockInfo/pallet/index.vue | 751 +++++------ .../stockInfo/pallet/modal/palletDetail.vue | 49 +- src/view/wms/stockInfo/palletLog/index.vue | 29 +- src/view/wms/warehouse/channel/index.vue | 8 + src/view/wms/warehouse/list/index.vue | 12 +- src/view/wms/warehouse/loc/index.vue | 1119 +++++++++-------- src/view/wms/warehouse/locExit/index.vue | 19 +- src/view/wms/warehouse/locGenerator/index.vue | 10 +- src/view/wms/warehouse/outbound/index.vue | 8 + src/view/wms/warehouse/plan/index.vue | 8 + src/view/wms/warehouse/seqNum/index.vue | 16 +- src/view/wms/warehouse/sn/index.vue | 8 + src/view/wms/warehouse/snHis/index.vue | 8 + src/view/wms/warehouse/snNoPlan/index.vue | 8 + .../warehouse/statistics/inventory/index.vue | 10 + .../warehouse/statistics/skuNeed/index.vue | 27 +- src/view/wms/warehouse/track/index.vue | 8 + 72 files changed, 3080 insertions(+), 2453 deletions(-) diff --git a/src/assets/css/layout.less b/src/assets/css/layout.less index 681ecb7..d8afa26 100644 --- a/src/assets/css/layout.less +++ b/src/assets/css/layout.less @@ -341,7 +341,7 @@ html { .fixedHeader.muiltTab { z-index: 600; #content { - height: calc(~"(100% - 38px)"); + height: calc(~"(100% - 42px)"); -ms-overflow-style: none; overflow: -moz-scrollbars-none; } @@ -436,4 +436,4 @@ html { overflow: hidden; display: flex; flex-direction: column; -} +} \ No newline at end of file diff --git a/src/component/lib/ATableEllipsisDefault.js b/src/component/lib/ATableEllipsisDefault.js index f34e43f..84f1b4e 100644 --- a/src/component/lib/ATableEllipsisDefault.js +++ b/src/component/lib/ATableEllipsisDefault.js @@ -16,8 +16,10 @@ export default defineComponent({ name: 'ATable', inheritAttrs: false, setup(_, { attrs, slots }) { - const patchedColumns = patchColumns(attrs.columns); - return () => h(Table, { ...attrs, columns: patchedColumns }, slots); + // 每次渲染时基于最新的 columns 重新打补丁,确保列显示/隐藏等变更能够生效 + return () => { + const patchedColumns = patchColumns(attrs.columns); + return h(Table, { ...attrs, columns: patchedColumns }, slots); + }; }, }); - diff --git a/src/component/proModal/src/index.less b/src/component/proModal/src/index.less index 06ef855..82f51f4 100644 --- a/src/component/proModal/src/index.less +++ b/src/component/proModal/src/index.less @@ -8,7 +8,6 @@ .pro-table-next { float: right; .ant-btn { - margin: 4px; margin-bottom: 8px; } } diff --git a/src/component/table/src/index.vue b/src/component/table/src/index.vue index 6e88bae..7df925f 100644 --- a/src/component/table/src/index.vue +++ b/src/component/table/src/index.vue @@ -1,14 +1,22 @@