zhangwencui
2026-05-18 47f3c604074f098d211f752306678b3743bb505c
第二次报工时,待生产数量需要自动计算
已修改1个文件
7 ■■■■ 文件已修改
src/pages/productionManagement/productionReport/index.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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 =