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.vue | 84 +++++++++++++++++++++++++++-------------- 1 files changed, 55 insertions(+), 29 deletions(-) diff --git a/Code Management/WCS/WIDESEAWCS_Client/src/views/taskinfo/task.vue b/Code Management/WCS/WIDESEAWCS_Client/src/views/taskinfo/task.vue index 1c1154f..f306f76 100644 --- a/Code Management/WCS/WIDESEAWCS_Client/src/views/taskinfo/task.vue +++ b/Code Management/WCS/WIDESEAWCS_Client/src/views/taskinfo/task.vue @@ -26,8 +26,23 @@ url: "/Task/", sortName: "CreateDate", }); - const editFormFields = ref({}); - const editFormOptions = ref([]); + const editFormFields = ref({ + taskNum:"", + palletCode: "", + roadway: "", + taskType:"", + taskState:"", + wMSId:"", + sourceAddress: "", + targetAddress: "", + currentAddress: "", + nextAddress: "", + creater: "", + createDate: "", + grade: "", + productionLine:"" + }); + const editFormOptions = ref([[{ title: "浼樺厛绾�", field: "grade", type: "int" },]]); const searchFormFields = ref({ taskNum: "", palletCode: "", @@ -42,7 +57,7 @@ const searchFormOptions = ref([ [ { title: "浠诲姟鍙�", field: "taskNum", type: "int" }, - { title: "鎵樼洏缂栧彿", field: "palletCode", type: "like" }, + { title: "鎵樼洏缂栧彿", field: "palletCode", type: "text" }, { title: "浠诲姟绫诲瀷", field: "taskType", @@ -59,14 +74,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" }, ], ]); @@ -92,7 +108,7 @@ field: "palletCode", title: "鎵樼洏缂栧彿", type: "string", - width: 200, + width: 160, align: "left", }, { @@ -136,15 +152,23 @@ field: "currentAddress", title: "褰撳墠浣嶇疆", type: "string", - width: 120, + width: 110, align: "left", }, { field: "nextAddress", title: "涓嬩竴浣嶇疆", type: "string", - width: 120, + width: 110, align: "left", + }, + { + field: "productionLine", + title: "浜х嚎", + type: "string", + width: 70, + align: "left", + bind: { key: "ProductionLine", data: [] } }, { field: "exceptionMessage", @@ -158,14 +182,14 @@ field: "grade", title: "浼樺厛绾�", type: "int", - width: 80, + width: 60, align: "left", }, { field: "dispatchertime", title: "浠诲姟涓嬪彂鏃堕棿", type: "datetime", - width: 150, + width: 110, align: "left", }, { @@ -176,6 +200,22 @@ align: "left", hidden: true, }, + + { + field: "createDate", + title: "鍒涘缓鏃堕棿", + type: "datetime", + width: 150, + align: "left", + }, + + { + field: "modifyDate", + title: "淇敼鏃堕棿", + type: "datetime", + width: 160, + align: "left", + }, { field: "creater", title: "鍒涘缓浜�", @@ -184,24 +224,10 @@ align: "left", }, { - field: "createDate", - title: "鍒涘缓鏃堕棿", - type: "datetime", - width: 150, - align: "left", - }, - { field: "modifier", title: "淇敼浜�", type: "string", - width: 100, - align: "left", - }, - { - field: "modifyDate", - title: "淇敼鏃堕棿", - type: "datetime", - width: 160, + width: 90, align: "left", }, { -- Gitblit v1.9.3