| components/WorkOrderPrint.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
components/WorkOrderPrint.vue
@@ -292,10 +292,10 @@ /* 新增:获取历史报工记录 */ getReportingHistory() { if (!this.orderNo) { this.reportingHistory = []; return; } this.$post({ // 后端需要提供按 BILL_NO 查询的接口,示例路径: this.$post({ url: "/Womdaa/GetByBillNoBG", data: { billNo: this.orderNo } data: { billNo: this.orderNo, machineNo: this.machineNo || null } }) }).then(res => { const list = res?.data?.tbBillList || res?.data || []; this.reportingHistory = list.map(r => {