From 06e0e3b7d61e95902a6129de2490461cd0693e1d Mon Sep 17 00:00:00 2001
From: huangxiaoqiang <huangxiaoqiang@hnkhzn.com>
Date: 星期三, 15 十月 2025 15:06:40 +0800
Subject: [PATCH] 新增异步方法并优化服务调用逻辑在多个数据库文件中进行了二进制文件的修改、删除和新增操作,可能涉及数据库内容的更新或重建。在 HttpsClient.cs文件中新增了 PostNotLimitAsync方法,用于发送支持 JSON 格式的异步 HTTP POST 请求,并记录请求和响应参数。在 AgingInOrOutInputService.cs文件中,将 HttpsClient.PostAsync替换为PostNotLimitAsync,以利用新方法的功能特性。同时删除了不再需要的注释代码。
---
Code Management/WCS/WIDESEAWCS_Client/src/views/taskinfo/task.vue | 86 ++++++++++++++++++++++++++++---------------
1 files changed, 56 insertions(+), 30 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..8f4c81b 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",
@@ -152,20 +176,20 @@
type: "string",
width: 90,
align: "left",
- hidden: true,
+
},
{
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