From 5200b8b5a92b707ae7f115c7fd07cb7afc109980 Mon Sep 17 00:00:00 2001 From: huangxiaoqiang <huangxiaoqiang@hnkhzn.com> Date: 星期四, 03 七月 2025 15:44:03 +0800 Subject: [PATCH] 更新配置和扩展功能,优化代码结构 修改 `http.js` 中的 `axios.defaults.baseURL` 配置,调整开发环境 URL。 - 在 `Dt_BillGroupStock_Hty.jsx` 和 `Dt_OutTime.jsx` 中添加作者信息和文档链接,增强组件扩展功能。 - 新增 `tables.js` 中的路由配置,包含 `Dt_BillGroupStock_Hty` 的路径。 - 在 `Dt_BillGroupStock_Hty.vue` 和 `Dt_OutTime.vue` 中定义表格列、编辑和搜索表单字段。 - 新增 `IStockInfoHtyRepository.cs` 和 `IStockInfoHtyService.cs` 接口定义。 - 在 `StockInfoHtyRepository.cs` 和 `StockInfoHtyService.cs` 中实现分页查询和批量删除功能。 - 更新 `appsettings.json` 中的数据库连接字符串,修改数据库名称。 --- Code Management/WMS/WIDESEA_WMSClient/src/api/buttons.js | 97 +++++++++++++++++++++++++++++++++--------------- 1 files changed, 67 insertions(+), 30 deletions(-) diff --git a/Code Management/WMS/WIDESEA_WMSClient/src/api/buttons.js b/Code Management/WMS/WIDESEA_WMSClient/src/api/buttons.js index b3cef84..812e7d4 100644 --- a/Code Management/WMS/WIDESEA_WMSClient/src/api/buttons.js +++ b/Code Management/WMS/WIDESEA_WMSClient/src/api/buttons.js @@ -5,8 +5,8 @@ icon: 'el-icon-search', class: '', type: 'primary', - onClick: function() { - this.search(); + onClick: function () { + this.search() } }, { @@ -14,36 +14,36 @@ icon: 'el-icon-plus', value: 'Add', class: '', - plain:true, - // type: 'success', - color:"#67C23A", + plain: true, + type: 'success', + // color: '#67C23A', // plain:true, - onClick: function() { - this.add(); + onClick: function () { + this.add() } }, { name: '缂栬緫', icon: 'el-icon-edit', value: 'Update', - plain:true, + plain: true, class: '', - color:"#79bbff", + color: '#79bbff', type: 'primary', - onClick: function() { - this.edit(); + onClick: function () { + this.edit() } }, { name: '鍒犻櫎', icon: 'el-icon-delete', class: '', - plain:true, + plain: true, value: 'Delete', type: 'danger', - color:"#F56C6C", - onClick: function() { - this.del(); + color: '#F56C6C', + onClick: function () { + this.del() } }, { @@ -53,8 +53,8 @@ value: 'Audit', plain: true, type: 'primary', - onClick: function() { - this.audit(); + onClick: function () { + this.audit() } }, { @@ -65,11 +65,11 @@ // plain: true, // type: 'danger', // color:"rgb(254, 240, 240)", - plain:true, + plain: true, // type: 'success', - color:"#67C23A", - onClick: function() { - this.antiAudit(); + color: '#67C23A', + onClick: function () { + this.antiAudit() } }, { @@ -79,8 +79,8 @@ type: 'success', plain: true, value: 'Import', - onClick: function() { - this.import(); + onClick: function () { + this.import() } }, { @@ -89,8 +89,8 @@ type: 'primary', plain: true, value: 'Export', - onClick: function() { - this.export(); + onClick: function () { + this.export() } }, { @@ -98,12 +98,49 @@ icon: 'el-icon-printer', type: 'primary', plain: true, - color:"#529b2e", + color: '#529b2e', value: 'Print', - onClick: function() { - this.printClick(); + onClick: function () { + this.printClick() + } + },{ + name: '浠诲姟瀹屾垚', + // icon: 'el-icon-printer', + type: 'primary', + // plain: true, + // color: '#529b2e', + value: 'TaskHandComplete', + onClick: function () { + + } + },{ + name: '鐩存帴鍑哄簱', + // icon: 'el-icon-printer', + type: 'primary', + // plain: true, + // color: '#529b2e', + value: 'OutBound', + onClick: function () { + + } + },{ + name: '鍒濆鍖栧簱浣�', + type: 'primary', + // color: '#529b2e', + value: 'initializeLocation', + onClick: function () { + + } + + },{ + name: '琛ュ綍鏁版嵁', + type: 'primary', + // color: '#529b2e', + value: 'SupplementationData', + onClick: function () { + } } -]; +] -export default buttons; +export default buttons -- Gitblit v1.9.3