fix: 禁止修改已取消计划权重
This commit is contained in:
@@ -238,7 +238,7 @@ onMounted(loadStrategies);
|
|||||||
<template #stockingProgress="{ row }">{{ row.stockedQty }} / {{ row.totalQty }}</template>
|
<template #stockingProgress="{ row }">{{ row.stockedQty }} / {{ row.totalQty }}</template>
|
||||||
<template #sleevingProgress="{ row }">{{ row.sleevedQty }} / {{ row.totalQty }}</template>
|
<template #sleevingProgress="{ row }">{{ row.sleevedQty }} / {{ row.totalQty }}</template>
|
||||||
<template #weight="{ row }">
|
<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
|
<InputNumber
|
||||||
:min="1"
|
:min="1"
|
||||||
:precision="0"
|
:precision="0"
|
||||||
@@ -250,6 +250,7 @@ onMounted(loadStrategies);
|
|||||||
:actions="[{ label: '保存', type: 'link', auth: ['lms:daily-plan:schedule'], onClick: handleWeightSave.bind(null, row) }]"
|
:actions="[{ label: '保存', type: 'link', auth: ['lms:daily-plan:schedule'], onClick: handleWeightSave.bind(null, row) }]"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
<span v-else>{{ row.weight }}</span>
|
||||||
</template>
|
</template>
|
||||||
<template #actions="{ row }">
|
<template #actions="{ row }">
|
||||||
<TableAction
|
<TableAction
|
||||||
|
|||||||
Reference in New Issue
Block a user