From 749b366b2af987479d3e13a3dd1a478781211bb7 Mon Sep 17 00:00:00 2001
From: 快乐的昕的电脑 <快乐的昕的电脑@DESKTOP-C2BQPQU>
Date: 星期一, 13 十月 2025 15:36:44 +0800
Subject: [PATCH] BUG修改

---
 .vs/前端2/CopilotIndices/17.14.878.3237/SemanticSymbols.db-shm |    0 
 .vs/前端2/CopilotIndices/17.14.878.3237/CodeChunks.db-shm      |    0 
 .vs/前端2/CopilotIndices/17.14.878.3237/SemanticSymbols.db     |    0 
 .vs/前端2/v17/DocumentLayout.backup.json                       |   14 +++++---------
 .vs/slnx.sqlite                                              |    0 
 .vs/前端2/CopilotIndices/17.14.878.3237/CodeChunks.db          |    0 
 .vs/前端2/CopilotIndices/17.14.878.3237/CodeChunks.db-wal      |    0 
 .vs/前端2/CopilotIndices/17.14.878.3237/SemanticSymbols.db-wal |    0 
 .vs/前端2/v17/.wsuo                                            |    0 
 .vs/前端2/v17/DocumentLayout.json                              |   19 ++++++++++---------
 components/mold.vue                                          |    6 +++---
 11 files changed, 18 insertions(+), 21 deletions(-)

diff --git a/.vs/slnx.sqlite b/.vs/slnx.sqlite
index 584a9c8..bcd3363 100644
--- a/.vs/slnx.sqlite
+++ b/.vs/slnx.sqlite
Binary files differ
diff --git "a/.vs/\345\211\215\347\253\2572/CopilotIndices/17.14.878.3237/CodeChunks.db" "b/.vs/\345\211\215\347\253\2572/CopilotIndices/17.14.878.3237/CodeChunks.db"
index 55cca2f..30b9b59 100644
--- "a/.vs/\345\211\215\347\253\2572/CopilotIndices/17.14.878.3237/CodeChunks.db"
+++ "b/.vs/\345\211\215\347\253\2572/CopilotIndices/17.14.878.3237/CodeChunks.db"
Binary files differ
diff --git "a/.vs/\345\211\215\347\253\2572/CopilotIndices/17.14.878.3237/CodeChunks.db-shm" "b/.vs/\345\211\215\347\253\2572/CopilotIndices/17.14.878.3237/CodeChunks.db-shm"
index 9a51e42..8d5e51d 100644
--- "a/.vs/\345\211\215\347\253\2572/CopilotIndices/17.14.878.3237/CodeChunks.db-shm"
+++ "b/.vs/\345\211\215\347\253\2572/CopilotIndices/17.14.878.3237/CodeChunks.db-shm"
Binary files differ
diff --git "a/.vs/\345\211\215\347\253\2572/CopilotIndices/17.14.878.3237/CodeChunks.db-wal" "b/.vs/\345\211\215\347\253\2572/CopilotIndices/17.14.878.3237/CodeChunks.db-wal"
index d5489c1..39b9452 100644
--- "a/.vs/\345\211\215\347\253\2572/CopilotIndices/17.14.878.3237/CodeChunks.db-wal"
+++ "b/.vs/\345\211\215\347\253\2572/CopilotIndices/17.14.878.3237/CodeChunks.db-wal"
Binary files differ
diff --git "a/.vs/\345\211\215\347\253\2572/CopilotIndices/17.14.878.3237/SemanticSymbols.db" "b/.vs/\345\211\215\347\253\2572/CopilotIndices/17.14.878.3237/SemanticSymbols.db"
index f33d06a..407db3a 100644
--- "a/.vs/\345\211\215\347\253\2572/CopilotIndices/17.14.878.3237/SemanticSymbols.db"
+++ "b/.vs/\345\211\215\347\253\2572/CopilotIndices/17.14.878.3237/SemanticSymbols.db"
Binary files differ
diff --git "a/.vs/\345\211\215\347\253\2572/CopilotIndices/17.14.878.3237/SemanticSymbols.db-shm" "b/.vs/\345\211\215\347\253\2572/CopilotIndices/17.14.878.3237/SemanticSymbols.db-shm"
index 118df1a..616e2bd 100644
--- "a/.vs/\345\211\215\347\253\2572/CopilotIndices/17.14.878.3237/SemanticSymbols.db-shm"
+++ "b/.vs/\345\211\215\347\253\2572/CopilotIndices/17.14.878.3237/SemanticSymbols.db-shm"
Binary files differ
diff --git "a/.vs/\345\211\215\347\253\2572/CopilotIndices/17.14.878.3237/SemanticSymbols.db-wal" "b/.vs/\345\211\215\347\253\2572/CopilotIndices/17.14.878.3237/SemanticSymbols.db-wal"
index 199ac77..a772184 100644
--- "a/.vs/\345\211\215\347\253\2572/CopilotIndices/17.14.878.3237/SemanticSymbols.db-wal"
+++ "b/.vs/\345\211\215\347\253\2572/CopilotIndices/17.14.878.3237/SemanticSymbols.db-wal"
Binary files differ
diff --git "a/.vs/\345\211\215\347\253\2572/v17/.wsuo" "b/.vs/\345\211\215\347\253\2572/v17/.wsuo"
index a792225..470731e 100644
--- "a/.vs/\345\211\215\347\253\2572/v17/.wsuo"
+++ "b/.vs/\345\211\215\347\253\2572/v17/.wsuo"
Binary files differ
diff --git "a/.vs/\345\211\215\347\253\2572/v17/DocumentLayout.backup.json" "b/.vs/\345\211\215\347\253\2572/v17/DocumentLayout.backup.json"
index 887f4cc..623c0ab 100644
--- "a/.vs/\345\211\215\347\253\2572/v17/DocumentLayout.backup.json"
+++ "b/.vs/\345\211\215\347\253\2572/v17/DocumentLayout.backup.json"
@@ -64,7 +64,7 @@
               "RelativeDocumentMoniker": "components\\machine.vue",
               "ToolTip": "F:\\\u516C\u53F8\u9879\u76EE\u8F6F\u4EF6\\GIT\\01\u9F7F\u8F6E\u8BBE\u8BA1\\\u524D\u7AEF2\\components\\machine.vue",
               "RelativeToolTip": "components\\machine.vue",
