快乐的昕的电脑
2025-10-09 7cf04fdaf898c6d055d3b5915e70f1e3af7d85f2
刀具查询更改
已修改1个文件
4 ■■■■ 文件已修改
components/mold.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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 => ({