fix: 收敛日计划作业排序与授权范围

This commit is contained in:
zhouz
2026-08-14 15:55:42 +08:00
parent 8fc6fbb178
commit 9b4e2296fc
3 changed files with 30 additions and 11 deletions

View File

@@ -100,13 +100,11 @@ function handleStrategy(type: number) {
}
async function handleSort() {
const filters = await gridApi.formApi.getValues();
const pageSize = 100;
let pageNo = 1;
const rows: LmsDailyPlanApi.DailyPlan[] = [];
while (true) {
const page = await getDailyPlanWorkPage({
...filters,
orderStatus: Number(activeOrderStatus.value),
pageNo,
pageSize,

View File

@@ -45,7 +45,7 @@ const [Modal, modalApi] = useVbenModal({
<template>
<Modal class="w-[720px]" title="调整全局顺序">
<div class="mb-3 text-sm text-gray-500">已加载当前订单状态下的全部计划列表始终按顺序号从小到大处理权重模式下也由顺序号决定轮转先后</div>
<div class="mb-3 text-sm text-gray-500">已加载当前订单状态下的全部计划不受页面搜索条件影响列表始终按顺序号从小到大处理权重模式下也由顺序号决定轮转先后</div>
<Table :columns="columns" :data-source="rows" :pagination="false" row-key="dailyPlanId" size="small">
<template #bodyCell="{ column, record }">
<template v-if="column.dataIndex === 'material'">{{ record.materialCode }} / {{ record.materialName }}</template>