fix: 禁止修改已取消计划权重

This commit is contained in:
zhouz
2026-08-14 15:51:33 +08:00
parent 54d6faffbc
commit 8fc6fbb178

View File

@@ -238,7 +238,7 @@ onMounted(loadStrategies);
<template #stockingProgress="{ row }">{{ row.stockedQty }} / {{ row.totalQty }}</template>
<template #sleevingProgress="{ row }">{{ row.sleevedQty }} / {{ row.totalQty }}</template>
<template #weight="{ row }">
<div class="flex items-center gap-1">
<div v-if="row.orderStatus === ORDER_IN_PROGRESS" class="flex items-center gap-1">
<InputNumber
:min="1"
:precision="0"
@@ -250,6 +250,7 @@ onMounted(loadStrategies);
:actions="[{ label: '保存', type: 'link', auth: ['lms:daily-plan:schedule'], onClick: handleWeightSave.bind(null, row) }]"
/>
</div>
<span v-else>{{ row.weight }}</span>
</template>
<template #actions="{ row }">
<TableAction