gaoluyang
2026-05-25 287fd4cd8b556e99997168341577b2deaa8a8e8e
src/views/productionManagement/workOrderManagement/index.vue
@@ -358,7 +358,7 @@
    },
    {
      label: "操作",
      width: "260",
      width: "210",
      align: "center",
      dataType: "action",
      fixed: "right",
@@ -673,7 +673,10 @@
      }
    }
    currentReportRowData.value = row;
    reportForm.planQuantity = row.planQuantity;
    const planQuantity = Number(row.planQuantity || 0);
    const completeQuantity = Number(row.completeQuantity || 0);
    const remainingQuantity = Math.max(0, planQuantity - completeQuantity);
    reportForm.planQuantity = remainingQuantity;
    reportForm.quantity =
      row.quantity !== undefined && row.quantity !== null ? row.quantity : null;
    reportForm.productProcessRouteItemId = row.productProcessRouteItemId;