From 7cf04fdaf898c6d055d3b5915e70f1e3af7d85f2 Mon Sep 17 00:00:00 2001
From: 快乐的昕的电脑 <快乐的昕的电脑@DESKTOP-C2BQPQU>
Date: 星期四, 09 十月 2025 14:40:23 +0800
Subject: [PATCH] 刀具查询更改
---
components/mold.vue | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/components/mold.vue b/components/mold.vue
index 0257f11..ac997a8 100644
--- a/components/mold.vue
+++ b/components/mold.vue
@@ -117,10 +117,10 @@
},
methods: {
async fetchTools(searchKey) {
- // 浼犻�掑璞★紝鑰屼笉鏄瓧绗︿覆
const res = await this.$post({
url: '/MesCutterLedger/QueryTools',
- data:searchKey
+ data: JSON.stringify(searchKey), // 娉ㄦ剰瑕佹墜鍔ㄥ簭鍒楀寲
+ headers: { 'Content-Type': 'application/json' }
});
if (res.status === 0) {
this.filteredTools = res.data.tbBillList.map(t => ({
--
Gitblit v1.9.3