buhuazhen
2026-03-23 faa1b4e58a3b9ff41e446687b2d3a31e6709bd4b
src/views/productionManagement/workOrder/index.vue
@@ -366,6 +366,8 @@
          clickFun: row => {
            handleEdit(row);
          },
          // 当需求数量等于完成数量的时候,按钮不可点击
          disabled: row => Number(row?.planQuantity) === Number(row?.completeQuantity),
        },
        {
          name: "流转卡",
@@ -384,7 +386,7 @@
          clickFun: row => {
            showReportDialog(row);
          },
          disabled: row => row.planQuantity <= 0,
          disabled: row => Number(row?.planQuantity) <= Number(row?.completeQuantity) || row.planQuantity <= 0,
        },
        // {
        //   name:"审核",
@@ -711,7 +713,7 @@
  const showReportDialog = row => {
    currentReportRowData.value = row;
    reportForm.planQuantity = row.planQuantity;
    reportForm.planQuantity = row.planQuantity - row.completeQuantity;
    reportForm.quantity =
      row.quantity !== undefined && row.quantity !== null ? row.quantity : null;
    reportForm.productProcessRouteItemId = row.productProcessRouteItemId;