From b123229592c4c1b0b074a25599caeb6b25f6532c Mon Sep 17 00:00:00 2001
From: 快乐的昕的电脑 <快乐的昕的电脑@DESKTOP-C2BQPQU>
Date: 星期四, 09 十月 2025 14:44:37 +0800
Subject: [PATCH] 类型错误修改
---
components/mold.vue | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/components/mold.vue b/components/mold.vue
index bd18f5c..fc0e305 100644
--- a/components/mold.vue
+++ b/components/mold.vue
@@ -117,10 +117,10 @@
},
methods: {
async fetchTools(searchKey) {
- // 浣跨敤 this.$post 鍙戦�� POST 璇锋眰锛宐ody 鐩存帴浼犲瓧绗︿覆
const res = await this.$post({
- url: '/MesOrderSta/QueryTools',
- data: searchKey // 鐩存帴浼犲瓧绗︿覆
+ url: '/MesCutterLedger/QueryTools',
+ data: JSON.stringify({ searchKey }), // 鍏抽敭鐐�
+ headers: { 'Content-Type': 'application/json' }
});
if (res.status === 0) {
this.filteredTools = res.data.tbBillList.map(t => ({
--
Gitblit v1.9.3