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) {