快乐的昕的电脑
2025-10-18 0c742784ffbf071e968fc6f2a980849b3e5e6c05
BUG修改
已修改1个文件
4 ■■■■ 文件已修改
components/mold.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
components/mold.vue
@@ -445,11 +445,11 @@
            },
            // 自动带出工单刀具信息
            async fetchDefaultToolFromWorkOrder() {
                if (!this.workOrderNo) return;
                if (!this.machineNo) return; // 注意:这里用机台号
                try {
                    const res = await this.$post({
                        url: '/Womdaa/GetWomdaasByShow',
                        data: JSON.stringify({ daa001: this.workOrderNo }),
                        data: JSON.stringify({ machineNo: this.machineNo }),
                        headers: { 'Content-Type': 'application/json' }
                    });
                    if (res.status === 0 && Array.isArray(res.data?.tbBillList) && res.data.tbBillList.length > 0) {