-              "ViewState": "AgIAABIAAAAAAAAAAAAAACoAAAANAAAAAAAAAA==",
+              "ViewState": "AgIAAD0AAAAAAAAAAAAmwFgAAAAYAAAAAAAAAA==",
               "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003491|",
               "WhenOpened": "2025-10-08T06:28:46.548Z",
               "EditorCaption": ""
@@ -79,8 +79,7 @@
               "RelativeToolTip": "components\\mold.vue",
               "ViewState": "AgIAAAAAAAAAAAAAAAAAAMIAAAARAAAAAAAAAA==",
               "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003491|",
-              "WhenOpened": "2025-10-08T05:39:55.433Z",
-              "EditorCaption": ""
+              "WhenOpened": "2025-10-08T05:39:55.433Z"
             },
             {
               "$type": "Document",
@@ -92,8 +91,7 @@
               "RelativeToolTip": "store\\index.js",
               "ViewState": "AgIAAAAAAAAAAAAAAAAAAA4AAAADAAAAAAAAAA==",
               "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.001646|",
-              "WhenOpened": "2025-09-25T08:50:23.315Z",
-              "EditorCaption": ""
+              "WhenOpened": "2025-09-25T08:50:23.315Z"
             },
             {
               "$type": "Document",
@@ -105,8 +103,7 @@
               "RelativeToolTip": "pages\\index.vue",
               "ViewState": "AgIAAIABAAAAAAAAAAAAAJgBAAAAAAAAAAAAAA==",
               "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003491|",
-              "WhenOpened": "2025-09-24T02:18:33.79Z",
-              "EditorCaption": ""
+              "WhenOpened": "2025-09-24T02:18:33.79Z"
             },
             {
               "$type": "Document",
@@ -118,8 +115,7 @@
               "RelativeToolTip": "components\\WorkOrder.vue",
               "ViewState": "AgIAAAAAAAAAAAAAAAAAAN8AAAA6AAAAAAAAAA==",
               "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003491|",
-              "WhenOpened": "2025-09-23T08:05:50.481Z",
-              "EditorCaption": ""
+              "WhenOpened": "2025-09-23T08:05:50.481Z"
             },
             {
               "$type": "Document",
diff --git "a/.vs/\345\211\215\347\253\2572/v17/DocumentLayout.json" "b/.vs/\345\211\215\347\253\2572/v17/DocumentLayout.json"
index 623c0ab..a9a90d0 100644
--- "a/.vs/\345\211\215\347\253\2572/v17/DocumentLayout.json"
+++ "b/.vs/\345\211\215\347\253\2572/v17/DocumentLayout.json"
@@ -3,12 +3,12 @@
   "WorkspaceRootPath": "F:\\\u516C\u53F8\u9879\u76EE\u8F6F\u4EF6\\GIT\\01\u9F7F\u8F6E\u8BBE\u8BA1\\\u524D\u7AEF2\\",
   "Documents": [
     {
-      "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|F:\\\u516C\u53F8\u9879\u76EE\u8F6F\u4EF6\\GIT\\01\u9F7F\u8F6E\u8BBE\u8BA1\\\u524D\u7AEF2\\components\\machine.vue||{40D31677-CBC0-4297-A9EF-89D907823A98}",
-      "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:components\\machine.vue||{40D31677-CBC0-4297-A9EF-89D907823A98}"
-    },
-    {
       "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|F:\\\u516C\u53F8\u9879\u76EE\u8F6F\u4EF6\\GIT\\01\u9F7F\u8F6E\u8BBE\u8BA1\\\u524D\u7AEF2\\components\\mold.vue||{40D31677-CBC0-4297-A9EF-89D907823A98}",
       "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:components\\mold.vue||{40D31677-CBC0-4297-A9EF-89D907823A98}"
+    },
+    {
+      "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|F:\\\u516C\u53F8\u9879\u76EE\u8F6F\u4EF6\\GIT\\01\u9F7F\u8F6E\u8BBE\u8BA1\\\u524D\u7AEF2\\components\\machine.vue||{40D31677-CBC0-4297-A9EF-89D907823A98}",
+      "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:components\\machine.vue||{40D31677-CBC0-4297-A9EF-89D907823A98}"
     },
     {
       "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|F:\\\u516C\u53F8\u9879\u76EE\u8F6F\u4EF6\\GIT\\01\u9F7F\u8F6E\u8BBE\u8BA1\\\u524D\u7AEF2\\store\\index.js||{14D17961-FE51-464D-9111-C4AF11D7D99A}",
@@ -38,7 +38,7 @@
       "DocumentGroups": [
         {
           "DockedWidth": 200,
-          "SelectedChildIndex": 4,
+          "SelectedChildIndex": 5,
           "Children": [
             {
               "$type": "Bookmark",
@@ -58,7 +58,7 @@
             },
             {
               "$type": "Document",
-              "DocumentIndex": 0,
+              "DocumentIndex": 1,
               "Title": "machine.vue",
               "DocumentMoniker": "F:\\\u516C\u53F8\u9879\u76EE\u8F6F\u4EF6\\GIT\\01\u9F7F\u8F6E\u8BBE\u8BA1\\\u524D\u7AEF2\\components\\machine.vue",
               "RelativeDocumentMoniker": "components\\machine.vue",
@@ -71,15 +71,16 @@
             },
             {
               "$type": "Document",
-              "DocumentIndex": 1,
+              "DocumentIndex": 0,
               "Title": "mold.vue",
               "DocumentMoniker": "F:\\\u516C\u53F8\u9879\u76EE\u8F6F\u4EF6\\GIT\\01\u9F7F\u8F6E\u8BBE\u8BA1\\\u524D\u7AEF2\\components\\mold.vue",
               "RelativeDocumentMoniker": "components\\mold.vue",
               "ToolTip": "F:\\\u516C\u53F8\u9879\u76EE\u8F6F\u4EF6\\GIT\\01\u9F7F\u8F6E\u8BBE\u8BA1\\\u524D\u7AEF2\\components\\mold.vue",
               "RelativeToolTip": "components\\mold.vue",
-              "ViewState": "AgIAAAAAAAAAAAAAAAAAAMIAAAARAAAAAAAAAA==",
+              "ViewState": "AgIAAEUAAAAAAAAAAAAAAGUAAAAAAAAAAAAAAA==",
               "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003491|",
-              "WhenOpened": "2025-10-08T05:39:55.433Z"
+              "WhenOpened": "2025-10-08T05:39:55.433Z",
+              "EditorCaption": ""
             },
             {
               "$type": "Document",
diff --git a/components/mold.vue b/components/mold.vue
index a7bea9e..e964aca 100644
--- a/components/mold.vue
+++ b/components/mold.vue
@@ -262,11 +262,11 @@
 			},
             async fetchFormData() {
                 const payload = {
-                    workOrderNo: this.workOrderNo,
-                    machineNo: this.machineNo,
+                    workOrderNo: this.workOrderNo && this.workOrderNo.trim() !== '' ? this.workOrderNo : null,
+                    machineNo: this.machineNo && this.machineNo.trim() !== '' ? this.machineNo : null,
                 };
                 const res = await this.$post({
-                    url: '/MesCutterLedger/GetFormData',
+                    url: '/api/MesCutterLedger/GetFormData', // 鍔犱笂 /api 鍓嶇紑
                     data: JSON.stringify(payload),
                     headers: { 'Content-Type': 'application/json' }
                 });

--
Gitblit v1.9.3