fix: 禁止修改已取消计划权重
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user