快乐的昕的电脑
2025-10-11 7558228404806c5eb5ad2ed5da27d47cae8a1c36
BUG修改
已修改1个文件
9 ■■■■■ 文件已修改
components/mold.vue 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
components/mold.vue
@@ -263,10 +263,8 @@
            setUseLimit() {
                // 保存使用上限逻辑,实际应调用后端接口
                this.$showMessage('使用上限已保存(示例)');
            }
        },
        methods: {
            async fetchFormData() {
            },
            async fetchFormData() {
                const res = await this.$post({
                    url: '/MesCutterLedger/GetFormData',
                    data: JSON.stringify({
@@ -280,7 +278,8 @@
                } else {
                    this.$showMessage(res.message || '获取表单数据失败');
                }
            },
            }
        },
        mounted() {
            // 页面加载时拉取全部刀具
            this.fetchTools('');