更改商品创建逻辑
This commit is contained in:
@@ -768,7 +768,7 @@ const form = reactive({
|
|||||||
payment_methods: ['points'],
|
payment_methods: ['points'],
|
||||||
description: '',
|
description: '',
|
||||||
details: '',
|
details: '',
|
||||||
status: 'inactive',
|
status: 'pending',
|
||||||
free_shipping: false
|
free_shipping: false
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@@ -109,6 +109,7 @@
|
|||||||
规格管理
|
规格管理
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-button
|
<el-button
|
||||||
|
v-if="row.status !== 'pending'"
|
||||||
:type="row.status === 'active' ? 'warning' : row.status === 'pending' ? 'warning' : 'success'"
|
:type="row.status === 'active' ? 'warning' : row.status === 'pending' ? 'warning' : 'success'"
|
||||||
size="small"
|
size="small"
|
||||||
@click="toggleStatus(row)"
|
@click="toggleStatus(row)"
|
||||||
|
|||||||
Reference in New Issue
Block a user