fix: 收敛日计划作业排序与授权范围
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user