更改商品创建逻辑

This commit is contained in:
dzl
2025-10-22 17:26:32 +08:00
parent cd2ffcd04d
commit cd5be13bd8
2 changed files with 2 additions and 1 deletions

View File

@@ -768,7 +768,7 @@ const form = reactive({
payment_methods: ['points'],
description: '',
details: '',
status: 'inactive',
status: 'pending',
free_shipping: false
})

View File

@@ -109,6 +109,7 @@
规格管理
</el-button>
<el-button
v-if="row.status !== 'pending'"
:type="row.status === 'active' ? 'warning' : row.status === 'pending' ? 'warning' : 'success'"
size="small"
@click="toggleStatus(row)"