From 0a1470be0c3a381b9528d389d6921ec244bff042 Mon Sep 17 00:00:00 2001 From: huangxiaoqiang <huangxiaoqiang@hnkhzn.com> Date: 星期一, 30 六月 2025 14:33:25 +0800 Subject: [PATCH] 更新超时信息相关功能及配置文件 在 `appsettings.json` 中更新连接字符串,移除旧配置并优化格式。 修改 `Dt_OutTime.vue` 中的表格 URL。 新增 `IStockInfoTimeoutRepository` 和 `IStockInfoTimeoutService` 接口定义。 实现超时信息存储和服务的类,增强数据处理能力。 添加 `StockInfoTimeoutController` 控制器以处理相关 API 请求。 --- Code Management/WMS/WIDESEA_WMSClient/src/extension/widesea_wms/basicinfo/Dt_LocationInfo.jsx | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/Code Management/WMS/WIDESEA_WMSClient/src/extension/widesea_wms/basicinfo/Dt_LocationInfo.jsx b/Code Management/WMS/WIDESEA_WMSClient/src/extension/widesea_wms/basicinfo/Dt_LocationInfo.jsx index 981f67d..a9dcf94 100644 --- a/Code Management/WMS/WIDESEA_WMSClient/src/extension/widesea_wms/basicinfo/Dt_LocationInfo.jsx +++ b/Code Management/WMS/WIDESEA_WMSClient/src/extension/widesea_wms/basicinfo/Dt_LocationInfo.jsx @@ -33,6 +33,24 @@ // this.$Message.success('鐐瑰嚮浜嗘寜閽�'); // } // }); + var btninitializeLocation = this.buttons.find(x => x.value == "initializeLocation"); + if (btninitializeLocation != null) { + btninitializeLocation.onClick = () => { + let rows = this.$refs.table.getSelected(); + if (rows.length == 0) return this.$error("璇烽�夋嫨鏁版嵁!"); + this.http + .post("api/LocationInfo/initializeLocation?locationID="+rows[0].id, "","鏁版嵁澶勭悊涓�...") + .then((x) => { + if (x.status) { + this.$Message.success('鎴愬姛.'); + this.refresh(); + } else { + return this.$error(x.message); + } + }); + } + } + var btnEnableLocation = this.buttons.find(x => x.value == "EnableLocation"); if (btnEnableLocation != null) { btnEnableLocation.onClick = () => { -- Gitblit v1.9.3