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/WCS/WIDESEAWCS_Client/src/views/taskinfo/task_Hty.vue | 56 +++++++++++++++++++++++++++++++++----------------------- 1 files changed, 33 insertions(+), 23 deletions(-) diff --git a/Code Management/WCS/WIDESEAWCS_Client/src/views/taskinfo/task_Hty.vue b/Code Management/WCS/WIDESEAWCS_Client/src/views/taskinfo/task_Hty.vue index 67f0366..3ba651f 100644 --- a/Code Management/WCS/WIDESEAWCS_Client/src/views/taskinfo/task_Hty.vue +++ b/Code Management/WCS/WIDESEAWCS_Client/src/views/taskinfo/task_Hty.vue @@ -21,7 +21,7 @@ const table = ref({ key: "taskId", footer: "Foots", - cnName: "浠诲姟淇℃伅", + cnName: "浠诲姟鍘嗗彶淇℃伅", name: "task_Hty", url: "/Task_Hty/", sortName: "CreateDate", @@ -42,7 +42,7 @@ const searchFormOptions = ref([ [ { title: "浠诲姟鍙�", field: "taskNum", type: "int" }, - { title: "鎵樼洏缂栧彿", field: "palletCode", type: "like" }, + { title: "鎵樼洏缂栧彿", field: "palletCode", type: "text" }, { title: "浠诲姟绫诲瀷", field: "taskType", @@ -59,14 +59,15 @@ }, ], [ - { title: "璧峰鍦板潃", field: "sourceAddress", type: "like" }, - { title: "鐩爣鍦板潃", field: "targetAddress", type: "like" }, - { title: "褰撳墠浣嶇疆", field: "currentAddress", type: "like" }, - { title: "涓嬩竴浣嶇疆", field: "nextAddress", type: "like" }, + { title: "璧峰鍦板潃", field: "sourceAddress", type: "text" }, + { title: "鐩爣鍦板潃", field: "targetAddress", type: "text" }, + { title: "褰撳墠浣嶇疆", field: "currentAddress", type: "text" }, + { title: "涓嬩竴浣嶇疆", field: "nextAddress", type: "text" }, ], [ - { title: "宸烽亾鍙�", field: "roadway", type: "like" }, - { title: "鍒涘缓浜�", field: "creater", type: "like" }, + { title: "宸烽亾鍙�", field: "roadway", type: "text" }, + { "title": "鐢熶骇浜х嚎", "field": "productionLine", type: "select", dataKey: "ProductionLine", data: [] }, + { title: "鍒涘缓浜�", field: "creater", type: "text" }, { title: "鍒涘缓鏃堕棿", field: "createDate", type: "datetime" }, ], ]); @@ -147,6 +148,14 @@ align: "left", }, { + field: "productionLine", + title: "浜х嚎", + type: "string", + width: 70, + align: "left", + bind: { key: "ProductionLine", data: [] } + }, + { field: "exceptionMessage", title: "寮傚父淇℃伅", type: "string", @@ -158,7 +167,7 @@ field: "grade", title: "浼樺厛绾�", type: "int", - width: 80, + width: 60, align: "left", }, { @@ -176,13 +185,7 @@ align: "left", hidden: true, }, - { - field: "creater", - title: "鍒涘缓浜�", - type: "string", - width: 90, - align: "left", - }, + { field: "createDate", title: "鍒涘缓鏃堕棿", @@ -191,13 +194,6 @@ align: "left", }, { - field: "modifier", - title: "淇敼浜�", - type: "string", - width: 100, - align: "left", - }, - { field: "modifyDate", title: "淇敼鏃堕棿", type: "datetime", @@ -205,6 +201,20 @@ align: "left", }, { + field: "creater", + title: "鍒涘缓浜�", + type: "string", + width: 90, + align: "left", + }, + { + field: "modifier", + title: "淇敼浜�", + type: "string", + width: 90, + align: "left", + }, + { field: "remark", title: "澶囨敞", type: "string", -- Gitblit v1.9.3