快乐的昕的电脑
2025-10-16 3074896ee2977e9f5d7cd87d4a33dd109bd9c240
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 => {