wo快速切换状态删除

This commit is contained in:
2026-04-24 01:05:06 +08:00
parent 403f983826
commit a3d94ae50b
3 changed files with 5 additions and 4 deletions
@@ -162,8 +162,8 @@ onMounted(fetchOrders)
<th class="px-6 py-3 font-medium text-gray-500 dark:text-gray-400 w-16">No.</th>
<th class="px-6 py-3 font-medium text-gray-500 dark:text-gray-400 w-48">{{ t('purchase.item_name') }}</th>
<th class="px-6 py-3 font-medium text-gray-500 dark:text-gray-400 w-64">{{ t('purchase.purpose') }}</th>
<th class="px-6 py-3 font-medium text-gray-500 dark:text-gray-400 whitespace-nowrap w-32">{{ t('purchase.created_at') }}</th>
<th class="px-6 py-3 font-medium text-gray-500 dark:text-gray-400 whitespace-nowrap w-32">{{ t('purchase.updated_at') }}</th>
<th class="px-6 py-3 font-medium text-gray-500 dark:text-gray-400 w-32">{{ t('purchase.status') }}</th>
</tr>
</thead>
@@ -187,6 +187,7 @@ onMounted(fetchOrders)
<td class="px-6 py-3 max-w-[200px] truncate font-medium text-gray-900 dark:text-white">{{ order.Title }}</td>
<td class="px-6 py-3 max-w-[200px] truncate text-gray-600 dark:text-gray-300">{{ order.Remark || '-' }}</td>
<td class="px-6 py-3 whitespace-nowrap text-gray-500 dark:text-gray-400">{{ formatDate(order.CreatedAt) }}</td>
<td class="px-6 py-3 whitespace-nowrap text-gray-500 dark:text-gray-400">{{ formatDate(order.UpdatedAt) }}</td>
<td class="px-6 py-3">
<span
class="inline-flex items-center rounded-full px-2.5 py-0.5 text-xs font-semibold"
@@ -400,7 +400,7 @@ onUnmounted(() => {
</div>
<!-- 状态快捷切换所有登录用户可见 -->
<div
<!-- <div
v-if="canCommit"
class="flex flex-wrap items-center gap-2 border-b border-gray-100 px-6 py-3 dark:border-dk-muted"
>
@@ -418,7 +418,7 @@ onUnmounted(() => {
<IconCheck v-if="order?.CurrentStatus === opt.value" :size="12" />
{{ t(opt.labelKey) }}
</button>
</div>
</div> -->
<!-- 工单基本信息 -->
<div class="space-y-4 px-6 py-5">