zhangwencui
2026-06-15 61a2db936dcbc3d5aebe8ff850bcaab76e3b3785
src/pages/productionManagement/productionReport/index.vue
@@ -423,8 +423,11 @@
        }
      }
      form.value.planQuantity =
        orderRow.planQuantity != null ? String(orderRow.planQuantity) : "";
      const planQuantity = Number(orderRow.planQuantity || 0);
      const completeQuantity = Number(orderRow.completeQuantity || 0);
      form.value.planQuantity = String(
        Math.max(0, planQuantity - completeQuantity)
      );
      form.value.workOrderId = orderRow.id || "";
      form.value.reportWork = orderRow.reportWork || "";
      form.value.productionOrderRoutingOperationId =