张诺
5 小时以前 7b93b7d0812e6e87bda16888ca3492d3426163c6
src/views/productionManagement/workOrder/index.vue
@@ -936,8 +936,9 @@
    }
    proxy.$modal.msgSuccess("排产已保存");
    scheduleDialogVisible.value = false;
    resetCreateScheduleRows();
    getList();
    await getList();
  } catch (error) {
    console.error("保存排产失败", error);
    ElMessage.error("保存排产失败,请重试");
@@ -1048,7 +1049,7 @@
        },
        // 用户当前id
        disabled: row => row.completeQuantity >= row.planQuantity ||
            !isCurrentUserInUserIds(row)
            !isCurrentUserInUserIds(row) || row.hasUnreportedMachine
      },
      {
        name: "生产排产",
@@ -1196,7 +1197,7 @@
    await Promise.all(updates);
    ElMessage.success("审核成功");
    auditDialogVisible.value = false;
    getList();
    await getList();
  } finally {
    auditLoading.value = false;
  }
@@ -1314,7 +1315,7 @@
/** 搜索按钮操作 */
const handleQuery = () => {
  page.current = 1;
  getList();
   getList();
};
const pagination = obj => {
  page.current = obj.page;
@@ -1435,12 +1436,11 @@
  currentReportRowData.value = row;
  reportForm.planQuantity = row.planQuantity - row.completeQuantity;
  reportForm.quantity = row.planQuantity !== undefined && row.planQuantity !== null ? row.planQuantity : null;
  reportForm.quantity = row.planQuantity - row.completeQuantity;
  reportForm.productProcessRouteItemId = row.productProcessRouteItemId;
  reportForm.workOrderId = row.id;
  reportForm.reportWork = row.reportWork;
  reportForm.productMainId = row.productMainId;
  reportForm.planQuantity = row.planQuantity;
  reportForm.startTime = "";
  reportForm.endTime = "";
  reportForm.replenishQty = 0;