From f77a3ddaeefaa9255e0c34f9270a8f64540a54ba Mon Sep 17 00:00:00 2001
From: 快乐的昕的电脑 <快乐的昕的电脑@DESKTOP-C2BQPQU>
Date: 星期六, 11 十月 2025 16:21:12 +0800
Subject: [PATCH] 查询优化

---
 components/mold.vue |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/components/mold.vue b/components/mold.vue
index 908fc36..9bbcbcf 100644
--- a/components/mold.vue
+++ b/components/mold.vue
@@ -261,12 +261,14 @@
 				this.toolModel = '';
 			},
             async fetchFormData() {
+                const payload = {
+                    workOrderNo: this.workOrderNo,
+                    machineNo: this.machineNo,
+                    //useLimit: this.useLimitInput ? Number(this.useLimitInput) : null
+                };
                 const res = await this.$post({
                     url: '/MesCutterLedger/GetFormData',
-                    data: JSON.stringify({
-                        workOrderNo: this.workOrderNo,
-                        machineNo: this.machineNo
-                    }),
+                    data: JSON.stringify(payload),
                     headers: { 'Content-Type': 'application/json' }
                 });
                 if (res.status === 0) {

--
Gitblit v1.9.3